Subject: pkg/20880: lang/gcc3 not installing info files (under Linux)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/24/2003 08:49:03
>Number: 20880
>Category: pkg
>Synopsis: lang/gcc3 not installing info files (under Linux)
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 24 08:50:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
The update to 3.2.2 for lang/gcc3 seems to not install .info files
now (under Linux).
The Makefile uses:
INFO_FILES= cpp.info g77.info gcc.info gcj.info
It fails with:
/sbin/install-info --info-dir=/usr/info /usr/info/cpp.info
install-info: warning: no entries found for `/usr/info/cpp.info'; nothing deleted
install-info: No such file or directory for /usr/info/cpp.info
The install also has:
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
if [ -f /usr/info/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f /usr/info/$f ]; then \
install-info --dir-file=/usr/info/dir /usr/info/$f; \
else true; fi; \
done; \
else true; fi; \
else true; fi;
chmod a-x /usr/info/cpp.info* /usr/info/gcc.info*
chmod: failed to get attributes of `/usr/info/cpp.info*': No such file or direct
ory
chmod: failed to get attributes of `/usr/info/gcc.info*': No such file or direct
ory
make[1]: [install-info] Error 1 (ignored)
But it doesn't quit there.
The ChangeLog says:
2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Makefile.in (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(MAKEDIRS): Prepend $(DESTDIR) to installdir names.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
But I don't know if that is related.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: