Differences when using `make` V `port test`

Mathieu Arnold mat at FreeBSD.org
Fri Sep 23 12:45:40 UTC 2016


Le 22/09/2016 à 23:49, Jev Bjorsell a écrit :
> 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=212468
>
> 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 under
> `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=yes

in /etc/make.conf

and simply run "make" as a regular user, it will check everything that
can be.

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160923/5ba24061/attachment.sig>


More information about the freebsd-ports mailing list