Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322559 - x11-base/xorg-server-1.8.1-r1 does not depend on >=x11-misc/util-macros-1.6.0 which results in compilation failure
Summary: x11-base/xorg-server-1.8.1-r1 does not depend on >=x11-misc/util-macros-1.6.0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 308521
Blocks:
  Show dependency tree
 
Reported: 2010-06-03 09:54 UTC by Radoslaw Madej (radegand)
Modified: 2010-06-08 20:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Madej (radegand) 2010-06-03 09:54:05 UTC
x11-base/xorg-server-1.8.1-r1 fails to compile if x11-misc/util-macros-1.5.0 is installed on a system, but this dependency is not automatically addressed during emerging.

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-misc/util-macros-1.5.0 (if not already installed on a system)
2. emerge =x11-base/xorg-server-1.8.1-r1
3. compilation fails with the error below:

Actual Results:  
# emerge xorg-server

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-base/xorg-server-1.8.1-r1
 * xorg-server-1.8.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                           [ ok ]
 * CPV:  x11-base/xorg-server-1.8.1-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc ipv6 kernel_linux nptl udev userland_GNU xorg
>>> Unpacking source...
>>> Unpacking xorg-server-1.8.1.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/work
>>> Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/work
>>> Preparing source in /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/work/xorg-server-1.8.1 ...
 * Applying xorg-server-disable-acpi.patch ...                                                                                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/x11-base/xorg-server-1.8.1-r1/work/xorg-server-1.8.1' ...
 * Running aclocal -I m4 ...                                                                                                      [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/temp/aclocal.out

 * ERROR: x11-base/xorg-server-1.8.1-r1 failed:
 *   Failed Running aclocal !
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_prepare
 *   environment, line 3941:  Called xorg-2_src_prepare
 *   environment, line 4889:  Called xorg-2_reconf_source
 *   environment, line 4841:  Called eautoreconf
 *   environment, line 1479:  Called eaclocal
 *   environment, line 1412:  Called autotools_run_tool 'aclocal' '-I' 'm4'
 *   environment, line  802:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";


the actual aclocal error below:

# cat /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/temp/aclocal.out
***** aclocal *****
***** PWD: /var/tmp/portage/x11-base/xorg-server-1.8.1-r1/work/xorg-server-1.8.1
***** aclocal -I m4

configure.ac:38: error: xorg-macros version 1.6 or higher is required but 1.5.0 found
/usr/share/aclocal/xorg-macros.m4:39: XORG_MACROS_VERSION is expanded from...
configure.ac:38: the top level
autom4te-2.65: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1

Updating x11-misc/util-macros to 1.6.1 solves the issue and xorg-server compiles fine.

Expected Results:  
Automatic resolution of dependency for x11-misc/util-macros when emerging =x11-base/xorg-server-1.8.1-r1 :)
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-04 08:28:45 UTC
The dependency is in xorg-2.eclass and will be raised once util-macros-1.6 is stable on all arches.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2010-06-08 20:22:44 UTC
1.8.0 is now stable on all arches and the eclass has been updated.

Thanks