NetBSD Problem Report #44049

From bernd@arresum.veego.de  Fri Nov  5 19:08:33 2010
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E382163BAC6
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  5 Nov 2010 19:08:32 +0000 (UTC)
Message-Id: <201011051908.oA5J8KSA027218@arresum.veego.de>
Date: Fri, 5 Nov 2010 20:08:20 +0100 (CET)
From: Bernd Ernesti <pr201010@veego.de>
Reply-To: Bernd Ernesti <pr201010@veego.de>
To: gnats-bugs@gnats.NetBSD.org
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
>Organization:

>Environment:
System: NetBSD 5.1_RC4
Architecture: i386
Machine: i386
>Description:
	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/buildlink3.mk
	    requires: libdrm>=2.4.20
	    netbsd-5: Version: 2.4.11
	    missing files: pkgsrc/pkgtools/x11-links/files/xorg.libdrm
	 * x11/xf86dgaproto/buildlink3.mk
	    requires: xf86dgaproto>=2.1
	    netbsd-5: Version: 2.0.3
	    missing files: pkgsrc/pkgtools/x11-links/files/xorg.xf86dgaproto
	 * x11/xf86vidmodeproto/buildlink3.mk
	    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
	  x11/libXxf86dga/buildlink3.mk
	  x11/libXxf86vm/buildlink3.mk
	have checks for '${X11_TYPE} != "modular"' which prevents the includes
	of x11/xf86dgaproto/buildlink3.mk and x11/xf86vidmodeproto/buildlink3.mk
	in the libXxf86dga and libXxf86vm buildlink3.mk files.

>How-To-Repeat:
	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.

>Fix:


>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
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
 package.

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

 -- 
 David A. Holland
 dholland@netbsd.org

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.