Making all in psd make[2]: Entering directory `/var/tmp/portage/cinepaint-0.18.3/work/cinepaint-0.18-3/plug-ins/psd' if gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../.. -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -MT psd.o -MD -MP -MF ".deps/psd.Tpo" \ -c -o psd.o `test -f 'psd.c' || echo './'`psd.c; \ then mv ".deps/psd.Tpo" ".deps/psd.Po"; \ else rm -f ".deps/psd.Tpo"; exit 1; \ fi psd.c:1769:4: warning: "/*" within comment psd.c:468: error: conflicting types for 'psd_type_to_gimp_type' psd.c:302: error: previous declaration of 'psd_type_to_gimp_type' was here psd.c:468: error: conflicting types for 'psd_type_to_gimp_type' psd.c:302: error: previous declaration of 'psd_type_to_gimp_type' was here psd.c: In function `load_image': psd.c:2282: warning: unused variable `i' psd.c: At top level: psd.c:302: warning: 'psd_type_to_gimp_type' declared `static' but never defined psd.c:543: warning: 'psd_unit_to_gimp_unit' defined but not used make[2]: *** [psd.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/cinepaint-0.18.3/work/cinepaint-0.18-3/plug-ins/psd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinepaint-0.18.3/work/cinepaint-0.18-3/plug-ins' make: *** [all-recursive] Error 1 !!! ERROR: media-video/cinepaint-0.18.3 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. 2. 3. escargot mediawiki # emerge info Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo) ================================================================= System uname: 2.6.8-gentoo i686 AMD Athlon(TM) XP 1700+ Gentoo Base System version 1.5.2 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt codecscrypt cscope cups dba dga directfb divx4linux doc dv dvb dvd encode esd evms2 faac faad fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gd gdbm ggi gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww linguas_en_US linguas_es linguas_ru linguas_zh_CN linguas_zh_TW live mad maildir md5sum mdb mikmod mmx mng motif mozdomi mozilla mozsvg mpeg mpeg4 mulemysql nas ncurses net nls nptl nvidia offensive oggvorbis opengl oss pam pdflib perl pic png posix postgres python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svg svga tcltk tcpd tetex theora threads tiff transcode truetype unicode usb v4l vhosts virus-scan x86 xine xinerama xml2 xmms xv xvid zeo zlib" escargot mediawiki # Āiff.c:967:33: warning: multi-character character constantl1ࡂng/rhe(࠺ 牡AࡈCA"s @! ɛ㽘ࡆE=e x ࡁࡄ -- and that is an interesting bug here at the end! hopefully it doesn't screw bugzilla with the special characters!
Source code error, i've send patch to cinepaint developers If gentoo want a patch say me how i must do it to meet his req. Luca Benini
looks like misplaced prototype
Could you publish this patch here? Kwant
Hi, same problem for me with gcc version 3.4.3. I would also be pleased if I could have access to this patch, thanks.
Created attachment 47639 [details, diff] Fixes compile errors for gcc3.4
Created attachment 47640 [details] Ebuild including the above patch
Created attachment 47649 [details] Ebuild including the above patch oops, forgot to remove KEYWORDS that weren't before.
it compiles fine and works so far, but this is really strange: --- /usr/ --- /usr/lib/ --- /usr/lib/cinepaint/ --- /usr/lib/cinepaint/0.18-3/ --- /usr/lib/cinepaint/0.18-3/plug-ins/ >>> /usr/lib/cinepaint/0.18-3/plug-ins/blur ... there is no /usr/bin/cinepaint using FEATURES="keepwork" emerge cinepaint i can execute it successfully with /var/tmp/portage/cinepaint-0.18.3/work/cinepaint-0.18-3/app/cinepaint
Weird, I don't see that problem..
it works on amd64, i've tested it and the binary is getting installed. i've added the patch to the tree. thanks.
*** Bug 116039 has been marked as a duplicate of this bug. ***
*** Bug 117213 has been marked as a duplicate of this bug. ***