Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

VLC won't compile (SOLVED)

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

VLC won't compile (SOLVED)

  • Quote

Post by andrewwalker27 » Thu Feb 15, 2018 9:49 pm

I'm trying to install vlc but the compile stage seems to fail. As far as I can tell, the problem seems to be something to do with matroska but it still fails even with -matroska flag set so I don't really understand it. Here's the start of the error

Code: Select all

nst&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterLanguage_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x1625): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterCountry_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x1645): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxTrackLanguage_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x2a50): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxCodecID_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x2b48): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o:matroska_segment_parse.cpp:(.text+0x2bd2): more undefined references to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' follow
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:15219: libmkv_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
then finally coughs and dies with this

Code: Select all

oc.o gui/qt/util/.libs/libqt_plugin_la-timetooltip.moc.o gui/qt/util/.libs/libqt_plugin_la-customwidgets.moc.o gui/qt/util/.libs/libqt_plugin_la-searchlineedit.moc.o gui/qt/util/.libs/libqt_plugin_la-qmenuview.moc.o gui/qt/util/.libs/libqt_plugin_la-qvlcapp.moc.o gui/qt/util/.libs/libqt_plugin_la-pictureflow.moc.o gui/qt/util/.libs/libqt_plugin_la-validators.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-RoundButton.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-DeckButtonsLayout.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-BrowseButton.moc.o gui/qt/styles/.libs/libqt_plugin_la-seekstyle.moc.o gui/qt/.libs/libqt_plugin_la-resources.o   -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-3.0.0-r1/work/vlc-3.0.0/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lidn -lpthread -ldl -ldbus-1 -Wl,--as-needed -lQt5Svg -lQt5Widgets -lQt5X11Extras -lQt5Gui -lQt5Core -lX11 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o  -march=amdfam10 -O2 -Wl,-O1 -Wl,-z -Wl,defs   -Wl,-soname -Wl,libqt_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libqt_plugin.exp -o .libs/libqt_plugin.so
libtool: link: ( cd ".libs" && rm -f "libqt_plugin.la" && ln -s "../libqt_plugin.la" "libqt_plugin.la" )
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.0-r1/work/vlc-3.0.0/modules'
make[3]: *** [Makefile:26104: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.0-r1/work/vlc-3.0.0/modules'
make[2]: *** [Makefile:11217: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.0-r1/work/vlc-3.0.0/modules'
make[1]: *** [Makefile:1529: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.0-r1/work/vlc-3.0.0'
make: *** [Makefile:1414: all] Error 2
 * ERROR: media-video/vlc-3.0.0-r1::gentoo failed (compile phase):
 *   emake failed
The version I'm trying to install is media-video/vlc-3.0.0-r1 but there is no relevant bug reported so I'm wondering if it's just me, or is anyone else is experiencing the same error?

Code: Select all

Calculating dependencies... done!
[ebuild  r  U  ] media-video/vlc-3.0.0-r1:0/5-9::gentoo [2.2.8-r1:0/5-8::gentoo] USE="X a52 alsa avcodec avformat cddb dbus dts dvb dvbpsi dvd encode ffmpeg flac fontconfig gcrypt jpeg libnotify libsamplerate lirc mp3 mpeg ncurses ogg opengl png pulseaudio qt5 samba svg swscale truetype udev v4l vaapi vdpau vorbis x264 xcb xml xv zeroconf -aalib (-altivec) (-aom) -archive% -bidi -bluray -chromaprint -chromecast% -dc1394 -debug (-directx) (-dxva2) -faad -fdk -fluidsynth -gme -gnome-keyring% -gnutls -gstreamer -ieee1394 -jack -kate -libass -libav -libcaca -libtar -libtiger -linsys -live -lua -macosx-notifications% (-macosx-qtkit) -matroska* -modplug -mtp -musepack (-neon) -nfs% -omxil -opencv -optimisememory -opus -postproc -projectm -rdp -rtsp -run-as-root -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -theora -tremor -twolame -upnp -vcd% -vlm -vnc -vpx -wayland% -wma-fixed -x265 -zvbi (-atmo%) (-audioqueue%) (-cdda%*) (-gnome%*) (-growl%) (-httpd%) (-macosx-dialog-provider%) (-macosx-eyetv%) (-macosx-quartztext%) (-sdl%*) (-vcdx%)" CPU_FLAGS_X86="mmx sse" 0 KiB
I'm using x86_64-pc-linux-gnu-7.3.0 but if more info would be useful then let me know and I'll post it.
Thanks in advance for any help or suggestions.
Last edited by andrewwalker27 on Thu Feb 15, 2018 11:58 pm, edited 1 time in total.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Thu Feb 15, 2018 10:04 pm

rebuild libeml, gcc ABI break issue.
Top
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

  • Quote

Post by andrewwalker27 » Thu Feb 15, 2018 11:58 pm

Many thanks, that worked!
For anyone else experiencing this

Code: Select all

emerge -1 libebml
cured it.
Top
vespaman
Guru
Guru
User avatar
Posts: 395
Joined: Wed Aug 28, 2002 9:05 pm
Location: Stockholm

  • Quote

Post by vespaman » Fri Jun 15, 2018 2:13 pm

Thx!

Solved my issue as well!
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Wed Jul 04, 2018 4:22 pm

Yes, that's still the case. I had to re-emerge dev-libs/libebml to successfully update to media-video/vlc-3.0.3-r1 with new sys-devel/gcc-7.3.0-r3 on a 32 bit system.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Wed Jul 04, 2018 5:41 pm

What do you mean it is still a problem? Did you have to rebuild libebml for a second time on the same system?
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Wed Jul 04, 2018 6:08 pm

For 32 bit x86, vlc-3.0.3-r1 just became stable. I had not updated libebml since April, but did switch to gcc-7.3.0-r3 on June 20, the normal way without re-emerging everything. But, when updating to vlc-3.0.3-r1, compile failed. I then re-emerged libebml, after which vlc-3.0.3-r1 emerged without a problem.

Therefore, a stale libebml (compiled with gcc-6.4.0-r1 in my case) prevented vlc from updating (still a problem). That is in spite of the fact that we are told that the gcc ABI had not changed.

ADDED:

Note https://forums.gentoo.org/viewtopic-t-1 ... grade.html identifies another apparent ABI issue with the upgrade to gcc-7.3.0-r3.

ADDED FURTHER 7/10/2018:

Just happened on my main x86_64 box also.
Last edited by figueroa on Tue Jul 10, 2018 9:54 pm, edited 1 time in total.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

  • Quote

Post by UlvHare » Tue Jul 10, 2018 10:05 am

Confirming. During today's update vlc-3.0.3-r1 compilation braked but re-emerging libebml (also was compiled by old gcc) solved the problem. Thanks for advice!
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

  • Quote

Post by samuelbernardo » Thu Jul 12, 2018 9:36 pm

Same problem here and solved after recompilation, because of ABI breakage.
emerge -1 libebml

Does this mean that it's missing a dependency for libebml that should force a recompilation after the ABI update?
Top
cameta
Veteran
Veteran
User avatar
Posts: 1394
Joined: Wed Aug 04, 2004 9:51 am

  • Quote

Post by cameta » Sat Jul 14, 2018 10:30 am

Code: Select all

-linux-gnu/7.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o  -march=native -O2 -Wl,-O1 -Wl,-z -Wl,defs   -Wl,-soname -Wl,libqt_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libqt_plugin.exp -o .libs/libqt_plugin.so
libtool: link: ( cd ".libs" && rm -f "libqt_plugin.la" && ln -s "../libqt_plugin.la" "libqt_plugin.la" )
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3/modules'
make[3]: *** [Makefile:26145: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3/modules'
make[2]: *** [Makefile:11238: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3/modules'
make[1]: *** [Makefile:1530: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3'
make: *** [Makefile:1415: all] Error 2
 * ERROR: media-video/vlc-3.0.3-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/vlc-3.0.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-3.0.3-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-3.0.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-3.0.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3'
 * S: '/var/tmp/portage/media-video/vlc-3.0.3-r1/work/vlc-3.0.3'
Same here. After recompiling liblm the problem has been solved. :D
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Top
mabap
n00b
n00b
Posts: 6
Joined: Fri Feb 04, 2005 9:20 pm

  • Quote

Post by mabap » Sun Jul 29, 2018 4:21 pm

I can confirm that switching gcc from 6.4.0 (?) to 7.3.0 breaks vlc's emerge (more concrete: linking) against libebml.
Maybe add dev-libs/libebml to the "Which packages are known to need a rebuild?" section on https://wiki.gentoo.org/wiki/Upgrading_GCC. I didn't do the "Rebuilding everything" option there (it is summer and already warm enough in my work room ;-) but I guess most do resulting in the few error reports.
Top
iromeister
n00b
n00b
Posts: 38
Joined: Sat Feb 04, 2017 9:19 pm
Location: Wustrow (Wendland)

  • Quote

Post by iromeister » Mon Sep 03, 2018 8:47 pm

I ran into this on the update from vlc-3.0.3-r1 to -3.0.4. Rebuilding libeml helped in my case as well.
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Wed Nov 21, 2018 11:24 pm

same here ... thanks!
Top
DigitalDan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 113
Joined: Mon Nov 18, 2002 6:40 am
Location: Chicago

  • Quote

Post by DigitalDan » Mon Jan 21, 2019 4:12 pm

Finally had time to attack vlc-3.0.4 build failing, and this fixed my issue too.
gentoo baby, its the only way!
Top
trigggl
Apprentice
Apprentice
User avatar
Posts: 258
Joined: Sun Aug 26, 2007 12:40 pm
Location: Arkansas

  • Quote

Post by trigggl » Wed Mar 27, 2019 4:12 am

DigitalDan wrote:Finally had time to attack vlc-3.0.4 build failing, and this fixed my issue too.
Just had to do this for vlc-3.0.6-r1.
Greg
Top
scolpi
n00b
n00b
Posts: 35
Joined: Mon Jun 15, 2009 9:02 am

  • Quote

Post by scolpi » Sat Apr 06, 2019 7:38 am

trigggl wrote:
DigitalDan wrote:Finally had time to attack vlc-3.0.4 build failing, and this fixed my issue too.
Just had to do this for vlc-3.0.6-r1.
It works for me too, from vlc-3.0.4 to vlc-3.0.6-r1 and sys-devel/gcc-8.2.0-r6
Top
krisse
Guru
Guru
Posts: 325
Joined: Tue Mar 15, 2005 12:38 pm
Location: Sweden

  • Quote

Post by krisse » Fri May 31, 2019 7:14 am

andrewwalker27 wrote:For anyone else experiencing this

Code: Select all

emerge -1 libebml
cured it.
Thanks. Solved it for me as well. (vlc-3.0.6-r1 ; x86_64-pc-linux-gnu-8.3.0)
Top
Post Reply

17 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy