Opened 8 years ago

Closed 7 years ago

#35510 closed defect (invalid)

VLC 2.0.2 fails to build

Reported by: zoleg@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
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 (1)

main.log (1.7 MB) - added by zoleg@… 8 years ago.

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by zoleg@…

Attachment: main.log added

comment:1 Changed 8 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…
Port: VLC added

comment:2 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

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 8 years ago by zoleg@…

Resolution: invalid
Status: closedreopened

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

comment:4 Changed 8 years ago by zoleg@…

with -qt4 variant VLC installed and worked

comment:5 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: reopenednew

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

comment:6 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

comment:7 Changed 8 years 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 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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

comment:9 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: assignedclosed

Closing as invalid, upstream to resolve.

Note: See TracTickets for help on using tickets.