Summary: | media-video/cinepaint-0.22.1 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gordon Malm (RETIRED) <gengor> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Hloupy.Honza, jesse, turmlos |
Priority: | High | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal 2010-02-15 | ||
Package list: | Runtime testing required: | --- |
Description
Gordon Malm (RETIRED)
2008-11-11 05:41:38 UTC
I am also experiencing this problem. The link command that is failing is this: ... /bin/sh ../../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++ -march=prescott -mtune=pentium3 -O3 -fomit-frame-pointer -pipe -o bracketing_to_hdr bracketing_to_hdr.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../../lib/libcinepaint.la ./br_core/libbr_core.la ./FL_adds/libfl_adds.la ./gui/libgui.la ../../lib/fl_i18n/libcinepaint_fl_i18n.la -L/usr/lib/fltk-1.1 -Wl,-rpath,/usr/lib/fltk-1.1 -Wl,,--sort-common -lfltk_images -lpng -lz -ljpeg -lfltk -lXft -lpthread -lm -lXext -lX11 -lc mkdir .libs i686-pc-linux-gnu-g++ -march=prescott -mtune=pentium3 -O3 -fomit-frame-pointer -pipe -o .libs/bracketing_to_hdr bracketing_to_hdr.o -Wl,-rpath -Wl,/usr/lib/fltk-1.1 -Wl,"" -Wl,--sort-common -L/usr/lib ../../lib/.libs/libcinepaint.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libXi.so /usr/lib/libpangoft2-1.0.so /usr/lib/libcairo.so /usr/lib/libglitz-glx.so /usr/lib/libglitz.so /usr/lib/libGL.so /usr/lib/libpixman-1.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/libhalf/.libs/libcinepaintHalf.so ./br_core/.libs/libbr_core.a ./FL_adds/.libs/libfl_adds.a -L/usr/lib/fltk-1.1 ./gui/.libs/libgui.a /var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/lib/fl_i18n/.libs/libcinepaint_fl_i18n.so /usr/lib/libexpat.so ../../lib/fl_i18n/.libs/libcinepaint_fl_i18n.so -lfltk_images /usr/lib/libpng12.so /usr/lib/libjpeg.so -lfltk /usr/lib/libXft.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libxml2.so -lz /usr/lib/libXrender.so -lpthread -lm /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lc /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory collect2: ld returned 1 exit status make[3]: *** [bracketing_to_hdr] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins/bracketing_to_hdr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins/bracketing_to_hdr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins' make: *** [all-recursive] Error 1 Notice the "-Wl,,--sort-common" on the libtool command line. This results in an empty argument to the linker which causes the strange error message. That typo is present in all the FLTK_LIBS lines in all the Makefiles. It is caused by this line in the configure.in: FLTK_LIBS="\$(top_builddir)/lib/fl_i18n/libcinepaint_fl_i18n.la `$FLTK_CONFIG --use-images --ldflags | sed s/-O.\//`" If fltk is compiled with LDFLAGS containing something like "-Wl,-O1,--sort-common", this will produce bogus flags for FLTK_LIBS. A patch to configure.in to eliminate the sed would probably resolve the link problem, but I don't know if it will introduce other problems. The best solution apparently is the media-video/cinepaint-9999.ebuild proposed in the Bug 278375 by Michael Weber. After adding his owerlay http://svn.xmw.de/gentoo-overlay/ to my system I have installed cinepaint successfully, even with the oyranos support. I cannot tell yet how well it actually works. Treecleaned |