Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172424 - media-video/gephex-0.4.3 does not build : common.h:67: error: array type has incomplete element type
Summary: media-video/gephex-0.4.3 does not build : common.h:67: error: array type has ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-27 15:25 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2008-12-12 16:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,4.58 KB, text/plain)
2007-03-27 15:25 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
media-video:gephex-0.4.3:20070327-151642.log (media-video:gephex-0.4.3:20070327-151642.log,23.87 KB, text/plain)
2007-03-27 15:26 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-27 15:25:34 UTC
gcc -O3 -g -Wall -O2 -march=athlon-mp -pipe -mmmx -msse -m3dnow -I. -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o ffmpeg.c
In file included from avcodec.h:15,
                 from common.c:29:
common.h:67: error: array type has incomplete element type
common.h:71: error: array type has incomplete element type
make[4]: *** [common.o] Error 1
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-27 15:25:53 UTC
Created attachment 114625 [details]
/tmp/emerge--info
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-27 15:26:17 UTC
Created attachment 114626 [details]
media-video:gephex-0.4.3:20070327-151642.log
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-27 15:30:50 UTC
Is this related to bug #112686 ? I dont think so, but ...
Comment 4 mimosinnet 2008-11-23 12:43:15 UTC
Same when emerging media-video/gephex-0.4.3. This is the error given:

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3'
Making all in contrib
make[2]: Entering directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib'
cd ffmpeg && make all
make[3]: Entering directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg'
make -C libavcodec all
make[4]: Entering directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec'
gcc -O3 -g -Wall -march=prescott -O2 -pipe -ggdb -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c 
gcc -O3 -g -Wall -march=prescott -O2 -pipe -ggdb -I. -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o ffmpeg.c 
gcc -O3 -g -Wall -march=prescott -O2 -pipe -ggdb -I. -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec -I/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o cmdutils.c 
In file included from avcodec.h:15,
                 from common.c:29:
common.h:67: error: el tipus array té tipus d'element incomplet
common.h:71: error: el tipus array té tipus d'element incomplet
make[4]: *** [common.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec'
make[3]: *** [lib] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/avcodec.h:15,
                 from /var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavformat/avformat.h:17,
                 from cmdutils.c:21:
/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/common.h:67: error: el tipus array té tipus d'element incomplet
/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/common.h:71: error: el tipus array té tipus d'element incomplet
make[3]: *** [cmdutils.o] Error 1
In file included from /var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/avcodec.h:15,
                 from /var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavformat/avformat.h:17,
                 from ffmpeg.c:22:
/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/common.h:67: error: el tipus array té tipus d'element incomplet
/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg/libavcodec/common.h:71: error: el tipus array té tipus d'element incomplet
make[3]: *** [ffmpeg.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib/ffmpeg'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3/contrib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/gephex-0.4.3/work/gephex-0.4.3'
make: *** [all] Error 2
Comment 5 mimosinnet 2008-11-23 13:02:40 UTC
Sorry for the lenght of the above post, I have not payed attention to "Create a New Attachment" to include the output of the emerge.

The ebuild emerges successfully with:

USE="-ffmpeg" emerge -av gephex

Cheers!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-12-12 16:20:53 UTC
It bundles a own copy of FFMPEG, disabled the entire feature from this old ebuild thus closing this bug. It has a security issues wrt #231831.