Date: Wed, 12 Feb 2020 00:19:42 +0100 From: Stefan Bethke <stb@lassitu.de> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Debugging build with gmake, running npm toolchain Message-ID: <777440C7-7E56-4DEA-A2EE-2550EBDC3706@lassitu.de>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_329D7412-4C65-4C8E-9430-7B8F3EE2A098 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I maintain www/gitea, and with the newest release, the build has been = changed from a mostly pure Go build to a more complex setup using gmake, = and including some npm-based toolchain to build CSS and JS. Right now, changing the port from USES=3Dgo:modules to USES=3Dgmake runs = into a compilation/linking error: flag provided but not defined: -fstack-protector-strong usage: link [options] main.o -B note add an ELF NT_GNU_BUILD_ID note when using ELF -E entry set entry symbol name The flag -fstack-protector-strong is not part of the Gitea code, but = seems to come from the ports system. I'm having a hard time finding a = build switch that prints the gmake command that is actually invoked, and = information on how to customize that. The second issue is that npm install is invoked, which will most likely = prevent the port to be built as a package. Is there a way to handle the = download of the package-lock.json dependencies in the fetch stage? Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811 --Apple-Mail=_329D7412-4C65-4C8E-9430-7B8F3EE2A098 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl5DNo4ACgkQD885WK4W 4sH2SQgAtBSR/lUF8tV6WQv9frQk33GAmPjlGkyy7wsac6pEBBALtJpTfhbYG4gy E70NnEH1wjCAAAdGYq8Tk16VvOGIR5Jtoi72eKk6DPE5Ad4yPiWWnBQB0mewkeDe q7Xmz9CVmyEbxsv5lAM2oACmPz92+9y+3mTUcy0yWz9hACXup2bstI7eIufDQHhF yS69Jmw4MAcTxa94U+ra/+Tg7THeMG9w7aC9j3M4xx6XYBpsZHE/5HAu8HqGGZHT AZJbTPDmb66+fio3t/pe9lfCXS/MxLi8EXB4qL+qnX4fPYAnGngkrpeBCNN2mLst fiG+HrSqs8eecnnUYPG7HwDUumJt3w== =hdX0 -----END PGP SIGNATURE----- --Apple-Mail=_329D7412-4C65-4C8E-9430-7B8F3EE2A098--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?777440C7-7E56-4DEA-A2EE-2550EBDC3706>