pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/27107: devel/gmake bmake install/deinstall error on Solaris 8



>Number:         27107
>Category:       pkg
>Synopsis:       devel/gmake bmake install/deinstall error on Solaris 8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 01 18:40: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/gmake bmake install/deinstall error on Solaris 8.

cf. pkg/27106.

>How-To-Repeat:

% sudo env LANG=C bmake deinstall
===> Deinstalling for gmake
Running /opt.local/bsd/sbin/pkg_delete -K /var/opt/pkgsrc gmake-3.80nb3
pkg_delete: file `/opt.local/bsd/lib/locale/da/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/de/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/es/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/fr/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/gl/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/he/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/hr/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ja/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ko/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/nl/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/pl/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/ru/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/sv/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/tr/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: file `/opt.local/bsd/lib/locale/zh_CN/LC_MESSAGES/make.mo' doesn't 
really exist
pkg_delete: couldn't entirely delete package `gmake-3.80nb3'
(perhaps the packing list is incorrectly specified?)
%


% sudo env LANG=C bmake install
===> Checking for vulnerabilities in gmake-3.80nb3
===> Installing for gmake-3.80nb3
Making install in glob
Making install in config
Making install in po
/bin/sh `case "config/mkinstalldirs" in /*) echo "config/mkinstalldirs" ;; *) 
echo "../config/mkinstalldirs" ;; esac` /opt.local/bsd/share
installing da.gmo as /opt.local/bsd/share/locale/da/LC_MESSAGES/make.mo
installing de.gmo as /opt.local/bsd/share/locale/de/LC_MESSAGES/make.mo
installing es.gmo as /opt.local/bsd/share/locale/es/LC_MESSAGES/make.mo
installing fr.gmo as /opt.local/bsd/share/locale/fr/LC_MESSAGES/make.mo
installing gl.gmo as /opt.local/bsd/share/locale/gl/LC_MESSAGES/make.mo
installing he.gmo as /opt.local/bsd/share/locale/he/LC_MESSAGES/make.mo
installing hr.gmo as /opt.local/bsd/share/locale/hr/LC_MESSAGES/make.mo
installing ja.gmo as /opt.local/bsd/share/locale/ja/LC_MESSAGES/make.mo
installing ko.gmo as /opt.local/bsd/share/locale/ko/LC_MESSAGES/make.mo
installing nl.gmo as /opt.local/bsd/share/locale/nl/LC_MESSAGES/make.mo
installing pl.gmo as /opt.local/bsd/share/locale/pl/LC_MESSAGES/make.mo
installing pt_BR.gmo as /opt.local/bsd/share/locale/pt_BR/LC_MESSAGES/make.mo
installing sv.gmo as /opt.local/bsd/share/locale/sv/LC_MESSAGES/make.mo
installing ru.gmo as /opt.local/bsd/share/locale/ru/LC_MESSAGES/make.mo
installing tr.gmo as /opt.local/bsd/share/locale/tr/LC_MESSAGES/make.mo
installing zh_CN.gmo as /opt.local/bsd/share/locale/zh_CN/LC_MESSAGES/make.mo
if test "make" = "gettext"; then  /bin/sh `case "config/mkinstalldirs" in /*) 
echo "config/mkinstalldirs" ;; *) echo "../config/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@localhost 
en%boldquot.header@localhost 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
Making install in doc
/bin/ksh ../config/mkinstalldirs /opt.local/bsd/info
 /usr/ucb/install -c -o root -g root -m 444 ./make.info 
/opt.local/bsd/info/make.info
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-1 
/opt.local/bsd/info/make.info-1
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-2 
/opt.local/bsd/info/make.info-2
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-3 
/opt.local/bsd/info/make.info-3
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-4 
/opt.local/bsd/info/make.info-4
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-5 
/opt.local/bsd/info/make.info-5
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-6 
/opt.local/bsd/info/make.info-6
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-7 
/opt.local/bsd/info/make.info-7
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-8 
/opt.local/bsd/info/make.info-8
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-9 
/opt.local/bsd/info/make.info-9
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-10 
/opt.local/bsd/info/make.info-10
 /usr/ucb/install -c -o root -g root -m 444 ./make.info-11 
/opt.local/bsd/info/make.info-11
/bin/ksh ./config/mkinstalldirs /opt.local/bsd/bin
  /usr/ucb/install -c -s -o root -g root -m 555 make /opt.local/bsd/bin/make
/bin/ksh ./config/mkinstalldirs /opt.local/bsd/man/man1
 /usr/ucb/install -c -o root -g root -m 444 ./make.1 
/opt.local/bsd/man/man1/make.1
/usr/bin/chmod g-s /opt.local/bsd/bin/make
/usr/bin/chgrp root /opt.local/bsd/bin/make
/usr/bin/ln -sf make /opt.local/bsd/bin/gmake
`/opt.local/bsd/pkgsrc/devel/gmake/work/.PLIST' is up to date.
/opt.local/bsd/lib/locale/da/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/de/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/es/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/fr/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/gl/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/he/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/hr/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/ja/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/ko/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/nl/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/pl/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/ru/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/sv/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/tr/LC_MESSAGES/make.mo: No such file or directory
/opt.local/bsd/lib/locale/zh_CN/LC_MESSAGES/make.mo: No such file or directory
===> Registering installation for gmake-3.80nb3
pkg_create: can't stat `/opt.local/bsd/lib/locale/da/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/de/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/es/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/fr/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/gl/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/he/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/hr/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ja/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ko/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/nl/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/pl/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/pt_BR/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/ru/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/sv/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/tr/LC_MESSAGES/make.mo'
pkg_create: can't stat `/opt.local/bsd/lib/locale/zh_CN/LC_MESSAGES/make.mo'
gmake-3.80nb3 requires installed package gettext-lib-0.11.5nb3
gmake-3.80nb3 requires installed package pkg_install-info-4.5nb2
%

>Fix:

diff -uNr gmake/Makefile gmake.new/Makefile
--- gmake/Makefile      2004-03-31 14:19:46.000000000 +0900
+++ gmake.new/Makefile  2004-09-24 18:04:35.589792000 +0900
@@ -50,6 +50,12 @@
 CONFIGURE_ARGS+=       --without-libiconv
 .endif
 
+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:
        ${CHMOD} g-s ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
        ${CHGRP} ${BINGRP} ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
diff -uNr gmake/distinfo gmake.new/distinfo
--- gmake/distinfo      2004-02-09 21:38:08.000000000 +0900
+++ gmake.new/distinfo  2004-09-24 18:06:23.776453000 +0900
@@ -8,3 +8,4 @@
 SHA1 (patch-ad) = 7874662cb9345c4107fcc2aab7184ccd4c93090d
 SHA1 (patch-ae) = 7baeabf65a5ceee682134edf90654c53bfb9ee11
 SHA1 (patch-af) = 40b0298a2b9d62ea127e07fcb317c1e38d86a35b
+SHA1 (patch-ag) = da13d2211f64fad30c80804dae9e9ac04cc3e0fe
diff -uNr gmake/patches/patch-ag gmake.new/patches/patch-ag
--- gmake/patches/patch-ag      1970-01-01 09:00:00.000000000 +0900
+++ gmake.new/patches/patch-ag  2004-09-24 18:06:15.066703000 +0900
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- po/Makefile.in.in.orig     2002-10-04 03:18:35.000000000 +0900
++++ po/Makefile.in.in
+@@ -21,7 +21,7 @@ VPATH = @srcdir@
+ 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:



Home | Main Index | Thread Index | Old Index