I can't emerge libgdiplus-1.1.5 on my ~ppc Gentoo Reproducible: Always Steps to Reproduce: 1.emerge libgdiplus 2. 3. Actual Results: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Wno-unused -Wno-format -Os -mcpu=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fno-strict-aliasing -pipe -pthread -MT gifcodec.lo -MD -MP -MF .deps/gifcodec.Tpo -c gifcodec.c -fPIC -DPIC -o .libs/gifcodec.o powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Wno-unused -Wno-format -Os -mcpu=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fno-strict-aliasing -pipe -pthread -MT pngcodec.lo -MD -MP -MF .deps/pngcodec.Tpo -c pngcodec.c -o pngcodec.o >/dev/null 2>&1 gifcodec.c:515: error: conflicting types for 'gdip_save_gif_image_to_file' gifcodec.h:24: error: previous declaration of 'gdip_save_gif_image_to_file' was here gifcodec.c:515: error: conflicting types for 'gdip_save_gif_image_to_file' gifcodec.h:24: error: previous declaration of 'gdip_save_gif_image_to_file' was here make[2]: *** [gifcodec.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.5/work/libgdiplus-1.1.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.5/work/libgdiplus-1.1.5' make: *** [all] Error 2 !!! ERROR: dev-dotnet/libgdiplus-1.1.5 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3-sleep ppc) ================================================================= System uname: 2.6.11-gentoo-r3-sleep ppc 7447A, altivec supported Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 30 2005, 15:42:48)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-Os -mcpu=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.eliteitminds.com ftp://194.117.143.69/mirrors/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="GAPING_SECURITY_HOLE S3TC X aac aalib alsa altivec apache2 bash-completion berkdb bitmap-fonts bluetooth bootsplash cdparanoia cdr codecs crypt cscope css cups curl divx4linux dmx dts dvd dvdr dvdread emboss encode esd ethereal fam fbcon flac font-server foomaticdb fortran gdbm ggi gif gimp gimpprint glitz gmail gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl icq icu ieee1394 imagemagick imap imlib ipv6 jabber java javascript jpeg junit lcd ldap libwww mad mime mng mono mozilla moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer msn mysql nas ncurses nls nntp no-old-linux nowin odbc offensive oggvorbis opengl oss pam perl png ppc ppds python readline ruby samba scanner sdl snmp socks5 softmmu spell sqlite ssl svg tcpd tetex theora tiff tools truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vim vim-with-x vnc wmf xanim xine xml xml2 xmms xprint xscreensaver xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Yeah, this is a problem that I'd seen with the code paths when you don't have GIF support. For now, i suggest you re-emerge giflib, and try again with USE="gif". I'll try to get a patch worked up that fixes the non-GIF stuff though.
I've gif support installed, but emerge --deep world doesn't require giflib update, now I'll try to update manually giflib mekare ~ # emerge --deep world -pv These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild UD] media-gfx/gimp-print-4.2.7 [5.0.0_beta3] +cups +foomaticdb +gtk +nls +ppds +readline 0 kB [ebuild U ] dev-dotnet/libgdiplus-1.1.5 [1.1.4] +gif +jpeg +png +tiff 0 kB [ebuild N ] gnome-extra/evolution-data-server-1.2.1 -debug -doc +ipv6 -kerberos +ldap +mozilla +nntp +ssl 0 kB [ebuild U ] sys-libs/ncurses-5.4-r6 [5.4-r5] -bootstrap -build -debug -doc +gpm* -minimal -nocxx +unicode 0 kB [ebuild U ] net-misc/rsync-2.6.3-r1 [2.6.0-r4] -acl -build -debug +ipv6* -static 0 kB [ebuild U ] sys-apps/debianutils-2.13.1-r1 [1.16.7-r4] -build -debug -static 0 kB [ebuild U ] sys-apps/coreutils-5.2.1-r5 [5.2.1-r4] -acl -build -debug +nls (-selinux) -static (-uclibc) 0 kB [ebuild U ] sys-apps/findutils-4.2.20 [4.1.20-r1] (-afs) -build -debug +nls* (-selinux) -static 0 kB [ebuild U ] www-client/mozilla-firefox-1.0.2-r1 [1.0.2] -debug +gnome* +java +ldap -mozdevelop -moznoxft +mozsvg +mozxmlterm -xinerama +xprint 0 kB [ebuild U ] app-cdr/k3b-0.11.23 [0.11.22] -arts -debug +dvdr +encode +flac -kde -kdeenablefinal +mad +oggvorbis -xinerama 0 kB [ebuild U ] sys-devel/m4-1.4.2-r1 [1.4.1] +nls 0 kB [ebuild U ] app-laptop/pbbuttonsd-0.6.8 [0.6.7] 0 kB [ebuild U ] sys-devel/libperl-5.8.6 [5.8.5] +berkdb -debug +gdbm -ithreads -nocxx (-uclibc) 0 kB [ebuild U ] dev-lang/perl-5.8.6-r4 [5.8.5-r5] +berkdb -debug -doc +gdbm -ithreads -perlsuid (-uclibc) 0 kB [ebuild U ] media-libs/swfdec-0.3.2 [0.2.2-r1] +X +gtk +mad +mozilla +sdl 0 kB mekare ~ # emerge -pv giflib These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/giflib-4.1.3 [4.1.0-r3] +X +gif 556 kB Total size of downloads: 556 kB
Created attachment 54871 [details, diff] Patch to fix building without giflib
Created attachment 54872 [details, diff] Diff to the libgdiplus ebuild Ok, can you try putting the patch from the previous attachemt into the files dir for libgdiplus, and apply this patch to the 1.1.5 ebuild, and see if this solves things for you with USE="-gif" ? Thanks.
I've solved manually emerging for update giflib I'm interested in a +gif USE flag For traying this patch I've to unmerge giflib and libgdiplus?
No, just add -gif to your USE flags just and re-emerge libgdiplus to try it.
the patch works well
ok. fixed in portage. Thanks.