New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35510 (assigned defect)

Opened 11 months ago

Last modified 11 months ago

VLC 2.0.2 fails to build

Reported by: zoleg@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc:
Port: VLC

Description

VLC failt to build on MountainLion with XCode 4.5 DP3:

bash-3.2$ sudo port -vs install VLC +fribidi +jack +sdl +shout +speex +svg +vcd +qt4 +x11 -universal

....


  CXXLD    libqt4_plugin.la
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
/opt/local/bin/nm: no name list
Undefined symbols for architecture x86_64:
  "SearchLineEdit::SearchLineEdit(QWidget*)", referenced from:
      PrefsDialog::setAdvanced() in libqt4_plugin_la-preferences.o
      PluginTab::PluginTab(intf_thread_t*) in libqt4_plugin_la-plugins.o
      KeySelectorControl::KeySelectorControl(vlc_object_t*, module_config_t*, QWidget*, QGridLayout*, int) in libqt4_plugin_la-preferences_widgets.o
      PlaylistWidget::PlaylistWidget(intf_thread_t*, QWidget*) in libqt4_plugin_la-playlist.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[6]: *** [libqt4_plugin.la] Error 1
make[6]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/modules/gui/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2'
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2" && /usr/bin/make -j8 -w all DESTDIR=/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_VLC/VLC/work/VLC-2.0.2/dest_ignore 
Exit code: 2

Attachments

main.log (1.7 MB) - added by zoleg@… 11 months ago.

Change History

Changed 11 months ago by zoleg@…

comment:1 Changed 11 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to jeremyhu@…
  • Port set to VLC

comment:2 Changed 11 months ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to invalid

It looks as though you have not migrated MacPorts from Lion to Mountain Lion. If you had, I believe you would've failed earlier in the process with qt4-mac failing to build.

Furthermore, you should not use trac to report issues you are seeing with developer preview versions of XCode.

comment:3 Changed 11 months ago by zoleg@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

MacPorts installed from svn on clean MLion, QT4 installed from ports on this MLion.

comment:4 Changed 11 months ago by zoleg@…

with -qt4 variant VLC installed and worked

comment:5 Changed 11 months ago by jeremyhu@…

  • Status changed from reopened to new

Interesting. I still haven't gotten a qt4-mac installed on ML. Thanks for bouncing back.

comment:6 Changed 11 months ago by jeremyhu@…

  • Status changed from new to assigned

comment:7 Changed 11 months ago by fuhrmann_mail@…

This is a bug in the vlc build system and should also occur when you use an older xcode version or older operating system for compilation.

See https://trac.videolan.org/vlc/ticket/7279

comment:8 Changed 11 months ago by jeremyhu@…

Ok, thanks. I'll just follow it in VLC's trac and incorporate their changes once made.

Note: See TracTickets for help on using tickets.