Summary: | devel/appstream-glib fails to configure with manpages=on (typo in Makefile) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Walter Schwarzenfeld <w.schwarzenfeld> | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | tobik | ||||
Priority: | --- | Keywords: | easy, needs-qa | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(gnome) koobs: merge-quarterly? |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Walter Schwarzenfeld
2018-02-19 05:57:48 UTC
It configures and build if I set CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog && /usr/local/share/xml/docbook/4.3/catalog.xml \ but: Package appstream-glib was not found in the pkg-config search path. Perhaps you should add the directory containing `appstream-glib.pc' to the PKG_CONFIG_PATH environment variable Package 'appstream-glib', required by 'virtual:world', not found and install: kg-static: Unable to access file /ram/usr/ports/devel/appstream-glib/work/stage/usr/local/man/man1/appstream-builder.1.gz:No such file or directory pkg-static: Unable to access file /ram/usr/ports/devel/appstream-glib/work/stage/usr/local/man/man1/appstream-compose.1.gz:No such file or directory pkg-static: Unable to access file /ram/usr/ports/devel/appstream-glib/work/stage/usr/local/man/man1/appstream-util.1.gz:No such file or directory *** Error code 74 I found new version 0.7.6. (But this is a "meson-thing". The cause was simple and a mean one: MANPAGE_BUILD_DEPENDS=.... ^ should be MANPAGES_BUILD_DEPENDS=.... Created attachment 190809 [details]
patch-Makefile
The error was introduced here: https://svnweb.freebsd.org/ports/head/devel/appstream-glib/Makefile?limit_changes=0&r1=393607&r2=393606&pathrev=393607 This seems to build fine with MANPAGES=on: http://beefy9.nyi.freebsd.org/data/111amd64-default/463855/logs/appstream-glib-0.5.7.log I suspect that there is some option combination in dependent ports that causes the problem on your system. No point in investigating though since the typo seems obvious so I'll just land the fix with a maintainer timeout. Committed. Thanks! A commit references this bug: Author: tobik Date: Sun Mar 11 10:12:29 UTC 2018 New revision: 464160 URL: https://svnweb.freebsd.org/changeset/ports/464160 Log: devel/appstream-glib: Fix typo MANPAGE_BUILD_DEPENDS -> MANPAGES_BUILD_DEPENDS Depending on option selection in dependent ports docbook-{xsl,xml} might not be installed in the build environment and building with MANPAGES=on would fail to configure. PR: 226029 Submitted by: w.schwarzenfeld@utanet.at Approved by: gnome (maintainer timeout, 2 weeks+) Changes: head/devel/appstream-glib/Makefile The "strange" thing was: Poudriere does build it, with the typo. It only fails with the port. A commit references this bug: Author: tobik Date: Sat Oct 19 06:46:12 UTC 2019 New revision: 514758 URL: https://svnweb.freebsd.org/changeset/ports/514758 Log: devel/appstream-glib: Spell MANPAGES_BUILD_DEPENDS correctly again Regressed in r480951. PR: 226029 Changes: head/devel/appstream-glib/Makefile |