Summary: | media-gfx/gimp failed with libpng-1.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | renato gallo <renatogallo> |
Component: | New packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | renatogallo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 354479 | ||
Attachments: |
/var/tmp/portage/media-gfx/gimp-2.6.11-r1/temp/build.log
/var/tmp/portage/media-gfx/gimp-2.6.11-r2/temp/build.log /var/tmp/portage/media-gfx/gimp-2.7.2/temp/build.log /var/tmp/portage/media-gfx/gimp-9999/temp/build.log |
Description
renato gallo
2011-05-06 13:34:33 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -I/usr/include -O2 -pipe -march=native -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wl,-O1 -o .libs/file-wmf file_wmf-file-wmf.o -pthread -Wl,--as-needed ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimpmodule/.libs/libgimpmodule-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpmath/.libs/libgimpmath-2.0.so ../../libgimpconfig/.libs/libgimpconfig-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpbase/.libs/libgimpbase-2.0.so -lgtk-x11-2.0 -lgdk-x11-2.0 /usr/lib64/libatk-1.0.so /usr/lib64/libgio-2.0.so -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpng15 -lpango-1.0 /usr/lib64/libfontconfig.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libglib-2.0.so -L/usr/lib64 -lwmf -lwmflite /usr/lib64/libfreetype.so -lX11 /usr/lib64/libexpat.so -ljpeg -lpng -lz -lm -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libpng14.so.14, needed by /usr/lib64/libwmf.so, not found (try using -rpath or -rpath-link) /usr/lib64/libwmf.so: undefined reference to `png_create_write_struct@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_set_IHDR@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_create_info_struct@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_init_io@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_write_row@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_write_info@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_write_end@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_destroy_write_struct@PNG14_0' /usr/lib64/libwmf.so: undefined reference to `png_set_text@PNG14_0' collect2: ld returned 1 exit status make[3]: *** [file-wmf] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11/plug-ins/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11' make: *** [all] Error 2 emake failed * ERROR: media-gfx/gimp-2.6.11-r2 failed (compile phase): CC file-mng.o file-mng.c: In function 'mng_save_image': file-mng.c:972: error: dereferencing pointer to incomplete type file-mng.c:984: error: dereferencing pointer to incomplete type file-mng.c:985: error: dereferencing pointer to incomplete type file-mng.c:986: error: dereferencing pointer to incomplete type file-mng.c:987: error: dereferencing pointer to incomplete type file-mng.c:992: error: dereferencing pointer to incomplete type file-mng.c:995: error: dereferencing pointer to incomplete type file-mng.c:998: error: dereferencing pointer to incomplete type file-mng.c:1001: error: dereferencing pointer to incomplete type file-mng.c:1004: error: dereferencing pointer to incomplete type file-mng.c:1005: error: dereferencing pointer to incomplete type file-mng.c:1006: error: dereferencing pointer to incomplete type file-mng.c:1008: error: dereferencing pointer to incomplete type file-mng.c:1011: error: dereferencing pointer to incomplete type file-mng.c:1024: error: dereferencing pointer to incomplete type file-mng.c:1026: error: dereferencing pointer to incomplete type file-mng.c:1027: error: dereferencing pointer to incomplete type file-mng.c:1028: error: dereferencing pointer to incomplete type file-mng.c:1029: error: dereferencing pointer to incomplete type file-mng.c:1030: error: dereferencing pointer to incomplete type file-mng.c:1031: error: dereferencing pointer to incomplete type file-mng.c:1041: error: dereferencing pointer to incomplete type file-mng.c:1042: error: dereferencing pointer to incomplete type file-mng.c:1068: error: dereferencing pointer to incomplete type file-mng.c:1080: error: dereferencing pointer to incomplete type file-mng.c:1234: warning: ignoring return value of 'fread', declared with attribute warn_unused_result make[3]: *** [file-mng.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.7.2/work/gimp-2.7.2/plug-ins/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.7.2/work/gimp-2.7.2/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.7.2/work/gimp-2.7.2' make: *** [all] Error 2 emake failed * ERROR: media-gfx/gimp-2.7.2 failed (compile phase): That looks like a mix of a few separate problems. - libwmf seems underlinked - libwmf is either not stated correctly as a dep of gimp or instead of revdep-rebuild, you're trying to trick the system with '--skip-first --keep-going' - gimp 2.7.2 seems to be your own ebuild (libpng 1.5 changes got into the upstream git yesterday, therefore 2.7.2 doesn't have them of its own) I'd say, that till you update libwmf, this is INVALID (In reply to comment #3) > That looks like a mix of a few separate problems. > - libwmf seems underlinked > - libwmf is either not stated correctly as a dep of gimp or instead of > revdep-rebuild, you're trying to trick the system with '--skip-first > --keep-going' > - gimp 2.7.2 seems to be your own ebuild (libpng 1.5 changes got into the > upstream git yesterday, therefore 2.7.2 doesn't have them of its own) > > I'd say, that till you update libwmf, this is INVALID as for 2.7.2 https://github.com/megabaks/stuff/tree/master/media-gfx/gimp (In reply to comment #3) > That looks like a mix of a few separate problems. > - libwmf seems underlinked > - libwmf is either not stated correctly as a dep of gimp or instead of > revdep-rebuild, you're trying to trick the system with '--skip-first > --keep-going' > - gimp 2.7.2 seems to be your own ebuild (libpng 1.5 changes got into the > upstream git yesterday, therefore 2.7.2 doesn't have them of its own) > > I'd say, that till you update libwmf, this is INVALID as for libwmf /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPACKAGE=\"libwmf\" -DVERSION=\"0.2.8\" -I. -I../.. -I../../include -I../../src -I../.. -I/usr/include/freetype2 -O2 -pipe -march=native -MT ipa.lo -MD -MP -MF .deps/ipa.Tpo -c -o ipa.lo ipa.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPACKAGE=\"libwmf\" -DVERSION=\"0.2.8\" -I. -I../.. -I../../include -I../../src -I../.. -I/usr/include/freetype2 -O2 -pipe -march=native -MT ipa.lo -MD -MP -MF .deps/ipa.Tpo -c ipa.c -fPIC -DPIC -o .libs/ipa.o In file included from ipa.c:47: ../../src/ipa/ipa/bmp.h: In function 'ldr_bmp_png': ../../src/ipa/ipa/bmp.h:69: error: dereferencing pointer to incomplete type make[3]: *** [ipa.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4/src/ipa' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4' make: *** [all] Error 2 emake failed * ERROR: media-libs/libwmf-0.2.8.4-r3 failed (compile phase): (In reply to comment #5) > (In reply to comment #3) > > That looks like a mix of a few separate problems. > > - libwmf seems underlinked > > - libwmf is either not stated correctly as a dep of gimp or instead of > > revdep-rebuild, you're trying to trick the system with '--skip-first > > --keep-going' > > - gimp 2.7.2 seems to be your own ebuild (libpng 1.5 changes got into the > > upstream git yesterday, therefore 2.7.2 doesn't have them of its own) > > > > I'd say, that till you update libwmf, this is INVALID > > as for libwmf > > /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc > -DHAVE_CONFIG_H -DPACKAGE=\"libwmf\" -DVERSION=\"0.2.8\" -I. -I../.. > -I../../include -I../../src -I../.. -I/usr/include/freetype2 -O2 > -pipe -march=native -MT ipa.lo -MD -MP -MF .deps/ipa.Tpo -c -o ipa.lo ipa.c > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPACKAGE=\"libwmf\" > -DVERSION=\"0.2.8\" -I. -I../.. -I../../include -I../../src -I../.. > -I/usr/include/freetype2 -O2 -pipe -march=native -MT ipa.lo -MD -MP -MF > .deps/ipa.Tpo -c ipa.c -fPIC -DPIC -o .libs/ipa.o > In file included from ipa.c:47: > ../../src/ipa/ipa/bmp.h: In function 'ldr_bmp_png': > ../../src/ipa/ipa/bmp.h:69: error: dereferencing pointer to incomplete type > make[3]: *** [ipa.lo] Error 1 > make[3]: Leaving directory > `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4/src/ipa' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/media-libs/libwmf-0.2.8.4-r3/work/libwmf-0.2.8.4' > make: *** [all] Error 2 > emake failed > * ERROR: media-libs/libwmf-0.2.8.4-r3 failed (compile phase): again as libwmf: http://wvware.sourceforge.net/libwmf.html#download "libwmf is in CVS under the module name libwmf2, not libwmf which is the libwmf-0.1.* series and no longer in active development. " (In reply to comment #3) > That looks like a mix of a few separate problems. > - libwmf seems underlinked > - libwmf is either not stated correctly as a dep of gimp or instead of > revdep-rebuild, you're trying to trick the system with '--skip-first > --keep-going' > - gimp 2.7.2 seems to be your own ebuild (libpng 1.5 changes got into the > upstream git yesterday, therefore 2.7.2 doesn't have them of its own) > > I'd say, that till you update libwmf, this is INVALID WITH USE=-wmf file-mng.c: In function 'mng_save_image': file-mng.c:972: error: dereferencing pointer to incomplete type file-mng.c:984: error: dereferencing pointer to incomplete type file-mng.c:985: error: dereferencing pointer to incomplete type file-mng.c:986: error: dereferencing pointer to incomplete type file-mng.c:987: error: dereferencing pointer to incomplete type file-mng.c:992: error: dereferencing pointer to incomplete type file-mng.c:995: error: dereferencing pointer to incomplete type file-mng.c:998: error: dereferencing pointer to incomplete type file-mng.c:1001: error: dereferencing pointer to incomplete type file-mng.c:1004: error: dereferencing pointer to incomplete type file-mng.c:1005: error: dereferencing pointer to incomplete type file-mng.c:1006: error: dereferencing pointer to incomplete type file-mng.c:1008: error: dereferencing pointer to incomplete type file-mng.c:1011: error: dereferencing pointer to incomplete type file-mng.c:1024: error: dereferencing pointer to incomplete type file-mng.c:1026: error: dereferencing pointer to incomplete type file-mng.c:1027: error: dereferencing pointer to incomplete type file-mng.c:1028: error: dereferencing pointer to incomplete type file-mng.c:1029: error: dereferencing pointer to incomplete type file-mng.c:1030: error: dereferencing pointer to incomplete type file-mng.c:1031: error: dereferencing pointer to incomplete type file-mng.c:1041: error: dereferencing pointer to incomplete type file-mng.c:1042: error: dereferencing pointer to incomplete type file-mng.c:1068: error: dereferencing pointer to incomplete type file-mng.c:1080: error: dereferencing pointer to incomplete type file-mng.c:1234: warning: ignoring return value of 'fread', declared with attribute warn_unused_result make[3]: *** [file-mng.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11/plug-ins/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.11-r2/work/gimp-2.6.11' make: *** [all] Error 2 emake failed * ERROR: media-gfx/gimp-2.6.11-r2 failed (compile phase): Given that 2.7.2, mind attaching full log - just so to check if it's not yet another overlay ebuild. Created attachment 272403 [details]
/var/tmp/portage/media-gfx/gimp-2.6.11-r1/temp/build.log
Created attachment 272405 [details]
/var/tmp/portage/media-gfx/gimp-2.6.11-r2/temp/build.log
Created attachment 272407 [details]
/var/tmp/portage/media-gfx/gimp-2.7.2/temp/build.log
Created attachment 272409 [details]
/var/tmp/portage/media-gfx/gimp-9999/temp/build.log
(In reply to comment #8) > Given that 2.7.2, mind attaching full log - just so to check if it's not yet > another overlay ebuild. log added of all my attempts regarding having a working gimp opps wrong syntax.... errata corrige: "attempts to have a working gimp" gimp-2.7.2 compiles with USE=-mng Log in comment 9 is the libwmf problem, log from comment 10 while pretending to be in-tree, applies a 'png.patch' that definitely not in-tree and we already established 2.7.2 is not in the tree. (In reply to comment #16) > Log in comment 9 is the libwmf problem, log from comment 10 while pretending to > be in-tree, applies a 'png.patch' that definitely not in-tree and we already > established 2.7.2 is not in the tree. as for the png patch you can find it here: http://bugs.gentoo.org/attachment.cgi?id=262679 I didn't asked where did you get it from, just said it's not an in-tree patch. Use at least 2.6.11-r2 and rebuild your media-libs/libwmf before media-gfx/gimp # emerge -1 libwmf # emerge ">=media-gfx/gimp-2.6.11-r2" 2.7.x series is not in Portage and -9999 is live version (meaning the fix will come from upstream repository when they are ready) |