Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC won't compile (even after rebuilding libeml)
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
NeTapi
n00b
n00b


Joined: 03 Oct 2018
Posts: 2

PostPosted: Wed Oct 03, 2018 2:42 pm    Post subject: VLC won't compile (even after rebuilding libeml) Reply with quote

Hi,

the vlc build

Code:
[ebuild  N    ] media-video/vlc-3.0.3-r1  USE="X alsa dbus dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gstreamer jack jpeg kate libsamplerate matroska mp3 mpeg ncurses ogg opus png pulseaudio qt5 rdp rtsp schroedinger ssl theora truetype twolame udev vorbis x264 x265 -a52 (-altivec) (-aom) -archive -bidi -bluray -cddb -chromaprint -chromecast -dc1394 -debug (-directx) -dts -faad -fdk -fluidsynth -gme -gnome-keyring -ieee1394 -libass -libav -libcaca -libnotify -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications (-macosx-qtkit) -modplug -mtp -musepack (-neon) -nfs -omxil -opencv -optimisememory -postproc -projectm -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex (-srt) -svg -taglib -test -tremor -upnp -v4l -vaapi -vdpau -vnc -vpx -wayland -wma-fixed -xml -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse"


fails at point:
Code:
.
.
.
../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DMODULE_STRING=\"core\" -DLOCALEDIR=\"/usr/share/locale\" -DPKGDATADIR=\"/usr/share/vlc\" -DPKGLIBDIR=\"/usr/lib64/vlc\" -DHAVE_DYNAMIC_PLUGINS -DHAVE_DBUS  -I../include -I../include   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -march=haswell -O2 -pipe  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -fvisibility=hidden -c -o misc/interrupt.lo misc/interrupt.c
../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DMODULE_STRING=\"core\" -DLOCALEDIR=\"/usr/share/locale\" -DPKGDATADIR=\"/usr/share/vlc\" -DPKGLIBDIR=\"/usr/lib64/vlc\" -DHAVE_DYNAMIC_PLUGINS -DHAVE_DBUS  -I../include -I../include   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -march=haswell -O2 -pipe  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -fvisibility=hidden -c -o misc/keystore.lo misc/keystore.c
misc/interrupt.c:46:8: error: unknown type name ‘thread_local’
 static thread_local vlc_interrupt_t *vlc_interrupt_var;
.
.
.


I've been searching for some time but couldn't find any reference to this problem.

System info:
Code:
Portage 2.3.49 (python 2.7.15-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r7, 4.14.65-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.65-gentoo-x86_64-Intel-R-_Core-TM-_i5-4570_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:     7947516 total,    581624 free
KiB Swap:    4194300 total,   4171772 free
Timestamp of repository gentoo: Mon, 01 Oct 2018 10:30:01 +0000
Head commit of repository gentoo: 92e493f6bc3b2fb4eeea5e28be5b26fce106dc50
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=haswell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br http://www.las.ic.unicamp.br/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt_BR en_US pt en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acqua aes alsa amd64 avx avx2 berkdb blas branding bzip2 cairo clamav cli crypt cups cxx dbus dri dvd dvdr ffmpeg fftw fma3 fontconfig foomaticdb fortran gd gdbm gentoo-vm gimp git glut gmp gpm gtk iconv imagemagick ipv6 jpeg lapack latex libtirpc mmx mmxext modules mpi multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit popcnt postscript pulseaudio readline sdl seccomp session smp sound sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion systemd tcpd threads truetype udev unicode usb vorbis x264 x265 xattr xpm zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="pt-BR pt-br pt en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="clock" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any ideas?
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Fri Oct 19, 2018 8:56 am    Post subject: Reply with quote

Can you try to reinstall based upon this suggestion:
Quote:
According to VideoLAN some certain USE flags need to be set in order to not get a very bare bones version of VLC.[2] Many of them might be obsolete or be set by the selected profile. For the standard desktop profile one might add to /etc/portage/package.use like
FILE /etc/portage/package.use/vlc


Code:
media-video/vlc qt5 gnutls live lua matroska rtsp theora upnp vcdx


SOURCE: https://wiki.gentoo.org/wiki/VLC
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Fri Oct 19, 2018 9:05 am    Post subject: Reply with quote

Also, that log snippet actually does not contain an error.
Back to top
View user's profile Send private message
NeTapi
n00b
n00b


Joined: 03 Oct 2018
Posts: 2

PostPosted: Fri Oct 19, 2018 4:41 pm    Post subject: Reply with quote

LIsLinuxIsSogood wrote:
Can you try to reinstall based upon this suggestion:
Quote:
According to VideoLAN some certain USE flags need to be set in order to not get a very bare bones version of VLC.[2] Many of them might be obsolete or be set by the selected profile. For the standard desktop profile one might add to /etc/portage/package.use like
FILE /etc/portage/package.use/vlc


Code:
media-video/vlc qt5 gnutls live lua matroska rtsp theora upnp vcdx


SOURCE: https://wiki.gentoo.org/wiki/VLC


Thanks. I've tried it, also tried the suggestion :

Code:
media-video/vlc media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live


given by https://www.videolan.org/vlc/download-gentoo.html but got the same error.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Oct 19, 2018 10:33 pm    Post subject: Reply with quote

asturm wrote:
Also, that log snippet actually does not contain an error.
This snippet isn't relevant?
NeTapi wrote:
Code:
misc/interrupt.c:46:8: error: unknown type name ‘thread_local’
 static thread_local vlc_interrupt_t *vlc_interrupt_var;
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sat Oct 20, 2018 7:45 am    Post subject: Reply with quote

Well, that's what pre-coffee posting does to you...

This was already reported as a bug: https://bugs.gentoo.org/668338
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 265

PostPosted: Sun Dec 09, 2018 10:40 am    Post subject: Reply with quote

Here it didnt compile with fdk use flag enabled.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sun Dec 09, 2018 10:48 am    Post subject: Reply with quote

Yes, media-libs/fdk-aac-2.0.0 broke several revdeps, that is known under bug 672290
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