Bug 155553 - archivers/gtar fails to build
archivers/gtar fails to build
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Christian Weisgerber
Depends on:
  Show dependency treegraph
Reported: 2011-03-14 14:30 UTC by kris
Modified: 2011-03-15 17:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description kris 2011-03-14 14:30:13 UTC
The port archivers/gtar fails to build on 9-CURRENT/amd64, looks like it doesn't like building as root by default?

checking for mkdtemp... yes
checking whether mkfifo rejects trailing slashes... yes
checking whether mknod can create fifo without root privileges... configure: error: in `/usr/ports/archivers/gtar/work/tar-1.25':
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to naddy@FreeBSD.org [maintainer] and attach the
"/usr/ports/archivers/gtar/work/tar-1.25/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
*** Error code 1

Stop in /usr/ports/archivers/gtar.
*** Error code 1
Comment 1 Mark Linimon freebsd_committer 2011-03-14 15:45:33 UTC
Responsible Changed
From-To: freebsd-bugs->naddy

Make this a ports PR and assign.
Comment 2 dfilter freebsd_committer 2011-03-15 17:36:31 UTC
naddy       2011-03-15 17:36:21 UTC

  FreeBSD ports repository

  Modified files:
    archivers/gtar       Makefile 
  Allow building as root.
  PR:             155553
  Revision  Changes    Path
  1.77      +7 -0      ports/archivers/gtar/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Christian Weisgerber freebsd_committer 2011-03-15 17:36:56 UTC
State Changed
From-To: open->closed

I've fixed this by pre-loading gl_cv_func_mknod_works, so configure 
can skip that particular test and building as root works.