synth rebuild-repository
. It appears that when synth is in text mode (as opposed to curses mode), the keypress detection is not triggered by control characters. Can anyone confirm the same from FreeBSD? I might have to change this shutdown key to capital-Q or something. really obnoxious. pkg
I think I worked out why I was having issues with it looking in the wrong repo. It says:Install a package from a remote package repository. If a package is found in more than one remote repository, then installation happens from the first one. Downloading a package is tried from each package repository in turn, until the package is successfully fetched.
pkg -vv
it shows FreeBSD before Synth:Repositories:
FreeBSD: {
url : "pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
Synth: {
url : "file:///var/synth/live_packages",
enabled : yes,
priority : 0
}
pkg install gmake
wanted to install lua52 and gmp, which I found was because pkg was not in fact using Synth as a priority at all. So just mentioning my findings in case it helps others FYI. From reading the man pages forpkg
I think I worked out why I was having issues with it looking in the wrong repo. It says:
Install a package from a remote package repository. If a package is found in more than one remote repository, then installation happens from the first one. Downloading a package is tried from each package repository in turn, until the package is successfully fetched.
And if I runpkg -vv
it shows FreeBSD before Synth:
So I guess it maybe sees the FreeBSD one first and then installs/upgrades from that. Although just using -r Synth on the install/upgrade commands solves the problem as it only uses Synth then.
xtaz, it's very much recommended that you don't mix the official repo with your self built packages. It works only to an extent that you can replace leaf ports (ports that are not required by other ports) from the other repository, anything else and you might cause a dependency conflict that can not be solved by the dependency solver.
Clearly the way pkg works means that this isn't always the case. So either you have to disable the external repo completely or you have to remember to use the -r switch to point it to a specific repo. This basically started off because I wondered whypkg install gmake
wanted to install lua52 and gmp, which I found was because pkg was not in fact using Synth as a priority at all. So just mentioning my findings in case it helps others
synth upgrade-system
and I got:Scanning existing packages.
libc++-208080.txz failed dependency check.
The task is complete. Final tally:
Initial queue size: 2
packages built: 1
ignored: 1
skipped: 0
failed: 0
Duration: 00:00:48
The build logs can be found at: /var/log/synth
Scanning entire ports tree.
progress: 13.69%
culprit: devel/compiler-rt-devel
Scan aborted because dependency is malformed.
FETCH: compiler-rt-devel-3.9.d20160216.txz (devel/compiler-rt-devel)
synth status
In the results.txt are the same two files.Querying system about current package installations.
Stand by, comparing installed packages against the ports tree.
Scanning existing packages.
libc++-208080.txz failed dependency check.
These are the ports that would be built:
=> devel/libc++
=> net-im/skype4
Total packages that would be built: 2
The complete build list can also be found at:
/tmp/synth_status_results.txt
> make -V BUILD_DEPENDS
clang-devel: not found
make: "/usr/ports/Mk/Uses/compiler.mk" line 69: warning: "clang-devel --version" returned non-zero status
make: "/usr/ports/Mk/Uses/compiler.mk" line 120: warning: "clang++-devel -### /dev/null 2>&1" returned non-zero status
llvm-config-devel:/usr/ports/devel/llvm-devel /usr/local/bin/cmake:/usr/ports/devel/cmake ninja:/usr/ports/devel/ninja
fernandel the maintainer broke the port
It's not Synth's fault.Code:> make -V BUILD_DEPENDS clang-devel: not found make: "/usr/ports/Mk/Uses/compiler.mk" line 69: warning: "clang-devel --version" returned non-zero status make: "/usr/ports/Mk/Uses/compiler.mk" line 120: warning: "clang++-devel -### /dev/null 2>&1" returned non-zero status llvm-config-devel:/usr/ports/devel/llvm-devel /usr/local/bin/cmake:/usr/ports/devel/cmake ninja:/usr/ports/devel/ninja
I didn't understand your comment about /tmp/synth_status_results.txt. It's supposed to be the same as what is on the screen.
i don't think so. see the description in the man page.
Thanks.It will list all the ports that will be rebuild
along with a total, and it also logs the same information to
/tmp/synth_status_results.txt since the full list is often longer than
the terminal height.
Scan of devel/wrapper failed, it will not be considered.