[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 1 00:30:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

--- Comment #3 from Corey Halpin <chalpin at cs.wisc.edu> ---
Created attachment 207968
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207968&action=edit
patch-t.smoke

I wasn't able to replicate the problem in poudriere with the options I
suspected. Nor with a complete copy of your make.conf from your logs.

However, mail from pkg-fallout reporting a failure in the build-as-user set
provided a clue.

Does your poudriere.conf set BUILD_AS_NON_ROOT=yes and
CCACHE_DIR_NON_ROOT_SAFE=yes ?

If so, then I think t.smoke is failing because it tries to run fetchmail as
'nobody', but 'nobody' does not have a home directory. I'm able to make it fail
that way by setting BUILD_AS_NON_ROOT=yes in my poudriere.conf.

Placing the attached patch-t.smoke ${PORTSDIR}/mail/fetchmail/files resolves
the failure for me. Does it work for you?

As to your earlier question, 'are the tests necessary', as of right now the
test suite is quite small and runs quickly while also providing a backstop that
prevents installing a binary that appears to have built correctly but does not
actually function. I'd prefer to keep them in order to have that extra layer of
safety.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list