|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2015年10月23日(金) 旧暦 [n年日記] [更新:"2015/10/23 15:28:44"]#1 [pkgsrc] open-vm-tools implicit declaration of 'gethostbyname_r'
gethostbyname_r がないと言われて
/export/WRKOBJDIR/wip-git/open-vm-tools/work/ open-vm-tools-9.4.0-1280544/lib/include/posix.h:215:4: error: implicit declaration of function 'gethostbyname_r'前にも一度見たことがあるなと思ったが、同じところだった。 2014/03/27 @ FreeBSD の場合:
FreeBSD はどうしているのかなと思ったら、
/usr/src/lib/libc/net/gethostnamadr.c の中に定義してあって、しかもこれは内部関数で、 491 int 492 gethostbyname_r(const char *name, struct hostent *he, char *buffer, 493 size_t buflen, struct hostent **result, int *h_errnop) 494 { 495 res_state statp; 496 497 statp = __res_state(); 498 if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) { 499 RES_SET_H_ERRNO(statp, NETDB_INTERNAL); 500 return (-1); 501 } 502 if (statp->options & RES_USE_INET6) { 503 if (fakeaddr(name, AF_INET, he, buffer, buflen, statp) == 0) { 504 *result = he; 505 return (0); 506 } 507 if (gethostbyname_internal(name, AF_INET6, he, buffer, buflen, 508 result, h_errnop, statp) == 0) 509 return (0); 510 } 511 return (gethostbyname_internal(name, AF_INET, he, buffer, buflen, 512 result, h_errnop, statp)); 513 }gethostname から呼出していて、gethostname は reentrant 版になっているらしい 669 struct hostent * 670 gethostbyname(const char *name) 671 { 672 struct hostdata *hd; 673 struct hostent *rval; 674 int ret_h_errno; 675 676 if ((hd = __hostdata_init()) == NULL) 677 return (NULL); 678 if (gethostbyname_r(name, &hd->host, hd->data, sizeof(hd->data), &rval, 679 &ret_h_errno) != 0) 680 return (NULL); 681 return (rval); 682 }と思ったら、NetBSD も同様の気がする。 ( つっこみ )
2015年10月19日(月) 旧暦 [n年日記] [更新:"2015/10/18 23:35:32"]#1 [pkgsrc] devel/gconfmm
cf-r4-RF@makoto 08:35:07/151019(..devel/libsigc++)% \
less /export/CHROOT/bulklog/gconfmm-2.28.3nb17/build.log
/usr/pkgsrc/devel/gconfmm/work/.buildlink/include/sigc++-2.0/sigc++/functors/slot.h:526:19: note: no known conversion for argument 1 from 'Glib::Error' to 'int' client.cc: In function 'void {anonymous}::Client_signal_error_callback(GConfClient*, GError*, void*)': client.cc:401:1: error: no match for call to '(SlotType {aka sigc::slot<void, const Glib::Error&>}) (Glib::Error)' ); Makefile:419: recipe for target 'client.lo' failed ( つっこみ )
2015年10月11日(日) 旧暦 [n年日記] [更新:"2015/10/12 07:34:42"]#1 [NetBSD][install] installboot
( つっこみ )
#2 [pkgsrc] How to test Canna on Emacs
tsutsui presented canna 3.7 package
And then I've update wip side
@ canuum segfaults at reset_shell_mode() of libcurses:(gdb) run Starting program: /export/WRKOBJDIR/wip/canna-canuum/work/Canna37p3/canuum/canuum convert_getterm: canna.c:1249 convert_getterm: canna.c:1283 Program received signal SIGSEGV, Segmentation fault. 0x00007f7ff7417be0 in __stopwin () from /usr/lib/libcurses.so.7 (gdb) bt #0 0x00007f7ff7417be0 in __stopwin () from /usr/lib/libcurses.so.7 #1 0x00000000004077e6 in convert_getterm () #2 0x00000000004028ff in openTermData () #3 0x000000000040818c in main () (gdb) quit A debugging session is active. Inferior 1 [process 25113] will be killed. Quit anyway? (y or n) y h97@makoto 22:45:11/151011(..wip/canna-canuum)%with debug print and disabling reset_shell_mode(); h97@makoto 22:56:02/151011(~)% \ sudo gdb /export/WRKOBJDIR/wip/canna-canuum/work/Canna37p3/canuum/canuum Password: Sorry, try again. Password: GNU gdb (GDB) 7.7.1 Copyright (C) 2014 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /export/WRKOBJDIR/wip/canna-canuum/work/Canna37p3/canuum/canuum... (no debugging symbols found)...done. (gdb) run Starting program: /export/WRKOBJDIR/wip/canna-canuum/work/Canna37p3/canuum/canuum convert_getterm: canna.c:1249 convert_getterm: canna.c:1283 convert_getterm: canna.c:1287 convert_getterm: canna.c:1292 exec_cmd (login_utmp): Cannot update utmp/wtmp/lastlog canuum(かな漢字変換フロントエンドプロセッサ) h97# test h97# exit canuumを終わります。 closeTermData: termio.c:183 Program received signal SIGSEGV, Segmentation fault. 0x00007f7ff7417be0 in __stopwin () from /usr/lib/libcurses.so.7 (gdb) bt #0 0x00007f7ff7417be0 in __stopwin () from /usr/lib/libcurses.so.7 #1 0x000000000040497d in chld_handler () #2 0x00007f7ff68a0ce0 in opendir () from /usr/lib/libc.so.12 #3 0x0000000100000014 in ?? () #4 0x0000000000000000 in ?? () (gdb) ( つっこみ )
2015年10月10日(土) 旧暦 [n年日記] [更新:"2015/10/10 14:31:02"]#1 [xen] xentools45NetBSD h97 7.0 NetBSD 7.0 (XEN3_DOM0.201509250726Z) amd64with xenkernel45 and xentools45 h97@makoto 23:23:51/151010(~)% cat /usr/pkg/etc/xen/disk-h kernel = "/export/NETBSD6/usr/INSTALL/kernel/netbsd-INSTALL_XEN3_DOMU.gz" #kernel = "/netbsd-XEN3_DOMU" memory = 2048 name = "disk-h" vcpus = 4 vif = ['bridge=bridge0'] disk = [ 'phy:/dev/wd0h,0x1,w' ] #root = "/dev/wd0d" root = "xbd0" h97@makoto 23:23:39/151010(~)% sudo xl create /usr/pkg/etc/xen/disk-h -c Parsing config from /usr/pkg/etc/xen/disk-h libxl: error: libxl_create.c:1153:domcreate_launch_dm: unable to add disk devices libxl: error: libxl_device.c:797:libxl__initiate_device_remove: unable to get my domid libxl: error: libxl.c:1645:devices_destroy_cb: libxl__devices_destroy failed for 1 libxl: info: libxl.c:1691:devices_destroy_cb: forked pid 868 for destroy of domain 1 h97@makoto 23:30:16/151010(~)% sudo xenstore-ls -fp /tool = "" (n0) /tool/xenstored = "" (n0) /vm = "" (n0) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2 = "" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/name = "disk-h" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/uuid = "fb30fc74-506f-e511-a6f3-d050993b4aa2" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/image = "" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/image/ostype = "linux" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/image/kernel = "/export/NETBSD6/usr/INSTALL/kernel/netbsd-INSTALL_XEN3_DOMU.gz" (n0,r13) /vm/fb30fc74-506f-e511-a6f3-d050993b4aa2/start_time = "1444482705.55" (n0,r13) /libxl = "" (n0) /libxl/13 = "" (n0) /local = "" (n0) /local/domain = "" (n0) /local/domain/0 = "" (n0) /local/domain/0/name = "Domain-0" (n0) /local/domain/0/memory = "" (n0) /local/domain/0/memory/target = "8388608" (n0) /local/domain/0/memory/static-max = "4294967292" (n0) /local/domain/0/memory/freemem-slack = "2506611" (n0) /local/domain/0/libxl = "" (n0) /local/domain/0/libxl/disable_udev = "1" (n0) /local/domain/0/backend = "" (n0) /local/domain/0/backend/vbd = "" (n0) /local/domain/0/backend/vbd/1 = "" (n0) /local/domain/0/backend/vbd/1/1 = "" (n0,r1) /local/domain/0/backend/vbd/1/1/frontend = "/local/domain/1/device/vbd/1" (n0,r1) /local/domain/0/backend/vbd/1/1/params = "/dev/wd0h" (n0,r1) /local/domain/0/backend/vbd/1/1/script = "/usr/pkg/etc/xen/scripts/block" (n0,r1) /local/domain/0/backend/vbd/1/1/physical-device = "0:7" (n0,r1) /local/domain/0/backend/vbd/1/1/frontend-id = "1" (n0,r1) /local/domain/0/backend/vbd/1/1/online = "1" (n0,r1) /local/domain/0/backend/vbd/1/1/removable = "0" (n0,r1) /local/domain/0/backend/vbd/1/1/bootable = "1" (n0,r1) /local/domain/0/backend/vbd/1/1/state = "6" (n0,r1) /local/domain/0/backend/vbd/1/1/dev = "0x1" (n0,r1) /local/domain/0/backend/vbd/1/1/type = "phy" (n0,r1) /local/domain/0/backend/vbd/1/1/mode = "w" (n0,r1) /local/domain/0/backend/vbd/1/1/device-type = "disk" (n0,r1) /local/domain/0/backend/vbd/1/1/discard-enable = "1" (n0,r1) h97@makoto 23:30:23/151010(~)% ( つっこみ )
2015年10月05日(月) 旧暦 [n年日記] [更新:"2015/10/12 07:39:48"]#1 [xen] 久振りの xen
という訳で、僕は時代遅れ。要出直。 ( つっこみ )
2015年10月02日(金) 旧暦 [n年日記] [更新:"2015/10/02 22:13:52"]#1 [pkgsrc] wip/virtualbox-ose
When compiling /usr/ports/emulators/virtualbox-ose with
WRKDIRPREFIX=/WRKDIRPREFIX MAKE_JOBS=1in /etc/make.conf: awk '{print $1, $2, $3}' ~/virtaulbox-ose-make-jobs-1-log | grep 'kBuild: Compiling' | uniqthe log looks like this. or awk '{print $1, $2, $3}' ~/virtaulbox-ose-make-jobs-1-log | egrep 'kBuild: Compiling|kBuild: Linking' | uniqCompiling and Linking While on pkgsrc h97@makoto 00:57:24/151003(..wip/virtualbox-ose)% awk '{print $1, $2, $3}' /export/log | egrep 'kBuild: Compiling|kBuild: Linking' | uniq kBuild: Compiling bin2c kBuild: Linking bin2c kBuild: Compiling biossums kBuild: Linking biossums kBuild: Compiling filesplitter kBuild: Linking filesplitter kBuild: Compiling VBoxCmp kBuild: Linking VBoxCmp kBuild: Compiling RuntimeBldProg kBuild: Compiling bin2c kBuild: Compiling biossums kBuild: Compiling filesplitter kBuild: Compiling VBoxCmp kBuild: Compiling RuntimeBldProg kBuild: Compiling scm kBuild: Compiling VBoxCPP kBuild: Compiling VBoxTpG kBuild: Compiling VBoxDef2LazyLoadNetBSD has following at Compiling RuntimeBldProg /export/WRKOBJDIR/wip/virtualbox-ose/work/VirtualBox-4.3.30/ -> src/VBox/Runtime/r3/freebsd/rtProcInitExePath-freebsd.cpp:84:51: error: too few arguments to function 'int rtPathFromNative(const char**, const char*, const char*)' int rc = rtPathFromNative(&pszTmp, pszPath); ^ In file included from /export/WRKOBJDIR/wip/virtualbox-ose/work/VirtualBox-4.3.30/ -> src/VBox/Runtime/r3/freebsd/rtProcInitExePath-freebsd.cpp:43:0: /export/WRKOBJDIR/wip/virtualbox-ose/work/VirtualBox-4.3.30/ -> src/VBox/Runtime/include/internal/path.h:95:5: note: declared here int rtPathFromNative(const char **ppszPath, const char *pszNativePath, ^ const char *pszBasePath); /export/WRKOBJDIR/wip/virtualbox-ose/work/VirtualBox-4.3.30/ -> src/VBox/Runtime/r3/freebsd/rtProcInitExePath-freebsd.cpp:89:34: error: too few arguments to function 'void rtPathFreeIprt(const char*, const char*)' rtPathFreeIprt(pszTmp); ( つっこみ )
|
最近の日記 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 | ||