Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4490 - gst-plugins-0.3.4 won't build....gcc 3.1 issue ?
Summary: gst-plugins-0.3.4 won't build....gcc 3.1 issue ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gabriele Giorgetti
URL:
Whiteboard:
Keywords:
: 4935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-03 13:31 UTC by Rigo
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 Rigo 2002-07-03 13:31:27 UTC
make[3]: Entering directory
`/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext/arts'
source='gst_arts.c' object='libgstarts_la-gst_arts.lo' libtool=yes \
depfile='.deps/libgstarts_la-gst_arts.Plo'
tmpdepfile='.deps/libgstarts_la-gst_arts.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I../..    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2  
-I../../gst-libs -Werror -O2 -mcpu=i686 -pipe -c -o libgstarts_la-gst_arts.lo
`test -f gst_arts.c || echo './'`gst_arts.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I../../gst-libs -Werror -O2 -mcpu=i686 -pipe -c
gst_arts.c -MT libgstarts_la-gst_arts.lo -MD -MP -MF
.deps/libgstarts_la-gst_arts.TPlo  -fPIC -DPIC -o libgstarts_la-gst_arts.o
gst_arts.c:34:3: multi-line string literals are deprecated
make[3]: *** [libgstarts_la-gst_arts.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext/arts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4'
make: *** [all] Error 2


Is this gcc 3 related ?
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-07-11 20:08:41 UTC
The stupid program is running with -Werror, and using multi-line-string-literals
... ... taking out -Werror it will work
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-07-12 20:29:40 UTC
I'm giving this one to someone else cuz right now I can't even get mjpeg tools
(a dep of this) to build...  Please test hacking the makefile to remove -Werror
as I mentioned above, that should do it... but as I said, I can't test.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-13 04:35:06 UTC
*** Bug 4935 has been marked as a duplicate of this bug. ***
Comment 4 Rigo 2002-08-01 15:55:12 UTC
Removing -Werror gets me further, but it ends like this now:

-gstflac.TPlo  -fPIC -DPIC -o libgstflac_la-gstflac.lo
gstflacenc.c:59: warning: type defaults to `int' in declaration of
`FLAC__StreamMetaData'
gstflacenc.c:59: parse error before '*' token
gstflacenc.c:173: warning: type defaults to `int' in declaration of
`FLAC__StreamMetaData'
gstflacenc.c:173: parse error before '*' token
gstflacenc.c: In function `gst_flacenc_metadata_callback':
gstflacenc.c:178: `client_data' undeclared (first use in this function)
gstflacenc.c:178: (Each undeclared identifier is reported only once
gstflacenc.c:178: for each function it appears in.)
gstflacenc.c:184: `metadata' undeclared (first use in this function)
make[3]: *** [libgstflac_la-gstflacenc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0/ext/flac'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0'
make: *** [all] Error 2

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

!!! emerge aborting on  /usr/portage/media-libs/gst-plugins/gst-plugins-0.4.0.ebuild
Comment 5 Spider (RETIRED) gentoo-dev 2002-09-03 14:04:22 UTC
note: the current gst-plugins has been fixed to ignore flac and thus wont break
on compile anymore 
Comment 6 Rigo 2002-09-03 14:16:56 UTC
worked for me...