NetBSD Problem Report #50640
From bad@bsd.de Sun Jan 10 19:44:05 2016
Return-Path: <bad@bsd.de>
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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 64CDA7AC9D
for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 Jan 2016 19:44:05 +0000 (UTC)
Message-Id: <20160110174924.75AA638445@limiting-factor.k.bsd.de>
Date: Sun, 10 Jan 2016 18:49:24 +0100 (MET)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: tigervnc fails to build
X-Send-Pr-Version: 3.95
>Number: 50640
>Category: pkg
>Synopsis: tiger vnc fails to build because of drm.h related redefinitions
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 10 19:45:00 +0000 2016
>Closed-Date: Tue Oct 13 04:12:27 +0000 2020
>Last-Modified: Tue Oct 13 04:12:27 +0000 2020
>Originator: Christoph Badura
>Release: NetBSD 6.1_STABLE pkgsrc from 2016-01-09
>Organization:
>Environment:
System: NetBSD size-isnt-everything 6.1_STABLE NetBSD 6.1_STABLE (thinkpad-500) #6: Wed Feb 11 19:35:21 MET 2015 bad@size-isnt-everything:/u/0/trees/src/netbsd-6/sys/arch/amd64/compile/thinkpad-500 amd64
Architecture: x86_64
Machine: amd64
Pkgsrc: pkgsrc from 2016-01-09
>Description:
CC glxdri2.lo
In file included from glxdri2.c:36:0:
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/GL/internal/dri_interface.h:46:22: error: redefinition of typedef 'drm_context_t'
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/libdrm/drm.h:72:22: note: previous declaration of 'drm_context_t' was here
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/GL/internal/dri_interface.h:47:22: error: redefinition of typedef 'drm_drawable_t'
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/libdrm/drm.h:73:22: note: previous declaration of 'drm_drawable_t' was here
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/GL/internal/dri_interface.h:48:30: error: redefinition of typedef 'drm_clip_rect_t'
/pkg_comp/obj/pkgsrc/net/tigervnc/default/.buildlink/include/libdrm/drm.h:829:30: note: previous declaration of 'drm_clip_rect_t' was here
Makefile:728: recipe for target 'glxdri2.lo' failed
gmake[1]: *** [glxdri2.lo] Error 1
>How-To-Repeat:
NetBSD without x11 sets.
echo X11_TYPE=modular >>/etc/mk.conf
echo XAW_TYPE=3d >>/etc/mk.conf
cd net/tigervnc && make
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 04:12:27 +0000
State-Changed-Why:
Stale bug report (netbsd 6.1_STABLE). If the two headers have the same definitions in newer versions as well, it's likely acceptable by newer C standards, which tolerate matching redefinitions
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.