Opened 7 years ago

Closed 7 years ago

#53340 closed defect (fixed)

mpkg fails to include certain component packages

Reported by: ctreleaven (Craig Treleaven) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: base Version: 2.3.99
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

The mpkg for mythtv.28 fails to include certain certain components. The missing components all have a non-zero epoch.

I suspect a recent commit [1] is related but I'm not fluent enough in TCL to be sure.

[1] https://github.com/macports/macports-base/commit/62d7125bae35cf251a5571eb26bedacfce1aa4e6#diff-20be332923a90fc7046cfb3afcb0abe8L148

Steps:

It has been 4 months since I last built an mpkg installer for mythtv.28. The new installer appeared to build successfully but was 40 ro 50 MB smaller than expected. On testing an install, Installer reported an error (log attached) that it could not locate the package gettext.

Jan 16 20:29:55 MacMyths-Mac Installer[493]: Failed to locate package at path /Volumes/Clooney/Test_installers/gettext-2_0.19.8.1-component.pkg (gettext-2_0.19.8.1-component.pkg -- file://localhost/Volumes/Clooney/Test_installers/mythtv.28-0.28-Fixes-20161227.mpkg)

I used pkgutil --expand to check the contents of the mpkg. The included Distribution file showed the lines for gettext were malformed as were several others. These included libedit, openssl, python27 and others. After noticing that each of these had a non-zero epoch, I verified that all such dependencies were failing to be included. Viz:

port info  --name --epoch --line rdepof:mythtv.28

Note that I'm running MacPorts master. I've taken the liberty of copying jmr.

Attachments (2)

Installer Log 16-Jan-2017_1.txt (146.6 KB) - added by ctreleaven (Craig Treleaven) 7 years ago.
Distribution (68.0 KB) - added by ctreleaven (Craig Treleaven) 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by ctreleaven (Craig Treleaven)

Changed 7 years ago by ctreleaven (Craig Treleaven)

Attachment: Distribution added

comment:1 Changed 7 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In e0c7f1c/macports-base:

Finish harmonising package1.0 filenames

62d7125 missed a few spots.

Fixes: #53340

Note: See TracTickets for help on using tickets.