pkg upgrade -r Synth
manually and then it's clear Synth is not involved with installing ports. The install/upgrade commands are just for convenience; they just invoke pkg.I am sorry. It was mistake. I sent quoted text to someone and it happenedi'm not sure why you quoted it and underlined it. Synth did exactly what the man page said it would do. I am very confused about what you are trying to tell me.
% pkg info -d mutt
mutt-1.5.24_4:
openssl-1.0.2_8
urlview-0.9.20131021
mime-support-3.58
db5-5.3.28_3
libiconv-1.14_9
libidn-1.31
gettext-runtime-0.19.6
% pkg info -d gettext-runtime-0.19.6
gettext-runtime-0.19.6:
indexinfo-0.2.4
% pkg info -r indexinfo-0.2.4
indexinfo-0.2.4:
gettext-tools-0.19.6
libffi-3.2.1
libidn-1.31
gettext-runtime-0.19.6
Scanning entire ports tree.
progress: 33.12%
culprit: games/libretro-cores
Scan aborted because dependency is malformed.
FETCH: 0.20151110 (games/libretro-cores)
Hi, marino@, first of all let me thank you greatly for this port.1. That's not the definition of downtime.
...
7. 300 ports is NOTHING. My home machine can hit 1000 ports an hour, our blade machine can hit 2800 ports per hour. If you use ccache, it will rebuild huge ports in minutes.
But here I have a question. I usually build editors/libreoffice with -j6 for speed. How could I define the same with synth?
synth configure
BTW, which is the best configuration for speed with synth? Is it to have more builders, or have less builders but more jobs per builder?
Right, but the port will not be built for the reason that "category XXX is not in list of valid categories". And these are defined in /usr/ports/Mk/bsd.port.mk, so I guess it must be defined there as well?...
Better make a own category for your ports. ... You have then write your category in /usr/ports/Makefile. This will not overwritten.).
make install
command. But with synth this problem appears (from synth log):===> Configuring for grub2-dev-2.02.b2.d
Importing unicode...
autogen.sh: python: not found
*** Error code 127
Stop.
Right, but the port will not be built for the reason that "category XXX is not in list of valid categories". And these are defined in /usr/ports/Mk/bsd.port.mk, so I guess it must be defined there as well?
Forget "manual". It has to build inBut I have run into another problem here. I'm trying to build a customized port which builds well with both portmaster and manualmake install
command.
poudriere testport
or synth test
and pass. if it does, it works in manual, and it's required to work in the former.But with synth this problem appears (from synth log):
Looks like /usr/local/bin/python symlink is not installed in the build environment? How can that be fixed?Code:===> Configuring for grub2-dev-2.02.b2.d Importing unicode... autogen.sh: python: not found *** Error code 127 Stop.
Thank you very much for your answers....
It looks like grub2-dev has a problem. It should be reproducible in poudriere using the same exact options.
Right, I've got the message now, thank you. Yes, I just missed it about autoreconf in porter's handbook. It works now.well, that's kind of my point. You pretty much *have* to check new ports with either poudriere or synth. If you don't, the person that tests it will and as soon as it fails, they'll kick it back to you. so doing those checks aren't optional (and I recommend it so so you can save at least one kickback).
autoreconf is another setting. it's probably something like "USES+= autoreconf". check /usr/ports/Mk/Uses/autoreconf.mk or grep other ports to see how it's used.
Thank you very much for your answers.
Now this one is my custom port based on GIT version of GRUB2 (not submitted officially) and I'm not using poudriere. Having fixed the python problem (replaced python with /usr/local/bin/python2.7 in autogen.sh), I've run into another similar one: /usr/local/bin/autoreconf symlink is not installed in build environment, so it can't find autoreconf in the same way it failed to find python.OK, that symlink belong to package autoconf-wrapper, but /usr/local/bin/python symlink seems to be part of python package.
Yes, I should think so, too.I think the port should depend (build time dependency only probably) on lang/python if it wants to use the unqualified python interpreter without a version number. That port will provide the /usr/local/bin/python symlink. This should be cleaner solution that hacking the configure script.
BUILD_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
USES= ... python ...
Right, I just added another line to this effect to other BUILD_DEPENDS mentioned in Makefile. Thank you for your help, it works all right.I couldn't find out if this is provided by Mk/Uses/python.mk so the BUILD_DEPENDS method has to be used I guess, the PORTSDIR is now an optional prefix in the path because it is filled in automatically so it becomes:
Code:BUILD_DEPENDS+= ${LOCALBASE}/bin/python:lang/python
if test xpc != xemu; then
@TARGET_STRIP@ --strip-unneeded \
-K grub_mod_init -K grub_mod_fini \
-K _grub_mod_init -K _grub_mod_fini \
-R .note.gnu.gold-version -R .note.GNU-stack \
-R .note -R .comment -R .ARM.exidx $tmpfile || exit 1
fi