"start" it how? what command?
env SYNTHPROFILE=mars synth just-build /usr/local/etc/synth/mars.pkglist
I have tried to find that emulators/linux_base-c6 file and delete it, but don't know where is it. I don't had any special setup for Linux.chance are it is related to "emulators/linux_base-c6" though. what is special about your linux setup, if anything?
archivers/arj
archivers/bzip2
archivers/file-roller
archivers/p5-Archive-Zip
archivers/p7zip
archivers/thunar-archive-plugin
archivers/unzip
archivers/zip
audio/clementine-player
audio/gstreamer-plugins-faad
audio/mate-media
deskutils/mate-utils
devel/bison
devel/cmake
devel/cppunit
devel/dmake
devel/doxygen
devel/git
devel/gitflow
devel/gmake
devel/gperf
devel/maven31
devel/mdds
devel/ninja
devel/patch
devel/ruby-gems
devel/tmake
devel/ucpp
devel/xorg-macros
devel/yajl
editors/libreoffice-sl
editors/vim
emulators/linux-c6
emulators/linux_base-c6
ftp/filezilla
graphics/cairo
graphics/evince
graphics/gimp
graphics/gstreamer-plugins-aalib
devel/git
devel/gitflow
devel/gmake
devel/gperf
devel/maven31
devel/mdds
devel/ninja
devel/patch
devel/ruby-gems
devel/tmake
devel/ucpp
devel/xorg-macros
devel/yajl
editors/libreoffice-sl
editors/vim
emulators/linux-c6
emulators/linux_base-c6
ftp/filezilla
graphics/cairo
graphics/evince
graphics/gimp
graphics/gstreamer-plugins-aalib
graphics/mupdf
graphics/vigra
java/eclipse
java/netbeans
java/openjdk8
lang/gawk
lang/python27
mail/ssmtp
mail/thunderbird
mail/thunderbird-dictionaries
mail/thunderbird-i18n
math/galculator
misc/mc
multimedia/gstreamer1-plugins-all
multimedia/gstreamer1-plugins-bad
multimedia/gstreamer1-plugins-good
multimedia/gstreamer1-plugins-ugly
net/vnc
net/openntpd
ports-mgmt/dialog4ports
ports-mgmt/portmaster
ports-mgmt/poudriere
print/cups
print/cups-filters
print/hplip
security/ca_root_nss
security/sudo
sysutils/apcupsd
sysutils/automount
sysutils/ezjail
sysutils/fusefs-ext4fuse
sysutils/fusefs-ntfs
sysutils/grub2-bhyve
sysutils/libcdio
sysutils/mate-system-monitor
sysutils/monit
textproc/aspell
textproc/gsed
textproc/intltool
textproc/linux-c6-expat
textproc/sl-aspell
www/chromium
www/firefox
www/firefox-i18n
www/midori
www/opera
www/xpi-adblock_plus
www/xpi-colorfultabs
www/xpi-firebug
www/xpi-flagfox
www/xpi-quick-locale-switcher
x11/glproto
x11/mate
x11/mate-desktop
x11/nvidia-driver-340
x11/slim
x11/xorg
x11-drivers/xf86-video-fbdev
x11-fonts/webfonts
x11-themes/icons-tango
x11-themes/icons-tango-extras
x11-themes/slim-themes
x11-toolkits/open-motif
well, mystery solved:
Code:emulators/linux-c6 emulators/linux_base-c6
you specified it.
Opera probably needs it too.
I will do review that list.i recommend that you really review that list and remove all the build dependencies. Those will be pulled in as necessary. Just put on the list what you actually want to be in the repo.
pkg -j X add
nor pkg -j X install
work with full paths to a built port – but on the host machine it does. Can someone help me here, please? synth rebuild-repository
?First, your Github page lists the synth repo as the highest priority system repo, but when I want to install a built port through pkg, the official package gets installed instead. Why is this the case? I have to specify the full path for it to work – the „-r“ option doesn't work because „No repositories are enabled“.
pkg -vv
would confirm that the Synth repository is not defined, but it sounds like pkg is saying NO repositories are defined. The solution to the problem is to install through synth (once). The correct way to install a package before that is pkg add
and providing a full path to the package.Second, I want to install a custom built port into a jail, but neitherpkg -j X add
norpkg -j X install
work with full paths to a built port – but on the host machine it does. Can someone help me here, please?
Third, does your program provide an option to delete the whole local repo or individual packages, or can I safely delete /var/synth/ or particular packages followed bysynth rebuild-repository
?
Last, will your program provide a „-j“ jail option in the future?
currently they scan the entire tree which takes a long time on FreeBSD (not DragonFly) because nobody is fixing the absurd USES=compiler:features implementation. V1.1 will remove the full tree scan when I figure out how to do it safely on the repository rebuild. Scanning the whole tree is unavoidable for purging distfiles, but is not like you run that command every day. More like every 2-3 months.Why do some operations (rebuild-repository, purge distfiles) take for so long while just a few ports were compiled?
Because each builder needs pkg in order to do queries and scanning options. Synth doesn't use nor trust anything on the system other than the system root it's building on.[/quote]And why is pkg being built when already being installed on the system?
No, it is not safe, nor can I imagine a reason you would want to do that. The repo is constructed as you said it should be and doesn't contain anything extra.
pkg info -ao | grep php56 | awk {'print $2'} | sed -e 's/php56/php70/g' > portlist
, then I ran synth build ./portlist
, followed by pkg delete php56\*
, and pkg install -r Synth `cat portlist`
. synth rebuild-repository
to make things consistent again.This seemed to work as expected, I had replaced all php56 ports with php70 ones. However then all of the old php56 ports were still found in the repo so I just deleted /var/synth/live_packages/All/php56* and ransynth rebuild-repository
to make things consistent again.
I'm guessing you're going to say now that synth would have deleted the files automatically if I had run another command and there was no need at all to do this? But if not then that's an example of when you might want to do this?
On my FreeBSD 10.2-RELEASE (amd64) it happened the same as on your machine.I just noticed when scanning the ports tree Synth takes around 4 times as long for me with version 1.02. What used to take less than a minute in version 1.00 now takes around 4 minutes. Not really that big of a deal but I can see it taking far longer for other people as I have a pretty beefy machine with a ton of RAM.