Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268391 - x11-drivers/synaptics-0.14.6 fails to emerge with missing header
Summary: x11-drivers/synaptics-0.14.6 fails to emerge with missing header
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 07:56 UTC by Jamal Natour
Modified: 2009-07-26 17:58 UTC (History)
1 user (show)

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


Attachments
the updated ebuild from 0.14.6-r3 (synaptics-0.14.6-r4.ebuild,2.90 KB, text/plain)
2009-05-03 08:01 UTC, Jamal Natour
Details
this patch adds the bundled headers to the end of the search path of the makefile includes (0001_hack_makefile_paths.patch,1.00 KB, text/plain)
2009-05-03 08:08 UTC, Jamal Natour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jamal Natour 2009-05-03 07:56:50 UTC
Emerging synaptics under amd64 fails as the makefile sniffs for an installed
xorg-server and assumes that all the required xfree86 headers are also present.

This assumption fails on my system, so I have patched the makefile to make
use of the bundled headers.

An ebuild and the patch for the makefile is attached.
Comment 1 Jamal Natour 2009-05-03 08:01:53 UTC
Created attachment 190202 [details]
the updated ebuild from 0.14.6-r3
Comment 2 Jamal Natour 2009-05-03 08:08:34 UTC
Created attachment 190204 [details]
this patch adds the bundled headers to the end of the search path of the makefile includes

Essentially there is a edge case in the makefile, when xorg-server is installed
AND the headers required to build synaptics are not present.

The package comes bundled with suitable headers to build against and makes
use of them if xorg-server isn't found.

The files are added to the search path so in the case where xorg-server is installed and the files are present, the system supplied headers should override
the bundled headers.
Comment 3 Christoph Brill (egore) (RESIGNED) 2009-05-31 22:18:59 UTC
Please note that xf86-input-synaptics superseeds synaptics. It should build out of the box against X.Org.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-26 17:58:55 UTC
synaptics is dead code, please try with xf86-input-synaptics and reopen if this does not fix your issue.