Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 193360

Summary: net-misc/d4x-2.5.7.1-r1 does not compile with gtk+-2.12.0
Product: Gentoo Linux Reporter: Serkan Kaba (RETIRED) <serkan>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal CC: pacho, polynomial-c
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 193369    
Attachments: build.log
d4x-no-deprecate.patch
d4x-2.5.7.1-r1.ebuild.patch

Description Serkan Kaba (RETIRED) gentoo-dev 2007-09-21 18:25:19 UTC
Compilation fails

Reproducible: Always

Steps to Reproduce:
1.emerge gtk+-2.12.0 (from gnome-experimental overlay)
2.emerge d4x
3.

Actual Results:  
fsched.cc: In function 'GtkWidget* d4x_scheduler_init()':
fsched.cc:251: error: 'gtk_widget_ref' was not declared in this scope
fsched.cc: In function 'void my_gtk_aeditor_browse_ok(GtkWidget*, MyGtkAEditor*)':
fsched.cc:295: error: 'GTK_FILE_SELECTION' was not declared in this scope
fsched.cc:295: error: 'gtk_file_selection_get_filename' was not declared in this scope
fsched.cc: In function 'void my_gtk_aeditor_browse(GtkWidget*, MyGtkAEditor*)':
fsched.cc:309: error: 'gtk_file_selection_new' was not declared in this scope
fsched.cc:312: error: 'GTK_FILE_SELECTION' was not declared in this scope
fsched.cc:312: error: 'gtk_file_selection_set_filename' was not declared in this scope
fsched.cc:314: error: 'GTK_FILE_SELECTION' was not declared in this scope
make[3]: *** [fsched.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/firari/tmp-port/portage/net-misc/d4x-2.5.7.1-r1/work/d4x-2.5.7.1/main/face'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/firari/tmp-port/portage/net-misc/d4x-2.5.7.1-r1/work/d4x-2.5.7.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/firari/tmp-port/portage/net-misc/d4x-2.5.7.1-r1/work/d4x-2.5.7.1'
make: *** [all] Error 2


Expected Results:  
compile successfully

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Timestamp of tree: Sun, 16 Sep 2007 20:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="tr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/firari/tmp-port"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome-experimental /home/firari/java-overlay /home/firari/java-experimental /home/firari/overlay-lapis /home/firari/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 amr ao apache2 apm ares asf audacious audiofile bash-completion berkdb binary-drivers bitmap-fonts bluetooth branding buttons bzip2 cairo cdda cli cracklib dbus dri dts dvd dvdnav dvdr dvdread emerald encode exif fam fasttrack ffmpeg firefox ftp gaim gd gdbm geoip gif glitz glut gnome gnutella gnutls gpm gstreamer gtk gtkhtml gtkspell hal hddtemp iconv icq id3 isdnlog jabber java javascript joystick jpeg jpeg2k lame lcms libnotify libsamplerate lm_sensors mad midi mime mmx mng mozdevelop mp2 mp3 mp4 msn mudflap musicbrainz ncurses njb nls nocd nptl nptlonly nsplugin nvidia ogg openft opengl openmp oscar pam pcre png pppd qt3support quicktime rar readline reflection rtsp samba sdl session sndfile soap sockets sound spell spl srt sse sse2 ssl ssse3 startup-notification svg symlink tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis webdav wma wmf xattr xchatdccserver xcomposite xine xml xorg xprint xscreensaver xsl xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2007-09-21 18:26:07 UTC
Created attachment 131544 [details]
build.log

complete build log
Comment 2 Pacho Ramos gentoo-dev 2007-10-12 10:28:03 UTC
There is some info in:
http://people.debian.org/~terpstra/message/20070923.154450.831b7ebe.en.html
Comment 3 Pacho Ramos gentoo-dev 2007-10-12 10:31:07 UTC
Created attachment 133248 [details, diff]
d4x-no-deprecate.patch

This is being used also in opensuse for trying to solve this problem
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-10-12 11:09:31 UTC
Created attachment 133250 [details, diff]
d4x-2.5.7.1-r1.ebuild.patch

possible patch for the ebuild.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-10-28 10:12:19 UTC
-r2 fixes