First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 136661
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: John N. Laliberte (RETIRED) <allanonjl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Ross Hunt <john.ross.hunt@comcast.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
5531-gimp-2.2.10.log ebuild log text/plain John Ross Hunt 2006-06-13 08:06 0000 2.61 KB Details
gimp-png.patch Patch for *destroy* functions patch Marcin Gryszkalis 2006-06-15 10:48 0000 483 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136661 depends on: Show dependency tree
Bug 136661 blocks: 139146
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-13 08:02 0000
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3,
2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -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/lib/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo
http://gentoo.cites.uiuc.edu/pub/gentoo http://mirror.mcs.anl.gov/pub/gentoo
http://prometheus.cs.wmich.edu/gentoo http://ftp.oregonstate.edu/pub/gentoo"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 7zip S3TC X a52 aac aalib accessibility acl acpi aim alsa amr ao aotuv
apache2 applet artworkextra asf asm async audiofile authdaemond authlib
automount avahi avi bash-completion beagle berkdb big-tables bitmap-fonts
blender-game branding bzip2 cairo calendar cdda cddb cdio cdparanoia cdr cgi
chm cli cpudetection crypt css cups curl curlwrappers daap dbus dga directfb
discard-path djvu dmi dri dts dv dvd dvdr dvdread dvi edl eds emboss encode
enscript epiphany esd evo evolution exif extraengine extrafilters fame fat
fbcon ffmpeg fftw firefox flac flatfile foomaticdb fortran fpx gaim ggi gif
gimp gimpprint gkrellm glade glut glx gmail gmailtimestamps gnokii gnome
gnome-print gnomecanvas gnomedb gnuplot gnutls gpgme gphoto2 gpm grammar gs
gstreamer gstreamer010 gtalk gtk gtk2 gtkhtml gtkspell guile h323 hal hfs httpd
iconv icq idea imagemagick imap imlib imlib2 inifile innodb
input_devices_joystick input_devices_keyboard input_devices_mouse
input_devices_vmmouse input_devices_wacom iodbc ipv6 isdnlog jabber jack java
javamail javascript jbig jce jfs jit joystick jp2 jpeg jpeg2k kde kqemu lame
lcd lcms libcaca libg++ libwww live lm_sensors logitech-mouse lua lzo lzw mad
matroska max-idx-128 md5sum mdnsresponder-compat mikmod mime mixer mjpeg mmx
mmxext mng modplug mono motif mozcalendar mozdevelop mozilla mozsvg mp3 mp4
mp4live mpeg mpeg2 mplayer msn musepack musicbrainz mysql mysqlfriends mysqli
mythtv nautilus ncurses network nfs nls nntp nptl nptlonly nsplugin ntfs ntlm
ntlm_unsupported_patch oav objc objc++ ocaml odbc offensive ogg openal opengl
openssl oscar osp oss pam pango pcre pda pdflib pdo perl png ppds pppd pri
python qemu-fast qt quicktime readline real reflection reiser4 reiserfs resperl
roe rogue rss rtc ruby samba sametime sasl scanner sdl session sharedmem sheep
skins slang slp smime sndfile snmp softmmu sox speex spell spl sqlite sqlite3
srp sse sse-filters sse2 ssl startup-notification stream svg swat syslog t1lib
tcltk tcpd teamarena tetex themes theora thesaurus tidy tiff transcode truetype
truetype-fonts type1-fonts udev unicode unzip urandom usb v4l v4l2 vcd vdr
video_cards_ati video_cards_fglrx video_cards_v4l video_cards_vesa
video_cards_vmware videos vidix vim-pager vim-with-x vlm vmdbmysql vnc vorbis
wddx webdav win32codecs wmf wv wxwindows x264 xanim xatrix xext xfs xine xml
xmlreader xmlrpc xmlwriter xmms xorg xpm xv xvid xvmc yaepg yahoo zaptel zip
zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From John Ross Hunt 2006-06-13 08:06:36 0000 -------
Created an attachment (id=89045) [details]
ebuild log

Forgot to mention, builds find agains libpng-1.2.8-r1.  Maybe this is fixed in
gimp-2.2.11?

