From owner-freebsd-ports@freebsd.org Tue Feb 11 23:19:53 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67EBC246452 for ; Tue, 11 Feb 2020 23:19:53 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HJdh2wKNz4nNX for ; Tue, 11 Feb 2020 23:19:51 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id C0F9A2C4097 for ; Tue, 11 Feb 2020 23:19:43 +0000 (UTC) From: Stefan Bethke Content-Type: multipart/signed; boundary="Apple-Mail=_329D7412-4C65-4C8E-9430-7B8F3EE2A098"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Debugging build with gmake, running npm toolchain Message-Id: <777440C7-7E56-4DEA-A2EE-2550EBDC3706@lassitu.de> Date: Wed, 12 Feb 2020 00:19:42 +0100 To: FreeBSD Ports X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48HJdh2wKNz4nNX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 2a00:14b0:4200:32e0::1ea as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [-4.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[lassitu.de]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.50)[ip: (-1.18), ipnet: 2a00:14b0::/32(-0.81), asn: 13135(-0.49), country: DE(-0.02)]; TO_DN_ALL(0.00)[]; MV_CASE(0.50)[]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:13135, ipnet:2a00:14b0::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 23:19:53 -0000 --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 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--