fish on current devel

Michael Schwendt bugs.michael at gmx.net
Fri Mar 10 10:24:15 UTC 2006


On Fri, 10 Mar 2006 09:22:55 +0100, Oliver Falk wrote:

> Hi Axel!
> 
> Fish needs a new aquarium. :-) Just joking... It urgently needs a 
> rebuild, but there's a problem at the moment:
> 
> It seems to be a gcc 4 related problem, as with gcc 3.2 it works.
> 
> However, to be included in devel, it must build with the actual system 
> wide default compiled: gcc 4.1.0.
> 
> Latest try on my FC devel box:
> 
> make[1]: Entering directory 
> `/var/hosting/INTERNAL/LKERNAT/home/oliver/cvs/Fedora/extras/mine/fish/devel/fish-1.21.2'
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
> -mtune=generic -fasynchronous-unwind-tables -Wall 
> -fno-optimize-sibling-calls   -c -o function.o function.c
> In file included from function.c:14:
> fallback.h:34: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:34: error: conflicting types for '__fwprintf_chk'
> /usr/include/bits/wchar2.h:223: error: previous declaration of 
> '__fwprintf_chk' was here
> fallback.h:44: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:44: error: expected ')' before '!=' token
> fallback.h:53: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:53: error: conflicting types for '__wprintf_chk'
> /usr/include/bits/wchar2.h:225: error: previous declaration of 
> '__wprintf_chk' was here
> fallback.h:62: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:62: error: conflicting types for '__vwprintf_chk'
> /usr/include/bits/wchar2.h:230: error: previous declaration of 
> '__vwprintf_chk' was here
> fallback.h:71: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:71: error: conflicting types for '__vfwprintf_chk'
> /usr/include/bits/wchar2.h:228: error: previous declaration of 
> '__vfwprintf_chk' was here
> fallback.h:80: error: expected declaration specifiers or '...' before 
> numeric constant
> fallback.h:80: error: expected ')' before '!=' token
> function.c: In function 'function_remove':
> function.c:204: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> make[1]: *** [function.o] Error 1
> make[1]: Leaving directory 
> `/var/hosting/INTERNAL/LKERNAT/home/oliver/cvs/Fedora/extras/mine/fish/devel/fish-1.21.2'
> error: Bad exit status from /var/tmp/rpm-tmp.34420 (%build)
> 
> 
> Please have a look and let me know.
> 
> Best,
>   Oliver
> 

It's using definitions from config.h, but doesn't include it
and therefore tries to re-declare existing system functions.
Patch attached. Most likely the same for latest version.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fish-1.14.0-wutil.patch
Type: application/octet-stream
Size: 293 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060310/ae65e57d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fish.spec.patch
Type: application/octet-stream
Size: 962 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060310/ae65e57d/attachment-0001.obj>


More information about the fedora-extras-list mailing list