Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85491 - nfs-utils-1.0.6-r6: Package does not build in portage...
Summary: nfs-utils-1.0.6-r6: Package does not build in portage...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 04:28 UTC by Jan Boysen
Modified: 2005-05-29 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Boysen 2005-03-16 04:28:49 UTC
if i try to build this Packe within Portage it crashes with that output:

checking for innetgr... (cached) yes
creating ./config.status
creating config.mk
creating nfs-utils.spec
creating utils/Makefile
creating support/include/config.h
support/include/config.h is unchanged
Making depend in tools
Making depend in rpcgen
Building rpcgen done.
if [ ! -d ../../bin ]; then \
  rm -rf ../../bin; mkdir -p ../../bin; \
fi
cp rpcgen ../../bin
gcc -O2 -I../../support/include -Wall  -pipe  -DVERSION="\"nfs-utils 1.0.6\"" -DNFS3_SUPPORTED -M rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c rpc_parse.c rpc_scan.c rpc_svcout.c rpc_tblout.c rpc_util.c rpc_sample.c > .depend
gcc: 1.0.6": No such file or directory
make[2]: *** [depend] Error 1
make[1]: *** [depend] Error 2
make: *** [depend] Error 2


if I then switch to That directory and build it manualy with make it works fine...

Reproducible: Always
Steps to Reproduce:
1. emerge nfs-utils
2.
3.




relativity root # emerge info 
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 
14:54:23)] 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r4 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -O4 -march=athlon64 -fomit-frame-pointer -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -O4 -march=athlon64 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox" 
GENTOO_MIRRORS="http://gentoo.mm.loc/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups curl 
divx4linux dvd esd fam flac font-server fortran gdbm gif gpm gtk gtk2 
imagemagick imlib ipv6 ithreads jabber jack jp2 jpeg junit kde lzw lzw-tiff 
mad mikmod mng moneyplex motif mp3 mpeg ncurses nls nptl oggvorbis opengl pam 
perl png python qt quicktime readline sdl slang ssl svg tcltk tcpd tiff 
truetype truetype-fonts type1-fonts usb userlocales xineramaxml xml2 xmms xpm 
xrandr xv xvid zlib linguas_de" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-04-01 14:55:31 UTC
does 1.0.7 work ?
Comment 2 Jan Boysen 2005-04-02 01:27:30 UTC
no...

its the same Problem at 1.0.7:

creating support/include/config.h
Making depend in tools
Making depend in rpcgen
gcc -O2 -I../../support/include -I/include -Wall  -pipe  -DVERSION="\"nfs-utils 1.0.7\"" -DNFS3_SUPPORTED   -c -o rpc_clntout.o rpc_clntout.c
gcc: 1.0.7": No such file or directory
rpc_clntout.c:32: warning: 'sccsid' defined but not used
make[2]: *** [rpc_clntout.o] Error 1
make[1]: *** [depend] Error 2
make: *** [depend] Error 2
Comment 3 Jan Boysen 2005-04-02 01:51:44 UTC
well I've just tried a Quick and dirty Workarround in the nfs-utils-1.0.7-r1 ebuild...

I added sed -i "s:nfs-utils 1.0.7:nfs-utils1.0.7:" config.mk to src_compile()

a very dirty workarround but it works..... but why ?
Comment 4 SpanKY gentoo-dev 2005-04-02 20:49:12 UTC
i dont know why, but arguments arent being passed from make to gcc properly:
gcc -O2 -I../../support/include -Wall  -pipe  -DVERSION="\"nfs-utils 1.0.6\""

the VERSION should be passed as "nfs-utils 1.0.6", not as two args ...
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2005-05-11 20:42:14 UTC
sounds like an issue with a wrapper around gcc.  distcc or ccache perhaps?
Comment 6 Jan Boysen 2005-05-29 12:10:56 UTC
well, after I have search some weeks in my System i figured out it was cologcc that had these 
inproper Quotes of the gcc call... maybe this should be fixed in that package..... 
Comment 7 SpanKY gentoo-dev 2005-05-29 15:12:29 UTC
colorgcc is known to cause weird issues like this which is why it's not supported