Bug 279946 - net-im/libaccounts-qt fails to configure if DOCS disabled
Summary: net-im/libaccounts-qt fails to configure if DOCS disabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-24 11:24 UTC by tjlegg
Modified: 2024-06-25 04:08 UTC (History)
3 users (show)

See Also:
jhale: maintainer-feedback+


Attachments
Full POudriere Build Log (97.66 KB, text/plain)
2024-06-24 13:58 UTC, Dean E. Weimer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tjlegg 2024-06-24 11:24:09 UTC
===>   Returning to build of libaccounts-qt5-1.17
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Missing "/usr/local/lib/qt5/bin/qhelpgenerator" to create a binary alias at "/wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/.bin/qhelpgenerator"
*** Error code 1

Stop.


$ pkg which /usr/local/lib/qt5/bin/qhelpgenerator
/usr/local/lib/qt5/bin/qhelpgenerator was installed by package qt5-help-5.15.14p4
Comment 1 Dean E. Weimer 2024-06-24 13:58:38 UTC
Created attachment 251675 [details]
Full POudriere Build Log
Comment 2 Dean E. Weimer 2024-06-24 13:59:44 UTC
I ran into same issue, but failed during install when I tried to allow it to build docs to get past it.

===>   Building libaccounts-qt5-1.17
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/stage/usr/local/share/doc/accounts-qt5/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.map:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/stage/usr/local/share/doc/accounts-qt5/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.md5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/stage/usr/local/share/doc/accounts-qt5/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.png:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/stage/usr/local/share/doc/accounts-qt5/html/graph_legend.md5:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-im/libaccounts-qt/work-qt5/stage/usr/local/share/doc/accounts-qt5/html/graph_legend.png:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/libaccounts-qt

Full poudriere build log is attached.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-06-25 04:02:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d45e8f52336cfd0249dc73c638cfe39b06f2cc9

commit 4d45e8f52336cfd0249dc73c638cfe39b06f2cc9
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-06-25 03:47:46 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-06-25 04:01:43 +0000

    net-im/libaccounts-qt: Fix build if DOCS is off

    Move BINARY_ALIAS to the DOCS option so that the build doesn't break
    due to qhelpgenerator not being installed.

    Add graphics/graphviz as a build dependency for DOCS. If the user has
    the GRAPHVIZ option off in devel/doxygen, it does not get installed and
    causes pkg-plist errors.

    PR:             279946
    Reported by:    <tjlegg@gmail.com>

 net-im/libaccounts-qt/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 4 Jason E. Hale freebsd_committer freebsd_triage 2024-06-25 04:08:54 UTC
Both issues have been fixed. Thanks for the report!