I've been using synth on 10.3 for a few days now without issues. The one complaint I have left is that I liked how portmaster, if you didn't use the -y flag, would stop before proceeding and show you what it would do. I know we can do this with synth status and don't know how many others would like that as default. (For example, _I_ like the fact that synth expects you to do all configuration before hand--that is, unlike portmaster, you don't get configuration dialogs by default, but others seem to prefer the portmaster way.)
synth prepare-system
it starts building devel/llvm36 among other ones. I guess, it has long been replaced with devel/llmv37 which has already been built. So why does it insist on building llvm36? What does it know which I don't?I must have misunderstood your meaning somehow...It comes from DEFAULT_VERSIONS that are in effect when building anything from scratch in a clean environment unless overridden by make.conf(5) or by some other means. Built packages are not known to the build process and can not influence what gets selected as a dependency, they are just pulled in if the already built package matches a build dependency selected by the ports infrastructure and DEFAULT_VERSIONS.
Is this not supposed to come out when youOh ok, I forgot something that affects the build just like DEFAULT_VERSIONS does. Many of the ports are using USES += compiler (/usr/ports/Mk/Uses/compiler.mk) in their Makefile and the selection of compiler to lang/clang36 comes from that.
cd /usr/ports/your-port/dir && make build-depends-list
? And if not that, then make all-depends-list
must get it at last, no?They're identical, cause I created them so.Yes it should show up in the depends list but keep in mind that Synth's build environment may not be the same as the one you have on the host. Compare your /etc/make.conf (not read by Synth!) with /usr/local/etc/synth/LiveSystem-make.conf if you have one.
synth upgrade-system
obviously upgrades synth's own system despite the "system root directory" setting, as I learned from my recent experience.So you mean synth will imitate the things found under "system root" dir while creating its jailed build environment?one thing doesn't have anything to do with the other. The system root is to define the build environment only.
You configure pkg(8) to use the new repository as necessary (e.g. another system connects to repository over a network or webserver). In that use case, pkg(8) is responsible for package installing. Synth only does it as a convenience command for the local system to save a step.
synth upgrade-[I]system[/I]
. synth will build packages in a clean environment can exactly mirror the system that
they are built on...
synth status
(no pkg list given) will show the status of the build that will "exactly mirror" the current system. Then this behaviour can be called "default", right?Not imitate, mount. It mounts a selected set of directories like bin, sbin, usr/bin, usr/sbin etc. Others are created like /etc, /tmp, etc.So you mean synth will imitate the things found under "system root" dir while creating its jailed build environment?
c++ -Wl,--as-needed -fstack-protector -fuse-ld=gold -Wl,--enable-new-dtags -pthread -Wl,-rpath,/usr/local/lib -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5X11Extras.so.5 -o libQt5X11Extras.so.5.5.1 .obj/qx11info_x11.o -L/construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1/lib -L/usr/local/lib -lQt5Gui -lQt5Core -lGL
c++: error: invalid linker name in argument '-fuse-ld=gold'
*** [../../lib/libQt5X11Extras.so.5.5.1] Error code 1
make[3]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1/src/x11extras
1 error
make[3]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1/src/x11extras
*** [sub-x11extras-all] Error code 2
make[2]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1/src
1 error
make[2]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1/src
*** [sub-src-all] Error code 2
make[1]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1
1 error
make[1]: stopped in /construction/xports/x11/qt5-x11extras/work/qtx11extras-opensource-src-5.5.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /xports/x11/qt5-x11extras