Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319307 - sci-electronics/geda-gattrib-1.4.3 does not play nicely with gtk+>=2.17
Summary: sci-electronics/geda-gattrib-1.4.3 does not play nicely with gtk+>=2.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL: http://archives.seul.org/geda/bug/Aug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 19:33 UTC by Richard F. Ostrow Jr.
Modified: 2010-06-08 17:59 UTC (History)
0 users

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


Attachments
patch to fix >=gtk+2.17 compatibility (geda-gattrib-1.4.3-gtk17.patch,4.27 KB, patch)
2010-05-11 19:36 UTC, Richard F. Ostrow Jr.
Details | Diff
patch to sci-electronics/geda-gattrib-1.4.3.ebuild to fix >=gtk+2.17 compatibility (geda-gattrib-1.4.3.ebuild.patch,698 bytes, patch)
2010-05-11 19:37 UTC, Richard F. Ostrow Jr.
Details | Diff
ebuild patch for sci-electronics/geda-gattrib-1.4.3.ebuild (geda-gattrib-1.4.3.ebuild.patch,684 bytes, patch)
2010-05-11 20:06 UTC, Richard F. Ostrow Jr.
Details | Diff
source patch for sci-electronics/geda-gattrib-1.4.3 to fix >=gtk+-2.17 compile issues (geda-gattrib-1.4.3-gtk+-2.17.patch,4.27 KB, patch)
2010-05-12 18:41 UTC, Richard F. Ostrow Jr.
Details | Diff
ebuild patch for sci-electronics/geda-gattrib-1.4.3.ebuild (geda-gattrib-1.4.3.ebuild.patch,730 bytes, patch)
2010-05-12 18:45 UTC, Richard F. Ostrow Jr.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard F. Ostrow Jr. 2010-05-11 19:33:13 UTC
Will fail to build with gtk+>=2.17 due to an API change (specifically, GtkEntry->n_bytes and GtkEntry->text_size should be written as GtkEntry->x_n_bytes and GtkEntry->x_text_size wherever found). See URL for reference.

Patch submitted to fix problem in source, and ebuild patch submitted to utilize source patch

Reproducible: Always

Steps to Reproduce:
1. Build sci-electronics/geda-gattrib with gtk+-2.18.9 (tested) installed
2. Watch it fail to find variables
3.

Actual Results:  
Fails to build

Expected Results:  
Builds happily

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 11 May 2010 07:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-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/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="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j9"
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="/usr/local/portage"
SYNC="rsync://gorgon/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dbus designer-plugin doc dri dts dvd dvdr emboss encode examples exif faac faad fam ffmpeg fftw firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 java jpeg kde kerberos lcd lcms ldap libnotify mad mikmod mmx mng modules motif mp3 mp4 mpeg mudflap multilib mythtv ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection scanner sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd tiff truetype unicode usb vdpau vim-syntax vorbis webkit x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc 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 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" CAMERAS="samsung" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none nvidia" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard F. Ostrow Jr. 2010-05-11 19:36:10 UTC
Created attachment 231123 [details, diff]
patch to fix >=gtk+2.17 compatibility
Comment 2 Richard F. Ostrow Jr. 2010-05-11 19:37:23 UTC
Created attachment 231125 [details, diff]
patch to sci-electronics/geda-gattrib-1.4.3.ebuild to fix >=gtk+2.17 compatibility
Comment 3 Richard F. Ostrow Jr. 2010-05-11 20:06:54 UTC
Created attachment 231129 [details, diff]
ebuild patch for sci-electronics/geda-gattrib-1.4.3.ebuild

Uses 'unpack' function rather than 'tar' directly
Comment 4 Richard F. Ostrow Jr. 2010-05-12 18:41:37 UTC
Created attachment 231257 [details, diff]
source patch for sci-electronics/geda-gattrib-1.4.3 to fix >=gtk+-2.17 compile issues

Adjusted the name of the patch so it's more obvious what you're looking at
Comment 5 Richard F. Ostrow Jr. 2010-05-12 18:45:06 UTC
Created attachment 231259 [details, diff]
ebuild patch for sci-electronics/geda-gattrib-1.4.3.ebuild

Adjusted ebuild to only apply the patch when gtk+-2.17 or higher is installed (should not need patch for earlier versions if data in URL is correct).
Comment 6 Thomas Beierlein gentoo-dev 2010-06-08 17:59:43 UTC
Thanks for reporting. Fixed.

+  08 Jun 2010; Thomas Beierlein <tomjbe@gentoo.org>
+  geda-gattrib-1.4.3-r1.ebuild:
+  Fix possible problem introduced in last commit - supplied patch works only
+  for >=gtk+-2.17. See bug #319307

see also bug #323127