Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 277691

Summary: [PATCH] x11-base/xorg-server-1.5.3-r6 will not install with sys-apps/coreutils-7.4
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to remove duplicate destinations in two Makefile.am's

Description Martin Väth 2009-07-13 18:34:41 UTC
/usr/bin/install of coreutils-7.3 errors out if the same source file is mentioned
several times on the command line. For this reason, xorg-server-1.5.3-r6
(and probably also -r7) will not install.
The reason is that some Makefile.am's variables contain redundant names
(patch attached).

Here is the relevant part of an emerge xorg-server:

 /usr/bin/install -c -m 644 compiler.h fourcc.h xf86.h xf86Module.h xf86Opt.h xf86PciInfo.h xf86Priv.h xf86Privstr.h xf86Resources.h xf86cmap.h xf86fbman.h xf86str.h xf86Xinput.h xisb.h xf86xv.h xf86xvmc.h atKeynames.h xf86Version.h xorgVersion.h xf86sbusBus.h xf86xv.h xf86xvmc.h xf86xvpriv.h '/var/tmp/portage/x11-base/xorg-server-1.5.3-r6/image//usr/include/xorg'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-base/xorg-server-1.5.3-r6/image//usr/include/xorg/xf86xv.h' with `xf86xv.h'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-base/xorg-server-1.5.3-r6/image//usr/include/xorg/xf86xvmc.h' with `xf86xvmc.h'
Comment 1 Martin Väth 2009-07-13 18:43:19 UTC
Created attachment 197818 [details, diff]
Patch to remove duplicate destinations in two Makefile.am's

The duplicate destinations xf86xv.h xf86xvmc.h in
hw/xfree86/common/Makefile.am are optionally the content of XVSDKINCS.
Similarly, the duplicate destinations xf86Parser.h xf86Optrec.h in
hw/xfree86/parser/Makefile.am are optionally the content of LIBHEADERS.

In both cases, I am not completely sure whether it is correct to make
the destinations really only optional or whether they are needed
unconditionally (in the latter case, it would be correct to remove these
destinations from XVSDKINCS and LIBHEADERS, respectively).
However, since I see no other reason why these destinations should be set
within an "if" clause, I conjecture that these are really meant to be
optional, i.e. that my patch ist correct.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-07-15 12:47:51 UTC
1.6.2 is fixed

Thanks

*** This bug has been marked as a duplicate of bug 269372 ***