Date: Sat, 17 Jun 2017 04:30:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220072] [patch] mail/fdm: doesn't build Message-ID: <bug-220072-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220072 Bug ID: 220072 Summary: [patch] mail/fdm: doesn't build Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: code@sliger.org Keywords: patch Assignee: dinoex@FreeBSD.org Flags: maintainer-feedback?(dinoex@FreeBSD.org) Created attachment 183562 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183562&action= =3Dedit Proposed Workaround The mail/fdm port, version 1.9_1, doesn't build for me. The last output fr= om the build is below. Setting MAKE_JOBS_UNSAFE=3Dyes allows the port to buil= d and install. It looks like upstream doesn't establish a lex.o: parse.h dependency their Makefile but lex.c includes parse.h. The attached patch adds MAKE_JOBS_UNSAFE=3Dyes to the port Makefile to keep lex.o from being built = in parallel with parse.h. --- parse.c --- /bin/sh ./etc/ylwrap parse.y y.tab.c parse.c y.tab.h `echo parse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output parse.output -- bison -y -d --- lex.o --- depbase=3D`echo lex.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc -DPACKAGE_NAME=3D\"fdm\" -DPACKAGE_TARNAME=3D\"fdm\" -DPACKAGE_VERSION=3D\"= 1.9\" -DPACKAGE_STRING=3D\"fdm\ 1.9\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE_URL=3D= \"\" -DPACKAGE=3D\"fdm\" -DVERSION=3D\"1.9\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES= _H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY= _H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNIST= D_H=3D1 -DHAVE_SYS_QUEUE_H=3D1 -DHAVE_SYS_TREE_H=3D1 -DHAVE_SETPROCTITLE=3D1 -DHAVE_SETRESUID=3D1 -DHAVE_SETRESGID=3D1 -DHAVE_STRLCPY=3D1 -DHAVE_STRLCAT= =3D1 -DHAVE_STRTONUM=3D1 -DHAVE_B64_NTOP=3D1 -I. -I/usr/local/include -DSYSCONFFILE=3D"\"/usr/local/etc/fdm.conf\""=20 -DSYSLOCKFILE=3D"\"/var/run/fdm.lock\"" -O2 -pipe -DPCRE -fstack-protec= tor -fno-strict-aliasing -D_GNU_SOURCE -std=3Dgnu99 -O2 -MT lex.o -MD -MP -MF $depbase.Tpo -c -o lex.o lex.c && mv -f $depbase.Tpo $depbase.Po lex.c:30:10: fatal error: 'parse.h' file not found #include "parse.h" ^ 1 error generated. *** [lex.o] Error code 1 make[2]: stopped in /usr/ports/mail/fdm/work/fdm-1.9 --- parse.c --- updating parse.h 1 error make[2]: stopped in /usr/ports/mail/fdm/work/fdm-1.9 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/mail/fdm *** Error code 1 Stop. make: stopped in /usr/ports/mail/fdm --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220072-13>