hns - 日記自動生成システム - Version 2.19.9

先月 2010年05月 来月
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい

2010年05月12日(水) 旧暦 [n年日記] [更新:"2010/05/20 11:03:49"]

#1 [pkgsrc] bootstrap-pkgsrc on ubuntu 10.04

ubuntu10@makoto 10:27:22/100512(..pkgsrc/bootstrap)% sudo env SH=/bin/zsh ./bootstrap
===> Installing for bootstrap-mk-files-20090807nb1
=> Creating installation directories
cd /home/makoto/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20090807 \
   && for file in bsd.*; 
   do            /usr/bin/install -c -o root -g root -m 444 $file /usr/pkg/share/mk/$file;
=> Automatic manual page handling
=> Registering installation for bootstrap-mk-files-20090807nb1
===> running: (cd /home/makoto/pkgsrc/devel/bmake && /home/makoto/pkgsrc/bootstrap/work/bin/bmake  \
   -DPKG_PRESERVE MAKECONF=/home/makoto/pkgsrc/bootstrap/work/mk.conf install)
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/home/makoto/pkgsrc/bootstrap/work/sbin/pkg_admin 
   -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing dependencies for bmake-20100423
=> Full dependency bootstrap-mk-files-[0-9]*: found bootstrap-mk-files-20090807nb1
find_best:1: no such file or directory: /home/makoto/pkgsrc/bootstrap/work/sbin/pkg_info -K /var/db/pkg
ERROR: [resolve-dependencies] A package matching ``bootstrap-mk-files-[0-9]*'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../pkgtools/bootstrap-mk-files?
*** Error code 1

bmake: stopped in /home/makoto/pkgsrc/devel/bmake
===> exited with status 1
ubuntu10@makoto 10:26:55/100512(..pkgsrc/bootstrap)% 
ubuntu10@makoto 10:26:55/100512(..pkgsrc/bootstrap)% \
/home/makoto/pkgsrc/bootstrap/work/sbin/pkg_info -K /var/db/pkg
bootstrap-mk-files-20090807nb1 *.mk files for the bootstrap bmake utility
関係ないけれど入力待の hostname@username が逆だな、いつも良く見ていないので。


mk/flavor/pkg/resolve-dependencies が怪しいので、一行目に -v を追加して おいたら、正常終了してしまった。
mk/flavor/pkg/resolve-dependencies may be the point of problem, and I have added -v to trace the problem. But now works fine.
ubuntu10@makoto 11:26:09/100512(..pkgsrc/bootstrap)% \
head -1 ../mk/flavor/pkg/resolve-dependencies
#!/bin/sh -v
   67  sudo rm -rf work/ /var/db/pkg/
   68  sudo env SH=/bin/bash ./bootstrap
ubuntu10@makoto 11:15:08/100512(..pkgsrc/bootstrap)% sudo env SH=/bin/bash ./bootstrap

=> Registering installation for pkg_install-20100421
===> running: /bin/sh /home/makoto/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root /usr/pkg/etc


Please remember to add /usr/pkg/bin to your PATH environment variable
and /usr/pkg/man to your MANPATH environment variable, if necessary.

An example mk.conf file with the settings you provided to "bootstrap"
has been created for you. It can be found in:


You can find extensive documentation of the NetBSD Packages Collection
in /home/makoto/pkgsrc/doc/pkgsrc.txt.

Hopefully everything is now complete.
Thank you


===> bootstrap started: Wed May 12 11:15:53 JST 2010
===> bootstrap ended:   Wed May 12 11:22:08 JST 2010
mk.conf はこれを使うよって上に書いてある

tnftp problem:

=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: NOT found
=> Verifying reinstall for ../../net/tnftp
ERROR: This package has set PKG_FAIL_REASON:
ERROR: No usable termcap library found on the system.
*** Error code 1

bmake: stopped in /home/makoto/pkgsrc/net/tnftp
*** Error code 1
  128  scp modena:Mail/netbsd/pkgsrc-bugs/26627 /tmp
  129  cd ../..
 patch がないので
  133  sudo apt-get install patch
  135  patch -s -p0 < /tmp/26627

  136  cd net/tnftp
  137  bmake clean
  138  bmake
  139  bmake package-install
  141  sudo /usr/pkg/bin/bmake package-install


