<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>130340</bug_id>
          
          <creation_ts>2006-04-18 02:47 0000</creation_ts>
          <short_desc>media-libs/gle-3.0.1-r2 does not compile on Gentoo/FreeBSD</short_desc>
          <delta_ts>2006-04-18 07:42:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>FreeBSD</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>GNU/kFreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>twominds@iol.it</reporter>
          <assigned_to>bsd@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>twominds@iol.it</who>
            <bug_when>2006-04-18 02:47:19 0000</bug_when>
            <thetext>Steps to reproduce:
1) emerge gle

gmake  all-recursive
gmake[1]: Entering directory `/var/tmp/portage/gle-3.0.1-r2/work/gle-3.0.1&apos;
Making all in src
gmake[2]: Entering directory `/var/tmp/portage/gle-3.0.1-r2/work/gle-3.0.1/src&apos;
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -Wall -c ex_angle.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -Wall -c ex_angle.c  -fPIC -DPIC -o .libs/ex_angle.lo
In file included from ex_angle.c:19:
/usr/include/malloc.h:3:2: #error &quot;&lt;malloc.h&gt; has been replaced by &lt;stdlib.h&gt;&quot;
gmake[2]: *** [ex_angle.lo] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/gle-3.0.1-r2/work/gle-3.0.1/src&apos;
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/gle-3.0.1-r2/work/gle-3.0.1&apos;
gmake: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/gle-3.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  gle-3.0.1-r2.ebuild, line 20:   Called die

# emerge --info
Portage 2.1_pre7-r5 (default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r1, 6.0-RELEASE i386)
=================================================================
System uname: 6.0-RELEASE i386 i386
Gentoo Base System version 20060414
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.0
ACCEPT_KEYWORDS=&quot;x86 x86-fbsd ~x86 ~x86-fbsd&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-gentoo-freebsd6.0&quot;
CFLAGS=&quot;-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer&quot;
CHOST=&quot;i686-gentoo-freebsd6.0&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/mnt/distfiles&quot;
FEATURES=&quot;autoconfig candy ccache collision-protect distlocks metadata-transfer sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://192.168.0.1 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage/portage-alt-overlay /usr/local/portage/portage-twominds&quot;
SYNC=&quot;rsync://192.168.0.1/gentoo-portage&quot;
USE=&quot;x86-fbsd 3dnow X a52 acpi apm arts audiofile bzip2 cdr cups dvd dvdr dvdread ffmpeg fortran gdbm gif glitz gs gtk jpeg kde lzo mad mjpeg mmx mp3 mpeg musicbrainz ncurses nls offensive ogg opengl oss pam perl pic png ppds profile python qt quicktime readline sdl sndfile sse sse2 ssl suid theora threads tiff truetype unicode usb vorbis xcomposite xml xmms xv xvid zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD userland_BSD video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_none&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2006-04-18 07:42:31 0000</bug_when>
            <thetext>Fixed replacing malloc.h inclusion with stdlib.h with a sed line.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>