Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49831 - The command in code listing 4 creates the wrong link
Summary: The command in code listing 4 creates the wrong link
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 05:42 UTC by Andy Repton
Modified: 2004-05-09 04:35 UTC (History)
1 user (show)

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 Andy Repton 2004-05-03 05:42:36 UTC
The command:

# rm /usr/src/linux && ln -s /usr/src/linux-2.4.25-gentoo /usr/src/linux

creates a link in /usr/src with the target "/usr/src/linux-2.4.25-gentoo" whereas it is more normal to create the target as "linux-2.4.25-gentoo". The former breaks the installation of bestcrypt under kernel 2.6 as the Makefile ends up with an include path of -I/lib/modules//usr/src/linux-2.6.5-gentoo-r1/build/include instead of -I/lib/modules/linux-2.6.5-gentoo-r1/build/include



Reproducible: Always
Steps to Reproduce:
1. Create link as described in the handbook to the gentoo-dev-sources kernel
2. ACCEPT_KEYWORDS="~x86" emerge bestcrypt
3. watch it break
Actual Results:  
Bestcrypt fails

Expected Results:  
With the link corrected the emerge completes
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-05-09 04:35:48 UTC
Thanks, fixed in CVS.