Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192812 - emerge dev-util/glade-2.6.8 fails (glade-2.0.0-scrollkeeper.patch patch does not apply)
Summary: emerge dev-util/glade-2.6.8 fails (glade-2.0.0-scrollkeeper.patch patch does ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 201962 215216
Blocks:
  Show dependency tree
 
Reported: 2007-09-17 13:28 UTC by Philippe Chaintreuil
Modified: 2008-08-23 11:06 UTC (History)
1 user (show)

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


Attachments
patch log referenced in error. (glade-2.0.0-scrollkeeper.patch-7706.out,2.58 KB, text/plain)
2007-09-17 13:30 UTC, Philippe Chaintreuil
Details
Build log referenced in the error. (build.log,1.59 KB, text/plain)
2007-09-17 13:30 UTC, Philippe Chaintreuil
Details
Updated scrollkeeper patch for 2.6.8 (glade-2.6.8-scrollkeeper.patch,1.02 KB, patch)
2007-10-18 16:17 UTC, Philippe Chaintreuil
Details | Diff
Updated scrollkeeper patch for 2.6.8 that undoes the work of gnome2_omf_fix (glade-2.0.0-scrollkeeper.patch,1.49 KB, patch)
2008-03-28 16:33 UTC, Philippe Chaintreuil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Chaintreuil 2007-09-17 13:28:56 UTC
dev-util/glade-2.6.8 fails to rebuild.

This may be due to the new libgda flag/removal of gnomedb flag, which is why it wants to rebuild/reinstall today.

===============================================================================
 * Fixing OMF Makefiles ...  [ ok ]
 * Running elibtoolize in: glade-2.6.8
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 * Applying glade-2.0.0-scrollkeeper.patch ...
 * Failed Patch: glade-2.0.0-scrollkeeper.patch !
 *  ( /usr/portage/dev-util/glade/files/glade-2.0.0-scrollkeeper.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-util/glade-2.6.8/temp/glade-2.0.0-scrollkeeper.patch-7706.out
 * 
 * ERROR: dev-util/glade-2.6.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   glade-2.6.8.ebuild, line 36:   Called epatch '/usr/portage/dev-util/glade/files/glade-2.0.0-scrollkeeper.patch'
 *   eutils.eclass, line 304:   Called die
 * 
 * Failed Patch: glade-2.0.0-scrollkeeper.patch!
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/glade-2.6.8/temp/build.log'.
===============================================================================


Reproducible: Always
Comment 1 Philippe Chaintreuil 2007-09-17 13:29:20 UTC
My emerge --info:

Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Mon, 17 Sep 2007 12:30: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-r4
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-r1
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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-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/terminfo /etc/texmf/web2c"
CXXFLAGS="-O1 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo"
LINGUAS="en"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr apm artworkextra asf async automount bash-completion beagle berkdb bitmap-fonts boundschecking branding bzip2 cairo cddb cdr cli cracklib crypt css cups dbus dell disk-partition doc dri dvd dvdr dvdread emboss encode fam fame ffmpeg firefox galago gd gif gimpprint glitz gnome gnutls gpm gstreamer gtk hal i8x0 iconv imagemagick imap imlib isdnlog jack-tmpfs javascript jce jpeg libnotify logrotate lzo mad midi mikmod mime mjpeg mmx mono mozbranding moznoirc mozsvg mp3 mpeg mudflap ncurses network network-cron nfs nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3support quicktime readline real reflection samba sasl sdl session slp smp spell spl sse sse2 ssl svg swat syslog tcpd theora tiff truetype truetype-fonts type1-fonts unicode vim-with-x vorbis win32codecs winbind x264 x86 xcomposite xine xml xorg xpm xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Philippe Chaintreuil 2007-09-17 13:30:19 UTC
Created attachment 131154 [details]
patch log referenced in error.
Comment 3 Philippe Chaintreuil 2007-09-17 13:30:59 UTC
Created attachment 131155 [details]
Build log referenced in the error.
Comment 4 Philippe Chaintreuil 2007-09-17 13:31:53 UTC
My use flags: dev-util/glade-2.6.8  USE="gnome -debug -libgda% (-gnomedb%)"
Comment 5 Philippe Chaintreuil 2007-09-17 13:32:27 UTC
This may be related to 142161, but it's a different ebuild, and a different patch....
Comment 6 Philippe Chaintreuil 2007-10-01 12:49:54 UTC
*ping*
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-10-07 01:59:20 UTC
Can you reproduce this with glade-3.2.2?
Comment 8 Philippe Chaintreuil 2007-10-09 13:41:47 UTC
> Can you reproduce this with glade-3.2.2?

I need glade-2.6.8 because it is the most recent version of Glade which still supports GTK 2.4.  The application I maintain needs to be GTK 2.4 compatible because we have Red Hat 4 customers [which runs GTK 2.4].


But as a more direct response to your question, I'm sure this isn't going to be a problem with glade-3.2.2, since that version does not apply the 
glade-2.0.0-scrollkeeper.patch.
Comment 9 Philippe Chaintreuil 2007-10-18 16:17:07 UTC
Created attachment 133781 [details, diff]
Updated scrollkeeper patch for 2.6.8

Looks like the lines that glade-2.0.0-scrollkeeper.patch modified have moved a ways since it was made in 2003.  I made a new patch that should modify the lines at the new offset and has a few extra lines of context so it hopefully will be able to last for another 4 years.  ;)
Comment 10 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-11-22 22:27:28 UTC
Committed the updated patch.
Comment 11 Philippe Chaintreuil 2007-11-28 14:12:08 UTC
Sorry compnerd, apparently my patch is wrong.  A little more digging and I'm wondering if the patch is still valid at all.

I just posted to the Gentoo Forums with my thinking:
http://forums.gentoo.org/viewtopic-p-4554743.html

Check it out.  And sorry for the poorly tested patch before, I guess.  :/
Comment 12 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-13 05:11:02 UTC
Technically the patch is correct, but at this point scrollkeeper is unmaintained, so we just ignore it (that change, I have a feeling is quite a bit newer).  Id prefer to leave the patch in as is.
Comment 13 Philippe Chaintreuil 2008-03-28 16:33:05 UTC
Created attachment 147560 [details, diff]
Updated scrollkeeper patch for 2.6.8 that undoes the work of gnome2_omf_fix

Like I mentioned in the forum post referenced in comment #11, gnome2_src_unpack calls gnome2_omf_fix which replaces all the scrollkeeper calls to with worthless calls to true.

Since you said you want to keep the scrollkeeper patch, contrary to the gnome2_src_unpack/omf_fix changes, I've attached a new patch which will set true back to scrollkeeper-update.

I've tested this patch with USE="-gnome -libgda -debug" and it works after bug #215216 is addressed.
Comment 14 Philippe Chaintreuil 2008-03-28 16:33:41 UTC
Added that this bug depends on #215216 for it to work.
Comment 15 Philippe Chaintreuil 2008-03-28 16:34:29 UTC
Reopening to get new (correct) patch addressed.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 17:46:39 UTC
Can we get 2.12.2 stable and nuke this obsolete broken cruft from the tree?
Comment 17 Philippe Chaintreuil 2008-03-28 20:03:57 UTC
My only worry about that is glade-2.6.8 is the last version that uses doesn't require a newer library than GTK 2.4.

I write an app that needs to be supported on GTK 2.4 (RHEL 4).

If glade > 2.6.8 generated glade files don't work properly on GTK 2.4, then I need this for legacy support.  I tried Glade 3.4 and it generates glade files that don't load properly on a GTK 2.4 system (program loads, but settings/properties are jacked up in various ways)....
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-23 11:06:19 UTC
2.12.2 is in tree, it should satisfy your requirements of legacy support. glade-3 is known to generate files that are fairly different from glade-2 but I believe it is slotted for this very reason.