So that's it? We need to switch to poudriere if we want to have the performance tweaks?
Is no one even going to attempt to see what is needed to be done with Synth (or make.conf file) in order to bring it up to speed?
I've been reluctant to point this out, but you've already said that you update ports via cron on a daily basis and update the flavor index at that time, but then invalidate that work by doing it manually because you *must* have the very latest ports tree and not one 6 hours old.
Almost *always* after a port has been updated, a patch is added an hour or 2 later tagged "fixed issue with ..." or something important
Yes, but unless you’re a fortune teller, you have no way of knowing if there is an upcoming “fixed issue” patch, or a new version, etc. Put another way, what about the patch that will come an hour or two from “now”? Are you going to go through it all again then? I’d guess not - with the potential exception for a security fix, depending on your environment and exposure.
And if it’s a production system, you should consider a build and test on another system (or jail/VM) before applying the latest and “greatest” anyway.
_CCVERSION_921dbbb2=FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM 5.0.1) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM 5.0.1) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM 5.0.1) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
Nothing will be done to synth. The "workaround" is strictly a [profile]-make.conf adjustment.
Yes, synth will need to be programmed to run /Mk/Scripts/ports_env.sh and export it in to the make.conf file.Maybe the linked tool will provide output for the profile make.conf, dunno. I never used it.
_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.1-RELEASE-p8
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#!/usr/local/bin/bash
export SCRIPTSDIR="/usr/ports/Mk/Scripts"
export PORTSDIR="/usr/ports"
export MAKE="/usr/bin/make"
/bin/sh ${PORTSDIR}/Mk/Scripts/ports_env.sh |
grep '^export [^;&]*' |
sed -e 's,^export ,,' -e 's,=",=,' -e 's,"$,,'
$ date && sudo synth status && date
Thu Mar 15 09:00:14 PDT 2018
Regenerating flavor index: this may take a while ...
Scanning entire ports tree.
Querying system about current package installations.
Stand by, comparing installed packages against the ports tree.
These are the ports that would be built ([N]ew, [R]ebuild, [U]pgrade):
Total packages that would be built: 0
The complete build list can also be found at:
/var/synth/synth_status_results.txt
Thu Mar 15 09:04:49 PDT 2018
$ date && sudo synth status && date
Thu Mar 15 09:12:02 PDT 2018
Regenerating flavor index: this may take a while ...
Scanning entire ports tree.
Querying system about current package installations.
Stand by, comparing installed packages against the ports tree.
Scanning existing packages.
These are the ports that would be built ([N]ew, [R]ebuild, [U]pgrade):
Total packages that would be built: 0
The complete build list can also be found at:
/var/synth/synth_status_results.txt
Thu Mar 15 09:15:44 PDT 2018
synth just-build lang/python36
, it is failing with the following error:configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
===> Script "configure" failed unexpectedly.
Please report the problem to python@FreeBSD.org [maintainer] and attach the
"/construction/xports/lang/python36/work/Python-3.6.5/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /xports/lang/python36
configure:3900: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:3911: $? = 1
configure:3900: cc -qversion >&5
cc: error: unknown argument: '-qversion'
cc: error: no input files
configure:4083: $? = 0
configure:4090: ./conftest
Shared object "libintl.so.8" not found, required by "conftest"
configure:4094: $? = 1
configure:4101: error: in `/construction/xports/lang/python36/work/Python-3.6.5':
configure:4105: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details