Page 1 of 1

3.0.11.1 build fails

Posted: 04 Aug 2020 20:12
by EP99
Apologies for the extra post -- trying to build 3.0.11.1 to fix a libtool pathfile error and a single command build fails on a mac running Mojave with the following errors -- output snipped -- note multiple issues, including the build doesn't appear to work for macos and a major error at the end:

Please advise how I can fix these and get a clean build:

Code: Select all

OBJCLD libkeychain_plugin.la ld: warning: could not create compact unwind for _ff_cfhd_init_vlcs: stack subq instruction is too different from dwarf stack size ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavutil.a(cpuid.o)) built for free standing CCLD libconsole_logger_plugin.la CCLD libfile_logger_plugin.la CCLD libsyslog_plugin.la ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(aacencdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(dnxhdenc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(me_cmp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavutil.a(imgutils.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(svq1enc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(v210enc.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(v210.o)) built for free standing CCLD liblua_plugin.la ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(ac3dsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(ac3dsp_downmix.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(lossless_videodsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(pngdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlc-3.0.11.1/contrib/x86_64-apple-darwin18/lib/libavcodec.a(diracdsp.o)) built for free standing ld: warning: building for macOS, but linking in object file (/Users/CT15/temp/VLC/vlld: warning: ld: warning: .... CCLD libi420_10_p010_plugin.la CCLD libmotion_plugin.la make[2]: write error make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 McKinley:build CT15$ ls Makefile compile config.status doltlibtool libtool po stamp-h1 bin config.h doc include m4 share test compat config.log doltcompile lib modules src McKinley:build CT15$ pwd /Users/CT15/temp/VLC/vlc-3.0.11.1/build

Re: 3.0.11.1 build fails

Posted: 06 Aug 2020 19:28
by dfuhrmann
With all due respect: You should really learn how to provide *full* and *complete* build logs using a pastebin service.

This is now at least the third time you are providing random (and partly irrelevant) log snippets which very likely miss the actual error message.

Re: 3.0.11.1 build fails

Posted: 06 Aug 2020 23:26
by EP99
@dfuhrmann I am happy to provide full logs -- however this complaint has been noted by many others -- please suggest the most SECURE and preferred way and location to provide the logs and PLEASE provide a pointer to *where* I will find those logs on build.

Happy to provide them if it will allow you to help me to BUILD successfully. Thanks in advance

Re: 3.0.11.1 build fails

Posted: 08 Aug 2020 11:16
by dfuhrmann
You can use any pastebin service in the internet as you want, to provide larger log files. I can recommend google to search for one. If you care about security, google suggests https://0bin.net/ as this encrypts your data client side.

And please kindly understand that I will not explain you how you retrieve and copy paste a complete terminal output. If you want to compile source code under linux or macOS like systems you should be able to find out by yourself.

Please keep in mind that the VLC 3.0.11.1 source code (at least from git) is automatically compiled fine at least once a day in our outomated CI tool chain. So as a first guess, it is fair to assume that your local environment is the culprit, so its best if you try to understand by yourself what might be wrong, as you are the the person having direct access to your environment.

Re: 3.0.11.1 build fails

Posted: 11 Aug 2020 18:43
by EP99
@dfuhrmann thank you for the 0bin suggestion. You can find the complete output here -- post will stay for 1 month:

https://0bin.net/paste/cc-CjikrhmrCcuqU ... iDTQQN+vyE

I've successfully built VLC 4.0-dev on this system without changes to the local environment -- to include having CommandLine Tools installed. Based on your suggestion I removed it when 3.0.1x would not build.

My local environment is configured per VLC's macOSCompile document here:
https://wiki.videolan.org/MacOSCompile/

Thank you in advance for any suggestions or input you can lend.

Re: 3.0.11.1 build fails

Posted: 12 Aug 2020 17:47
by dfuhrmann
So you are reporting now a totally different error than above. Great, so it seems you were able to resolve the first error you described above.

For the second problem I also noticed that and pushed a fix. As a workaround, please go into your extracted tarball, and create an emtpy folder "share/hrtfs".
This should fix the final packaging problem.

Re: 3.0.11.1 build fails

Posted: 12 Aug 2020 18:04
by EP99
So you are reporting now a totally different error than above. Great, so it seems you were able to resolve the first error you described above.

For the second problem I also noticed that and pushed a fix. As a workaround, please go into your extracted tarball, and create an emtpy folder "share/hrtfs".
This should fix the final packaging problem.
Thank you -- where do you suggest should I create the empty folder? my working tarball directory is vlc-3.0.11.1.

Re: 3.0.11.1 build fails

Posted: 13 Aug 2020 08:18
by dfuhrmann
Where I just wrote. And where the build script complains about having a missing folder.