NetBSD Problem Report #44049

From  Fri Nov  5 19:08:33 2010
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id E382163BAC6
	for <>; Fri,  5 Nov 2010 19:08:32 +0000 (UTC)
Message-Id: <>
Date: Fri, 5 Nov 2010 20:08:20 +0100 (CET)
From: Bernd Ernesti <>
Reply-To: Bernd Ernesti <>
Subject: buildlink support for netbsd-5 with native X11 broke for some packages with x11-links 0.60
X-Send-Pr-Version: 3.95

>Number:         44049
>Category:       pkg
>Synopsis:       buildlink support for netbsd-5 with native X11 broke for some packages with x11-links 0.60
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 05 19:10:00 +0000 2010
>Last-Modified:  Sun Nov 07 21:25:01 +0000 2010
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.1_RC4 & pkgsrc-2010Q3

System: NetBSD 5.1_RC4
Architecture: i386
Machine: i386
	x11-links with version 0.60 has this commit message:
	 - Fix a fundamental problem which meant that the package included links
	   for builtin components that "pkgsrc" will not use because they are too old.

	Ok, but now x11-links does not include some files anymore because the buildlink
	files for these package requires a BUILDLINK_API_DEPENDS version which is not
	available on the netbsd-5 branch:
	 * x11/libdrm/
	    requires: libdrm>=2.4.20
	    netbsd-5: Version: 2.4.11
	    missing files: pkgsrc/pkgtools/x11-links/files/xorg.libdrm
	 * x11/xf86dgaproto/
	    requires: xf86dgaproto>=2.1
	    netbsd-5: Version: 2.0.3
	    missing files: pkgsrc/pkgtools/x11-links/files/xorg.xf86dgaproto
	 * x11/xf86vidmodeproto/
	    requires: xf86vidmodeproto>=2.3
	    netbsd-5: Version: 2.2.2
	    missing files: pkgsrc/pkgtools/x11-links/files/xorg.xf86vidmodeproto

	The real reason for the build failures is that
	have checks for '${X11_TYPE} != "modular"' which prevents the includes
	of x11/xf86dgaproto/ and x11/xf86vidmodeproto/
	in the libXxf86dga and libXxf86vm files.

	cd pkgsrc/multimedia/fxtv && make
	tvscreen.c:43:38: error: X11/extensions/xf86dga.h: No such file or directory
	tvscreen.c:45:41: error: X11/extensions/xf86dgastr.h: No such file or directory
	tvscreen.c:46:40: error: X11/extensions/xf86vmstr.h: No such file or directory

	cd pkgsrc/multimedia/xine-ui && make
	videowin.o: In function `video_window_adapt_size':
	videowin.c:(.text+0xfa2): undefined reference to `XF86VidModeSwitchToMode'
	videowin.c:(.text+0x10bd): undefined reference to `XF86VidModeSetViewPort'
	videowin.c:(.text+0x18f3): undefined reference to `XF86VidModeSwitchToMode'
	videowin.c:(.text+0x1919): undefined reference to `XF86VidModeSetViewPort'

	But there are more packages which fail to build.


From: David Holland <>
Subject: Re: pkg/44049: buildlink support for netbsd-5 with native X11
 broke for some packages with x11-links 0.60
Date: Sun, 7 Nov 2010 21:24:40 +0000

 On Fri, Nov 05, 2010 at 07:10:00PM +0000, Bernd Ernesti wrote:
  > [various native X woes]

 I think it's becoming increasingly clear that x11-links should go away
 in favor of ordinary builtin handling done separately for each X

 unfortunately that's a big pile of work...

 David A. Holland

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.