Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57713 - gnome2-wnck won't compile..
Summary: gnome2-wnck won't compile..
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 05:02 UTC by Göran Gustafsson
Modified: 2005-04-30 05:54 UTC (History)
2 users (show)

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


Attachments
call patch file (gnome2-wnck-0.04.ebuild,661 bytes, text/plain)
2004-08-09 08:45 UTC, Delfim Machado
Details
wnck_window_close patch (gnome2-wnck-0.04-WnckWindow.xs.patch,465 bytes, patch)
2004-08-09 08:47 UTC, Delfim Machado
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Göran Gustafsson 2004-07-20 05:02:35 UTC
When trying to emerge the latest gnome2-wnck ebuild i get this: 

WnckWindow.c: In function `XS_Gnome2__Wnck__Window_close':
WnckWindow.c:403: error: too few arguments to function `wnck_window_close'
make: *** [xs/WnckWindow.o] Error 1

!!! ERROR: dev-perl/gnome2-wnck-0.04 failed.
!!! Function perl-module_src_compile, Line 58, Exitcode 2
!!! compilation failed
Comment 1 Akos Ladanyi 2004-08-02 23:34:16 UTC
Confirmed.

My emerge info is:

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.
-rc2)
=================================================================
System uname: 2.6.8-rc2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabl
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/
/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozi
/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/
mf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/pl
x/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.math.bme.hu ftp://ftp.iasi.roedu.net/pub/mirror
entoo.org/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ ftp://mirror.switch.
mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-ess
gen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http:/
r.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr cjk crypt cscop
ups curl directfb divx4linux doc dvd dvdr emacs encode esd evo fbcon flac foo
icdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imap imlib java ji
 jpeg kde kerberos ldap libg++ libwww lirc mad maildir mikmod mmx motif mozil
mpeg mysql nas ncurses nls offensive oggvorbis opengl oss pam pdflib perl png
ds python qt quicktime readline samba sasl sdl slang socks5 speex spell sse s
svg svga tcltk tcpd tetex theora tiff truetype unicode usb wmf x86 xinerama x
xml2 xmms xv xvid zlib"
Comment 2 Trey Stout 2004-08-05 07:50:10 UTC
Similar problem on PPC...

// PORTAGE ERROR //
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld: Error: The symbol `_XFlush' has a R_PPC_REL24 relocation, that means '/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-unknown-linux-gnu/bin/ld: Error: The symbol `_XEatData' has a R_PPC_REL24 relocation, that means '/usr/X11R6/lib/libXRes.a(XRes.o)' was compiled without -fPIC.
collect2: ld returned 1 exit status
make[2]: *** [libwnck-1.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/libwnck-2.6.2.1/work/libwnck-2.6.2.1/libwnck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libwnck-2.6.2.1/work/libwnck-2.6.2.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/libwnck-2.6.2.1 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure
// END PORTAGE ERROR

// BEGIN EMERGE INFO
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-pegasos0)
=================================================================
System uname: 2.6.4-pegasos0 ppc 0
Gentoo Base System version 1.4.16
distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts berkdb bonobo cdr cups curl directfb doc dvd esd foomaticdb gd gdbm gif gnome gnome-libs gpm gtk gtk2 gtkhtml imap imlib jpeg ldap libwww mitshm motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppc python qt radeon readline samba sdl slang ssl tcltk tcpd tetex tiff truetype video_cards_radeon vim-with-x xml2 xmms xv zlib"
// END PORTAGE INFO
Comment 3 Delfim Machado 2004-08-09 08:45:46 UTC
Created attachment 37101 [details]
call patch file

gnome2-wnck-0.04.ebuild patch to call the real patch :P
Comment 4 Delfim Machado 2004-08-09 08:47:11 UTC
Created attachment 37102 [details, diff]
wnck_window_close patch

now you can compile ...
Comment 5 Akos Ladanyi 2004-08-12 04:39:58 UTC
Could someone add these patches to the portage tree, please.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2004-08-14 04:17:57 UTC
Compiles clean over here with the patch (oddly enough, and the reason its even in portage, it compiled fine without the patch too. Go figure.) Patch and -r1 should be hitting your favoritest mirror in the next little bit. I'll leave this open for a few days before closing just to be safe.
Comment 7 Magnus Ahlberg 2004-08-22 12:33:19 UTC
I still get an error when emerging 0.04-r1, allthough this time it says "too many arguments" as opposed to earlier. Here's the error message:

WnckWindow.c: In function `XS_Gnome2__Wnck__Window_close':
WnckWindow.c:403: error: too many arguments to function `wnck_window_close'
make: *** [xs/WnckWindow.o] Error 1

!!! ERROR: dev-perl/gnome2-wnck-0.04-r1 failed.
!!! Function perl-module_src_compile, Line 60, Exitcode 2
!!! compilation failed


And my emerge info:

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi cdr crypt cups directfb dts dvd encode esd foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad matroska mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spell sse ssl svga tcpd truetype utf8 video_cards_radeon x86 xml xml2 xmms xv zlib"
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 07:22:03 UTC
Version 0.10 has just been added to the tree. Give it a whirl :)
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2005-04-30 05:54:23 UTC
closing, 2 months no comments