Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22791 - emerge of ebuild net-fs/sfs-0.7.2 failed.
Summary: emerge of ebuild net-fs/sfs-0.7.2 failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wout Mertens (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 17:18 UTC by Mark Francis
Modified: 2003-06-18 01:00 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 Mark Francis 2003-06-13 17:18:20 UTC
Emerge of ebuild net-fs/sfs-0.7.2 fails during compile with the following error.
Reproduced on 2 computers, one unstable and one stable. emerge sync then retried
without success.


Reproducible: Always
Steps to Reproduce:
1.emerge -v sfs

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../crypt
-I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc
-DEXECDIR=\"//lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/share/sfs\"
-DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -mcpu=i686 -pipe -Wall -Werror
-c pmap_prot.C -o pmap_prot.o
cc1plus: warnings being treated as errors
In file included from xdrmisc.h:81,
                 from pmap_prot.h:7,
                 from pmap_prot.C:7:
rpctypes.h: In member function `rpc_vec<T, max>& rpc_vec<T, max>::set(const
   vec<T, NN>&)':
rpctypes.h:179: warning: no return statement in function returning non-void
make[2]: *** [pmap_prot.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sfs-0.7.2/work/sfs-0.7.2/arpc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sfs-0.7.2/work/sfs-0.7.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-fs/sfs-0.7.2 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)
Comment 1 Wout Mertens (RETIRED) gentoo-dev 2003-06-17 15:24:18 UTC
Ok, that is a bug in sfs, tickled by gcc-3.2.3. Looking at their cvs log, they seem to have it covered. 
 
I changed the ebuild so that it doesn't add -Werror to the gcc calls. That should fix the symptom, 
and the real problem will be fixed with the next release. 
 
Please try and update if it fails for you. 
Comment 2 Mark Francis 2003-06-17 20:38:07 UTC
This fix worked but the ebuild now fails for another reason. 

The code to add the user and group sfs is now not correct. The code I used sucessfully is:
	enewgroup sfs 71
	enewuser sfs 71 /bin/false /dev/null sfs

Comment 3 Wout Mertens (RETIRED) gentoo-dev 2003-06-18 01:00:47 UTC
Good point :) 
 
Actually, you can't assume that userid 71 is available. Anyway, I changed the ebuild along those 
lines. Guess I should test more :)