Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] VLC 2.0.3 - Does not compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Superfox_il_Volpone
n00b
n00b


Joined: 14 Aug 2012
Posts: 28

PostPosted: Sat Sep 15, 2012 7:53 pm    Post subject: [solved] VLC 2.0.3 - Does not compile Reply with quote

Hi guys, getting this error when compiling VLC:
Code:

..
media_player.c: In function 'input_event_changed':
media_player.c:230:58: warning: unused parameter 'psz_cmd' [-Wunused-parameter]
media_player.c: In function 'libvlc_media_player_get_nsobject':
media_player.c:874:65: warning: unused parameter 'p_mi' [-Wunused-parameter]
media_player.c: In function 'libvlc_media_player_get_agl':
media_player.c:900:62: warning: unused parameter 'p_mi' [-Wunused-parameter]
media_player.c: In function 'libvlc_media_player_get_hwnd':
media_player.c:950:60: warning: unused parameter 'p_mi' [-Wunused-parameter]
media_list.c: In function 'libvlc_media_list_add_file_content':
media_list.c:272:2: warning: #warning Missing error handling! [-Wcpp]
  CC       media_library.lo
  CC       media_discoverer.lo
  CC       revision.lo
  GEN      libvlc.pc
  CCLD     libvlc.la
config.status: creating lib/libvlc.pc
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3/lib'
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3/lib'
Making all in bin
make[2]: Entering directory `/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3/bin'
  CC       vlc.o
  CC       override.o
  CC       rootwrap.o
  CC       vlc_static-vlc.o
  CC       vlc_static-override.o
  CC       cachegen.o
  CCLD     vlc
  CCLD     vlc-wrapper
  CCLD     vlc-cache-gen
  CCLD     vlc-static
  GEN      ../modules/plugins.dat
/bin/sh: line 4:  2115 Segmentation fault      ./vlc-cache-gen ../modules
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3'
make: *** [all] Error 2
 * ERROR: media-video/vlc-2.0.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.3'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.3'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3'
 * S: '/var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3'

>>> Failed to emerge media-video/vlc-2.0.3, Log file:

>>>  '/var/tmp/portage/media-video/vlc-2.0.3/temp/build.log'

 * Messages for package media-video/vlc-2.0.3:

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


emerge --info:
Code:

Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.5.3-gentoo x86_64)
=================================================================
System uname: Linux-3.5.3-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Sat, 15 Sep 2012 09:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6, 1.12.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo java-overlay science wavilen local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.lagis.at/ http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/science /var/lib/layman/wavilen /usr/local/portage/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss asf automount berkdb branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fbcondecor firefox flac fortran gdbm gif glitz gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hal iconv java jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses new-login nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline samba sdl session socialweb spell sqlite sse sse2 ssl ssse3 startup-notification svg symlink tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x264xvid xcb xcomposite xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sheets 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="en_GB en it" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, USE_PYTHON


any idea why is it bothering?

regards
- Dean


Last edited by Superfox_il_Volpone on Mon Sep 17, 2012 3:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4681
Location: Saint Amant, Acadiana

PostPosted: Sat Sep 15, 2012 8:42 pm    Post subject: Reply with quote

Try again and see if it segfaults in exactly same place again.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Superfox_il_Volpone
n00b
n00b


Joined: 14 Aug 2012
Posts: 28

PostPosted: Sat Sep 15, 2012 9:28 pm    Post subject: Reply with quote

it does;(
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4681
Location: Saint Amant, Acadiana

PostPosted: Sat Sep 15, 2012 10:58 pm    Post subject: Reply with quote

Even with MAKEOPTS="-j1" ?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3949
Location: Irgendwo im Nirgendwo

PostPosted: Sun Sep 16, 2012 6:43 am    Post subject: Reply with quote

Try
Code:
# cd /var/tmp/portage/media-video/vlc-2.0.3/work/vlc-2.0.3/bin
# gdb --args ./vlc-cache-gen ../modules
(gdb) run
[quite some output]
[-> segfault]
(gdb) bt full

and post the output.

You will need to install gdb, if it is not yet installed.
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
edward_scott
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 134

PostPosted: Sun Sep 16, 2012 5:37 pm    Post subject: Reply with quote

I am running into an identical issue with vlc-2.0.1, even with MAKEOPTS="-j1"

I tried franzf's gdb trick and this is what I get:

Quote:
# gdb --args ./vlc-cache-gen ../modules
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
"/var/tmp/portage/media-video/vlc-2.0.1/work/vlc-2.0.1/bin/vlc-cache-gen": not in executable format: File format not recognized
(gdb) run
Starting program: ../modules
No executable file specified.
Use the "file" or "exec-file" command.
Back to top
View user's profile Send private message
edward_scott
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 134

PostPosted: Sun Sep 16, 2012 6:38 pm    Post subject: Reply with quote

oh. my problem's gone away.

Superfox_il_Volpone, try a revdep-rebuild.

I happened to be in the middle of a rev-dep rebuild where webkit-gtk was failing (cough), so I worked around it by manually emerging everything except webkit-gtk. vlc was one of the packages to be rebuilt. when vlc also failed I skipped that too. after the rest of the packages were rebuilt I tried vlc again and it worked.

so, short story, revdep-rebuild may address this.
Back to top
View user's profile Send private message
Superfox_il_Volpone
n00b
n00b


Joined: 14 Aug 2012
Posts: 28

PostPosted: Mon Sep 17, 2012 2:59 pm    Post subject: Reply with quote

thanks guys,solved re-emerging gnome and vlc from scratch. I was downgrading my system from unstable to stable, probably I broke some dependencies in this process.

regards
-s.fox
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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