Bug 240780 - devel/dmalloc does not build on freebsd head
Summary: devel/dmalloc does not build on freebsd head
Status: Closed Overcome By Events
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)
Depends on:
Reported: 2019-09-24 04:04 UTC by mjl
Modified: 2020-07-01 10:02 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description mjl 2019-09-24 04:04:37 UTC
I have, as maintainer for the dmalloc port, been receiving emails from pkg-fallout@freebsd.org stating that the dmalloc build is failing on FreeBSD 13 1300047, which is included below.  Can someone please check if MAKE_JOBS_UNSAFE=yes is necessary for this port on the build cluster.  As you can see, dmalloc.h is built shortly after it is required in the logfile.

=>> Building devel/dmalloc
build started at Tue Sep 24 03:50:41 UTC 2019
port directory: /usr/ports/devel/dmalloc
package name: dmalloc-5.5.2_1
building for: FreeBSD head-amd64-default-job-10 13.0-CURRENT FreeBSD 13.0-CURRENT 1300047 amd64
maintained by: mjl@luckie.org.nz
Makefile ident:      $FreeBSD: head/devel/dmalloc/Makefile 503996 2019-06-11 22:30:00Z bdrewery $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1300047
Job Id: 10

===>  Building for dmalloc-5.5.2_1
--- dmalloc_rand.o ---
--- dmallocc.o ---
--- dmalloc_rand.o ---
rm -f dmalloc_rand.o
--- dmallocc.o ---
rm -f dmallocc.o
c++ -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0  -DHAVE_SIGNAL_H=1   -I. -I.  -c ./dmallocc.cc  -o ./dmallocc.o
--- dmalloc_rand.o ---
cc -fPIC -fstack-protector-strong -fno-strict-aliasing  -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0  -DHAVE_SIGNAL_H=1   -I. -I.  -c dmalloc_rand.c -o ./dmalloc_rand.o
--- dmallocc.o ---
./dmallocc.cc:41:10: fatal error: 'dmalloc.h' file not found
#include "dmalloc.h"
1 error generated.
--- dmalloc.h ---
rm -f dmalloc.h dmalloc.h.t
cat ./dmalloc.h.1 dmalloc.h.2 ./dmalloc.h.3 > dmalloc.h.t
--- dmallocc.o ---
*** [dmallocc.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/devel/dmalloc/work/dmalloc-5.5.2
--- dmalloc.h ---
mv dmalloc.h.t dmalloc.h
1 error

make[1]: stopped in /wrkdirs/usr/ports/devel/dmalloc/work/dmalloc-5.5.2
===> Compilation failed unexpectedly.
Comment 1 Alexey Dokuchaev freebsd_committer 2020-07-01 10:02:49 UTC
The port had been marked as jobs-unsafe as of ports r513602, closing.