Summary: | [graphics/linux-c6-png] build failure due to missing libpng-1.2.49 directory | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Joseph Mingrone <jrm> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-emulation (Nobody) <emulation> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | linuxjustin | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(emulation) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Joseph Mingrone
2015-08-10 04:18:39 UTC
Hi, I find a workaround to fix this issue by removing the `@dirrmtry usr/share/doc/libpng-1.2.49` line in `/usr/ports/graphics/linux-c6-png/pkg-plist.i686` file. Now we can build and install it without any problem. But I believe there is a more elegant way to deal with it. Created attachment 159873 [details] add DOCS option to fix plist issue The problem occurs when OPTIONS_UNSET includes DOCS. In this case, PORTDOCS should not be set. The attached patch defines an option for DOCS and only installs the documentation files when that option is turned on. Output for poudriere testport can be found at the URLs below (for 10.1-RELEASE amd64 and i386): http://pkg.awarnach.mathstat.dal.ca/data/10amd64-default/2015-08-14_14h01m37s/logs/linux-c6-png-1.2.49_2.log http://pkg.awarnach.mathstat.dal.ca/data/10i386-default/2015-08-14_13h40m00s/logs/linux-c6-png-1.2.49_2.log (In reply to Joseph Mingrone from comment #2) Hi, I test it on my computer, and it builds and installs successfully after applying your patch. Thank you. @dirrmtry is deprecated, those plist lines should just be removed... A commit references this bug: Author: antoine Date: Sun Aug 30 09:45:36 UTC 2015 New revision: 395603 URL: https://svnweb.freebsd.org/changeset/ports/395603 Log: Cleanup plist, fixing packaging with OPTIONS_UNSET=DOCS PR: 202211 Changes: head/graphics/linux-c6-png/pkg-plist.i686 head/graphics/linux-c6-png/pkg-plist.x86_64 |