Subject: pkg/27106: devel/gettext bmake install/deinstall error on Solaris 8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 10/01/2004 18:23:11
>Number: 27106
>Category: pkg
>Synopsis: devel/gettext bmake install/deinstall error on Solaris 8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Oct 01 18:24:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: ISIHARA Takanori
>Release: Solaris 8 intel
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
SunOS xxxxx 5.8 Generic_117351-06 i86pc i386 i86pc
>Description:
devel/gettext bmake install/deinstall error on Solaris 8.
*.po files installed ${LOCALBASE}/share/locale, This is wrong.
*.po files install ${LOCALBASE}/lib/locale, This is right. Because Solaris OS PKGLOCALEDIR is "lib" (cf. mk/defs.SunOS.mk).
devel/gmake, archives/gtar-base and devel/gtexinfo are same problems.
>How-To-Repeat:
% sudo bmake install
===> Checking for vulnerabilities in gettext-0.11.5nb4
===> Installing for gettext-0.11.5nb4
Making install in doc
/bin/ksh ../mkinstalldirs /opt.local/bsd/share/doc/gettext
mkdir /opt.local/bsd/share/doc/gettext
for file in `if test -f gettext_toc.html; then echo .; else echo .; fi`/gettext_*.html; do /usr/ucb/install -c -o root -g root -m 444 $file /opt.local/bsd/share/doc/gettext/`basename $file`; done
/bin/ksh ../mkinstalldirs /opt.local/bsd/info
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info /opt.local/bsd/info/gettext.info
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-1 /opt.local/bsd/info/gettext.info-1
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-2 /opt.local/bsd/info/gettext.info-2
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-3 /opt.local/bsd/info/gettext.info-3
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-4 /opt.local/bsd/info/gettext.info-4
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-5 /opt.local/bsd/info/gettext.info-5
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-6 /opt.local/bsd/info/gettext.info-6
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-7 /opt.local/bsd/info/gettext.info-7
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-8 /opt.local/bsd/info/gettext.info-8
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-9 /opt.local/bsd/info/gettext.info-9
/usr/ucb/install -c -o root -g root -m 444 ./gettext.info-10 /opt.local/bsd/info/gettext.info-10
Making install in lib
/bin/ksh ../mkinstalldirs /opt.local/bsd/lib
if test -f /opt.local/bsd/lib/charset.alias; then sed -f ref-add.sed /opt.local/bsd/lib/charset.alias > /opt.local/bsd/lib/charset.tmp ; /usr/ucb/install -c -o root -g root -m 444 /opt.local/bsd/lib/charset.tmp /opt.local/bsd/lib/charset.alias ; rm -f /opt.local/bsd/lib/charset.tmp ; else if test no = no; then sed -f ref-add.sed charset.alias > /opt.local/bsd/lib/charset.tmp ; /usr/ucb/install -c -o root -g root -m 444 /opt.local/bsd/lib/charset.tmp /opt.local/bsd/lib/charset.alias ; rm -f /opt.local/bsd/lib/charset.tmp ; fi ; fi
/bin/ksh ../mkinstalldirs /opt.local/bsd/lib
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -o root -g root libgettextlib.la /opt.local/bsd/lib/libgettextlib.la
/usr/ucb/install -c -o root -g root .libs/libgettextlib-0.11.5.so /opt.local/bsd/lib/libgettextlib-0.11.5.so
(cd /opt.local/bsd/lib && rm -f libgettextlib.so && ln -s libgettextlib-0.11.5.so libgettextlib.so)
chmod +x /opt.local/bsd/lib/libgettextlib-0.11.5.so
/usr/ucb/install -c -o root -g root .libs/libgettextlib.lai /opt.local/bsd/lib/libgettextlib.la
/usr/ucb/install -c -o root -g root .libs/libgettextlib.a /opt.local/bsd/lib/libgettextlib.a
ranlib /opt.local/bsd/lib/libgettextlib.a
chmod 644 /opt.local/bsd/lib/libgettextlib.a
----------------------------------------------------------------------
Libraries have been installed in:
/opt.local/bsd/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
rm -f /opt.local/bsd/lib/libgettextlib.a
/bin/ksh ../mkinstalldirs /opt.local/bsd/share/gettext
/usr/ucb/install -c -o root -g root -m 444 gettext.h /opt.local/bsd/share/gettext/gettext.h
Making install in libuniname
Making install in src
/bin/ksh ../mkinstalldirs /opt.local/bsd/lib
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -o root -g root libgettextsrc.la /opt.local/bsd/lib/libgettextsrc.la
libtool: install: warning: relinking `libgettextsrc.la'
(cd /opt.local/bsd/pkgsrc/devel/gettext.orig/work/gettext-0.11.5/src; /bin/ksh /opt.local/bsd/bin/libtool --mode=relink gcc -O -Wl,-R/opt.local/bsd/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2.95.3 -Wl,-R/opt.local/bsd/gcc-2.95.3/lib -Wl,-R/opt.local/bsd/lib -o libgettextsrc.la -rpath /opt.local/bsd/lib -release 0.11.5 -L../lib/.libs ../lib/libgettextlib.la message.lo po.lo po-lex.lo po-gram-gen.lo po-hash-gen.lo po-charset.lo open-po.lo dir-list.lo str-list.lo read-po.lo write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo msgl-english.lo file-list.lo msgl-charset.lo po-time.lo plural.lo plural-table.lo format.lo format-c.lo format-python.lo format-lisp.lo format-elisp.lo format-librep.lo format-java.lo format-awk.lo format-pascal.lo format-ycp.lo format-tcl.lo -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2.95.3 -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/gcc-2.95.3/lib -L/opt.local/bsd/pkgsrc/
devel/gettext.orig/work/.buildlink/lib -lc -lintl -liconv @inst_prefix_dir@)
gcc -shared -Wl,-h -Wl,libgettextsrc-0.11.5.so -o .libs/libgettextsrc-0.11.5.so .libs/message.o .libs/po.o .libs/po-lex.o .libs/po-gram-gen.o .libs/po-hash-gen.o .libs/po-charset.o .libs/open-po.o .libs/dir-list.o .libs/str-list.o .libs/read-po.o .libs/write-po.o .libs/msgl-ascii.o .libs/msgl-iconv.o .libs/msgl-equal.o .libs/msgl-cat.o .libs/msgl-english.o .libs/file-list.o .libs/msgl-charset.o .libs/po-time.o .libs/plural.o .libs/plural-table.o .libs/format.o .libs/format-c.o .libs/format-python.o .libs/format-lisp.o .libs/format-elisp.o .libs/format-librep.o .libs/format-java.o .libs/format-awk.o .libs/format-pascal.o .libs/format-ycp.o .libs/format-tcl.o -R/opt.local/bsd/lib -R/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/lib -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/lib -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/gcc-2.95.3/lib -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2
.95.3 -L/opt.local/bsd/pkgsrc/devel/gettext.orig/work/gettext-0.11.5/lib/.libs -L/opt.local/bsd/lib -lgettextlib -lc -lintl -liconv -lc -Wl,-R/opt.local/bsd/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2.95.3 -Wl,-R/opt.local/bsd/gcc-2.95.3/lib -Wl,-R/opt.local/bsd/lib
/usr/ucb/install -c -o root -g root .libs/libgettextsrc-0.11.5.soT /opt.local/bsd/lib/libgettextsrc-0.11.5.so
(cd /opt.local/bsd/lib && rm -f libgettextsrc.so && ln -s libgettextsrc-0.11.5.so libgettextsrc.so)
chmod +x /opt.local/bsd/lib/libgettextsrc-0.11.5.so
/usr/ucb/install -c -o root -g root .libs/libgettextsrc.lai /opt.local/bsd/lib/libgettextsrc.la
/usr/ucb/install -c -o root -g root .libs/libgettextsrc.a /opt.local/bsd/lib/libgettextsrc.a
ranlib /opt.local/bsd/lib/libgettextsrc.a
chmod 644 /opt.local/bsd/lib/libgettextsrc.a
----------------------------------------------------------------------
Libraries have been installed in:
/opt.local/bsd/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/ksh ../mkinstalldirs /opt.local/bsd/bin
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 gettext /opt.local/bsd/bin/gettext
/usr/ucb/install -c -o root -g root -m 555 -s gettext /opt.local/bsd/bin/gettext
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 ngettext /opt.local/bsd/bin/ngettext
/usr/ucb/install -c -o root -g root -m 555 -s ngettext /opt.local/bsd/bin/ngettext
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgcmp /opt.local/bsd/bin/msgcmp
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgcmp /opt.local/bsd/bin/msgcmp
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgfmt /opt.local/bsd/bin/msgfmt
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgfmt /opt.local/bsd/bin/msgfmt
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgmerge /opt.local/bsd/bin/msgmerge
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgmerge /opt.local/bsd/bin/msgmerge
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgunfmt /opt.local/bsd/bin/msgunfmt
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgunfmt /opt.local/bsd/bin/msgunfmt
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 xgettext /opt.local/bsd/bin/xgettext
/usr/ucb/install -c -o root -g root -m 555 -s .libs/xgettext /opt.local/bsd/bin/xgettext
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgattrib /opt.local/bsd/bin/msgattrib
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgattrib /opt.local/bsd/bin/msgattrib
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgcat /opt.local/bsd/bin/msgcat
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgcat /opt.local/bsd/bin/msgcat
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgcomm /opt.local/bsd/bin/msgcomm
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgcomm /opt.local/bsd/bin/msgcomm
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgconv /opt.local/bsd/bin/msgconv
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgconv /opt.local/bsd/bin/msgconv
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgen /opt.local/bsd/bin/msgen
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgen /opt.local/bsd/bin/msgen
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgexec /opt.local/bsd/bin/msgexec
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgexec /opt.local/bsd/bin/msgexec
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msgfilter /opt.local/bsd/bin/msgfilter
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msgfilter /opt.local/bsd/bin/msgfilter
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msggrep /opt.local/bsd/bin/msggrep
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msggrep /opt.local/bsd/bin/msggrep
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msginit /opt.local/bsd/bin/msginit
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msginit /opt.local/bsd/bin/msginit
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 msguniq /opt.local/bsd/bin/msguniq
/usr/ucb/install -c -o root -g root -m 555 -s .libs/msguniq /opt.local/bsd/bin/msguniq
/bin/ksh ../mkinstalldirs /opt.local/bsd/lib/gettext
mkdir /opt.local/bsd/lib/gettext
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 hostname /opt.local/bsd/lib/gettext/hostname
/usr/ucb/install -c -o root -g root -m 555 -s .libs/hostname /opt.local/bsd/lib/gettext/hostname
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -s -o root -g root -m 555 urlget /opt.local/bsd/lib/gettext/urlget
/usr/ucb/install -c -o root -g root -m 555 -s .libs/urlget /opt.local/bsd/lib/gettext/urlget
/usr/ucb/install -c -o root -g root -m 555 user-email /opt.local/bsd/lib/gettext/user-email
/usr/ucb/install -c -o root -g root -m 555 ./project-id /opt.local/bsd/lib/gettext/project-id
rm -f /opt.local/bsd/lib/libgettextsrc.a
/usr/ucb/install -c -o root -g root -m 444 gettext.jar /opt.local/bsd/share/gettext/gettext.jar
/bin/ksh ../mkinstalldirs /opt.local/bsd/share/gettext
/usr/ucb/install -c -o root -g root -m 444 ./msgunfmt.tcl /opt.local/bsd/share/gettext/msgunfmt.tcl
Making install in po
/bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /opt.local/bsd/share
mkdir /opt.local/bsd/share/locale
mkdir /opt.local/bsd/share/locale/be
mkdir /opt.local/bsd/share/locale/be/LC_MESSAGES
installing be.gmo as /opt.local/bsd/share/locale/be/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/ca
mkdir /opt.local/bsd/share/locale/ca/LC_MESSAGES
installing ca.gmo as /opt.local/bsd/share/locale/ca/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/cs
mkdir /opt.local/bsd/share/locale/cs/LC_MESSAGES
installing cs.gmo as /opt.local/bsd/share/locale/cs/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/da
mkdir /opt.local/bsd/share/locale/da/LC_MESSAGES
installing da.gmo as /opt.local/bsd/share/locale/da/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/de
mkdir /opt.local/bsd/share/locale/de/LC_MESSAGES
installing de.gmo as /opt.local/bsd/share/locale/de/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/el
mkdir /opt.local/bsd/share/locale/el/LC_MESSAGES
installing el.gmo as /opt.local/bsd/share/locale/el/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/en@quot
mkdir /opt.local/bsd/share/locale/en@quot/LC_MESSAGES
installing en@quot.gmo as /opt.local/bsd/share/locale/en@quot/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/en@boldquot
mkdir /opt.local/bsd/share/locale/en@boldquot/LC_MESSAGES
installing en@boldquot.gmo as /opt.local/bsd/share/locale/en@boldquot/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/es
mkdir /opt.local/bsd/share/locale/es/LC_MESSAGES
installing es.gmo as /opt.local/bsd/share/locale/es/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/et
mkdir /opt.local/bsd/share/locale/et/LC_MESSAGES
installing et.gmo as /opt.local/bsd/share/locale/et/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/fi
mkdir /opt.local/bsd/share/locale/fi/LC_MESSAGES
installing fi.gmo as /opt.local/bsd/share/locale/fi/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/fr
mkdir /opt.local/bsd/share/locale/fr/LC_MESSAGES
installing fr.gmo as /opt.local/bsd/share/locale/fr/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/gl
mkdir /opt.local/bsd/share/locale/gl/LC_MESSAGES
installing gl.gmo as /opt.local/bsd/share/locale/gl/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/id
mkdir /opt.local/bsd/share/locale/id/LC_MESSAGES
installing id.gmo as /opt.local/bsd/share/locale/id/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/it
mkdir /opt.local/bsd/share/locale/it/LC_MESSAGES
installing it.gmo as /opt.local/bsd/share/locale/it/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/ja
mkdir /opt.local/bsd/share/locale/ja/LC_MESSAGES
installing ja.gmo as /opt.local/bsd/share/locale/ja/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/ko
mkdir /opt.local/bsd/share/locale/ko/LC_MESSAGES
installing ko.gmo as /opt.local/bsd/share/locale/ko/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/nl
mkdir /opt.local/bsd/share/locale/nl/LC_MESSAGES
installing nl.gmo as /opt.local/bsd/share/locale/nl/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/nn
mkdir /opt.local/bsd/share/locale/nn/LC_MESSAGES
installing nn.gmo as /opt.local/bsd/share/locale/nn/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/no
mkdir /opt.local/bsd/share/locale/no/LC_MESSAGES
installing no.gmo as /opt.local/bsd/share/locale/no/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/pl
mkdir /opt.local/bsd/share/locale/pl/LC_MESSAGES
installing pl.gmo as /opt.local/bsd/share/locale/pl/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/pt
mkdir /opt.local/bsd/share/locale/pt/LC_MESSAGES
installing pt.gmo as /opt.local/bsd/share/locale/pt/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/pt_BR
mkdir /opt.local/bsd/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /opt.local/bsd/share/locale/pt_BR/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/ru
mkdir /opt.local/bsd/share/locale/ru/LC_MESSAGES
installing ru.gmo as /opt.local/bsd/share/locale/ru/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/sk
mkdir /opt.local/bsd/share/locale/sk/LC_MESSAGES
installing sk.gmo as /opt.local/bsd/share/locale/sk/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/sl
mkdir /opt.local/bsd/share/locale/sl/LC_MESSAGES
installing sl.gmo as /opt.local/bsd/share/locale/sl/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/sv
mkdir /opt.local/bsd/share/locale/sv/LC_MESSAGES
installing sv.gmo as /opt.local/bsd/share/locale/sv/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/tr
mkdir /opt.local/bsd/share/locale/tr/LC_MESSAGES
installing tr.gmo as /opt.local/bsd/share/locale/tr/LC_MESSAGES/gettext.mo
mkdir /opt.local/bsd/share/locale/zh_TW
mkdir /opt.local/bsd/share/locale/zh_TW/LC_MESSAGES
installing zh_TW.gmo as /opt.local/bsd/share/locale/zh_TW/LC_MESSAGES/gettext.mo
if test "gettext" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /opt.local/bsd/share/gettext/po; for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ; do /usr/ucb/install -c -o root -g root -m 444 ./$file /opt.local/bsd/share/gettext/po/$file; done; else : ; fi
mkdir /opt.local/bsd/share/gettext/po
Making install in misc
WARNING: Warnings can be ignored. :-)
if test no != no; then EMACS=no /bin/ksh ./elisp-comp po-compat.el; else : ; fi
WARNING: Warnings can be ignored. :-)
if test no != no; then EMACS=no /bin/ksh ./elisp-comp po-mode.el; else : ; fi
/bin/ksh ../mkinstalldirs /opt.local/bsd/bin
/usr/ucb/install -c -o root -g root -m 555 gettextize /opt.local/bsd/bin/gettextize
/usr/ucb/install -c -o root -g root -m 555 autopoint /opt.local/bsd/bin/autopoint
/bin/ksh ../mkinstalldirs /opt.local/bsd/share/gettext
/usr/ucb/install -c -o root -g root -m 444 archive.tar.gz /opt.local/bsd/share/gettext/archive.tar.gz
Making install in man
/bin/ksh ../mkinstalldirs /opt.local/bsd/share/doc/gettext
for file in gettext.1.html ngettext.1.html msgcmp.1.html msgfmt.1.html msgmerge.1.html msgunfmt.1.html xgettext.1.html msgattrib.1.html msgcat.1.html msgcomm.1.html msgconv.1.html msgen.1.html msgexec.1.html msgfilter.1.html msggrep.1.html msginit.1.html msguniq.1.html gettextize.1.html autopoint.1.html gettext.3.html ngettext.3.html textdomain.3.html bindtextdomain.3.html bind_textdomain_codeset.3.html; do if test -f $file; then dir=.; else dir=.; fi; /usr/ucb/install -c -o root -g root -m 444 $dir/$file /opt.local/bsd/share/doc/gettext/$file; done
/bin/ksh ../mkinstalldirs /opt.local/bsd/man/man1
/usr/ucb/install -c -o root -g root -m 444 ./gettext.1 /opt.local/bsd/man/man1/gettext.1
/usr/ucb/install -c -o root -g root -m 444 ./ngettext.1 /opt.local/bsd/man/man1/ngettext.1
/usr/ucb/install -c -o root -g root -m 444 ./msgcmp.1 /opt.local/bsd/man/man1/msgcmp.1
/usr/ucb/install -c -o root -g root -m 444 ./msgfmt.1 /opt.local/bsd/man/man1/msgfmt.1
/usr/ucb/install -c -o root -g root -m 444 ./msgmerge.1 /opt.local/bsd/man/man1/msgmerge.1
/usr/ucb/install -c -o root -g root -m 444 ./msgunfmt.1 /opt.local/bsd/man/man1/msgunfmt.1
/usr/ucb/install -c -o root -g root -m 444 ./xgettext.1 /opt.local/bsd/man/man1/xgettext.1
/usr/ucb/install -c -o root -g root -m 444 ./msgattrib.1 /opt.local/bsd/man/man1/msgattrib.1
/usr/ucb/install -c -o root -g root -m 444 ./msgcat.1 /opt.local/bsd/man/man1/msgcat.1
/usr/ucb/install -c -o root -g root -m 444 ./msgcomm.1 /opt.local/bsd/man/man1/msgcomm.1
/usr/ucb/install -c -o root -g root -m 444 ./msgconv.1 /opt.local/bsd/man/man1/msgconv.1
/usr/ucb/install -c -o root -g root -m 444 ./msgen.1 /opt.local/bsd/man/man1/msgen.1
/usr/ucb/install -c -o root -g root -m 444 ./msgexec.1 /opt.local/bsd/man/man1/msgexec.1
/usr/ucb/install -c -o root -g root -m 444 ./msgfilter.1 /opt.local/bsd/man/man1/msgfilter.1
/usr/ucb/install -c -o root -g root -m 444 ./msggrep.1 /opt.local/bsd/man/man1/msggrep.1
/usr/ucb/install -c -o root -g root -m 444 ./msginit.1 /opt.local/bsd/man/man1/msginit.1
/usr/ucb/install -c -o root -g root -m 444 ./msguniq.1 /opt.local/bsd/man/man1/msguniq.1
/usr/ucb/install -c -o root -g root -m 444 ./gettextize.1 /opt.local/bsd/man/man1/gettextize.1
/usr/ucb/install -c -o root -g root -m 444 ./autopoint.1 /opt.local/bsd/man/man1/autopoint.1
/bin/ksh ../mkinstalldirs /opt.local/bsd/man/man3
/usr/ucb/install -c -o root -g root -m 444 ./gettext.3 /opt.local/bsd/man/man3/gettext.3
/usr/ucb/install -c -o root -g root -m 444 ./ngettext.3 /opt.local/bsd/man/man3/ngettext.3
/usr/ucb/install -c -o root -g root -m 444 ./textdomain.3 /opt.local/bsd/man/man3/textdomain.3
/usr/ucb/install -c -o root -g root -m 444 ./bindtextdomain.3 /opt.local/bsd/man/man3/bindtextdomain.3
/usr/ucb/install -c -o root -g root -m 444 ./bind_textdomain_codeset.3 /opt.local/bsd/man/man3/bind_textdomain_codeset.3
/usr/ucb/install -c -o root -g root -m 444 ./dgettext.3 /opt.local/bsd/man/man3/dgettext.3
/usr/ucb/install -c -o root -g root -m 444 ./dcgettext.3 /opt.local/bsd/man/man3/dcgettext.3
/usr/ucb/install -c -o root -g root -m 444 ./dngettext.3 /opt.local/bsd/man/man3/dngettext.3
/usr/ucb/install -c -o root -g root -m 444 ./dcngettext.3 /opt.local/bsd/man/man3/dcngettext.3
/bin/ksh ./mkinstalldirs /opt.local/bsd/share/gettext
/usr/ucb/install -c -o root -g root -m 444 ABOUT-NLS /opt.local/bsd/share/gettext/ABOUT-NLS
/bin/ksh ./mkinstalldirs /opt.local/bsd/share/gettext
/usr/ucb/install -c -o root -g root -m 555 config.rpath /opt.local/bsd/share/gettext/config.rpath
/usr/ucb/install -c -o root -g root -m 555 mkinstalldirs /opt.local/bsd/share/gettext/mkinstalldirs
cd /opt.local/bsd/pkgsrc/devel/gettext.orig/work/gettext-0.11.5/intl; /usr/bin/env OPSYS="SunOS" USETOOLS=no MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LIBTOOL="libtool " LDFLAGS=" -L/opt.local/bsd/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2.95.3 -Wl,-R/opt.local/bsd/gcc-2.95.3/lib/gcc-lib/i386-sun-solaris2/2.95.3 -L/opt.local/bsd/gcc-2.95.3/lib -Wl,-R/opt.local/bsd/gcc-2.95.3/lib -L/opt.local/bsd/lib -Wl,-R/opt.local/bsd/lib" LINKER_RPATH_FLAG="-R" COMPILER_RPATH_FLAG="-Wl,-R" WHOLE_ARCHIVE_FLAG="-z allextract" NO_WHOLE_ARCHIVE_FLAG="-z defaultextract" LINK_ALL_LIBGCC_HACK="" PATH=/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.buildlink/bin:/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.tools/bin:/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.gcc/bin:~/bin:/opt.local/bsd/bin:/opt.local/bsd/sbin:/usr/xpg4/bin:/bin:/usr/ccs/bin:/etc:/usr/etc:/usr/openwin/bin:/usr/local/etc:/usr/sbin:/opt.local/bsd/bin:/usr/openwin/bin PREFIX=/opt.local/bsd LOCALBASE=/opt.local/bsd X11BA
SE=/usr/openwin CFLAGS="-O -I/opt.local/bsd/include" CPPFLAGS=" -I/opt.local/bsd/include" FFLAGS="-O" X11PREFIX=/opt.local/bsd CC="gcc" CXX="g++" CPP="cpp" PTHREAD_CFLAGS="" PTHREAD_LDFLAGS="" BSD_INSTALL_PROGRAM="/usr/ucb/install -c -s -o root -g root -m 555" BSD_INSTALL_SCRIPT="/usr/ucb/install -c -o root -g root -m 555" BSD_INSTALL_LIB="/usr/ucb/install -c -o root -g root -m 555" BSD_INSTALL_DATA="/usr/ucb/install -c -o root -g root -m 444" BSD_INSTALL_MAN="/usr/ucb/install -c -o root -g root -m 444" BSD_INSTALL="/usr/ucb/install" BSD_INSTALL_PROGRAM_DIR="/usr/ucb/install -d -o root -g root -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/ucb/install -d -o root -g root -m 755" BSD_INSTALL_LIB_DIR="/usr/ucb/install -d -o root -g root -m 755" BSD_INSTALL_DATA_DIR="/usr/ucb/install -d -o root -g root -m 755" BSD_INSTALL_MAN_DI
R="/usr/ucb/install -d -o root -g root -m 755" BSD_INSTALL_GAME="/usr/ucb/install -c -s -o root -g root -m 555" BSD_INSTALL_GAME_DATA="/usr/ucb/install -c -o root -g root -m 444" PKG_SYSCONFDIR="/opt.local/bsd/etc" INSTALL_INFO="/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.tools/bin/install-info" MAKEINFO="/opt.local/bsd/pkgsrc/devel/gettext.orig/work/.tools/bin/makeinfo" BUILDLINK_CACHE_ALL=yes VIEWBASE=/opt.local/bsd /opt.local/bsd/bin/bmake install-data
if test "gettext" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /opt.local/bsd/share/gettext/intl; /usr/ucb/install -c -o root -g root -m 444 VERSION /opt.local/bsd/share/gettext/intl/VERSION; /usr/ucb/install -c -o root -g root -m 444 ChangeLog.inst /opt.local/bsd/share/gettext/intl/ChangeLog; dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; for file in $dists; do /usr/ucb/install -c -o root -g root -m 444 ./$file /opt.local/bsd/share/gettext/intl/$file; done; chmod a+x /opt.local/bsd/sh
are/gettext/intl/config.charset; dists="plural.c"; for file in $dists; do if test -f $file; then dir=.; else dir=.; fi; /usr/ucb/install -c -o root -g root -m 444 $dir/$file /opt.local/bsd/share/gettext/intl/$file; done; dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; for file in $dists; do rm -f /opt.local/bsd/share/gettext/intl/$file; done; else : ; fi
mkdir /opt.local/bsd/share/gettext/intl
===> [Automatic ELF shared object handling]
/opt.local/bsd/lib/locale/be/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/ca/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/cs/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/da/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/de/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/el/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/en@boldquot/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/en@quot/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/es/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/et/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/fi/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/fr/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/gl/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/id/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/it/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/ja/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/ko/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/nl/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/nn/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/no/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/pl/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/pt/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/ru/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/sk/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/sl/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/sv/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/tr/LC_MESSAGES/gettext.mo: No such file or directory
/opt.local/bsd/lib/locale/zh_TW/LC_MESSAGES/gettext.mo: No such file or directory
===> Registering installation for gettext-0.11.5nb4
pkg_create: can't stat `/opt.local/bsd/lib/locale/be/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ca/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/cs/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/da/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/de/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/el/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/en@boldquot/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/en@quot/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/es/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/et/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/fi/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/fr/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/gl/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/id/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/it/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ja/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ko/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/nl/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/nn/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/no/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/pl/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/pt/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ru/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/sk/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/sl/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/sv/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/tr/LC_MESSAGES/gettext.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/zh_TW/LC_MESSAGES/gettext.mo'
gettext-0.11.5nb4 requires installed package gettext-lib-0.11.5nb3
gettext-0.11.5nb4 requires installed package gettext-m4-0.11.5
gettext-0.11.5nb4 requires installed package pkg_install-info-4.5nb2
%
% sudo bmake deinstall
===> Deinstalling for gettext
Running /opt.local/bsd/sbin/pkg_delete -K /var/opt/pkgsrc gettext-0.11.5nb4
pkg_delete: file `/opt.local/bsd/lib/locale/be/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ca/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/cs/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/da/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/de/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/el/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/en@boldquot/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/en@quot/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/es/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/et/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/fi/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/fr/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/gl/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/id/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/it/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ja/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ko/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/nl/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/nn/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/no/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/pl/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/pt/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ru/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/sk/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/sl/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/sv/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/tr/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: file `/opt.local/bsd/lib/locale/zh_TW/LC_MESSAGES/gettext.mo' doesn't really exist
pkg_delete: couldn't entirely delete package `gettext-0.11.5nb4'
(perhaps the packing list is incorrectly specified?)
%
>Fix:
diff -uNr gettext.orig/Makefile gettext/Makefile
--- gettext.orig/Makefile 2004-04-21 12:08:52.000000000 +0900
+++ gettext/Makefile 2004-09-21 18:25:55.124829000 +0900
@@ -33,6 +33,12 @@
USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
+post-patch:
+ ${MV} ${WRKSRC}/po/Makefile.in.in ${WRKSRC}/po/Makefile.in.in.orig
+ ${SED} -e 's!@PKGLOCALEDIR@!${PKGLOCALEDIR}!g' \
+ < ${WRKSRC}/po/Makefile.in.in.orig \
+ > ${WRKSRC}/po/Makefile.in.in
+
post-install:
cd ${WRKSRC}/intl; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-data
diff -uNr gettext.orig/distinfo gettext/distinfo
--- gettext.orig/distinfo 2003-12-06 03:15:49.000000000 +0900
+++ gettext/distinfo 2004-09-21 18:54:08.872241000 +0900
@@ -10,3 +10,4 @@
SHA1 (patch-aj) = 8c8cf6fcc6f23a54b5e20e1ab741d4a7d92a11a7
SHA1 (patch-ak) = 6ba1e5c4180cfc76b3545551f18c16f2c1bdbb15
SHA1 (patch-al) = de803407110c28b044aad8c122ff42181510a0e3
+SHA1 (patch-am) = 273cc9dfff5a932a43a511eb4985d924c6715cef
diff -uNr gettext.orig/patches/patch-am gettext/patches/patch-am
--- gettext.orig/patches/patch-am 1970-01-01 09:00:00.000000000 +0900
+++ gettext/patches/patch-am 2004-09-21 18:54:04.222385000 +0900
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig 2002-03-12 01:45:54.000000000 +0900
++++ po/Makefile.in.in 2004-09-21 18:51:47.256622000 +0900
+@@ -21,7 +21,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = @prefix@/@PKGLOCALEDIR@/locale
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@
>Release-Note:
>Audit-Trail:
>Unformatted: