Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12920

Summary: media-libs/Nas-1.5 won't build
Product: Gentoo Linux Reporter: Thomas R. (TRauMa) <gentoo-bugs>
Component: Current packagesAssignee: Jared H. Hudson (RETIRED) <jhhudso>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas R. (TRauMa) 2002-12-29 18:49:39 UTC
After a harmless "emerge nas" I get

>>> md5 ;-) nas-1.5.src.tar.gz
>>> Unpacking source...
>>> Unpacking nas-1.5.src.tar.gz
>>> Source unpacked.
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
/usr/X11R6/lib/X11/config/site.def:56: host.def: No such file or directory
/usr/X11R6/lib/X11/config/site.def:158: host.def: No such file or directory
imake: Exit code 1.
  Stop.
Makefile:35: *** missing separator.  Stop.

!!! ERROR: media-libs/nas-1.5 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)

I don't remember to ever have touched the site.def file mentioned. After looking
at the file/lines it was easy to comment out the includes of that host.def file,
and the ebuild broke like this:
make[2]: Entering directory `/var/tmp/portage/nas-1.5/work/nas-1.5/include/audio'
+ mkdir -p /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Afuncproto.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Afuncs.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Amd.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Aos.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Aosdefs.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Aproto.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 audio.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Alibint.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Alibnet.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Xtutil.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 audiolib.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 audioutil.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 snd.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 wave.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 voc.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 aiff.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 sound.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 soundlib.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 fileutil.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 8svx.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 Astreams.h
/var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
+ install -c -m 0444 audio.h /var/tmp/portage/nas-1.5/image//usr/X11R6/include/audio
install in include/audio done
make[2]: Leaving directory `/var/tmp/portage/nas-1.5/work/nas-1.5/include/audio'
make[1]: Leaving directory `/var/tmp/portage/nas-1.5/work/nas-1.5/include'
installing in ./server...
make[1]: Entering directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server'
making all in server/dia...
make[2]: Entering directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server/dia'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server/dia'
making all in server/os...
make[2]: Entering directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server/os'
make[2]: *** No rule to make target `/usr/X11R6/lib/X11/config/host.def', needed
by `WaitFor.o'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server/os'
make[1]: *** [os] Error 2
make[1]: Leaving directory `/var/tmp/portage/nas-1.5/work/nas-1.5/server'
make: *** [install] Error 2

!!! ERROR: media-libs/nas-1.5 failed.
!!! Function src_install, Line 26, Exitcode 2
!!! (no error message)



The Command "qpkg -f /usr/X11R6/lib/X11/config/site.def" says this file belongs
to xfree (really!). So? Any hints? Does nas only build with another ver of
xfree? I also tried the ebuild for 1.6 under bug #12794 and it gave the same
result (exactly the same).

I'm closing this thrilling bug report with the ususal "emerge info":

Portage 2.0.45-r5 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r2,2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor
USE="x86 zlib mmx 3dnow -sse -3dfx -matrox -voodoo3 apm -pcmcia nocardbus -pnp
-trusted -pda -gphoto2 -cups -slp X dga opengl xv -fbcon -directfb -arts esd
alsa -mikmod oss -nas -kde qt -qtmt -gnome gtk gtk2 bonobo -evo -gb gtkhtml
-motif tcltk -aalib imlib ncurses -readline sdl -svga lcms gif jpeg png tiff avi
mpeg quicktime -ggi dvd xmms oggvorbis flash encode -ipv6 -snmp ggz pam ssl
crypt socks5 imap -ldap tcpd -xface mozilla -mozaccess-builtin moznoirc
-mozxmlterm mozsvg mozcalendar spell truetype xml xml2 pdflib -plotutils tetex
guile java perl python -ruby slang libg++ libwww atlas pic -berkdb -mysql
-postgres -odbc -innodb gd gdbm -acl -afs samba -nls -doc gpm -zoe"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo 
ftp://ftp.freenet.de/pub/ftp.ibiblio.org/pub/Linux/distributions/gentoo/"
Comment 1 Thomas R. (TRauMa) 2002-12-29 18:53:47 UTC
Shame on me, forgot to mention my xfree version:

x11-base/xfree-4.2.1-r0

I'll update portage and try again, if nothing changes I'll update X and try again...
Comment 2 Jared H. Hudson (RETIRED) gentoo-dev 2003-02-04 13:32:18 UTC
Run qpkg -v -c xfree
or if you have more than one copy of xfree installed run
qpkg -v -c x11-base/xfree-4.2.1-r0

Were there any files missing or with the wrong MD5 sum?
Please try re-building xfree then emerge nas
Comment 3 Thomas R. (TRauMa) 2003-02-05 09:24:05 UTC
xfree-4.2.1-r2 WFM. As no one verified this, I belive it was a rare case concerning only me an is now FIXED.
Comment 4 Thomas R. (TRauMa) 2006-01-21 10:30:15 UTC
mass cleaning my bugs