Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7041 - On 1.4b I cannot emerge mpeg-tools
Summary: On 1.4b I cannot emerge mpeg-tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-26 02:43 UTC by Magnus
Modified: 2003-02-04 19:42 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 Magnus 2002-08-26 02:43:23 UTC
On my 1.4b with gcc 3.2 and binutils 2.13.90.0.4 I cannot emerge mpeg-tools or 
almost any other package that you get with 'emerge -s mpeg'.

I alway get this error:
>>> Source unpacked. 
gcc -Iheaders -I/usr/include -Ijpeg -O -Wall -Wmissing-prototypes     -c -o 
mfwddct.o mfwddct.c 
cc1: warning: changing search order for system directory "/usr/include" 
cc1: warning:   as it has already been specified as a non-system directory 
In file included from headers/all.h:83, 
                 from mfwddct.c:18: 
headers/libpnmrw.h:24: conflicting types for `malloc' 
/usr/include/malloc.h:121: previous declaration of `malloc' 
make: *** [mfwddct.o] Fehler 1 

!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 3, Exitcode 2 
!!! (no error message) 

!!! emerge aborting on  /usr/portage/media-video/mpeg-tools/mpeg-tools-
1.5b.ebuild .
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-27 15:23:53 UTC
Hmm.. yes, it appears that the mpeg-tools define their own version of malloc,
for some reason.

Are you versed enough in C to provide a patch ?
Comment 2 phoen][x 2002-08-28 01:24:31 UTC
I have the same problem over here karltk. Catch me in irc and i can give you an 
ssh login (if you need one for testing).

-phoen][x-
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-28 07:49:45 UTC
I've removed their stupid malloc redef and now it works.