Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131518 - dev-python/gnome-python-desktop-2.14.0 fails to compile on amd64
Summary: dev-python/gnome-python-desktop-2.14.0 fails to compile on amd64
Status: RESOLVED DUPLICATE of bug 130140
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 15:08 UTC by Charles Noneman
Modified: 2006-05-04 00:53 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 Charles Noneman 2006-04-27 15:08:25 UTC
I umasked gnome 2.14, and gnome-python-desktop doesn't want to compile:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gnome-python-2.0 -march=k8 -O2 -pipe -Wall -std=c9x -fno-strict-aliasing -MT gnomeapplet_la-appletmodule.lo -MD -MP -MF .deps/gnomeapplet_la-appletmodule.Tpo -c appletmodule.c  -fPIC -DPIC -o .libs/gnomeapplet_la-appletmodule.o
appletmodule.c: In function `initgnomeapplet':
appletmodule.c:22: error: storage size of 'sa' isn't known
appletmodule.c:69: warning: implicit declaration of function `sigaction'
appletmodule.c:22: warning: unused variable `sa'
make[2]: *** [gnomeapplet_la-appletmodule.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-python-desktop-2.14.0/work/gnome-python-desktop-2.14.0/gnomeapplet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-python-desktop-2.14.0/work/gnome-python-desktop-2.14.0'
make: *** [all] Error 2

!!! ERROR: dev-python/gnome-python-desktop-2.14.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called gnome2_src_compile
  gnome2.eclass, line 58:   Called die


emerge --info:

Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r8 x86_64)=================================================================
System uname: 2.6.15-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d/ /etc/revdep-rebuild /etc/terminfo /usr/share/X11/xkb/ /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avahi avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli crypt cups curl daap dbus directfb divx4linux dri dvd dvdr eds emboss encode exif ffmpeg firefox flac gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl-compat imagemagick imlib ipv6 isdnlog java javascript jpeg ldap libnotify libwww lzw lzw-tiff mad moznoirc moznomail mp3 mpeg mpeg4 musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb utf8 videos vorbis widescreen x xinerama xml xml2 xmms xorg xpm xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_vga video_cards_fglrx video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Christian Roessner 2006-04-30 10:12:19 UTC
Hi,

I had the same problem.

Edit the file

/var/tmp/portage/gnome-python-desktop-2.14.0/work/gnome-python-desktop-2.14.0/gnomeapplet/appletmodule.c

Search for the line #include <signal.h>
and add a line right below that one

#include <bits/sigaction.h>

then do

FEATURES="keeptemp keepwork" emerge --resume

This solved it for me.

Maybe some developer may do a patch for the ebuild ;-)

Regards

Christian
Comment 2 Charles Noneman 2006-05-01 16:44:03 UTC
That fixes it. Thanks.
Comment 3 Gergan Penkov 2006-05-01 16:48:33 UTC
this is a dup of bug #130140
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 00:53:16 UTC

*** This bug has been marked as a duplicate of 130140 ***