Bug 186503 - ports-mgmt/pkg: "make install package" segfaults
Summary: ports-mgmt/pkg: "make install package" segfaults
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: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 03:10 UTC by Chris Ashlee
Modified: 2014-06-15 23:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Ashlee 2014-02-06 03:10:01 UTC
If the environment variable BATCH is set to "yes", then doing "make install package" for any port I've tried causes a segfault after the install step, when it tries to build the package. Note that it ONLY happens with the command "make install package", not "make package" by itself or "make install", and it only happens when the BATCH variable is set.

I have the most recent pkg installed: pkg-1.2.6.

How-To-Repeat: Find a port that isn't installed. This one worked for me.

cd /usr/ports/graphics/aalib
make install package

gives the output, after it's compiled:

===>  Installing for aalib-1.4.r5_6
===>  Checking if graphics/aalib already installed
===>   Registering installation for aalib-1.4.r5_6
Installing aalib-1.4.r5_6... done
===>  Building package for aalib-1.4.r5_6
Segmentation fault
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/aalib
Exit 1
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-02-10 04:26:41 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-06-10 12:53:36 UTC
assuming this is PR against ports-mgmt/pkg bug, then this should be assigned to the maintainer which is portmgr@
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-06-15 23:13:37 UTC
This has been fixed since