NetBSD Problem Report #49923
From www@NetBSD.org Fri May 22 21:13:32 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8F99EA6552
for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 May 2015 21:13:32 +0000 (UTC)
Message-Id: <20150522211331.94615A6555@mollari.NetBSD.org>
Date: Fri, 22 May 2015 21:13:31 +0000 (UTC)
From: n54@gmx.com
Reply-To: n54@gmx.com
To: gnats-bugs@NetBSD.org
Subject: Addtional dependency on Linux
X-Send-Pr-Version: www-1.0
>Number: 49923
>Category: pkg
>Synopsis: Additional dependency on Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tnn
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 22 21:15:00 +0000 2015
>Closed-Date: Thu May 28 21:13:24 +0000 2015
>Last-Modified: Thu May 28 21:13:24 +0000 2015
>Originator: Kamil Rytarowski
>Release: N/A
>Organization:
>Environment:
CentOS 7.x
>Description:
I cannot build graphics/glu on CentOS -7 without the attached patch.
Pkgsrc current 2015-05-22.
>How-To-Repeat:
N/A
>Fix:
Index: Makefile
===================================================================
RCS file: /home/kamil/netbsd-cvs/netbsd/pkgsrc/graphics/glu/Makefile,v
retrieving revision 1.62
diff -u -r1.62 Makefile
--- Makefile 25 Apr 2015 14:23:11 -0000 1.62
+++ Makefile 22 May 2015 19:48:59 -0000
@@ -18,5 +18,6 @@
PKGCONFIG_OVERRIDE+= glu.pc.in
+.include "../../x11/libxshmfence/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49923: Addtional dependency on Linux
Date: Sat, 23 May 2015 00:43:24 +0200
> PKGCONFIG_OVERRIDE+= glu.pc.in
>
> +.include "../../x11/libxshmfence/buildlink3.mk"
> .include "../../graphics/MesaLib/buildlink3.mk"
> .include "../../mk/bsd.pkg.mk"
Are you sure this is correct? glu should not know about libxshmfence as
it is a relatively new API and glu is not new. Maybe MesaLib's bl3.mk
(or dri.mk) should pull it in instead?
Please post log of the actual build failure.
From: "Kamil Rytarowski" <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc: "Tobias Nygren" <tnn@NetBSD.org>
Subject: Re: pkg/49923: Addtional dependency on Linux
Date: Sat, 23 May 2015 00:55:23 +0200
Tobias Nygren wrote:
> From: Tobias Nygren <tnn@NetBSD.org>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/49923: Addtional dependency on Linux
> Date: Sat, 23 May 2015 00:43:24 +0200
>
> > PKGCONFIG_OVERRIDE+= glu.pc.in
> >
> > +.include "../../x11/libxshmfence/buildlink3.mk"
> > .include "../../graphics/MesaLib/buildlink3.mk"
> > .include "../../mk/bsd.pkg.mk"
>
> Are you sure this is correct? glu should not know about libxshmfence as
> it is a relatively new API and glu is not new. Maybe MesaLib's bl3.mk
> (or dri.mk) should pull it in instead?
> Please post log of the actual build failure.
>
>
I can retest it after a few days.
The error message was with -lxshmfence linking error and this is why I pulled in libxshmfence.
Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 23 May 2015 14:05:30 +0000
Responsible-Changed-Why:
Tobias, may I assign this one to you? Feel free to assign back to
pkg-manager.
State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 23 May 2015 14:05:30 +0000
State-Changed-Why:
tnn asked for feedback.
From: "Tobias Nygren" <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49923 CVS commit: pkgsrc/graphics/MesaLib
Date: Thu, 28 May 2015 21:09:07 +0000
Module Name: pkgsrc
Committed By: tnn
Date: Thu May 28 21:09:07 UTC 2015
Modified Files:
pkgsrc/graphics/MesaLib: dri.mk options.mk
Log Message:
PR pkg/49923: pull in libxshmfence via bl3 for Linux.
Needed for linking packages that use gl.pc because it lists libxshmfence
as dependency.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/MesaLib/dri.mk
cvs rdiff -u -r1.31 -r1.32 pkgsrc/graphics/MesaLib/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Thu, 28 May 2015 21:13:24 +0000
State-Changed-Why:
Fixed, thanks. (fix tested on Centos 7)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.