Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320233 - sci-calculators/tiemu-3.03: compile error: using old GTK+ functions
Summary: sci-calculators/tiemu-3.03: compile error: using old GTK+ functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 17:28 UTC by Nick Pawlowski
Modified: 2010-08-04 10:20 UTC (History)
0 users

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


Attachments
build.log (build.log,343.21 KB, text/plain)
2010-05-17 17:31 UTC, Nick Pawlowski
Details
adding patch to ebuild (tiemu-3.03.diff,398 bytes, patch)
2010-05-26 09:01 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
removing depreciated gtk calls (tiemu-3.03-remove_depreciated_gtk_calls.patch,14.51 KB, patch)
2010-05-26 09:01 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Pawlowski 2010-05-17 17:28:49 UTC
I tried emerging sci-calculators/tiemu-3.03 (only version in portage tree) after using gnome overlay. So I have GTK+-2.20.1 installed. Another person I compared to, who is using GTK+-2.18.9 doesn't have any problems.

Reproducible: Always

Steps to Reproduce:
1. layman -a gnome
2. emerge =gtk+-2.20.1
3. emerge tiemu

Actual Results:  
emake failed

Expected Results:  
emerged tiemu without problems

emerge --info:
Portage 2.2_rc62 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.11.1-r0, 2.6.33-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 May 2010 14:30:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ http://ftp.tu-chemnitz.de/pub/linux/gentoo/ http://de-mirror.org/distro/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/ikelos /var/lib/layman/gnome /var/lib/layman/ikelos /var/lib/layman/sunrise"
SYNC="rsync://rsync.proxy.afra/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipod ipv6 jpeg kerberos laptop lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis wifi wpa_supplicant x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

similar bugs:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577379
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574745
https://launchpad.net/ubuntu/lucid/+source/tiemu/3.02-1ubuntu2

gentoo forums post:
http://forums.gentoo.org/viewtopic-t-828401.html
Comment 1 Nick Pawlowski 2010-05-17 17:31:37 UTC
Created attachment 231837 [details]
build.log
Comment 2 Rafał Mużyło 2010-05-17 19:30:08 UTC
Correct, it's -DGTK_DISABLE_DEPRECATED that triggers the problem here.
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-26 09:01:27 UTC
Created attachment 232959 [details, diff]
adding patch to ebuild
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-26 09:01:53 UTC
Created attachment 232961 [details, diff]
removing depreciated gtk calls
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-26 09:08:07 UTC
Thank you for your report.
Attached patch should fix the problem. I won't be putting it into the tree though, for the following reasons:
 * upstream is aware of the issue and decided to fix it in slightly different way (IMO wrong but that's another problem) so it'll be gone in the next release
 * >=gtk+-2.18 is not in portage
If anything ^^^ is not true please reopen. Thanks!
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-04 10:20:11 UTC
Applied upstream patch

+  04 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> tiemu-3.03.ebuild,
+  +files/tiemu-3.03-remove_depreciated_gtk_calls.patch:
+  Fix build with >=gtk+-2.18 wrt bug 326793. Thanks to Diego for reporting.
+