Solved synth status: culprit: cad/astk-serveur

I have problems running synth status for the first time:

Code:
$ sudo synth status sysutils/sl
Builder mounts detected; attempting to remove them automatically ...
Dismounting successful!
Regenerating flavor index: this may take a while ...
Scanning entire ports tree.
 progress: 5.49%
culprit: cad/astk-serveur
Scan aborted because 'make' encounted an error in the Makefile.
cad/astk-serveur (return code = 1)

Running FreeBSD 11.1-RELEASE-p6
 
Did a portsdir replace with portsnap extract, and tried again, now with this result:

Code:
$ sudo synth prepare-system
Regenerating flavor index: this may take a while ...
Scanning entire ports tree.
 progress: 5.46%
culprit: cad/scotch
Scan aborted because 'make' encounted an error in the Makefile.
cad/scotch (return code = 1)
 progress: 5.65%

How can I fix this?
 
Is Synth itself up to date? There have been some important changes in the ports tree (FLAVOURS) and Synth has to be updated or it won't be able to deal with those changes.
 
the flavor index got generated so he's probably using the latest synth.
This looks like an error in the ports tree. It happens. It's not synth's fault, it's the fault of whomever made the change that causes make to error out on cad/astk-serveur

often you can see the error by doing make -C /usr/port/cad/astk-serveur -V PORTNAME. If there's a problem with the makefile, you get errors for that simple command.
 
To avoid any confusion;

$ pkg version | grep synth
synth-2.02 =


Then, check the detailed error (where the devil often is);

$ make -C /usr/ports/cad/astk-serveur -V PORTNAME
make: "/usr/ports/cad/astk-serveur/Makefile" line 293: Cannot open /usr/ports/cad/astk-serveur/../../french/aster/bsd.aster.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/cad/astk-serveur


Last command made me look at my portsnap.conf file, since I refuse localized parts of the ports tree;

$ grep ^REFUSE /etc/portsnap.conf
REFUSE arabic chinese french german hebrew hungarian japanese
REFUSE korean polish portuguese russian ukrainian vietnamese


Commented out the REFUSE-statements, did a portsnap extract and tried again;

$ sudo synth status [PORT]games/sl[/PORT]
Stand by, building pkg(8) first ... done!
[NOPARSE]These are the ports that would be built ([N]ew, [R]ebuild, [U]pgrade):[/NOPARSE]
N => games/sl
Total packages that would be built: 1
The complete build list can also be found at:
/var/synth/synth_status_results.txt


SUCCESS!

Thanks guys! :-) Case closed.
 
I'm having a similar problem, what happened to the ports-tree?
I use subversion to update my ports tree, running 11.1-RELEASE-p6.

Code:
synth status build.list
Regenerating flavor index: this may take a while ...
Scanning entire ports tree.
 progress: 9.99%
culprit: databases/py-pglite
Scan aborted because 'make' encounted an error in the Makefile.
databases/py-pglite (return code = 1)
 progress: 10.24%
EDIT: error went away after a certain revision of the portstree
 
Back
Top