Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668338 - media-video/vlc-3.0.4 emerge fails: unknown type name 'thread_local' in interrupt.c during compile phase
Summary: media-video/vlc-3.0.4 emerge fails: unknown type name 'thread_local' in inter...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 17:59 UTC by lfguidi
Modified: 2018-10-31 11:03 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,133.06 KB, text/x-log)
2018-10-11 17:59 UTC, lfguidi
Details
Build environment (build.environment,128.77 KB, text/plain)
2018-10-11 17:59 UTC, lfguidi
Details
emerge --info (emerge.info,6.35 KB, text/plain)
2018-10-31 11:03 UTC, lfguidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lfguidi 2018-10-11 17:59:10 UTC
Created attachment 550588 [details]
Build log

When doing the following emerge

[ebuild  N    ] media-video/vlc-3.0.4  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 schroedinger ssl theora truetype twolame udev vorbis x264 x265 -a52 (-altivec) (-aom) -archive -aribsub -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"

got the error

../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;

The same error happens with vlc3.03-r1.

/etc/portage/make.conf contents:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=haswell -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="acl acqua aes alsa avx avx2 -bindinst blas branding cairo clamav crypt cups dbus -debug dri dvd dvdr -dvi ffmpeg fftw fma3 fontconfig foomaticdb fortran gd gdbm gentoo-vm gimp git -gnome glut gmp gpm gtk imagemagick jpeg -kde lapack latex -minimal mmx mmxext mpi multilib nls nptl nsplugin ogg opengl -openmpi pam pdf png policykit popcnt postscript pulseaudio -qt4  sdl session smp sound sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3 startup-notification subversion systemd threads truetype udev unicode usb vorbis X x264 x265 xpm zlib"

CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/"


GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br http://www.las.ic.unicamp.br/pub/gentoo/ "

PYTHON_TARGETS="python2_7 python3_5 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

VIDEO_CARDS="intel"

INPUT_DEVICES="keyboard mouse evdev"

ACCEPT_LICENSE="*"
ACCEPT_RESTRICT="*"

LINGUAS="pt_BR en_US pt en"
L10N="pt-BR pt-br pt en"
XFCE_PLUGINS="clock"
Comment 1 lfguidi 2018-10-11 17:59:47 UTC
Created attachment 550590 [details]
Build environment
Comment 2 Andreas Sturmlechner gentoo-dev 2018-10-20 08:53:12 UTC
Please try with MAKEOPTS=-j1
Comment 3 lfguidi 2018-10-22 10:59:06 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Please try with MAKEOPTS=-j1

Hi. I've tried but got the same error.
Comment 4 Andreas Sturmlechner gentoo-dev 2018-10-30 18:09:09 UTC
Bug is missing `emerge --info` yet.
Comment 5 lfguidi 2018-10-31 11:03:18 UTC
Created attachment 553754 [details]
emerge --info