Bug 261796

Summary: devel/cppunit: Fails to package with DOXYGEN=ON
Product: Ports & Packages Reporter: Ting-Wei Lan <lantw44>
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: Closed FIXED    
Severity: Affects Some People CC: tech-lists
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (bdrewery)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix plist error none

Description Ting-Wei Lan 2022-02-08 18:26:45 UTC
Created attachment 231652 [details]
Fix plist error

Please see the patch. It fixes plist error for DOXYGEN option.
Comment 1 tech-lists 2022-02-13 16:09:31 UTC
This still fails to build with latest ports.

[00:00:00] =>> Building devel/cppunit
[00:00:00] build started at Sun Feb 13 10:37:35 GMT 2022
[00:00:00] port directory: /usr/ports/devel/cppunit
[00:00:00] package name: cppunit-1.14.0_11
[00:00:00] building for: FreeBSD desktop 13.0-STABLE FreeBSD 13.0-STABLE 1300525 amd64
[00:00:00] maintained by: bdrewery@FreeBSD.org
[00:00:00] Makefile datestamp: -rw-r--r--  1 root  wheel  958 Dec 19 12:26 /usr/ports/devel/cppunit/Makefile
[00:00:00] Ports top last git commit: 50324bba3
[00:00:00] Ports top unclean checkout: no
[00:00:00] Port dir last git commit: 4a1f6d63c
[00:00:01] Port dir unclean checkout: no
[00:00:01] Poudriere version: poudriere-git-3.3.99.20211130
[00:00:01] Host OSVERSION: 1300525
[00:00:01] Jail OSVERSION: 1300525

[...]

[00:00:01] ---Begin OPTIONS List---
[00:00:01] ===> The following configuration options are available for cppunit-1.14.0_11:
[00:00:01]      DOCS=on: Build and/or install documentation
[00:00:01]      DOXYGEN=on: Build documentation with Doxygen
[00:00:01] ===> Use 'make config' to modify these settings
[00:00:01] ---End OPTIONS List---

[...]

fails here:

[00:01:29] =======================<phase: package        >============================
[00:01:29] ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2022-02-13T10:37:35+0000' 'PKG_NOTE_ports_top_git_hash=50324bba3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4a1f6d63c' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.3.99.20211130' NO_DEPENDS=yes USER=root UID=0 GID=0
[00:01:29] ===>  Building package for cppunit-1.14.0_11
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000001_000002.html:No such file or directory
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000001_000005.html:No such file or directory
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000001_000008.html:No such file or directory
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000003_000008.html:No such file or directory
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000008_000005.html:No such file or directory
[00:01:29] pkg-static: Unable to access file /wrkdirs/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cppunit/html/dir_000010_000000.html:No such file or directory
[00:01:29] *** Error code 1
[00:01:29] 
[00:01:29] Stop.
[00:01:29] make: stopped in /usr/ports/devel/cppunit
Comment 2 tech-lists 2022-02-13 23:14:47 UTC
sorry i thought the patch had been applied to the tree already
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2022-03-03 21:07:47 UTC
This was fixed by:

commit 086bb739b62b2e71e3ec3a5121291625a8be6377
Author: Dima Panov <fluffy@FreeBSD.org>
Date:   Thu Feb 17 01:06:23 2022 +0300

    devel/cppunit: update to 0.15.1 release

    While here, switch to dynamic plist for PORTDOCS