Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117750 - [gcc4] gnome-base/gnome-libs-1.4.2 not compiling due to linux-header problem
Summary: [gcc4] gnome-base/gnome-libs-1.4.2 not compiling due to linux-header problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-04 08:38 UTC by Markus Rothe (RETIRED)
Modified: 2006-01-15 19:58 UTC (History)
1 user (show)

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


Attachments
fix configure.in for ppc64 (gnome-libs-1.4.2-ppc64.patch,475 bytes, patch)
2006-01-15 19:40 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-01-04 08:38:53 UTC
Hi,

gnome-base/gnome-libs-1.4.2 does not compile, if I use gcc-4.0.2-r3:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support -I../intl -I../intl -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DGNOMELIBDIR=\"/usr/lib64\" -DGNOMEDATADIR=\"/usr/share\" -DGNOMEBINDIR=\"/usr/bin\" -DGNOMELOCALSTATEDIR=\"/var/lib\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOMESYSCONFDIR=\"/etc\" -DVERSION=\"1.4.2\" -DG_LOG_DOMAIN=\"Gnome\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O3 -pipe -mtune=power5 -mcpu=power5 -I/usr/include/db1 -Wall -Wunused -c gnome-exec.c  -fPIC -DPIC -o .libs/gnome-exec.lo
In file included from /usr/include/asm/types.h:8,
                 from /usr/include/asm-ppc64/elf.h:4,
                 from /usr/include/asm/elf.h:8,
                 from /usr/include/asm-ppc64/sigcontext.h:12,
                 from /usr/include/asm/sigcontext.h:8,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:30,
                 from gnome-exec.c:48:
/usr/include/asm-ppc64/types.h:19: error: two or more data types in declaration specifiers
gnome-exec.c: In function 'gnome_execute_async_with_env_fds':
gnome-exec.c:193: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
make[2]: *** [gnome-exec.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gnome-libs-1.4.2 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-01-15 19:39:14 UTC
Not a linux headers issue.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-01-15 19:40:43 UTC
Created attachment 77223 [details, diff]
fix configure.in for ppc64

Simple fix.  I just removed the useless test for umode_t since its not used by anything directly in gnome-libs anyway.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-01-15 19:58:38 UTC
fixed.