Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors while installing some packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mrfabiolo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2011
Posts: 90

PostPosted: Mon Jun 30, 2014 6:36 am    Post subject: Errors while installing some packages Reply with quote

I've Gentoo 64 bit. with the window manager awesome. I can't install some packages from portage. (but not all the packages, if now I install xterm I got no errors).
I've tried to do first "emerge --sync" and "emerge -auvDN @world".
I got this error while installing mplayer. (i posted only the final part).
Code:
x86_64-pc-linux-gnu-gcc -MD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -march=native -O2 -pipe -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Iffmpeg  -D_REENTRANT  -I/usr/include -I/usr/include/freetype2  -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c
libmpdemux/demuxer.c: In function 'allocate_parser':
libmpdemux/demuxer.c:472:10: error: variable 'codec_id' has initializer but incomplete type
libmpdemux/demuxer.c:472:18: error: storage size of 'codec_id' isn't known
libmpdemux/demuxer.c: In function 'ds_fill_buffer':
libmpdemux/demuxer.c:656:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
make: *** [libmpdemux/demuxer.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/mplayer-1.1.1-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/mplayer-1.1.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer-1.1.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer-1.1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.1.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mplayer-1.1.1-r1/work/MPlayer-1.1.1'
 * S: '/var/tmp/portage/media-video/mplayer-1.1.1-r1/work/MPlayer-1.1.1'

>>> Failed to emerge media-video/mplayer-1.1.1-r1, Log file:

>>>  '/var/tmp/portage/media-video/mplayer-1.1.1-r1/temp/build.log'

 * Messages for package media-video/mplayer-1.1.1-r1:

 * ERROR: media-video/mplayer-1.1.1-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/mplayer-1.1.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer-1.1.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer-1.1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.1.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mplayer-1.1.1-r1/work/MPlayer-1.1.1'
 * S: '/var/tmp/portage/media-video/mplayer-1.1.1-r1/work/MPlayer-1.1.1'

I've only the "encode" flag for mplayer and the ones set in make.conf

If I try to install kdenlive:
Code:
filter_avresample.c:86:4: warning: ‘av_audio_resample_init’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4419) [-Wdeprecated-declarations]
filter_avresample.c:93:4: warning: ‘audio_resample_close’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4436) [-Wdeprecated-declarations]
filter_avresample.c:102:3: warning: ‘audio_resample’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4427) [-Wdeprecated-declarations]
filter_avresample.c: In function ‘filter_avresample_init’:
filter_avresample.c:157:14: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function)
filter_avresample.c:157:14: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [filter_avresample.o] Error 1
make[2]: *** Waiting for unfinished jobs....
filter_avcolour_space.c: In function ‘filter_avcolour_space_init’:
filter_avcolour_space.c:324:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
filter_swscale.c: In function ‘filter_swscale_init’:
filter_swscale.c:194:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules/avformat'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2/src/modules'
make: *** [all] Error 1
 * ERROR: media-libs/mlt-0.8.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mlt-0.8.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mlt-0.8.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.8.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2'
 * S: '/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2'

>>> Failed to emerge media-libs/mlt-0.8.2, Log file:

>>>  '/var/tmp/portage/media-libs/mlt-0.8.2/temp/build.log'

 * Messages for package media-libs/mlt-0.8.2:

 * ERROR: media-libs/mlt-0.8.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mlt-0.8.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mlt-0.8.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mlt-0.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mlt-0.8.2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2'
 * S: '/var/tmp/portage/media-libs/mlt-0.8.2/work/mlt-0.8.2'


If I install mplayer2:
Code:
x86_64-pc-linux-gnu-gcc -MD -MP -Wundef   -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99  -march=native -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_REENTRANT  -I/usr/include/alsa  -I/usr/include  -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2        -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c
x86_64-pc-linux-gnu-gcc -MD -MP -Wundef   -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99  -march=native -O2 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -D_REENTRANT  -I/usr/include/alsa  -I/usr/include  -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2        -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c
libmpdemux/demuxer.c: In function 'allocate_parser':
libmpdemux/demuxer.c:493:10: error: variable 'codec_id' has initializer but incomplete type
libmpdemux/demuxer.c:493:18: error: storage size of 'codec_id' isn't known
make: *** [libmpdemux/demuxer.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/mplayer2-2.0_p20130126::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130126::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130126::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/work/mplayer2-2.0_p20130126'
 * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/work/mplayer2-2.0_p20130126'

>>> Failed to emerge media-video/mplayer2-2.0_p20130126, Log file:

>>>  '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/temp/build.log'

 * Messages for package media-video/mplayer2-2.0_p20130126:

 * ERROR: media-video/mplayer2-2.0_p20130126::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130126::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130126::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/work/mplayer2-2.0_p20130126'
 * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130126/work/mplayer2-2.0_p20130126'


my make.conf
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
CHOST="x86_64-pc-linux-gnu"
USE="bindist mmx sse sse2 networkmanager nsplugin"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
SYNC="rsync://rsync1.fr.gentoo.org/gentoo-portage"

INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="intel"
source /var/lib/layman/make.conf
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Jun 30, 2014 7:17 am    Post subject: Reply with quote

It seems that in both of those two cases, a patch is needed for ffmpeg 2/libav 10.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum