Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259331 - media-video/cinepaint-0.22.1: icc_helfer_fltk.cpp:229: error: call of overloaded ‘awake(int)’ is ambiguous
Summary: media-video/cinepaint-0.22.1: icc_helfer_fltk.cpp:229: error: call of overloa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New 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: 2009-02-17 08:38 UTC by Martin Mokrejš
Modified: 2010-02-17 15:56 UTC (History)
2 users (show)

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


Attachments
patch to fix ambigious awake call (cinepaint-0.22.1-fix_ambigious_awake.patch,370 bytes, patch)
2009-04-06 16:21 UTC, Mike
Details | Diff
build.log (build.log,511.86 KB, text/plain)
2009-04-07 11:18 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-02-17 08:38:03 UTC
Compiling icc_helfer_fltk.cpp ...
In file included from icc_helfer_fltk.cpp:39:
icc_helfer.h:186: warning: ‘typedef’ was ignored in this declaration
In file included from icc_profile.h:39,
                 from icc_kette.h:35,
                 from icc_examin.h:35,
                 from icc_helfer_fltk.cpp:219:
icc_profile_header.h: In member function ‘void ICCheader::set_magic()’:
icc_profile_header.h:99: warning: deprecated conversion from string constant to ‘char*’
icc_profile_header.h: In member function ‘void ICCheader::set_manufacturer()’:
icc_profile_header.h:121: warning: deprecated conversion from string constant to ‘char*’
icc_profile_header.h: In member function ‘void ICCheader::set_model()’:
icc_profile_header.h:127: warning: deprecated conversion from string constant to ‘char*’
icc_profile_header.h: In member function ‘void ICCheader::set_creator()’:
icc_profile_header.h:167: warning: deprecated conversion from string constant to ‘char*’
In file included from icc_helfer_fltk.cpp:219:
icc_examin.h: At global scope:
icc_examin.h:50: warning: declaration ‘class icc_examin_ns::EinModell’ does not declare anything
icc_helfer_fltk.cpp: In function ‘int icc_examin_ns::awake()’:
icc_helfer_fltk.cpp:229: error: call of overloaded ‘awake(int)’ is ambiguous
/usr/include/fltk-1.1/Fl/Fl.H:277: note: candidates are: static void Fl::awake(void*)
/usr/include/fltk-1.1/Fl/Fl.H:278: note:                 static int Fl::awake(void (*)(void*), void*)
make[3]: *** [icc_helfer_fltk.o] Error 1
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 2692:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed


Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.29-rc4-git4 i686)
=================================================================
System uname: Linux-2.6.29-rc4-git4-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Thu, 12 Feb 2009 13:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3
sys-apps/sandbox:    1.3.6
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs cz"
PKGDIR="/usr/portage/packages"
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/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage /usr/local/java-experimental /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache2 audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo cblas cddb cdparanoia cdr clamav cli colordiff compress cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat fam fame fat fbcon ffmpeg fftw firefox flac flash foomaticdb fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gstreamer gtk gtkhtml hal hdf hdf5 hp2xx i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb isdnlog ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos lame lapack laptop lcms leim libcaca libedit libnotify libwww live lzo lzw mad maildir matroska mhash midi mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mpich2 mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3 qt3support qt4 quicktime rar raw readline recode reflection reiserfs rpm samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl startup-notification subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads tidy tiff tk transcode truetype unicode urandom usb userlocales uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcf xfs xft xinetd xml xorg xpm xprint xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike 2009-04-06 16:21:11 UTC
Created attachment 187464 [details, diff]
patch to fix ambigious awake call

This patch with a solution from the cinepaint-users ML should fix the ambigious awake problem, also alreday fixed in upstream cvs.
Comment 2 Martin Mokrejš 2009-04-07 11:17:10 UTC
I tried the patch but it is not enough for me:

[cut]
Compiling icc_gl.cpp ...
In file included from icc_gl.cpp:52:
/usr/include/FTGL/FTFont.h:29:5: warning: #warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
In file included from icc_profile.h:35,
                 from icc_kette.h:35,
                 from icc_examin.h:35,
                 from icc_gl.cpp:31:
