Bug 249224 - editors/vile: port broken by switch to parallel make
Summary: editors/vile: port broken by switch to parallel make
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-09 22:29 UTC by Thomas E. Dickey
Modified: 2020-09-10 09:37 UTC (History)
2 users (show)

See Also:


Attachments
updated makefile (2.50 KB, text/plain)
2020-09-09 23:11 UTC, Thomas E. Dickey
no flags Details
replacement for editors/vile/Makefile (1.54 KB, text/plain)
2020-09-10 09:37 UTC, Thomas E. Dickey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas E. Dickey 2020-09-09 22:29:30 UTC
A recent build-report showed a problem building the vile port.
The symptom pointed to a problem with parallel make.

The likely problem seems to be as reported against the make program here:

http://gnats.netbsd.org/55542
"make: parallel builds and double-colon don't get along"

That is, double-colon targets in the makefiles cause the build to fail.
vile uses this in several places, and rewriting the makefiles to work
around a bug in a given make-program isn't going to happen.  It works
well enough with gmake, but is easy to reproduce with bmake with my
Debian/testing for instance:

--- all ---
--- bnf-filt.o ---
rm -f bnf-filt.c
--- css-filt.o ---
echo "#include <flt_defs.h>" > css-filt.c
flex -t css-filt.l >> css-filt.c
clang -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -D_FILE_OFFSET_BITS=64 -I./filters -g -O2 -Qunused-arguments -Wno-error=implicit-function-declaration   css-filt.c
bmake: all#1: cohort has parents

bmake: stopped in /usr/build/vile/vile

The problem with make appears to be recent; it works with FreeBSD 12.
(I tried installing FreeBSD-13-current...).  The Debian/testing package
also is new:

https://packages.debian.org/bullseye/bmake
"bmake (20200710-5)"

The port should be updated to suppress the parallel-make feature.
Comment 1 Thomas E. Dickey 2020-09-09 23:11:33 UTC
Created attachment 217859 [details]
updated makefile
Comment 2 Thomas E. Dickey 2020-09-10 09:37:26 UTC
Created attachment 217865 [details]
replacement for editors/vile/Makefile