Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445638 - x11-misc/xaos-3.5-r1 - error: conflicting types for 'fillline_{8,16,24,32}' - Fails to compile w/ sys-devel/gcc-4.7.2 on x86 (32bit)
Summary: x11-misc/xaos-3.5-r1 - error: conflicting types for 'fillline_{8,16,24,32}' -...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: http://code.google.com/p/gnuxaos/issu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-02 15:51 UTC by Petr Zima
Modified: 2012-12-03 10:07 UTC (History)
1 user (show)

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


Attachments
Upstream patch fixing the problem (xaos-3.5-build-fix-i686.patch,708 bytes, patch)
2012-12-02 15:58 UTC, Petr Zima
Details | Diff
Apply the upstream patch in ebuild (xaos-3.5-r1.ebuild.patch,417 bytes, patch)
2012-12-02 15:58 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2012-12-02 15:51:27 UTC
Compiling with gcc-4.7 on x86 fails on conflicting declarations in the source file zoom.c. On amd64 it compiles fine. The problem is known in the upstream issue tracker (cf. URL) and a patch is available.

Reproducible: Always




Relevant parts of the build log:

[...]
In file included from zoom.c:160:0:
zoomd.c:283:20: error: conflicting types for 'fillline_8'
zoom.c:144:13: note: previous declaration of 'fillline_8' was here
In file included from zoom.c:167:0:
zoomd.c:283:20: error: conflicting types for 'fillline_32'
zoom.c:147:13: note: previous declaration of 'fillline_32' was here
In file included from zoom.c:174:0:
zoomd.c:283:20: error: conflicting types for 'fillline_24'
zoom.c:146:13: note: previous declaration of 'fillline_24' was here
In file included from zoom.c:181:0:
zoomd.c:283:20: error: conflicting types for 'fillline_16'
zoom.c:145:13: note: previous declaration of 'fillline_16' was here
zoom.c:937:1: error: conflicting types for 'moveoldpoints'
zoom.c:142:1: note: previous declaration of 'moveoldpoints' was here
make[2]: *** [zoom.o] Error 1
[...]
i686-pc-linux-gnu-gcc: error: lib/libengine.a: No such file or directory
make[1]: *** [/tmp/paludis/x11-misc-xaos-3.5-r1/work/xaos-3.5/bin/xaos] Error 1
make[1]: Leaving directory `/tmp/paludis/x11-misc-xaos-3.5-r1/work/xaos-3.5/src'
make: *** [default] Error 2
[...]
Comment 1 Petr Zima 2012-12-02 15:58:06 UTC
Created attachment 331200 [details, diff]
Upstream patch fixing the problem
Comment 2 Petr Zima 2012-12-02 15:58:38 UTC
Created attachment 331202 [details, diff]
Apply the upstream patch in ebuild
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-12-03 10:07:17 UTC
*xaos-3.5-r2 (03 Dec 2012)

  03 Dec 2012; Justin Lecher <jlec@gentoo.org> +xaos-3.5-r2.ebuild,
  +files/xaos-3.5-build-fix-i686.patch, metadata.xml:
  Add fix for gcc in i686, #445638;
  http://code.google.com/p/gnuxaos/issues/detail?id=61