Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60753 - cinepaint-0.18.3 failed to compile gcc 3.4.1 -wall
Summary: cinepaint-0.18.3 failed to compile gcc 3.4.1 -wall
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:
Keywords:
: 116039 117213 (view as bug list)
Depends on:
Blocks: 61885
  Show dependency tree
 
Reported: 2004-08-18 03:10 UTC by Aaron Peterson
Modified: 2005-12-30 08:44 UTC (History)
4 users (show)

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


Attachments
Fixes compile errors for gcc3.4 (cinepaint-gcc34.patch,1.44 KB, patch)
2005-01-04 13:22 UTC, Daniel Karlsson
Details | Diff
Ebuild including the above patch (cinepaint-0.18.3.ebuild,826 bytes, text/plain)
2005-01-04 13:24 UTC, Daniel Karlsson
Details
Ebuild including the above patch (cinepaint-0.18.3.ebuild,819 bytes, text/plain)
2005-01-04 14:24 UTC, Daniel Karlsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2004-08-18 03:10:56 UTC
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!
Comment 1 Luca Benini 2004-11-10 00:07:29 UTC
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

Comment 2 SpanKY gentoo-dev 2004-12-06 20:55:17 UTC
looks like misplaced prototype
Comment 3 kwant 2004-12-17 01:59:12 UTC
Could you publish this patch here?

Kwant
Comment 4 Stéphane Gimenez 2004-12-29 14:06:48 UTC
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.
Comment 5 Daniel Karlsson 2005-01-04 13:22:56 UTC
Created attachment 47639 [details, diff]
Fixes compile errors for gcc3.4
Comment 6 Daniel Karlsson 2005-01-04 13:24:43 UTC
Created attachment 47640 [details]
Ebuild including the above patch
Comment 7 Daniel Karlsson 2005-01-04 14:24:44 UTC
Created attachment 47649 [details]
Ebuild including the above patch

oops, forgot to remove KEYWORDS that weren't before.
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2005-01-05 07:46:37 UTC
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
Comment 9 Daniel Karlsson 2005-01-06 13:39:52 UTC
Weird, I don't see that problem..
Comment 10 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-13 12:35:04 UTC
it works on amd64, i've tested it and the binary is getting installed. i've added the patch to the tree. thanks.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-12-19 10:47:16 UTC
*** Bug 116039 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 08:44:50 UTC
*** Bug 117213 has been marked as a duplicate of this bug. ***