Summary: | multimedia/vlc: fails to build on 12.0-RELEASE | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Alexander Shikov <a.shikov> |
Component: | Individual Port(s) | Assignee: | Thomas Zander <riggs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | riggs |
Priority: | --- | Flags: | riggs:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Alexander Shikov
2019-02-07 03:39:04 UTC
Looks like the compiler used is too old. Can you show output from the following? $ `make -V CC -C/usr/ports/multimedia/vlc` --version $ make -V CHOSEN_COMPILER_TYPE -C/usr/ports/multimedia/vlc # `make -V CC -C/usr/ports/multimedia/vlc` --version FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin # make -V CHOSEN_COMPILER_TYPE -C/usr/ports/multimedia/vlc clang This indeed looks like you are compiling with the old gcc 4 from base. clang 6.0.1 definitely supports -fstack-protector-strong. I just built vlc on 12.0-RELEASE-p3 with no problems. Also, during configure stage, vlc tests for this compiler flag: ... checking whether C compiler accepts -fstack-protector-strong... yes ... Is this test working on your machine? If so, configure and build stages might use different compilers. Any non-default settings in make.conf? Nothing unusual in /etc/make.conf: # cat /etc/make.conf | egrep -v '^#' DOC_LANG= en_US.ISO8859-1 ru_RU.KOI8-R KERNCONF=CRETE BATCH_DELETE_OLD_FILES=YES DEFAULT_VERSIONS+=linux=c6 I've upgraded FreeBSD to latest 12.0-RELEASE-p3 from sources, removed /usr/ports and extracted latest ports tree from scratch. That did not solve the problem. /usr/ports/multimedia/vlc>make configure | grep fstack-protector-strong checking whether C compiler accepts -fstack-protector-strong... yes checking whether C compiler accepts -fstack-protector-strong... (cached) yes Here are also lines from config.log which are related to -fstack-protector-strong flag: configure:28545: checking whether C compiler accepts -fstack-protector-strong configure:28564: cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Werror=unknown-warning-option -Werror=invalid-command-line-argument -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -fvisibility=hidden -O3 -fno-math-errno -funsafe-math-optimizations -funroll-loops -fomit-frame-pointer -fstack-protector-strong -I/usr/local/include -DLIBICONV_PLUG conftest.c >&5 configure:28564: $? = 0 configure:28573: result: yes If you need I can provide a remote access to my box. Thanks. Do you happen to have a full poudriere log? Hi! Kind apologises, it was my fault with rudiment in my installation, just old bash binary: problematic: checking for bash... /bin/bash checking if dolt supports this host... yes, replacing libtool vs. normal: checking for bash... /usr/local/bin/bash checking if dolt supports this host... yes, replacing libtool Thank you for clues and support! |