Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246374 - media-video/cinepaint-0.22.1 fails to compile
Summary: media-video/cinepaint-0.22.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard: Pending removal 2010-02-15
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-11-11 05:41 UTC by Gordon Malm (RETIRED)
Modified: 2010-02-17 15:56 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Malm (RETIRED) gentoo-dev 2008-11-11 05:41:38 UTC
emerge --info:
Portage 2.1.4.5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.27-hardened-r1-rc1-2008110901 i686)
=================================================================
System uname: 2.6.27-hardened-r1-rc1-2008110901 i686 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
Timestamp of tree: Tue, 11 Nov 2008 04:45:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fweb -fomit-frame-pointer -fno-ident -pipe"
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/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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fweb -fomit-frame-pointer -fno-ident -pipe -fno-stack-protector -fno-stack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="distclean distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.datapipe.net/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net/ http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1,--hash-style=gnu"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --exclude-from=/etc/portage/rsync_excludes"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://*yoink*(private)/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi adns alsa ao apache2 audiofile audit bash-completion bcmath berkdb bidi blas bluetooth bzip2 cairo calendar canna caps cdb cddb cdinstall cdparanoia cdr cjk clamav cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbm dbus dbx dedicated directfb djvu doc dri dts dv dvb dvd dvdr dvdread encode enscript evo exif expat fam fbcon ffmpeg fftw firefox flac flash flatfile fltk fontconfig foomaticdb fortran freetds freewnn ftp gcj gd gdbm geoip ggi gif gimp ginac glut gmp gnome gnuplot gnutls gphoto2 gpm gps graphviz gsl gstreamer gtk gtkhtml guile hal hardened hddtemp hdf5 iconv idn ieee1394 imagemagick imap imlib inifile ipod ipv6 jack java java5 java6 javascript jbig joystick jpeg jpeg2k kde kerberos ladspa lame lapack lash latex lcms ldap libcaca libgda libnotify libsamplerate libwww lirc lm_sensors logrotate lua lzo mad maildir mailwrapper matroska mbox memlimit mhash midi mikmod mime mmap mmx mmxext mng modplug mono motif mp3 mpeg mpi mplayer mtp musepack musicbrainz nas ncurses neXt netboot netcdf nis nls nntp nocd nptl nptlonly nsplugin ocaml ocamlopt offensive ofx ogg openal openexr opengl osc pam pcntl pcre pda pdf perl php pic plotutils png portaudio posix ppds pulseaudio python qdbm qt3 qt4 quicktime radius rdesktop readline recode rss ruby samba sasl scanner sdl seamonkey session sftp sharedext sharedmem shorten simplexml skey slang slp smartcard smp sndfile snmp soap sockets socks5 sox speex spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg svga syslog sysvipc szip taglib tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype unicode urandom usb v4l v4l2 vcd vhosts videos vim-syntax vnc vorbis wavpack wddx wifi win32codecs wma wmf wxwindows x264 x86 xattr xcomposite xface xine xinerama xinetd xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yaz zlib" ALSA_CARDS="au8820 ca0106 emu10k1 hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="apm ati dummy fbdev fglrx nv nvidia radeonhd v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

build failure:
Compiling icc_main.cpp ...
....................................................... done.
.................................................... done.
...................................................... done.
po/icc_examin.pot fertig
Compiling Gtk CinePaint plug-in ...
Linguas ... po/de
update po/de.gmo ...
Linguas ... po/eo
348 translated messages, 4 fuzzy translations, 152 untranslated messages.
po/de/LC_MESSAGES/icc_examin.mo nicht gefunden
Linguas ... po/fr
update po/eo.gmo ...
update po/fr.gmo ...
28 translated messages, 7 fuzzy translations, 469 untranslated messages.
make[4]: Entering directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/fl_i18n'
Compiling fl_i18n_example.cxx ...
124 translated messages, 9 fuzzy translations, 371 untranslated messages.
po/eo/LC_MESSAGES/icc_examin.mo nicht gefunden
po/fr/LC_MESSAGES/icc_examin.mo nicht gefunden
Linguas ... po/ar
Linguas ... po/de
update po/ar.gmo ...
0 translated messages, 1 fuzzy translation, 20 untranslated messages.
mkdir: created directory `po/ar/LC_MESSAGES'
po/ar/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/eo
update po/eo.gmo ...
1 translated message, 20 untranslated messages.
mkdir: created directory `po/eo/LC_MESSAGES'
po/eo/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/fr
update po/de.gmo ...
update po/fr.gmo ...
18 translated messages, 1 fuzzy translation, 2 untranslated messages.
1 translated message, 20 untranslated messages.
mkdir: created directory `po/de/LC_MESSAGES'
po/de/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/ja
mkdir: created directory `po/fr/LC_MESSAGES'
po/fr/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/ru
update po/ja.gmo ...
c++: -lc: linker input file unused because linking not done
c++: -lm: linker input file unused because linking not done
1 translated message, 20 untranslated messages.
mkdir: created directory `po/ja/LC_MESSAGES'
po/ja/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/uk
update po/ru.gmo ...
update po/uk.gmo ...
1 translated message, 20 untranslated messages.
1 translated message, 20 untranslated messages.
mkdir: created directory `po/uk/LC_MESSAGES'
po/uk/LC_MESSAGES/fl_i18n.mo nicht gefunden
Linguas ... po/zh_CN
mkdir: created directory `po/ru/LC_MESSAGES'
Compiling fl_i18n.cxx ...
po/ru/LC_MESSAGES/fl_i18n.mo nicht gefunden
update po/zh_CN.gmo ...
1 translated message, 20 untranslated messages.
mkdir: created directory `po/zh_CN/LC_MESSAGES'
po/zh_CN/LC_MESSAGES/fl_i18n.mo nicht gefunden
c++: -lc: linker input file unused because linking not done
c++: -lm: linker input file unused because linking not done
Verknuepfen libfl_i18n.a ...
Verknuepfen fl_i18n_example ... fl_i18n_example.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory
collect2: ld returned 1 exit status
make[4]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/fl_i18n'
Verknuepfen iccexamin ...
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [iccexamin] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/lib/intl.h:25,
                 from /var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/libgimp/gimp1.2.h:16,
                 from /var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/libgimp/gimp.h:14,
                 from icc_cinepaint_intern.cpp:70,
                 from icc_cinepaint.cpp:68:
/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/libgimp/gimpintl.h:48:1: warning: "_" redefined
In file included from icc_cinepaint.cpp:62:
icc_utils.h:57:1: warning: this is the location of the previous definition
make[3]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1/work/cinepaint-0.22-1/plug-ins/icc_examin/icc_examin'
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/icc_examin'
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
 *
 * ERROR: media-video/cinepaint-0.22.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2780:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
Comment 1 Bruce Guenter 2008-11-24 22:51:08 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.
Comment 2 Honza Macháček 2009-12-28 17:57:29 UTC
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.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-17 15:56:17 UTC
Treecleaned