gdip.h:729: warning: type defaults to `int' in declaration of `config' gdip.h:729: warning: data definition has no type or storage class gdip.h:730: error: parse error before '}' token gdip.h:730: warning: type defaults to `int' in declaration of `GpFontCollection' gdip.h:730: warning: data definition has no type or storage class gdip.h:734: error: parse error before "FcPattern" gdip.h:734: warning: no semicolon at end of struct or union gdip.h:736: error: parse error before '}' token gdip.h:736: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:736: warning: data definition has no type or storage class gdip.h:744: error: parse error before "FT_Library" gdip.h:744: warning: no semicolon at end of struct or union gdip.h:745: warning: type defaults to `int' in declaration of `GpFont' gdip.h:745: warning: data definition has no type or storage class gdip.h:838: error: parse error before '*' token gdip.h:838: warning: type defaults to `int' in declaration of `GDIP_display' gdip.h:838: warning: data definition has no type or storage class gdip.h:1015: warning: type defaults to `int' in declaration of `GpFont' gdip.h:1015: error: parse error before '*' token gdip.h:1016: warning: type defaults to `int' in declaration of `GpFont' gdip.h:1016: error: parse error before '*' token gdip.h:1044: error: parse error before '*' token gdip.h:1045: error: parse error before '*' token gdip.h:1046: error: parse error before '*' token gdip.h:1047: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1047: error: parse error before '*' token gdip.h:1048: error: parse error before '*' token gdip.h:1049: error: parse error before '*' token gdip.h:1050: error: parse error before '*' token gdip.h:1051: error: parse error before '*' token gdip.h:1052: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1052: error: parse error before '*' token gdip.h:1053: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1053: error: parse error before '*' token gdip.h:1054: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1054: error: parse error before '*' token gdip.h:1055: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1055: error: parse error before '*' token gdip.h:1056: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1056: error: parse error before '*' token gdip.h:1057: error: parse error before '*' token gdip.h:1058: error: parse error before '*' token gdip.h:1059: error: parse error before '*' token gdip.h:1063: warning: type defaults to `int' in declaration of `GpFontFamily' gdip.h:1063: error: parse error before '*' token gdip.h:1064: error: parse error before "GpFontCollection" gdip.h:1065: error: parse error before '*' token In file included from bitmap.c:28: gdip.h:1166: warning: parameter has incomplete type In file included from bitmap.c:29: gdip_win32.h:176: error: parse error before '*' token make[2]: *** [bitmap.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.0.5-r1/work/libgdiplus-1.0.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.0.5-r1/work/libgdiplus-1.0.5' make: *** [all] Error 2 !!! ERROR: dev-dotnet/libgdiplus-1.0.5-r1 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 10:03:47)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r2, 1.4_p6, 1.9.4, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd encode esd f77 fam flac font-server foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please report back what version of cairo you have installed. My wild stab in the dark is that you have cairo-0.3.0 installed, which changed things for libgdiplus. Thanks.
Yes, you are right! I have installed cairo-0.3.0 ;) ...
Created attachment 49737 [details, diff] Patch to add compatibility with cairo-0.3.0 Patch that should make libgdiplus-1.0.5 work against cairo-0.3.0
Created attachment 49738 [details] libgdiplus-1.0.5-r2.ebuild Ebuild that applies the patch, and has an updated dependancy on cairo-0.3.0, please give this a test and report back if this works for you. Thanks.
I 've tested your libgdiplus-1.0.5-r2 ebuild - works perfectly :) ! Please submit it to the portage tree - ...and thanks for fixing the problem.
Ok, just add this -r2 to portage. Marking FIXED.
bug closed as it has been fixed and tested