Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]media-video/vlc-2.0.[6,7] fails to compile
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
eronde
n00b
n00b


Joined: 25 Dec 2004
Posts: 73
Location: The Netherlands

PostPosted: Mon Sep 09, 2013 10:16 pm    Post subject: [solved]media-video/vlc-2.0.[6,7] fails to compile Reply with quote

Hi,

I'm trying to update vlc, but I get the following:
Code:

 default]
cachegen.c:1:0: note: this is the location of the previous definition
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -march=amdfam10  -mtune=amdfam10 -O2 -pipe -fomit-frame-pointer -msse3 -msse4a -msse2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden  -Wl,-O1 -Wl,--as-needed -o vlc-cache-gen cachegen.o  ../compat/libcompat.la ../lib/libvlc.la ../src/libvlccore.la 
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fomit-frame-pointer -msse3 -msse4a -msse2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o vlc-wrapper rootwrap.o  -Wl,--as-needed
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fomit-frame-pointer -msse3 -msse4a -msse2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o .libs/vlc vlc.o override.o  -Wl,--as-needed ../lib/.libs/libvlc.so /var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/src/.libs/libvlccore.so ../src/.libs/libvlccore.so -ldbus-1 -lrt -lm -lpthread -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -DTOP_BUILDDIR=\"/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7\" -DTOP_SRCDIR=\"/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7\" -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fomit-frame-pointer -msse3 -msse4a -msse2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o vlc-static vlc_static-vlc.o vlc_static-override.o  -Wl,--as-needed ../lib/.libs/libvlc.so /var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/src/.libs/libvlccore.so ../src/.libs/libvlccore.so -ldbus-1 -lrt -lm -lpthread -ldl -Wl,-rpath -Wl,/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/lib/.libs -Wl,-rpath -Wl,/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/src/.libs
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -march=amdfam10 -mtune=amdfam10 -O2 -pipe -fomit-frame-pointer -msse3 -msse4a -msse2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -Wl,-O1 -o .libs/vlc-cache-gen cachegen.o  -Wl,--as-needed ../compat/.libs/libcompat.a ../lib/.libs/libvlc.so /var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/src/.libs/libvlccore.so ../src/.libs/libvlccore.so -ldbus-1 -lrt -lpthread -ldl -lm
rm -f ../modules/plugins.dat
if test "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu"; then \
        ./vlc-cache-gen ../modules ; \
else \
        echo "Cross-compilation: cache generation skipped!" ; \
fi

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =media-video/vlc-2.0.7:0::gentoo --destination installed --replacing =media-video/vlc-2.0.6:0::installed --x-of-y 1 of 1:
  * When installing 'media-video/vlc-2.0.7:0::gentoo' replacing { 'media-video/vlc-2.0.6:0::installed' }:
  * When running an ebuild command on 'media-video/vlc-2.0.7:0::gentoo':
  * Install failed for 'media-video/vlc-2.0.7:0::gentoo' (paludis::ActionFailedError)

make[2]: Leaving directory `/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7/bin'
make[1]: Leaving directory `/var/tmp/paludis/media-video-vlc-2.0.7/work/vlc-2.0.7'
/bin/sh: line 4:  7740 Segmentation fault      ./vlc-cache-gen ../modules
make[2]: *** [../modules/plugins.dat] Error 139
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2






cave Info: http://pastebin.ca/2446984

Anybody with the same error?


Last edited by eronde on Tue Sep 10, 2013 10:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1406

PostPosted: Mon Sep 09, 2013 10:20 pm    Post subject: Reply with quote

how big is your swap file and your RAM. Please post emerge --info
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Mon Sep 09, 2013 11:10 pm    Post subject: Reply with quote

Quite likely, it's this bug.
Back to top
View user's profile Send private message
eronde
n00b
n00b


Joined: 25 Dec 2004
Posts: 73
Location: The Netherlands

PostPosted: Tue Sep 10, 2013 10:30 pm    Post subject: media-video/vlc-2.0.[6,7] fails to compile [solved] Reply with quote

VoidMage wrote:
Quite likely, it's this bug.


Thanks, disabling the gliib flag of qtcore and qtcore did the trick.
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