From owner-freebsd-ports@freebsd.org Fri Sep 23 12:45:40 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C6F7BE62B3 for ; Fri, 23 Sep 2016 12:45:40 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 90B58FC9 for ; Fri, 23 Sep 2016 12:45:39 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 4823ABDDB6; Fri, 23 Sep 2016 14:45:37 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 2CE8FBDDAA; Fri, 23 Sep 2016 14:45:37 +0200 (CEST) Subject: Re: Differences when using `make` V `port test` To: Jev Bjorsell , freebsd-ports@freebsd.org References: From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <3ef6ea87-0a2c-e87e-66e2-535c11d01ed1@FreeBSD.org> Date: Fri, 23 Sep 2016 14:45:36 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CQpeGlxH257eu3QFQixjP6KITqCMAxVmk" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 12:45:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CQpeGlxH257eu3QFQixjP6KITqCMAxVmk Content-Type: multipart/mixed; boundary="7sreFkJWvj253qRVqxbLsGP9Rb7ON4Rs7"; protected-headers="v1" From: Mathieu Arnold To: Jev Bjorsell , freebsd-ports@freebsd.org Message-ID: <3ef6ea87-0a2c-e87e-66e2-535c11d01ed1@FreeBSD.org> Subject: Re: Differences when using `make` V `port test` References: In-Reply-To: --7sreFkJWvj253qRVqxbLsGP9Rb7ON4Rs7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 22/09/2016 =C3=A0 23:49, Jev Bjorsell a =C3=A9crit : > Hi All, > > Noob porter here. :) > > I created a port for prometheus, and opened a ticket here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212468 > > On the advice of Kubilay, I ran `port test`, and this leads me to my > question; > > When running `port test` the build binaries are not found, (logs below)= , > but when doing a simple `make install` everything works fine, and I can= see > the binaries in the work/ directory also. > I suspect that the pormetheus build process is doing something a little= > magic, but I'm lookin to understand why the build behaves differently u= nder > `port test` compared to a straight `make`. > > Logs from both `port test` and `make` follow. I don't really know what it does, but to test a port, it seems overcomplicated, everything is already done by the framework. Best would be for you to put: DEVELOPER=3Dyes in /etc/make.conf and simply run "make" as a regular user, it will check everything that can be. --=20 Mathieu Arnold --7sreFkJWvj253qRVqxbLsGP9Rb7ON4Rs7-- --CQpeGlxH257eu3QFQixjP6KITqCMAxVmk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJX5SPwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IYFwP/Ai5A5LtBRdc4oOQbZNoLLt0 Q1bc4v5fQFm25xdEtAqJhsbAwE67ykYOAXKFp5m3y1G3HuZ4rW0wtlos7MHGOiOw yqhh9+8w/UwuzxSsLlxuBogranthh4yDV+Q7/IxVh5lYk5+TqlGkpRU5gFMk2AnT Bz0ta+ROs2NUt/t7zIG3bYOMsrMG2WwR6bWCq9+GVf5TyCbZa0c/8rXWVQDW6OLd g3pKsITSGpPYVvKhucgC6X+THZPKzL7UCYVVfdLw+eV5dsUNy67/PUFDfYhTbkZs Mryc8GDjvNNr4fkb74lokHW8j7Yuxo3oCz8VedTHFJCeOVKxOQxQ/06+ZowEOc4R eKddtEp7QUsF+WBOQ77gqmUkcetGrVZPHoIOF0mi/pi2ZvMjuQm58tcSj6p3Jn8l m8zcaSYJFxxsAOWrQ7Y7KwgUgX9+HPvk7WATBfJcorID3DmH47JITdY8dlkK21d/ KfMNhmrQ7wD4NWpvsvLytGrthNZpNKcJbS/2JsZcU09qRrIvrabZdh6q+1/3yCGh ldz57W3QAA+Ki5QLbNfhJI0YxRfQBYumjgDeNt+5/oTleoDIri1nntmFimBnxOyd 4WO76F40MQUIAquk/oueo4ggeWMh69R7XSbw7Srg/3SQqtrzxZEHn5N1J91mgBGr fjPe/j3W1/d71tH2V/Uk =lWLL -----END PGP SIGNATURE----- --CQpeGlxH257eu3QFQixjP6KITqCMAxVmk--