Bug 76320

Summary: libpciaccess requires xorg-macros when it may not be available on all target platforms (ones lacking Xorg)
Product: DRI Reporter: Alexander von Gluck <kallisti5>
Component: libdrmAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexander von Gluck 2014-03-18 14:02:37 UTC
Looking at libpciaccess, the configure.ac seems to require xorg-macros when it is not needed in any way shape or form.  Removing the xorg-macros still results in a functioning build.

I did have to disable the man pages, this may not be related though:

make[2]: Entering directory `/home/e1529750/Code/libpciaccess-0.13.2/man'
/bin/sed  < scanpci.man > scanpci.
Usage: /bin/sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space


Mentioning this as libdrm is supposed to not rely on xorg to function, but it relies on libpciaccess which requires xorg-macros.
Comment 1 Matt Turner 2014-03-26 20:23:54 UTC
Totally related:

man/Makefile.am:
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
SUFFIXES = .$(APP_MAN_SUFFIX) .man

You do realize that xorg-macros is just a m4 file full of autoconf convenience macros, right? Using it isn't actually relying on xorg to function.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.