[cut]
po/icc_examin.pot fertig
Linguas ... po/de
update po/de.gmo ...
348 translated messages, 4 fuzzy translations, 152 untranslated messages.
po/de/LC_MESSAGES/icc_examin.mo nicht gefunden
Linguas ... po/eo
update po/eo.gmo ...
28 translated messages, 7 fuzzy translations, 469 untranslated messages.
po/eo/LC_MESSAGES/icc_examin.mo nicht gefunden
Linguas ... po/fr
update po/fr.gmo ...
124 translated messages, 9 fuzzy translations, 371 untranslated messages.
po/fr/LC_MESSAGES/icc_examin.mo nicht gefunden
make[4]: Entering directory `/var/tmp/portage/media-video/cinepaint-0.22.1-r1/work/cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/fl_i18n'
Compiling fl_i18n_example.cxx ...
Linguas ... po/ar
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
[cut]
Linguas ... po/zh_CN
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
Compiling fl_i18n.cxx ...
fl_i18n.cxx: In function ‘int fl_set_codeset_(const char*, const char*, char*, char*, int)’:
fl_i18n.cxx:85: warning: format not a string literal and no format arguments
fl_i18n.cxx:114: warning: format not a string literal and no format arguments
fl_i18n.cxx:114: warning: format not a string literal and no format arguments
fl_i18n.cxx: In function ‘int fl_initialise_locale(const char*, const char*, int)’:
fl_i18n.cxx:227: warning: format not a string literal and no format arguments
fl_i18n.cxx:227: warning: format not a string literal and no format arguments
fl_i18n.cxx:237: warning: format not a string literal and no format arguments
fl_i18n.cxx:237: warning: format not a string literal and no format arguments
Verknuepfen libfl_i18n.a ...
Verknuepfen fl_i18n_example ... fl_i18n_example.o
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../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-r1/work/cinepaint-0.22-1/plug-ins/icc_examin/icc_examin/fl_i18n'
Verknuepfen iccexamin ...
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../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]: Leaving directory `/var/tmp/portage/media-video/cinepaint-0.22.1-r1/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-r1/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-r1/work/cinepaint-0.22-1/plug-ins'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-video/cinepaint-0.22.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
Comment 3 Martin Mokrejš 2009-04-07 11:18:33 UTC
Created attachment 187551 [details]
build.log

Something went wrong on my system. I see g++ was used and sometimes icc.
Comment 4 Martin Mokrejš 2009-04-07 11:20:14 UTC
Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1 i686)
=================================================================
System uname: Linux-2.6.29.1-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Apr 2009 17:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.8
sys-devel/autoconf:  2.13, 2.63-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.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs cz"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage /usr/local/java-experimental /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache2 audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo cblas cddb cdparanoia cdr clamav cli colordiff compress cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat fam fame fat fbcon ffmpeg fftw firefox flac flash foomaticdb fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtkhtml hal hdf hdf5 hp2xx i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb isdnlog ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos lame lapack laptop lcms leim libcaca libedit libnotify libwww live lzo lzw mad maildir matroska mhash midi mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mpich2 mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3 qt3support qt4 quicktime rar raw readline recode reflection reiserfs rpm samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl startup-notification subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads tidy tiff tk transcode truetype unicode urandom usb userlocales uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcf xfs xft xinerama xinetd xml xorg xpm xprint xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Mike 2009-04-08 11:22:41 UTC
Yep, got to the same problem i guess, and there's already a bugreport about it,
http://bugs.gentoo.org/246374

At this point i stopped trying to make it work, i don't really need cinepaint right now. You could check their mailing lists/CVS though, they might've fixed this upstream, aswell, or just try to check out and build a cvs version.

They really should make a release with this stuff fixed, no idea why they don't...

Anyway, as you seem to have the same problem as http://bugs.gentoo.org/246374 , and the ambigious problem in the title is fixed, i guess you should mark this bug here as fixed.
Comment 6 Martin Mokrejš 2009-04-08 16:55:17 UTC
I don't need it either I think. ;-)
Comment 7 Honza Macháček 2009-12-28 18:18:19 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 8 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-17 15:56:36 UTC
treecleaned