cd ../obj_lo;
 --tag=CXX --mode=compile -I../c++ -I../include
 -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE
 -D_FILE_OFFSET_BITS=64 -DNDEBUG -I/usr/pkg/include/ncurses
 -Wno-error -c ../c++/
libtool: compile: unrecognized option `-I../c++'
libtool: compile: Try `libtool --help' for more information.
*** Error code 1
string 'g++' is missing after '--mode=compile.' You need g++ installed for ncurses.
sudo apt-get install g++


  undefined reference to `libintl_gettext'
  more undefined references to `libintl_gettext' follow
libbackend.a(intl.o): In function `gcc_init_libintl':
  undefined reference to `libintl_bindtextdomain'
  undefined reference to `libintl_textdomain' collect2: ld
returned 1 exit status make[2]: *** [cc1] Error 1 make[2]:
Leaving directory
`/home/makoto/pkgsrc/lang/gcc34/work/obj/gcc' make[1]: ***
[stage2_build] Error 2 make[1]: Leaving directory
`/home/makoto/pkgsrc/lang/gcc34/work/obj/gcc' make: ***
[bootstrap] Error 2 *** Error code 2
Just a quick work arround,
Index: lang/gcc34/Makefile
RCS file: /export/cvsync/pkgsrc/lang/gcc34/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- lang/gcc34/Makefile	4 May 2010 20:46:31 -0000	1.45
+++ lang/gcc34/Makefile	12 May 2010 09:16:52 -0000
@@ -49,6 +49,7 @@
 CONFIGURE_ARGS+=	--with-gnu-as
 CONFIGURE_ARGS+=	--with-gnu-ld
+CONFIGURE_ARGS+=	--disable-nls
 REPLACE_AWK+=		libjava/addr2name.awk
 USE_TOOLS+=		awk:run

長い途のりだったが、やっと pinapa が出来た:

多分 六か月くらいかかった気がする ..
(cd .libs && rm -f && ln -s ../
make[1]: Leaving directory `/home/makoto/pkgsrc/personal-pkgsrc/pinapa/work/pinapa/build.tmp'
+ :
+ cat

   Build finished in   
   You may want to run
   make install from there.
=> Unwrapping files-to-be-installed.
INFO: [] Nothing changed in ./ext.tmp/gcc-3.4.1/objs/gcc/s-config.
INFO: [] Nothing changed in ./ext.tmp/gcc-3.4.1/objs/gcc/stage1/s-config.
INFO: [] Nothing changed in ./ext.tmp/gcc-3.4.1/objs/gcc/stage2/s-config.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
ubuntu10@makoto 22:52:35/100512(..personal-pkgsrc/pinapa)% 

#2 [pkgsrc] editors/emacs

I have created the patches to 23.2, but it segfaults while compiling lisp:
rm patches/patch-a{c,f}
Directory /export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/./nxml
Directory /export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/./mh-e
Directory /export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/./mail
Directory /export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/./language
Fatal error (11)[1]   Segmentation fault (core dumped) EMACSLOADPATH=/e...
gmake[3]: *** [custom-deps] Error 139
gmake[3]: Leaving directory `/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp'
gmake[2]: *** [/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/cus-load.el] Error 2
gmake[2]: Leaving directory `/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp'
back trace may be the same as 23.1.97 This may continue OK if cd to working directory and type gmake, the same as 2010/05/06.
I have corrected the directory name from building-log and save it to the file, and issue following line by hand, it runs with no problem.
(cd work/emacs-23.2/lisp; \
EMACSLOADPATH=/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp \
../src/emacs -batch --no-site-file --multibyte -l cus-dep \
--eval \
'(setq generated-custom-dependencies-file "/export/pkgsrc/editors/emacs/work/emacs-23.2/lisp/cus-load.el")' \
-f custom-make-dependencies  \
`cat /tmp/list`)

Hellow world on R
Certificate renewed.
以上、1 日分です。
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)