Debian Bug report logs - #672546
xserver-xorg-video-openchrome: FTBFS on hurd-i386: unconditional libdrm requirement

version graph

Package: xserver-xorg-video-openchrome; Maintainer for xserver-xorg-video-openchrome is Debian X Strike Force <debian-x@lists.debian.org>; Source for xserver-xorg-video-openchrome is src:xserver-xorg-video-openchrome.

Reported by: Pino Toscano <pino@debian.org>

Date: Fri, 11 May 2012 22:21:02 UTC

Severity: important

Tags: patch

Found in version xserver-xorg-video-openchrome/1:0.2.904+svn1050-1

Forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=69621

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#672546; Package xserver-xorg-video-openchrome. (Fri, 11 May 2012 22:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pino Toscano <pino@debian.org>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 11 May 2012 22:21:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Pino Toscano <pino@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xserver-xorg-video-openchrome: FTBFS on hurd-i386: unconditional libdrm requirement
Date: Sat, 12 May 2012 00:18:41 +0200
[Message part 1 (text/plain, inline)]
Package: xserver-xorg-video-openchrome
Version: 1:0.2.904+svn1050-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

currently, xserver-xorg-video-openchrome does not build on GNU/Hurd.

The problem is that libdrm is considered an hard requirement (by the
buildsystem and the Debian packaging), while it is only if the DRI
support is enabled (and indeed there seems to be only libdrm usage in
the DRI-related code).

Attached there are patches to fix this:
- no-libdrm.diff:
  do not check for libdrm among the base Xorg packages; libdrm will be
  searched later as mandatory requirement if the DRI support is enabled
- debian.diff:
  disable the libdrm-dev build dependency on Hurd architectures

Thanks,
-- 
Pino
[no-libdrm.diff (text/x-diff, attachment)]
[debian.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#672546; Package xserver-xorg-video-openchrome. (Sun, 30 Jun 2013 09:51:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Sun, 30 Jun 2013 09:51:09 GMT) Full text and rfc822 format available.

Message #10 received at 672546@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: Pino Toscano <pino@debian.org>, 672546@bugs.debian.org
Subject: Re: Bug#672546: xserver-xorg-video-openchrome: FTBFS on hurd-i386: unconditional libdrm requirement
Date: Sun, 30 Jun 2013 11:50:05 +0200
Hello,

Pino Toscano, le Sat 12 May 2012 00:18:41 +0200, a écrit :
> The problem is that libdrm is considered an hard requirement (by the
> buildsystem and the Debian packaging), while it is only if the DRI
> support is enabled (and indeed there seems to be only libdrm usage in
> the DRI-related code).
> 
> Attached there are patches to fix this:

I guess we could eventually make an NMU to fix this?

Samuel



Set Bug forwarded-to-address to 'https://bugs.freedesktop.org/show_bug.cgi?id=69621'. Request was from Pino Toscano <pino@debian.org> to control@bugs.debian.org. (Thu, 26 Sep 2013 07:48:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#672546; Package xserver-xorg-video-openchrome. (Sat, 08 Feb 2014 21:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Sat, 08 Feb 2014 21:03:04 GMT) Full text and rfc822 format available.

Message #17 received at 672546@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: Pino Toscano <pino@debian.org>, 672546@bugs.debian.org, 706889@bugs.debian.org
Subject: Re: Bug#672546: xserver-xorg-video-openchrome: FTBFS on hurd-i386: unconditional libdrm requirement
Date: Sat, 8 Feb 2014 22:00:51 +0100
Samuel Thibault, le Sun 30 Jun 2013 11:50:05 +0200, a écrit :
> Pino Toscano, le Sat 12 May 2012 00:18:41 +0200, a écrit :
> > The problem is that libdrm is considered an hard requirement (by the
> > buildsystem and the Debian packaging), while it is only if the DRI
> > support is enabled (and indeed there seems to be only libdrm usage in
> > the DRI-related code).
> > 
> > Attached there are patches to fix this:
> 
> I guess we could eventually make an NMU to fix this?

Well, in the meanwhile the source code has changed, and would need
to be fixed to be buildable without libdrm, see via_memmgr.c having
a lot of unconditional uses of DRM_*.  Perhaps we should rather give
up with porting openchrome without libdrm, and remove it from hurd's
video-all, as proposed in bug 706889?  I'll probably make a binNMU in
that direction sooner or later.

Samuel



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 18:32:39 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.