Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132024 - media-libs/smpeg-0.4.4-r8 fails to compile on Gentoo/FreeBSD
Summary: media-libs/smpeg-0.4.4-r8 fails to compile on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 07:53 UTC by Robert Sebastian Gerus
Modified: 2006-05-02 15:11 UTC (History)
0 users

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 Robert Sebastian Gerus 2006-05-02 07:53:08 UTC
Compilation of media-libs/smpeg-0.4.4-r8 fails on Gentoo/FreeBSD due to broken #include <malloc.h>

if i686-gentoo-freebsd6.1-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.     -I/usr/include/SDL -D_REENTRANT -D_THREAD_SAFE -DUSE_MMX -DTHREADED_AUDIO -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/X11R6/include -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -O2 -march=i686 -pipe -MT glmovie-tile.o -MD -MP -MF ".deps/glmovie-tile.Tpo" -c -o glmovie-tile.o glmovie-tile.c; \
        then mv -f ".deps/glmovie-tile.Tpo" ".deps/glmovie-tile.Po"; else rm -f ".deps/glmovie-tile.Tpo"; exit 1; fi
In file included from glmovie-tile.c:19:
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake[1]: *** [glmovie-tile.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r8/work/smpeg-0.4.4'
gmake: *** [all-recursive] Error 1

!!! ERROR: media-libs/smpeg-0.4.4-r8 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  smpeg-0.4.4-r8.ebuild, line 63:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-02 15:11:23 UTC
Patch added.