Subject: pkg/25514: graphics/mng doesn't build when ${LOCALBASE}/bin is not included in $PATH.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 05/10/2004 01:54:10
>Number: 25514
>Category: pkg
>Synopsis: graphics/mng doesn't build when ${LOCALBASE}/bin is not included in $PATH.
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 09 16:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 2.0E
>Organization:
>Environment:
System: NetBSD orinoco.my.domain 2.0E NetBSD 2.0E (Orinoco) #0: Sat May 1 12:05:20 JST 2004 root@orinoco.my.domain:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
Makefile of mng invokes automake during pre-configure, and the automake in turn tries to
invoke autom4te and autoconf. But cannot execute when ${LOCALBASE}/bin is not set in
PATH environment variable.
>How-To-Repeat:
=> Checksum OK for libmng-1.0.7.tar.gz.
===> Extracting for mng-1.0.7
===> Required installed package jpeg>=6b: jpeg-6bnb1 found
===> Required installed package lcms>=1.06: lcms-1.12nb1 found
===> Required installed package automake>=1.8: automake-1.8.4 found
===> Required installed package autoconf>=2.58: autoconf-2.59 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.6 found
===> Patching for mng-1.0.7
===> Overriding tools for mng-1.0.7
===> Buildlinking for mng-1.0.7
===> Configuring for mng-1.0.7
cd /usr/pkgsrc/graphics/mng/work.orinoco/libmng-1.0.7; /bin/ln -sf makefiles/configure.in .; /bin/ln -sf makefiles/Makefile.am .; /usr/orinoco/bin/aclocal-1.8; /usr/orinoco/bin/libtoolize --automake; /usr/orinoco/bin/automake-1.8 -a --foreign -i; /usr/orinoco/bin/autoconf
/usr/orinoco/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/orinoco/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/orinoco/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/orinoco/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/orinoco/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/orinoco/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/orinoco/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/orinoco/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/orinoco/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/orinoco/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/orinoco/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/orinoco/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/orinoco/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
autom4te: not found
aclocal-1.8: autom4te failed with exit status: 127
*** Error code 127
Stop.
make: stopped in /usr/pkgsrc/graphics/mng
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/mng
>Fix:
Workaround patch for graphics/mng/Makefile.
--- /mnt/p/graphics/mng/Makefile 2004-04-10 21:13:43.000000000 +0900
+++ Makefile 2004-05-02 08:46:36.000000000 +0900
@@ -26,6 +26,8 @@
INSTALLATION_DIRS= man/man3 man/man5
pre-configure:
+ export AUTOM4TE=${LOCALBASE}/bin/autom4te; \
+ export AUTOCONF=${LOCALBASE}/bin/autoconf; \
cd ${WRKSRC}; \
${LN} -sf makefiles/configure.in .; \
${LN} -sf makefiles/Makefile.am .; \
>Release-Note:
>Audit-Trail:
>Unformatted: