Bug 155553 - archivers/gtar fails to build
Summary: archivers/gtar fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 14:30 UTC by Kris Moore
Modified: 2011-03-15 17:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Moore 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
/var/db/pkg`).
*** Error code 1

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

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

  FreeBSD ports repository

  Modified files:
    archivers/gtar       Makefile 
  Log:
  Allow building as root.
  
  PR:             155553
  
  Revision  Changes    Path
  1.77      +7 -0      ports/archivers/gtar/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Christian Weisgerber freebsd_committer freebsd_triage 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.