|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||||
2013年06月29日(土) 旧暦 [n年日記] [更新:"2013/06/29 20:33:04"]#1 [pkgsrc] msql-server-5.5.32m08@makoto 20:16:59/130629(..packages/All)% pkg_info -D mysql-server Information for mysql-server-5.5.32: Install notice: =========================================================================== $NetBSD: MESSAGE,v 1.1.1.1 2011/04/25 21:12:13 adam Exp $ After the tables are set up and the MySQL server is running, please remember to set a password for the MySQL root user! This is done by running both: /usr/pkg/bin/mysqladmin -u root -p password 'new-password' /usr/pkg/bin/mysqladmin -h `hostname` -u root -p password 'new-password' The "Enter password:" prompt is asking for the existing password. As there is no existing password, just press the Return key. There is a script distributed with MySQL that can help you lock down an installation. This script has been installed to /usr/pkg/bin/mysql_secure_installation. Please see the manual and the MySQL web site for more instructions. ===========================================================================m08@makoto 20:18:32/130629(..packages/All)% sudo cp -p /usr/pkg/share/examples/rc.d/mysqld /etc/rc.d/ m08@makoto 20:18:45/130629(..packages/All)% sudo /etc/rc.d/mysqld onestart Initializing MySQL database system tables. Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/pkg/bin/mysqladmin -u root password 'new-password' /usr/pkg/bin/mysqladmin -u root -h m08 password 'new-password' Alternatively you can run: /usr/pkg/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/pkg ; /usr/pkg/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/pkg/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/pkg/bin/mysqlbug script! Starting mysqld. m08@makoto 20:22:27/130629(..packages/All)% 130629 20:22:27 mysqld_safe Logging to '/var/mysql/m08.err'. 130629 20:22:27 mysqld_safe Starting mysqld daemon with databases from /var/mysqlm08@makoto 20:23:53/130629(~)% /usr/pkg/bin/mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): OK, successfully used password, moving on... Setting the root password ensures that nobody can log into the MySQL root user without the proper authorisation. Set root password? [Y/n] New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success! By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] ... Success! By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] ... Success! Cleaning up... All done! If you've completed all of the above steps, your MySQL installation should now be secure. Thanks for using MySQL!m08@makoto 20:32:16/130629(~)% mysql -u root mysql -p Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 12 Server version: 5.5.32 Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show tables; +---------------------------+ | Tables_in_mysql | +---------------------------+ | columns_priv | | db | | event | | func | | general_log | | help_category | | help_keyword | | help_relation | | help_topic | | host | | ndb_binlog_index | | plugin | | proc | | procs_priv | | proxies_priv | | servers | | slow_log | | tables_priv | | time_zone | | time_zone_leap_second | | time_zone_name | | time_zone_transition | | time_zone_transition_type | | user | +---------------------------+ 24 rows in set (0.00 sec) mysql> ( つっこみ )
2013年06月22日(土) 旧暦 [n年日記] [更新:"2013/06/22 11:30:41"]#1 [pkgsrc] bulkbuild (pbulk)
きょうの失敗
make: "/usr/share/mk/bsd.own.mk" line 165: warning: "uname -p 2>/dev/null" returned non-zero status本来 cd /dev; ./MAKEDEV allとするべきところ、これを忘れて bulkbuild を走らせると /dev/null がファイルになってしまう。 そのまま、上記 MAKEDEV をやっても、/dev/null は期待通り作られず、 上の文字列を見ることになる。 cd /dev; rm null /sbin/mknod null c 2 2 /sbin/chmod 666 nullをすれば、後は直る。 ( つっこみ )
2013年06月21日(金) 旧暦 [n年日記] [更新:"2013/06/21 15:38:23"]#1 [pkgsrc] mktexlsr の実行
多分どれでもいいけれど tex-hoge-nn.tgz のようなパッケージを tar で開けて見る。
tar zxvf tex-hoge-nn.tgz +INSTALL +DEINSTALLなどとして、 +INSTALL を見ると、次の部分がある # $NetBSD: texmf-install.tmpl,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $ # # Rebuild ls-R databases. # case ${STAGE} in POST-INSTALL) /usr/pkg/bin/mktexlsr /usr/pkg/share/texmf-dist ;; *) ;; esacこれが実行されるけれども、まずは、これはどこから来るかという話。 @ texmf-install.tmpl:
cat pkgsrc/print/kpathsea/files/texmf-install.tmpl
# $NetBSD: texmf-install.tmpl,v 1.1.1.1 2009/01/03 22:12:42 minskim Exp $ # # Rebuild ls-R databases. # case ${STAGE} in POST-INSTALL) @MKTEXLSR@ @TEXMF_DIRS@ ;; *) ;; esac @ まとめて実行:
@ pkg_add:
実は別の pkg_add をまず作って、そちらで試そうと考えて見たが、これではうまく行かない。
以前の pkg_add を使った場合に、fake の target しかないので、実行しない。
なので、
( つっこみ )
2013年06月17日(月) 旧暦 [n年日記] [更新:"2013/06/18 01:00:30"]#1 [pkgsrc] (lang/perl5) make test
Before
57 cvs update -D 2013-06-15 58 make lcean 59 lslt patches/ 60 make clean 61 make package 62 make test Failed 22 tests out of 2321, 99.05% okay. ../cpan/Encode/t/CJKT.t ../cpan/Encode/t/at-cn.t ../cpan/Encode/t/perlio.t ../cpan/Pod-Simple/t/corpus.t ../cpan/Pod-Simple/t/pulltitl.t ../cpan/Text-Tabs/t/Tabs-ElCid.t ../cpan/Text-Tabs/t/Wrap-JLB.t ../cpan/podlators/t/man.t ../lib/Benchmark.t op/bop.t re/fold_grind.t re/pat_rt_report.t re/pat_rt_report_thr.t re/regex_sets_compat.t re/regexp.t re/regexp_noamp.t re/regexp_notrie.t re/regexp_qr.t re/regexp_qr_embed.t re/regexp_qr_embed_thr.t re/regexp_trielist.t uni/overload.tAfter keyword substitution: kv total revisions: 219; selected revisions: 219 description: ---------------------------- revision 1.204 date: 2013/06/17 06:54:13; author: wiz; state: Exp; lines: +2 -1 Add patch from upstream git to try fixing test failures on 32bit NetBSD. From http://perl5.git.perl.org/perl.git/commitdiff/4149c7198d9b78d861df289cce40dd865cab57e7 Bump PKGREVISION. ---------------------------- 21 cd CHROOT/usr/pkgsrc/ 22 cvs -q update -dPA 23 cd lang/perl5/ 24 make 25 make test lib/warnings .................................................. ok t/x2p/s2p ..................................................... ok All tests successful. u=12.78 s=9.64 cu=1069.26 cs=205.70 scripts=2322 tests=684199 WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. pinapa@makoto 18:41:25/130617(..lang/perl5)% pinapa@makoto 18:44:33/130617(..lang/perl5)% make show-var VARNAME=PKGNAME perl-5.18.0nb1 pinapa@makoto 18:44:43/130617(..lang/perl5)% uname -a NetBSD pinapa.z.ki.nu 5.2 NetBSD 5.2 (XEN3PAE_DOMU) #0: Wed Nov 28 09:34:42 UTC 2012 builds@b8.netbsd.org:/home/builds/ab/netbsd-5-2-RELEASE/ i386/201211280503Z-obj/home/builds/ab/netbsd-5-2-RELEASE/ src/sys/arch/i386/compile/XEN3PAE_DOMU i386 ( つっこみ )
#2 [pkgsrc] lang/g95 on macppcChecking multilib configuration... /bin/sh ../mkinstalldirs powerpc--netbsd/libssp ; \ rm -f powerpc--netbsd/libssp/Makefile || : ; \ cp multilib.out powerpc--netbsd/libssp/multilib.out mkdir powerpc--netbsd mkdir powerpc--netbsd/libssp Configuring in powerpc--netbsd/libssp /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations gmake[1]: *** [configure-target-libssp] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95' gmake: *** [all] Error 2 *** Error code 2 ( つっこみ )
2013年06月15日(土) 旧暦 [n年日記] [更新:"2013/06/15 14:12:36"]#1 [emacs] Program received signal SIGSEGV, Segmentation fault.m08@makoto 12:37:35/130615(~)% gdb emacs GNU gdb (GDB) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/pkg/bin/emacs...(no debugging symbols found)...done. (gdb) set args -f wl (gdb) run Starting program: /usr/pkg/bin/emacs -f wl Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 1] 0x00007f7feacec12a in memmove () from /usr/lib/libc.so.12 (gdb) quit m08@makoto 14:07:05/130615(..mail/mailagent)% pkg_info |grep emacs emacs-w3m-1.4.50nb20130611 Emacs frontend for w3m browser x-face-e21-0.1 Display x-face on mail header with emacs emacs-desktop-25em0.9 Emacs for Desktop emacs24-24.3.50nb20130414 GNU editing macros (editor) ( つっこみ )
2013年06月12日(水) 旧暦 [n年日記] [更新:"2013/06/17 16:51:35"]#1 [X11] Radeon X1300/X1550 Series(--) PCI: (5:16:0:0) 102b:0522:103c:31fa rev 2, Mem @ 0xbf000000/16 777216, 0xfddfc000/16384, 0xfd000000/8388608, BIOS @ 0x????????/65536 (--) PCI: (7:18:0:0) 1002:7143:1787:3000 rev 0, Mem @ 0xc0000000/26 8435456, 0xfdff0000/65536, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072 (--) PCI: (7:18:0:1) 1002:7163:1787:3001 rev 0, Mem @ 0xfdfe0000/65536のように PCI device があるとして 1002:7143:1787:3000 Radeon X1300/X1550 Series x11/modular-xorg-server-1.12.4 Modular X11 server from modular X.org x11/xf86-video-radeonhd-1.3.0nb2 Modular X.org driver for Radeon HD series wip/xf86-video-modesetting-0.7.0 Generic modesetting driverの組合せの場合 sudo X -configure した時 (==) Using system config directory "/usr/pkg/share/X11/xorg.conf.d" Number of created screens does not match number of detected devices. Configuration failed. Server terminated with error (2). Closing log file.自分でいろいろ試して用意した xorg.conf を使って sudo xdm とした場合 [ 4634.990] (II) RADEONHD: version 1.3.0, built from dist of git branch master, commit 8cbff7bf [ 4634.990] (--) Using wscons driver [ 4634.991] (WW) Falling back to old probe method for modesetting [ 4634.991] (II) modesetting(0): using default device [ 4634.991] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 4634.991] (II) modesetting(0): Creating default Display subsection in Screen section "Screen0" for depth/fbbpp 24/24 [ 4634.991] (==) modesetting(0): Depth 24, (==) framebuffer bpp 24 [ 4634.991] (==) modesetting(0): RGB weight 888 [ 4634.991] (==) modesetting(0): Default visual is TrueColor [ 4634.991] (II) modesetting(0): ShadowFB: preferred YES, enabled YES [ 4634.991] (EE) modesetting(0): KMS doesn't support dumb interface [ 4634.991] (EE) modesetting(0): KMS setup failed [ 4634.991] (II) UnloadModule: "modesetting" [ 4634.991] (EE) Screen(s) found, but none have a usable configuration. [ 4634.991] Fatal server error: [ 4634.991] no screens found某所には 「fglrx を外せ」とあるが、そのようなものは入っていない。 問題の場所は次のところ m08@makoto 23:41:50/130612(..wip/xf86-video-modesetting)% \ cat -n work/xf86-video-modesetting-0.7.0/src/drmmode_display.c | sed -n 1229,1240p 1229 Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp) 1230 { 1231 int i, num_dvi = 0, num_hdmi = 0; 1232 int ret; 1233 uint64_t value = 0; 1234 1235 /* check for dumb capability */ 1236 ret = drmGetCap(drmmode->fd, DRM_CAP_DUMB_BUFFER, &value); 1237 if (ret > 0 || value != 1) { 1238 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "KMS doesn't support dumb interface\n"); 1239 return FALSE; 1240 } m08@makoto 23:38:38/130612(..x11/libdrm)% cat -n work/libdrm-2.4.45/xf86drm.c |sed -n '813,827p' 813 int drmGetCap(int fd, uint64_t capability, uint64_t *value) 814 { 815 struct drm_get_cap cap = { capability, 0 }; 816 int ret; 817 818 ret = drmIoctl(fd, DRM_IOCTL_GET_CAP, &cap); 819 if (ret) 820 return ret; 821 822 *value = cap.value; 823 return 0; 824 } m08@makoto 16:38:17/130617(..x11/libdrm)% \ cat -n work/libdrm-2.4.45/include/drm/ drm.h |sed -n '781,785p' 781 #define DRM_CAP_DUMB_BUFFER 0x1 782 #define DRM_CAP_VBLANK_HIGH_CRTC 0x2 783 #define DRM_CAP_DUMB_PREFERRED_DEPTH 0x3 784 #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 785 #define DRM_CAP_PRIME 0x5 08@makoto 16:32:18/130617(..x11/libdrm)% \ cat -n work/libdrm-2.4.45/xf86drm.c |sed -n '158,170p' 158 /** 159 * Call ioctl, restarting if it is interupted 160 */ 161 int 162 drmIoctl(int fd, unsigned long request, void *arg) 163 { 164 int ret; 165 166 do { 167 ret = ioctl(fd, request, arg); 168 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); 169 return ret; 170 } m08@makoto 16:44:12/130617(..x11/libdrm)% \ cat -n work/libdrm-2.4.45/include/drm/drm.h |sed -n '656p' 656 #define DRM_IOCTL_GET_CAP DRM_IOWR(0x0c, struct drm_get_cap) ( つっこみ )
2013年06月11日(火) 旧暦 [n年日記] [更新:"2013/06/11 16:16:49"]#1 [emacs] twittering-mode
最近気が付いたことがあって、twittering-mode は git だけでなく
release 版がある。最近 3.0.0 が出たので、これを wip に登録して、
pkgsrc の方に import 出来ないか、と考えている。
ただ、最近の emacs-2013-06-11 だと、パスワードを聞いて来た後で 何かを待っている状態のようになって先に進まない。 3.0.0 の所為なのか、それとも Emacs 側の問題かと調べているが、 2013-04-08 の Emacs では問題ないような気がするので、 Emacs 側らしい。 emacs-24.3 でも試して見ているが、パスワードを聞いて来て、Time Line を表示して しばらく(数秒)で Segmentation Fault する。gdb から起動すると、次のような backtrace が採れる。このうちの最初の数行は、何だか良く見るようなものの気もする Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 1] 0x00007f7fec0e9e34 in strncmp () from /usr/lib/libc.so.12 (gdb) bt #0 0x00007f7fec0e9e34 in strncmp () from /usr/lib/libc.so.12 #1 0x00007f7fec0e75cd in __getenvslot () from /usr/lib/libc.so.12 #2 0x00007f7fec0e7721 in __findenvvar () from /usr/lib/libc.so.12 #3 0x00007f7fec0e727c in getenv () from /usr/lib/libc.so.12 #4 0x00007f7ff74351f8 in jinit_memory_mgr () from /usr/pkg/lib/libjpeg.so.9 #5 0x00007f7ff7410057 in jpeg_CreateDecompress () from /usr/pkg/lib/libjpeg.so.9 #6 0x00000000005a77db in ?? ()そうか icon を表示しないようにして見よう。 icon を表示しないでおくと、 やはり落ちないような気がする。でも V -> :mentions: したら「何かを待っている」状態 になってしまった。反応がないですよ。 ちなみに、次の組合せだと問題がない。 emacs-24.3.50nb20130414 GNU editing macros (editor) twittering-mode-3.0.0 Emacs client for twitter ( つっこみ )
2013年06月09日(日) 旧暦 [n年日記] [更新:"2013/06/10 15:45:12"]#1 [pkgsrc] pbulk for modular-xorg (NetBSD/macppc 6.1)sent 87800670 bytes received 4754 bytes 9242676.21 bytes/sec total size is 87766886 speedup is 1.00 sh env-time-bulkbuild 10304.26s user 4083.42s system 87% cpu 4:33:09.71 total mini-6@root 22:01:17/130608(/)% ls /bulklog/ MesaLib-7.11.2nb1/ g95-0.93nb2/ meta/ nickle-2.77/ Build start: 2013-06-08 17:28 Build end: 2013-06-08 22:00 ... Total number of packages: 252 Successfully built: 201 Failed to build: 3 Depending on failed package: 4 Explicitly broken or masked: 1 Depending on masked package: 43 Packages breaking the most other packages Package Breaks Maintainer ------------------------------------------------------------------------- graphics/MesaLib 40 pkgsrc-users@NetBSD.org lang/g95 4 wennmach@NetBSD.org math/nickle 3 pkgsrc-users@NetBSD.org Build failures Package Breaks Maintainer ------------------------------------------------------------------------- graphics/MesaLib 40 pkgsrc-users@NetBSD.org lang/g95 4 wennmach@NetBSD.org math/nickle 3 pkgsrc-users@NetBSD.orggraphics/MesaLib gcc -c -o state_tracker/st_atom.o state_tracker/st_atom.c -DFEATURE_GL=1 -DHAVE_POSIX_MEMALIGN -DUSE_XSHM -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary -I/usr/pkg/include -I/usr/include -O2 -D_NETBSD_SOURCE -DHAVE_NETBSD_ATOMIC_OPS -DUSE_NATIVE_LIBM_FUNCS -I/usr/pkg/include -I/usr/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -O2 -D_NETBSD_SOURCE -DHAVE_NETBSD_ATOMIC_OPS -DUSE_NATIVE_LIBM_FUNCS -I/usr/pkg/include -I/usr/include -fPIC -fvisibility=hidden In file included from ../../src/gallium/include/pipe/p_compiler.h:32:0, from ../../src/gallium/include/pipe/p_defines.h:31, from state_tracker/st_atom.c:32: ../../src/gallium/include/pipe/p_config.h:152:2: error: #error Unknown Endianness make[2]: *** [state_tracker/st_atom.o] Error 1 make[2]: Leaving directory `/usr/pkgsrc/graphics/MesaLib/work/Mesa-7.11.2/src/mesa' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/graphics/MesaLib/work/Mesa-7.11.2/src' gmake: *** [default] Error 1 *** Error code 2lang/g95: mkdir powerpc--netbsd mkdir powerpc--netbsd/libssp Configuring in powerpc--netbsd/libssp /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations gmake[1]: *** [configure-target-libssp] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95' gmake: *** [all] Error 2 *** Error code 2math/nickle: ===> Configuring for nickle-2.77 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version sed: 10: " s/[$]LINENO.*/&- ...": invalid command code e configure: error: cannot create configure.lineno; rerun with a POSIX shell *** Error code 1 ( つっこみ )
2013年06月08日(土) 旧暦 [n年日記] [更新:"2013/06/11 10:51:29"]#1 [植物] ルッコラの種をもう一度蒔く
四日前
に蒔いたルッコラは、三日で芽が出て来た。
今回は、以前に見た の教えに従って 10cm 間隔の線条に、1cm 間隔で蒔いて見た。自分で採った種には、 黄色や茶色のものと、まだ緑色のものがあって、差があるのかなと調べるため、 別の列にして見た。 ( つっこみ )
2013年06月06日(木) 旧暦 [n年日記] [更新:"2013/06/07 06:59:13"]#1 [emacs] emacs-current segfaults while building
2013-06-01 までは作れていたと思うけれど、
少なくとも 2013-06-06 だと、次のようなところで Seg Fault する
gmake[3]: Entering directory `/export/CHROOT/usr/pkgsrc/wip/emacs-current/work/emacs/lisp' Compiling /export/CHROOT/usr/pkgsrc/wip/emacs-current/work/emacs/src/../lisp/disp-table.el Fatal error 6: Abort trap[1] Abort trap (core dumped) EMACSLOADPATH=/e... gmake[3]: *** [compile-onefile] Error 134Abort trap と言っているのは Emacs の中であきらめ source があるからかな。 2013-06-03 NG 2013-06-02 だと大丈夫そう。 emacs-snapshot-2013-06-03 is OK 今見ていたら skk がもう入っているようだ。 ( つっこみ )
2013年06月05日(水) 旧暦 [n年日記] [更新:"2013/07/01 11:12:47"]#1 [失敗] 二つの上書き
きょうは二つの失敗をした。
@ zip は上書き:
一度作った zip 形式に余分なものが入っていたので、それを消そうと思って
作っても、消えない。変だなと思っていたら、上書きしていた。zip は、
同じ名前を作ると、置換えでなくて、更新(追加)になるので、これでは消えなかった。
@ bootstrap:cd pkgtool/bootstrap ./bootstrap --prefix=/usr/pkg_bulk --pkgdbdir=/usr/pkg_bulk/.pkgdbdirとやった場合に work があると、以前にやっているから消してからやってね、 と終ってしまうけれど、どうも pkgdbdir の方は上書きしてしまう気がする。 (これは勘違いかも知れないけれど) ( つっこみ )
#2 [Git] 初めての push
きょうは初めて git で push した。 (sourceforge に commit したことはあるような記憶もあるが) push は初めて。 間違っているかも知れないが、一応書いておく 状況としては、手元に .git 以下に作ったものはあるのだけれど --bare で、どこからでも見られるようなものを用意して見たかった、という話。 modena@makoto 10:46:14/130605(/tmp/project)% git remote add modena usage: git remote add [<options>] <name> <url> -f, --fetch fetch the remote branches --tags import all tags and associated objects when fetching or do not fetch any tag at all (--no-tags) -t, --track <branch> branch(es) to track -m, --master <branch> master branch --mirror[=<push|fetch>] set up remote as a mirror to push to or fetch from modena@makoto 10:51:43/130605(/tmp/project)% git remote add modena /export/git-repository modena@makoto 10:52:04/130605(/tmp/project)% echo git config remote.publish.push '+refs/heads/*:refs/heads/*' git config remote.publish.push +refs/heads/*:refs/heads/* modena@makoto 10:52:26/130605(/tmp/project)% git config -l > /tmp/after2 modena@makoto 10:52:35/130605(/tmp/project)% diff -u /tmp/before /tmp/after2 --- /tmp/before 2013-06-05 10:36:18.000000000 +0900 +++ /tmp/after2 2013-06-05 10:52:35.000000000 +0900 @@ -7,3 +7,6 @@ remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master +remote.publish.push=+refs/heads/*:refs/heads/* +remote.modena.url=/export/git-repository +remote.modena.fetch=+refs/heads/*:refs/remotes/modena/* modena@makoto 10:52:46/130605(/tmp/project)% git config remote.publish.push '+refs/heads/*:refs/heads/*' modena@makoto 10:53:17/130605(/tmp/project)% diff -u /tmp/before /tmp/after2 --- /tmp/before 2013-06-05 10:36:18.000000000 +0900 +++ /tmp/after2 2013-06-05 10:52:35.000000000 +0900 @@ -7,3 +7,6 @@ remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master +remote.publish.push=+refs/heads/*:refs/heads/* +remote.modena.url=/export/git-repository +remote.modena.fetch=+refs/heads/*:refs/remotes/modena/* modena@makoto 10:53:19/130605(/tmp/project)% git config remote.modena.publish.push '+refs/heads/*:refs/heads/*' modena@makoto 10:53:38/130605(/tmp/project)% git config -l > /tmp/after2 modena@makoto 10:53:39/130605(/tmp/project)% diff -u /tmp/before /tmp/after2 --- /tmp/before 2013-06-05 10:36:18.000000000 +0900 +++ /tmp/after2 2013-06-05 10:53:39.000000000 +0900 @@ -7,3 +7,7 @@ remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.master.remote=origin branch.master.merge=refs/heads/master +remote.publish.push=+refs/heads/*:refs/heads/* +remote.modena.url=/export/git-repository +remote.modena.fetch=+refs/heads/*:refs/remotes/modena/* +remote.modena.publish.push=+refs/heads/*:refs/heads/* modena@makoto 10:53:42/130605(/tmp/project)% git push origin warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple See 'git help config' and search for 'push.default' for further information. (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode 'current' instead of 'simple' if you sometimes use older versions of Git) No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'. fatal: The remote end hung up unexpectedly error: failed to push some refs to '/export/git-repository/project' modena@makoto 10:53:58/130605(/tmp/project)% git push origin master Counting objects: 52, done. Delta compression using up to 2 threads. Compressing objects: 100% (52/52), done. Writing objects: 100% (52/52), 499.01 KiB, done. Total 52 (delta 5), reused 0 (delta 0) To /export/git-repository/project * [new branch] master -> master modena@makoto 10:54:13/130605(/tmp/project)% ( つっこみ )
2013年06月04日(火) 旧暦 [n年日記] [更新:"2013/06/04 15:43:58"]#1 [植物] ルッコラの種を蒔いて見た( つっこみ )
2013年06月03日(月) 旧暦 [n年日記] [更新:"2013/06/03 11:12:10"]#1 [tcode] 歩 + 又 = 般歩 + 又 = 般よりも 歩 + 又 = 叔の方が良い気がする 般 = {ノ, 冂, 、, 几, ヌ} ・・・・ ・・○・ ・・・・ ・・・・ ●…第1打鍵 ・・・・● ・・・・ ○…第2打鍵 ヌ + 上 = 叔だそうだけれど。 ヌ = {ヌ} ・・・・ ・・・・ ・・・・ ・●・・ ●…第1打鍵 ・・・・ ・・・○ ○…第2打鍵 上 = {上} ・・・・○ ・・・・ ・・・・ ●・・・・ ●…第1打鍵 ・・・・ ・・・・ ○…第2打鍵 ( つっこみ )
2013年06月02日(日) 旧暦 [n年日記] [更新:"2013/06/02 22:51:10"]#1 [wip] wip/gdb (7.5.1) make test results
wip/gdb が 今は 7.5.1 だけれど
Makefile と distinfo さえ変更すれば 7.6 にも出来る
その辺りで、いろいろな OS で make test をしている。 ちなみに、 make test をするには runtest が必要で、それは devel/dejagnu を make package-install しておく で、その make test の要約を 2013/06/02 の TODO に記録してある。
@ NetBSD/amd64 の方は:m08@makoto 21:51:23/130602(..wip/gdb)% grep 'p ctable1' work/gdb-7.5.1/gdb/testsuite/gdb.base2/gdb.sum |grep FAIL|wc 89 356 4005こんな行が多くて、それは、というと、次のあたりが怪しい m08@makoto 21:52:28/130602(..wip/gdb)% \ cat -n work/gdb-7.5.1/gdb/testsuite/gdb.base/printcmds.exp |less 291 gdb_test "p ctable1\[128\]" " = 128 '\\\\200'" 292 gdb_test "p ctable1\[129\]" " = 129 '\\\\201'" 293 gdb_test "p ctable1\[130\]" " = 130 '\\\\202'"それで、この gdb_test は次の部分。でも考えると、これは重要ではなさそう。 936 proc gdb_test { args } { 937 global verbose 938 global gdb_prompt 939 global GDB 940 upvar timeout timeout 941 942 if [llength $args]>2 then { 943 set message [lindex $args 2] 944 } else { 945 set message [lindex $args 0] 946 } 947 set command [lindex $args 0] 948 set pattern [lindex $args 1] 949 950 if [llength $args]==5 { 951 set question_string [lindex $args 3]; 952 set response_string [lindex $args 4]; 953 } else { 954 set question_string "^FOOBAR$" 955 } 956 957 return [gdb_test_multiple $command $message { 958 -re "\[\r\n\]*($pattern)\[\r\n\]+$gdb_prompt $" { 959 if ![string match "" $message] then { 960 pass "$message" 961 } 962 } 963 -re "(${question_string})$" { 964 send_gdb "$response_string\n"; 965 exp_continue; 966 } 967 }] 968 } @ DragonFly:
DragonFly の方は、この辺りだろうか
dragon342@makoto 22:16:07/130602(..wip/gdb)% \ grep 'unexpected ' `find work/gdb-7.6/gdb/testsuite/ -name \*sum `| sort -nr -k 5 work/gdb-7.6/gdb/testsuite/gdb.sum:# of unexpected failures 2827 work/gdb-7.6/gdb/testsuite/gdb.base2/gdb.sum:# of unexpected failures 968 work/gdb-7.6/gdb/testsuite/gdb.mi/gdb.sum:# of unexpected failures 919 work/gdb-7.6/gdb/testsuite/gdb.base1/gdb.sum:# of unexpected failures 678 work/gdb-7.6/gdb/testsuite/gdb.arch/gdb.sum:# of unexpected failures 122 work/gdb-7.6/gdb/testsuite/gdb.threads/gdb.sum:# of unexpected failures 109 work/gdb-7.6/gdb/testsuite/gdb.trace/gdb.sum:# of unexpected failures 11 work/gdb-7.6/gdb/testsuite/gdb.cp/gdb.sum:# of unexpected failures 8 work/gdb-7.6/gdb/testsuite/gdb.multi/gdb.sum:# of unexpected failures 6 work/gdb-7.6/gdb/testsuite/gdb.java/gdb.sum:# of unexpected failures 3 work/gdb-7.6/gdb/testsuite/gdb.stabs/gdb.sum:# of unexpected failures 1 work/gdb-7.6/gdb/testsuite/gdb.opt/gdb.sum:# of unexpected failures 1 work/gdb-7.6/gdb/testsuite/gdb.linespec/gdb.sum:# of unexpected failures 1gdb.base2 dragon342@makoto 22:07:14/130602(..wip/gdb)% \ grep FAIL work/gdb-7.6/gdb/testsuite/gdb.base2/gdb.sum \ | awk '{print $2, $3, $4}' | sort | uniq -c |sort -nr | head -10 81 gdb.base/structs.exp: p/c fun<n>(); 81 gdb.base/structs.exp: p/c L<n>; 81 gdb.base/structs.exp: call Fun<n>(foo<n>); 71 gdb.base/sigall.exp: send signal 71 gdb.base/sigall.exp: get signal 70 gdb.base/sigall.exp: advance to 60 gdb.base/structs.exp: zed L<n> 60 gdb.base/structs.exp: value foo<n> 60 gdb.base/structs.exp: advance to 30 gdb.base/structs.exp: return foo<n>;gdb.mi dragon342@makoto 22:19:43/130602(..wip/gdb)% \ FAIL work/gdb-7.6/gdb/testsuite/gdb.mi/gdb.sum \ | awk '{print $2, $3, $4}' | sort | uniq -c |sort -nr | head -10 68 gdb.mi/mi2-var-child.exp: get children 68 gdb.mi/mi-var-child.exp: get children 64 gdb.mi/mi2-var-child.exp: get number 64 gdb.mi/mi-var-child.exp: get number 42 gdb.mi/mi2-var-child.exp: path expression 42 gdb.mi/mi2-var-child.exp: expression for 20 gdb.mi/mi-var-cmd.exp: step at 18 gdb.mi/mi-var-display.exp: set format 18 gdb.mi/mi-var-cmd.exp: delete var 17 gdb.mi/mi-var-display.exp: eval variablegdb.base1 dragon342@makoto 22:09:10/130602(..wip/gdb)% \ grep FAIL work/gdb-7.6/gdb/testsuite/gdb.base1/gdb.sum \ | awk '{print $2, $3, $4}' | sort | uniq -c |sort -nr |head -10 48 gdb.base/funcargs.exp: continue to 27 gdb.base/call-sc.exp: return foo; 23 gdb.base/funcargs.exp: backtrace from 18 gdb.base/call-sc.exp: zed L 18 gdb.base/call-sc.exp: value foo 18 gdb.base/call-sc.exp: advance to 18 gdb.base/bitfields2.exp: continuing to 13 gdb.base/bitfields.exp: continuing to 12 gdb.base/break.exp: run until 10 gdb.base/callfuncs.exp: call inferiorDragonFly /OS に入っている gdb は 7.4.1 で、これの 成績や diff などを見た方が良いとは思う。 もっとも devel/gdb の 5.3 と比べて、それより良ければ、 入替という方も良い考えかな。 @ src from git Repository:dragon342@makoto 22:26:29/130602(/usr)% sudo make src-create Password: If problems occur you may have to rm -rf src and try again. mkdir -p /usr/src cd /usr/src && git init Initialized empty Git repository in /usr/src/.git/ cd /usr/src && git remote add origin git://git.dragonflybsd.org/dragonfly.git cd /usr/src && git fetch origin remote: Counting objects: 398761, done. remote: Compressing objects: 100% (119505/119505), done. Receiving objects: 7% (31695/398761), 12.92 MiB | 56 KiB/s ( つっこみ )
2013年06月01日(土) 旧暦 [n年日記] [更新:"2013/06/01 17:30:08"]#1 [DragonFly] DragonFly i386 BSD 3.4.205/05 に DragonFly BSD 3.4.1 を入れた。この時は 15GB。しかし gdb を作ろうとしたりしている時に、disk が溢れてしまった。 3.4.1 と 3.4.2 は大きく違わない、 という話を読んだ気もするが、 入直すなら新しい方が良いので、今回は 30GB にして、3.4.2 を入れる 今回は allbsd.org から iso-image をもらって来た
keymap="jp.106" # via installer configuration @ ^P ^N ^A ^E が効かない。tcsh だと効く:
zsh で、今回も ^P ^N ^A ^E が効かない。tcsh だと効くので
zsh の作り方に関係するのかな。自分で作らないで
pkgin
して見よう
pkgin install zshしても動作が変らない。~/.zshrc を 良く見たら、NetBSD 版では必要のない bindkey -eを書いておけば、DragonFly でも同じように動くことが分った。
> uname -a DragonFly dragon342.i.ki.nu 3.4-RELEASE DragonFly v3.4.2-RELEASE #2: Mon May 27 20:28:43 PDT 2013 root@pkgbox32.dragonflybsd.org:/usr/obj/build/home/justin/src/sys/GENERIC i386 @ 今回の Xen の設定は次の通り:xen3@makoto 12:30:09/130601(~)% cat /usr/pkg/etc/xen/disk-e kernel = "/usr/pkg/lib/xen/boot/hvmloader" builder='hvm' memory = 2048 name = "disk-e-dragonflyBSD-3.4.2" vif = [ 'mac=00:16:3e:01:25:31,bridge=bridge0,type=ioemu' ] device_model = '/usr/pkg/libexec/qemu-dm' disk = [ 'phy:/dev/rwd1e, ioemu:hda,w'] # 'file:/e/tera3/iso/dfly-i386-3.4.2_RELEASE.iso, ioemu:hdc:cdrom,r'] pae = 1 boot ='dca' #dl = 1 usb = 1 vnc = 1 usbdevice='tablet' keymap = 'ja' sudo xm create disk-eとした後に vncviewer :0 で画面を開けて作業をする。 @ gcc binutils gdb の版:dragon342@makoto 12:45:52/130601(~)% gcc --version gcc 4.7.2 [DragonFly] Release/2012-09-20 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dragon342@makoto 12:46:05/130601(~)% as --version GNU assembler (GNU Binutils) 2.22 Copyright 2011 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `i386-just-dragonfly'.gdb 7.4.1 dragon342@makoto 12:46:09/130601(~)% gdb --version GNU gdb (GDB) 7.4.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-dragonfly". For bug reporting instructions, please see: <http://bugs.dragonflybsd.org/>. ( つっこみ )
#2 [wip] wip/gdb (7.5.1)
env DEJAGNU=/usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/config/default.exp make test
(took some 60 minutes) dragon343@makoto 16:47:40/130601(..wip/gdb)% tail -12 ./work/gdb-7.5.1/gdb/testsuite/gdb.sum === gdb Summary === # of expected passes 4970 # of unexpected failures 3051 # of expected failures 35 # of known failures 20 # of untested testcases 174 # of unresolved testcases 201 # of unsupported tests 149 /usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/../../gdb/gdb version 7.5.1 -nw -nx -data-directory /usr/pkgsrc/wip/gdb/work/gdb-7.5.1/gdb/testsuite/../data-directory ( つっこみ )
|
最近の日記 2024年07月03日 ・kicad oddity 2024年05月08日 ・comparison on ./buildsh tools 2024年05月06日 ・py-setuptools (python 3.11.9) ・make release took 1 hours and 10 min ・qemu invocation for 10.99.10 2024年05月05日 ・Windows 10 version ・serial connection ・bc bench 2024年05月04日 ・Trial on 10.99.10 ・another version (later trial) to succeed | ||