Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 160164

Summary: [STABLE REQUEST] =dev-dotnet/libgdiplus-1.2.2
Product: Gentoo Linux Reporter: Saleem Abdulrasool (RETIRED) <compnerd>
Component: New packagesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: kim, ticho
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 160000    
Bug Blocks: 159886    

Description Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-05 00:29:11 UTC
Needed for mono-1.2.2.1 stablization
Comment 1 Matthias Geerdsen (RETIRED) gentoo-dev 2007-01-06 13:45:05 UTC
unrestricting

is this bug needed? CC: list is empty
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-06 15:54:17 UTC
CCing arches, as there is a security bug for mono...please fix AUTOTOOLS bugs.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2007-01-06 17:15:39 UTC
In x86:

Emerges and seems to work. Emerged mono with it, and no problems.

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Sat, 06 Jan 2007 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mtune=athlon-tbird  -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-tbird -mtune=athlon-tbird  -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LC_ALL="en_US.ISO-8859-15"
MAKEOPTS="-j2"
PKGDIR="/tmp/lea/var/tmp/binpkgs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --dele
te --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.belnet.be/packages/gentoo-portage"
USE="x86 X alsa_cards_pcsp alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plug
ins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_
pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_i
oplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_p
cm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate a
lsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bitmap-fonts bzi
p2 cairo cdr cli cracklib crypt dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode fam firefox fortra
n gif gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jp
eg kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nptl nptlonly ogg opengl pam pcre perl png ppds ppp
d python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1
-fonts udev unicode userland_GNU video_cards_vesa vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Scott Van Der Wall 2007-01-06 18:59:58 UTC
dev-dotnet/libgdiplus-1.2.2 [1.1.13.2] USE="jpeg -exif% -gif -tiff (-png%*)"

on x86:
1: emerges fails with

bitmap-font.o: In function `draw':
bitmap-font.c:(.text+0x108): undefined reference to `cairo_font_face_destroy'
bitmap-font.c:(.text+0x16d): undefined reference to `cairo_font_face_destroy'
collect2: ld returned 1 exit status
make[3]: *** [bitmap-font] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgdiplus-1.2.2/work/libgdiplus-1.2.2/cairo/test'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.2.2/work/libgdiplus-1.2.2/cairo/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.2.2/work/libgdiplus-1.2.2/cairo'
make: *** [check-recursive] Error 1

!!! ERROR: dev-dotnet/libgdiplus-1.2.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 616:   Called die

emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r5 i686)
=================================================================
System uname: 2.6.18-gentoo-r5 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 06 Jan 2007 17:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus divx dlloader dri dvd dvdread elibc_glibc emacs encode ffmpeg firefox flac fortran gdbm gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog ithreads java jpeg jpeg2k kernel_linux ldap libg++ mad mmx mmxext mono mp3 mp4 mpeg mplayer ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl oss pam pcre perl png ppds pppd python quicktime readline realmedia reflection session spl sse sse2 sse3 ssl tcpd test threads truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_nvidia vidix win32codecs wmf wmp x264 xine xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-07 19:05:07 UTC
ppc stable
Comment 6 Kim Højgaard-Hansen 2007-01-08 13:55:21 UTC
compiles fine on my x86 with: 
 USE="gif jpeg -exif -tiff"

but get this:

WARN: unpack
QA Notice: ${WANT_AUTOCONF} variable unset. Please report on http://bugs.gentoo.org/
Comment 7 Scott Van Der Wall 2007-01-08 16:59:40 UTC
ok even with dev-dotnet/libgdiplus-1.2.2 USE="gif jpeg -exif% -tiff (-png%*)" the compilation still fails with my same error as before.

@ Kim: what use flags do you have enabled for cairo?
Comment 8 Kim Højgaard-Hansen 2007-01-08 17:35:56 UTC
it compiles on my amd64 as well with:

USE="-exif gif jpeg tiff"

I have cairo on this machine as:

x11-libs/cairo-1.2.4  USE="X png -directfb -doc -glitz -svg"
Comment 9 Kim Højgaard-Hansen 2007-01-09 11:27:15 UTC
@scott

I have this on my x86: 

x11-libs/cairo-1.2.4  USE="X png svg -directfb -doc -glitz"

Comment 10 Scott Van Der Wall 2007-01-09 18:36:52 UTC
I added svg to the use flag for cairo and this now compiles fine.  svg on cairo needs to be a dependency for this package else it fails to install.
Comment 11 Scott Van Der Wall 2007-01-09 18:39:03 UTC
(In reply to comment #10)
> I added svg to the use flag for cairo and this now compiles fine.  svg on cairo
> needs to be a dependency for this package else it fails to install.
> 

jumped the gun on that, it compiled alright, but still fails to install on my machine.
Comment 12 Kim Højgaard-Hansen 2007-01-10 13:40:47 UTC
i was just told to use FEATURES="test" when testing for stable, so I guess that is my mistake... sorry about that, didn't know

the test for amd64 must also be done again, will do tonight...

but now i can reproduce your error Scott :) but I also get the error with USE="svg" for cairo now...
Comment 13 Andrej Kacian (RETIRED) gentoo-dev 2007-01-14 02:09:00 UTC
libgdiplus ships (and links to) its own version of cairo - that's why remerging cairo from portage won't change anything
Comment 14 Olivier Crete (RETIRED) gentoo-dev 2007-01-14 02:59:09 UTC
the tests fail...  but I'm marking it stable anyways on amd64