NetBSD Problem Report #54077

From www@netbsd.org  Tue Mar 26 11:45:13 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 09EA17A1BD
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 Mar 2019 11:45:13 +0000 (UTC)
Message-Id: <20190326114512.2A4B07A1C3@mollari.NetBSD.org>
Date: Tue, 26 Mar 2019 11:45:12 +0000 (UTC)
From: thomas.orgis@uni-hamburg.de
Reply-To: thomas.orgis@uni-hamburg.de
To: gnats-bugs@NetBSD.org
Subject: x11/qt5-qtbase broken on Linux: assumes tslib and libdrm, PLIST  failure
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 11:50:00 +0000 2019
>Closed-Date:    Tue Mar 26 11:54:21 +0000 2019
>Last-Modified:  Wed Mar 27 10:45: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.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 26 Mar 2019 11:54:21 +0000
State-Changed-Why:
Duplicate of PR pkg/54072.


From: "Dr. Thomas Orgis" <thomas.orgis@uni-hamburg.de>
To: <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/54077: x11/qt5-qtbase broken on Linux: assumes tslib and
 libdrm, PLIST  failure
Date: Tue, 26 Mar 2019 12:54:37 +0100

 This is a duplicate of pkg/54072. I did not see any confirmation about
 my first report, but I found it in the list online now.

 -- 
 Dr. Thomas Orgis
 HPC @ Universität Hamburg

From: Mark Davies <mark@ecs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54077: x11/qt5-qtbase broken on Linux: assumes tslib and
 libdrm, PLIST failure
Date: Wed, 27 Mar 2019 23:27:20 +1300

 I've explicitly disabled tslib support in qt5-qtbase and removed the
 associated lines in PLIST.Linux.  Tested the build of 5.12.0 on my linux
 systems, will assume same change applies to 5.12.2.

 cheers
 mark

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.