Bug 257279

Summary: graphics/pencil2d: Fails to configure: Project ERROR: Unknown module(s) in QT: testlib (poudriere on stable/13)
Product: Ports & Packages Reporter: Robert Cina <transitive>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
koobs: merge-quarterly?
Version: Latest   
Hardware: amd64   
OS: Any   

Description Robert Cina 2021-07-19 14:49:29 UTC
The port graphics/pencil2d fails to build for me using poudriere on stable 13 amd64.

The following is the error that occurs during the configure phase:

===>   pencil2d-0.6.6_1 depends on shared library: libQt5XmlPatterns.so - found (/usr/local/lib/qt5/libQt5XmlPatterns.so)
===>   Returning to build of pencil2d-0.6.6_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for pencil2d-0.6.6_1
Info: creating stash file /wrkdirs/usr/ports/graphics/pencil2d/work/pencil-0.6.6/.qmake.stash
Reading /wrkdirs/usr/ports/graphics/pencil2d/work/pencil-0.6.6/core_lib/core_lib.pro
Reading /wrkdirs/usr/ports/graphics/pencil2d/work/pencil-0.6.6/app/app.pro
Reading /wrkdirs/usr/ports/graphics/pencil2d/work/pencil-0.6.6/tests/tests.pro
Project ERROR: Unknown module(s) in QT: testlib
*** Error code 3

Stop.
make: stopped in /usr/ports/graphics/pencil2d
=>> Cleaning up wrkdir
===>  Cleaning for pencil2d-0.6.6_1
build of graphics/pencil2d | pencil2d-0.6.6_1 ended at Mon Jul 19 05:21:40 EDT 2021
build time: 00:00:36
!!! build failure encountered !!!
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2021-07-23 07:52:59 UTC
Fix committed.
Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-07-23 07:53:38 UTC
A commit in branch main references this bug:

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

commit d59e3555d49482ebbcd493915ddae0744a6f3db9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-23 07:50:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-23 07:53:00 +0000

    graphics/pencil2d: Fix build failure: Unknown module(s) in QT: testlib

    Also remove unnecessary dependency on the Qt component network.

    PR:             257279
    Reported by:    Robert Cina <transitive@gmail.com>

 graphics/pencil2d/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)