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

Bug 261791

Summary: net-fs/netatalk-2.0.3-r3 doesn't compile any more
Product: Gentoo Linux Reporter: German de la Cruz <gerdlc>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 265037, 300218    
Bug Blocks:    
Attachments: environment
Log
added
The patch I'm talking about

Description German de la Cruz 2009-03-09 01:34:35 UTC
I reveived an error trying to install netatalk 2.0.3-r2 or netatal 2.0.3-r3. I think it is because it is a very old ebuild.
Comment 1 German de la Cruz 2009-03-09 01:41:02 UTC
Created attachment 184390 [details]
environment
Comment 2 German de la Cruz 2009-03-09 01:41:34 UTC
Created attachment 184392 [details]
Log
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 05:21:30 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -I../../include -march=athlon64 -O2 -pipe -I../../sys  -I/usr/include/openssl -I../../sys -D_PATH_AFPDPWFILE=\"/etc/netatalk/afppasswd\" @BINDNOW_FLAGS@ -MT afppasswd.o -MD -MP -MF .deps/afppasswd.Tpo -c -o afppasswd.o afppasswd.c
x86_64-pc-linux-gnu-gcc: @BINDNOW_FLAGS@: No such file or directory
afppasswd.c: In function ‘update_passwd’:
afppasswd.c:185: warning: assignment discards qualifiers from pointer target type

Please post your "emerge --info".
Comment 4 German de la Cruz 2009-03-09 10:13:35 UTC
Created attachment 184436 [details]
added
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 15:56:26 UTC
Reassigning to net-fs herd.
Comment 6 German de la Cruz 2009-03-12 22:05:29 UTC
Well, I managed it to work. I'm not sure if it is the better way, but it works.

I'm attaching the patch. It is made over the 2.0.3-r3 version. It's really simple, I only changed the sed expression to avoid  the BINDNOW_FLAGS

I hope it helps

best regards
Comment 7 German de la Cruz 2009-03-12 22:06:06 UTC
Created attachment 184843 [details]
The patch I'm talking about
Comment 8 SpanKY gentoo-dev 2010-01-10 23:03:39 UTC
netatalk-2.0.3-r4 should work fine as there are no BINDNOW_FLAGS references