#59123 closed defect (fixed)
multimedia/VLC is broken regardless of xcode-select.
Reported by: | nakatamaho (NAKATA Maho) | Owned by: | RJVB (René Bertin) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | nakatamaho (NAKATA Maho), majoc-at-astro (majoc-at-astro) | |
Port: | VLC |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
multimedia/VLC is broken by ibtool as follows:
:info:build mkdir -p -- gui/macosx/UI :info:build /usr/bin/ibtool --errors --warnings --notices \ :info:build --module VLC --auto-activate-custom-fonts --target-device mac \ :info:build --minimum-deployment-target 10.7 --output-format human-readable-text \ :info:build --compile gui/macosx/UI/Preferences.nib gui/macosx/UI/Preferences.xib :info:build xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
However, it even happens when "sudo xcode-select -r" is issued.
Attachments (2)
Change History (11)
Changed 5 years ago by nakatamaho (NAKATA Maho)
Attachment: | patch-xib.diff added |
---|
Changed 5 years ago by nakatamaho (NAKATA Maho)
Attachment: | main.log-vlc-ibtool added |
---|
comment:1 Changed 5 years ago by nakatamaho (NAKATA Maho)
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to RJVB |
Port: | VLC added |
Status: | new → assigned |
comment:3 Changed 5 years ago by RJVB (René Bertin)
Ideas anyone? I think this port builds just fine on the 10.14 builders?
The VLC buildsystem does suppose that you have a properly set up development environment and AFAIK that's not something you can ensure from within MacPorts? In any case I cannot recall I ever had to patch anything related to nib/xib files, fortunately.
@nakatamaho: could you try extracting the source somewhere, without any of my patches, and then follow the official build instructions (on videolan.org). If my hunch is correct that will either sort out your issue with the port:VLC build, or else you'll run into there too - and in that case you'd probably have to ask on the videolan forum. (If you do, don't mention your issue started with the MacPorts VLC build, some VLC devs probably still don't like the fact that it exists.)
comment:4 follow-up: 5 Changed 5 years ago by jmroot (Joshua Root)
If VLC can't build with just the Command Line Tools and no Xcode, it needs to set use_xcode yes
.
comment:5 Changed 5 years ago by RJVB (René Bertin)
Replying to jmroot:
If VLC can't build with just the Command Line Tools and no Xcode, it needs to set
use_xcode yes
.
Is that something new? I cannot even find the string in my libexec/macports directory...
comment:6 Changed 5 years ago by RJVB (René Bertin)
It is now confirmed that use_xcode yes
resolves the issue (#59137).
Can someone with commit access make the change please, avoiding the PR circus?
comment:7 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 5 years ago by nakatamaho (NAKATA Maho)
@jmroot thanks for fixing. now I verified on the head. @RJVB I have tried, but build failed while building dependencies...
comment:9 Changed 5 years ago by majoc-at-astro (majoc-at-astro)
Cc: | majoc-at-astro added |
---|
patch-xib.diff is a dirty fix. mail.log-vlc-ibtool is errorlog.
I suspect command line tool is somehow prioritized by macports framework prior to build.
Thanks,