pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54077: x11/qt5-qtbase broken on Linux: assumes tslib and libdrm, PLIST failure



>Number:         54077
>Category:       pkg
>Synopsis:       x11/qt5-qtbase broken on Linux: assumes tslib and libdrm, PLIST  failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 11:50:00 +0000 2019
>Originator:     Dr. Thomas Orgis
>Release:        CVS trunk 2019-03-21
>Organization:
Universität Hamburg / RRZ
>Environment:
x86_64 GNU/Linux
>Description:
I tried building qt5-qtbase from CVS and it failed because files
relating to libdrm and tslib are missing.

The change

https://github.com/NetBSD/pkgsrc/commit/20aa53ee4b4c2ce12f8ad27971f9508cb81a3f56

broke the build (or at least didn't fix it) for systems that don't
offer tslib. I am not sure about libdrm, it is present, but the build
was not able to pick it up. The explicit dependency should be used,
anyway.

Please also note the related report 53310 about integrating tslib.
There is a more proper approach with options (I was not aware of
-no-tslib working, may check some time when not under time pressure).

I hope we can get this fixed before 2019Q1 release. Broken Qt5 on Linux
is a bit embarrassing.
>How-To-Repeat:
Build qt5-qtbase without tslib or libdrm installed.
>Fix:
I added

CONFIGURE_ARGS+=        -kms
CONFIGURE_ARGS+=        -tslib
.include                "../../x11/libdrm/buildlink3.mk"
.include                "../../wip/tslib/buildlink3.mk"

to fix this (the configure arguments to ensure early failure before
building). See also PR 53310.



Home | Main Index | Thread Index | Old Index