Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386947 - media-libs/libdv-1.0.0-r2 - enc_input.c:1021:26: error: array type has incomplete element type
Summary: media-libs/libdv-1.0.0-r2 - enc_input.c:1021:26: error: array type has incomp...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 17:14 UTC by lxg
Modified: 2011-11-12 17:03 UTC (History)
2 users (show)

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


Attachments
Build log for media-libs/libdv-1.0.0-r2 (build.log,19.38 KB, text/plain)
2011-10-18 17:11 UTC, lxg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lxg 2011-10-12 17:14:45 UTC
# tail -n 100 /var/tmp/portage/media-libs/libdv-1.0.0-r2/temp/build.log
gasmoff.c:59:3: warning: cast from pointer to integer of different size
gasmoff.c:60:3: warning: cast from pointer to integer of different size
gasmoff.c:61:3: warning: cast from pointer to integer of different size
gasmoff.c:62:3: warning: cast from pointer to integer of different size
gasmoff.c:63:3: warning: cast from pointer to integer of different size
gasmoff.c:64:3: warning: cast from pointer to integer of different size
gasmoff.c:65:3: warning: cast from pointer to integer of different size
gasmoff.c:66:3: warning: cast from pointer to integer of different size
gasmoff.c:68:3: warning: cast from pointer to integer of different size
/bin/sh ../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall  -Wl,-O1 -Wl,--as-needed -o gasmoff  gasmoff.o  -lm 
./gasmoff > asmoff.h
make  all-am
make[3]: Entering directory `/var/tmp/portage/media-libs/libdv-1.0.0-r2/work/libdv-1.0.0/libdv'
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o dv.lo dv.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o dct.lo dct.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o idct_248.lo idct_248.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o weighting.lo weighting.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o quant.lo quant.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o vlc.lo vlc.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o place.lo place.c
dct.c:271:13: warning: 'postscale88' defined but not used
dct.c:334:13: warning: 'postscale248' defined but not used
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o parse.lo parse.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o bitstream.lo bitstream.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o YUY2.lo YUY2.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o YV12.lo YV12.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o rgb.lo rgb.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o audio.lo audio.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o util.lo util.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o encode.lo encode.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o headers.lo headers.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o enc_input.lo enc_input.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o enc_audio_input.lo enc_audio_input.c
encode.c: In function 'dv_encoder_loop':
encode.c:1426:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
/usr/include/bits/stdio2.h:62:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
encode.c:1432:3: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness
encode.c:1432:3: note: expected 'const char *' but argument is of type 'unsigned char *'
encode.c:1441:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
/usr/include/bits/stdio2.h:62:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
encode.c:1452:4: warning: pointer targets in passing argument 1 of 'input->load' differ in signedness
encode.c:1452:4: note: expected 'const char *' but argument is of type 'unsigned char *'
encode.c:1456:4: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness
encode.c:1456:4: note: expected 'const char *' but argument is of type 'unsigned char *'
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -Wall -c -o enc_output.lo enc_output.c
/bin/sh ../libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -c -o vlc_x86_64.lo vlc_x86_64.S
/bin/sh ../libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -c -o quant_x86_64.lo quant_x86_64.S
/bin/sh ../libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -c -o idct_block_mmx_x86_64.lo idct_block_mmx_x86_64.S
/bin/sh ../libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -c -o dct_block_mmx_x86_64.lo dct_block_mmx_x86_64.S
/bin/sh ../libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc  -march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe -c -o rgbtoyuv_x86_64.lo rgbtoyuv_x86_64.S
enc_output.c: In function 'raw_store':
enc_output.c:323:8: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
enc_input.c:1021:26: error: array type has incomplete element type
enc_input.c: In function 'init_vid_device':
enc_input.c:1037:2: error: 'VIDIOCGMBUF' undeclared (first use in this function)
enc_input.c:1037:2: note: each undeclared identifier is reported only once for each function it appears in
enc_input.c:1038:2: error: invalid use of undefined type 'struct video_mbuf'
enc_input.c:1044:3: error: invalid use of undefined type 'struct video_mbuf'
enc_input.c:1046:2: error: 'VIDIOCGTUNER' undeclared (first use in this function)
enc_input.c:1048:2: error: invalid use of undefined type 'struct video_tuner'
enc_input.c:1048:32: error: 'VIDEO_MODE_NTSC' undeclared (first use in this function)
enc_input.c:1056:2: error: invalid use of undefined type 'struct video_mbuf'
enc_input.c:1060:25: error: 'VIDEO_PALETTE_YUV422P' undeclared (first use in this function)
enc_input.c:1063:2: error: invalid use of undefined type 'struct video_mbuf'
enc_input.c:1064:3: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
enc_input.c: In function 'video_load':
enc_input.c:1092:3: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
enc_input.c:1096:2: error: invalid use of undefined type 'struct video_mbuf'
enc_input.c:1098:2: error: 'VIDIOCSYNC' undeclared (first use in this function)
enc_input.c:1100:2: error: invalid use of undefined type 'struct video_mbuf'
enc_audio_input.c: In function 'parse_wave_header':
enc_audio_input.c:181:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
enc_input.c: At top level:
enc_input.c:1021:26: warning: 'gb_frames' defined but not used
enc_input.c: In function 'read_pgm_stream':
enc_input.c:645:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:650:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:667:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:669:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
enc_input.c: In function 'read_ppm_stream':
enc_input.c:310:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:315:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:331:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
enc_input.c:333:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
make[3]: *** [enc_input.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r2/work/libdv-1.0.0/libdv'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r2/work/libdv-1.0.0/libdv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r2/work/libdv-1.0.0'
make: *** [all] Error 2
 * ERROR: media-libs/libdv-1.0.0-r2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =media-libs/libdv-1.0.0-r2',
 * the complete build log and the output of 'emerge -pqv =media-libs/libdv-1.0.0-r2'.
 * The complete build log is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r2/temp/environment'.
 * S: '/var/tmp/portage/media-libs/libdv-1.0.0-r2/work/libdv-1.0.0

Reproducible: Always




# emerge --info =media-libs/libdv-1.0.0-r2
Portage 2.1.10.27 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.1
Timestamp of tree: Wed, 12 Oct 2011 14:15:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo mds x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -msse4.1 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mds /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dri2 dts dv dvb dvd dvdr dvdread emboss encode evo exif fam fame ffmpeg firefox flac foomaticdb fortran gdbm gdu gif gnome gpm gtk gtk2 iconv imlib ipv6 jingle jpeg kde lcms libnotify mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ocamlopt ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl subversion svg sysfs tcpd telepathy theora tiff truetype udev unicode usb userlocales v4l2 vlm vorbis vpx win64codecs x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/libdv-1.0.0-r2 was built with the following:
USE="(multilib) sdl xv -debug"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-18 15:15:57 UTC
Please attach the entire build log.
Comment 2 lxg 2011-10-18 17:11:59 UTC
Created attachment 290177 [details]
Build log for media-libs/libdv-1.0.0-r2
Comment 3 Stefano Gessa 2011-10-20 07:31:13 UTC
I got same issue