pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33735: misc/rpm PLIST PKGLOCALEDIR
>Number: 33735
>Category: pkg
>Synopsis: misc/rpm PLIST PKGLOCALEDIR
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 15 09:45:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
=> Checking for missing run-time search paths in rpm-2.5.4nb5
=> Checking for work-directory references in rpm-2.5.4nb5
=> Checking file-check results for rpm-2.5.4nb5
*** The PLIST does not match installed files!
*** The following files are in the PLIST but not in /usr/pkg:
/usr/pkg/lib/locale/cs/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/de/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/fi/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/fr/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/pt_BR/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/ru/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/sk/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/sr/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/sv/LC_MESSAGES/rpm.mo
/usr/pkg/lib/locale/tr/LC_MESSAGES/rpm.mo
*** Error code 1
Stop.
>How-To-Repeat:
bmake install
>Fix:
Patch for Makefile and PLIST
[root@u2 1068] diff -bu Makefile.orig Makefile
--- Makefile.orig Thu Jun 15 10:14:44 2006
+++ Makefile Thu Jun 15 10:09:00 2006
@@ -15,6 +15,8 @@
USE_TOOLS+= gmake msgfmt
GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+LDFLAGS.SunOS+= -R/usr/pkg/lib -lintl
# this is needed instead of USE_PKGLOCALEDIR
CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
[root@u2 1078] diff -bu PLIST.orig PLIST
--- PLIST.orig Thu Jun 15 10:19:08 2006
+++ PLIST Thu Jun 15 10:07:24 2006
@@ -14,15 +14,15 @@
lib/rpm/rpmrc
man/man8/rpm.8
man/man8/rpm2cpio.8
-share/locale/cs/LC_MESSAGES/rpm.mo
-share/locale/de/LC_MESSAGES/rpm.mo
-share/locale/fi/LC_MESSAGES/rpm.mo
-share/locale/fr/LC_MESSAGES/rpm.mo
-share/locale/pt_BR/LC_MESSAGES/rpm.mo
-share/locale/ru/LC_MESSAGES/rpm.mo
-share/locale/sk/LC_MESSAGES/rpm.mo
-share/locale/sr/LC_MESSAGES/rpm.mo
-share/locale/sv/LC_MESSAGES/rpm.mo
-share/locale/tr/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/rpm.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/rpm.mo
@unexec ${RMDIR} -p %D/lib/rpm 2>/dev/null || ${TRUE}
@dirrm include/rpm
Home |
Main Index |
Thread Index |
Old Index