Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82850 - libgdiplus-1.0.6 build failure
Summary: libgdiplus-1.0.6 build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 11:04 UTC by Stuart Shelton
Modified: 2005-02-24 21:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2005-02-21 11:04:19 UTC
From libgdiplus-1.0.6 build log:

...

mkdir .libs
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe -pthread -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c adjustablearrowcap.c  -fPIC -DPIC -o .libs/adjustablearrowcap.o
mkdir: cannot create directory `.libs': File exists
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe -pthread -MT bitmap.lo -MD -MP -MF .deps/bitmap.Tpo -c bitmap.c  -fPIC -DPIC -o .libs/bitmap.o
In file included from bitmap.c:28:
gdip.h:727: error: parse error before "FcFontSet"
gdip.h:727: warning: no semicolon at end of struct or union
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 adjustablearrowcap.c:27:
gdip.h:727: error: parse error before "FcFontSet"
gdip.h:727: warning: no semicolon at end of struct or union
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
In file included from adjustablearrowcap.c:27:
gdip.h:1166: warning: parameter has incomplete type
adjustablearrowcap.c: In function `gdip_adjust_arrowcap_clone_cap':
adjustablearrowcap.c:75: warning: implicit declaration of function `memcpy'
make[2]: *** [adjustablearrowcap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [bitmap.lo] Error 1
make[2]: Leaving directory `/usr/tmp/portage/libgdiplus-1.0.6/work/libgdiplus-1.0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/tmp/portage/libgdiplus-1.0.6/work/libgdiplus-1.0.6'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/libgdiplus-1.0.6 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Is this the same problem as Bug 79559 was with libgdiplus-1.0.5?

I have cairo-0.3.0, glitz-0.2.3 installed.

Emerge info:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r6,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 10:05:03)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r6, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo    http://ftp.heanet.ie/pub/gentoo   http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aalib accessibility acl acpi adns alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo caps cdr crypt cscope cups curl dedicated dga directfb divx4linux dv dvd dvdread eds emboss encode esd ethereal evo f77 faac faad fam fastcgi fbcon fftw firebird flac flash font-server foomaticdb fortran freetds freetype gb gcj gd gdbm ggi gif glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo imagemagick imap imlib informix innodb ipv6 jack java javamail javascript joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca lcms ldap libcaca libg++ libgda libwww lzo mad maildir mailwrapper makecheck matroska mbox mcal memlimit mikmod milter mmap mmx mng mono motif mozilla mp3 mpeg mpi mssql multislot mysql nas ncurses net network nls nntp nptl oci8 odbc oggvorbis openal opengl oss pam pcmcia pcre pdflib perl pic plotutils png pnp portaudio postgres ppds prelude python qdbm qt quicktime readline real samba sasl scanner sdl silc skey slang slp sndfile snmp socks5 speex spell sqlite sse sse2 ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l wmf wxwindows xanim xface xim xinerama xml xml2 xmms xosd xprint xv xvid zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-02-21 11:24:46 UTC
If you intend to use the package.masked cairo, please also use the package.masked libgdiplus-1.0.6-r1, which should have full compatibility with the newer cairo. Please test that and report back. Thanks.
Comment 2 Stuart Shelton 2005-02-21 11:47:50 UTC
Ah... Cairo wasn't package.mask'd when I installed it and I didn't realise it had reverted since.

Trying now...
Comment 3 Stuart Shelton 2005-02-21 11:53:27 UTC
Yep - works just fine, thanks!
Comment 4 Colin Macdonald 2005-02-24 18:50:30 UTC
Reopen?  Cairo is unmasked again and this bug is back.
Comment 5 Colin Macdonald 2005-02-24 18:56:54 UTC
libgdiplus-1.0.6-r1 seems to work.  I guess it just needs to be unmasked judging from the comment in package.mask
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 21:09:20 UTC
Unmasked. sorry for the delay, I got ciaro ready for unmasking and did it, but forgot to unmask the corresponding libgdiplus versions.