NetBSD Problem Report #54225

From www@netbsd.org  Thu May 23 17:19:43 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 B87817A18E
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 23 May 2019 17:19:43 +0000 (UTC)
Message-Id: <20190523171942.AB0F87A1AB@mollari.NetBSD.org>
Date: Thu, 23 May 2019 17:19:42 +0000 (UTC)
From: mdfarnsworth@gmail.com
Reply-To: mdfarnsworth@gmail.com
To: gnats-bugs@NetBSD.org
Subject: configuration conflict in modular-xorg-server required by xf86-video-vboxvideo
X-Send-Pr-Version: www-1.0

>Number:         54225
>Category:       pkg
>Synopsis:       configuration conflict in modular-xorg-server required by xf86-video-vboxvideo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May 23 17:20:00 +0000 2019
>Last-Modified:  Mon May 27 01:40:02 +0000 2019
>Originator:     Matt Farnsworth
>Release:        8.0
>Organization:
>Environment:
virtual box amd64 with efi and i/o apic
>Description:
In the documentation:
pkgsrc/x11/modular-xorg-server/README.html
requires xcb-proto >= 1.13 and xcb-proto >= 1.4 (does not exist?)

in .buildlink/lib/pkgconfig/xrandr.pc
requires: xproto xrandrproto >= 1.5

error: package requires 1.6

problem is unclear: version does not exist?
libXrandr latest is 1.5.2
origin? x11-base/xorg-server-1.20.1 introduces xorg-proto-2018.4r1
configure.ac randrprot >= 1.6.0
/usr/X11R7/lib/pkgconfig/xorg-server.rc for 1.18.4 requires >= 1.5.0
pkg-info ? xorg-server not installed? (native is not a package?)


fix: 
requires: xrandrproto >= 1.5.2
configure.ac -> configure

missing:
work/.destdir/usr/pkg/include/xorg/vndserver.h
in PLIST and work/xorg-server-1.20.4/glx/

>How-To-Repeat:
modular xorg is needed for xf86-video-vboxvideo

native X is 1.18
modular X is 1.20

cd /usr/pkgsrc/x11/modular-xorg-server
make

(originally requires jan-2019 pkgsrc)
may-2019 pkgsrc requires xfont2 (but I didn't get that with update)

review doc file on web or repository (to fix the html file)
>Fix:
create a version of libXrandr with proto 1.6.0 ? (I could not find this)
add libXrandr(1.6.*) to pkgsrc (does this exist?)

add a patch to change xorg-server-1.20.4/configure.ac
RANDRPROTO="randrproto >= 1.5.0"

The resulting build works for me with netBSD kernel 8.0, but not with 8.99. Visible errors are random pixels or short lines, usually black.

Note: 1.20.* xorg has reorganized *proto* packages and the old packages with have header file collisions.

Alternatively, it would be well if xf86-video-vboxvideo driver could be user configured to compile and installed with the native version 1.18.



>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54225: configuration conflict in modular-xorg-server
 required by xf86-video-vboxvideo
Date: Mon, 27 May 2019 01:36:01 +0000

 Short summary:
 xf86-video-vboxvideo is not available on netbsd 8.0 base xsrc.
 compiling it with base xorg is not possible.
 compiling it with pkgsrc xorg is possible.

 Generally mixing base xorg + parts from pkgsrc doesn't work very well.

 It looks like netbsd-current xsrc has it now.
 Maybe a better request is to backport the driver to netbsd-8.

From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54225: configuration conflict in modular-xorg-server
 required by xf86-video-vboxvideo
Date: Mon, 27 May 2019 01:39:13 +0000

 OK, maybe I'm entirely wrong and xf86-video-vboxvideo is so new that it
 needs a new xorg even if you tried (upon further reading).

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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.