------- Comment #2 From Todd Merrill 2006-06-13 20:42:41 0000 -------
(In reply to comment #1)
> Maybe this is fixed in gimp-2.2.11?

Nope, at least not in my experience.  I get the same errors.

------- Comment #3 From moesasji 2006-06-13 22:31:31 0000 -------
I had exactly the same error when compiling cups-1.1.23-r7. 
So http://bugs.gentoo.org/show_bug.cgi?id=136346 is a related bug to this one. 

Unfortunately the suggested solution in comment #2 of bug 136346 however does
not work for compiling the Gimp. 

------- Comment #4 From Krister Bäckman 2006-06-14 09:35:48 0000 -------
I get the same error, it's the same on 2.2.10, 2.2.9 and 2.2.8-r1 too.

------- Comment #5 From Krister Bäckman 2006-06-14 10:02:21 0000 -------
2.2.6-r1 is the same.

------- Comment #6 From Marcin Gryszkalis 2006-06-15 10:48:22 0000 -------
Created an attachment (id=89259) [details]
Patch for *destroy* functions

With the patch applied it seems to compile and work, could somebody else test
it?
Btw, it's against gimp 2.2.10

------- Comment #7 From michel 2006-06-15 12:00:04 0000 -------
(In reply to comment #6)
> Created an attachment (id=89259) [edit] [details]
> Patch for *destroy* functions
> 
> With the patch applied it seems to compile and work, could somebody else test
> it?
> Btw, it's against gimp 2.2.10
> 

Compiling and working fine with your patch. Thank you!

------- Comment #8 From Todd Merrill 2006-06-15 14:10:52 0000 -------
(In reply to comment #6)
> Btw, it's against gimp 2.2.10

The patch applies and compiles with Gimp 2.2.11.  I can open and save PNGs with
no problems.  Thank you.

------- Comment #9 From Jakub Moc (RETIRED) 2006-06-15 15:47:45 0000 -------
*** Bug 136771 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2006-06-15 15:47:48 0000 -------
*** Bug 136926 has been marked as a duplicate of this bug. ***

------- Comment #11 From merwan kashouty 2006-06-15 16:48:58 0000 -------
works here with libpng-1.2.10 and gimp-2.2.10... thanks

------- Comment #12 From merwan kashouty 2006-06-15 16:52:11 0000 -------
sorry i meant gimp-2.2.11

------- Comment #13 From Francois Chenier 2006-06-15 20:00:52 0000 -------
Thanks mates. The patch submitted works fine for me too with gimp-2.2.11 and
libpng-1.2.10.

------- Comment #14 From Aleksey Lazar 2006-06-16 00:34:47 0000 -------
What is the proper way to apply this patch? I manually edited the png.c file,
and then ran make and make install in
/var/tmp/portage/gimp-2.2.11/work/gimp-2.2.11. This worked -- the gimp runs and
it's 2.2.11, but emerge -s or esearch tell me that I have 2.2.10 installed as
latest version. I found info on diff/patch files, but could not figure out what
to do with it. Maybe someone here would be kind and point me in the right
direction?

Also, can this fix be added to the portage so the problem does not come up in
the future? I had this error in CUPS also. Thank you!

------- Comment #15 From Colin Macdonald 2006-06-16 00:50:29 0000 -------
Comment #14: the "proper" way is to add whats called an "overlay" and modify
the ebuild to apply the patch before compiling.  What you did was bypass the
ebuild's install process (thats also why portage does not know about your
installed gimp-2.2.11).

If you don't wish to learn about overlays or how to modify ebuilds, then it
would probably be best to wait for a friendly dev to modify the in-tree ebuild
and close this bug (which I'm sure will happen soon for something high profile
like gimp).

------- Comment #16 From michel 2006-06-16 02:56:48 0000 -------
Another proper way to apply patch without overlay ist:

1. Press ctrl+z after unpacking sources (on emerge)
2. apply patch (copy it to /var/tmp/portage ... plug-in directory, then cd
r/tmp/portage ... plug-in directory -> then patch -Np1 -i patch.diff 

After it all you can resume your emerge with fg

its simple and doesnt require any overlay ;)

------- Comment #17 From Francois Chenier 2006-06-16 05:28:00 0000 -------
(In reply to comment #16)

> After it all you can resume your emerge with fg
> 
> its simple and doesnt require any overlay ;)
> 

Works fine also with ebuild. Emerge as usual. The compilation will eventually
fails. Do this ...

1) Patch the source in /var/tmp/package/gimp-2.2.11/work/...
2) #cd /usr/portage/media-gfx/gimp
3) #ebuild gimp-2.2.11.ebuild compile
4) #ebuild gimp-2.2.11.ebuild install
5) #ebuild gimp-2.2.11.ebuild qmerge
and if you want to build the binaries (optional)
6) #ebuild gimp-2.2.11.ebuild package

Doesn't require overlay too.

------- Comment #18 From Patrick McLean 2006-06-16 06:51:48 0000 -------
media-gfx/gimp-2.2.11-r1 added with the attached patch, thanks.

------- Comment #19 From Jakub Moc (RETIRED) 2006-06-16 09:18:12 0000 -------
*** Bug 136995 has been marked as a duplicate of this bug. ***

------- Comment #20 From Jakub Moc (RETIRED) 2006-06-16 14:44:42 0000 -------
*** Bug 137027 has been marked as a duplicate of this bug. ***

------- Comment #21 From Jakub Moc (RETIRED) 2006-06-18 10:12:42 0000 -------
*** Bug 137186 has been marked as a duplicate of this bug. ***

------- Comment #22 From Jakub Moc (RETIRED) 2006-07-04 03:07:25 0000 -------
*** Bug 139142 has been marked as a duplicate of this bug. ***

------- Comment #23 From Jakub Moc (RETIRED) 2006-07-07 20:10:28 0000 -------
*** Bug 139632 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug