Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59159 - lirc_0.7.0pre7 ebuild doesn't check if koutput is set on 2.6
Summary: lirc_0.7.0pre7 ebuild doesn't check if koutput is set on 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-02 09:01 UTC by Daniel Gebhardt
Modified: 2004-08-02 15:05 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 Daniel Gebhardt 2004-08-02 09:01:04 UTC
The ebuild doesn't check if koutput is set on kernels = 2.6.x, but does directly involve kmod_make_linux_writable.
As an result of this setting the koutput-directory, as writen in the error-msg won't change anything.

(kernel-source: gentoo-dev-source-2.6.7-r11)

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge lirc
2.
3.

Actual Results:  
The build fails saying to set the koutput dir or make /usr/src/linux writeable,
even if koutput is set.

Expected Results:  
emerge w/o errors

Changing the lines:
	if is_kernel 2 6; then
	        kmod_make_linux_writable
	fi
	
to:
        if is_kernel 2 6; then
		if ! is_koutput; then
			kmod_make_linux_writable
		fi
	fi

solves this problem and emerges as expected
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-02 15:05:41 UTC
fixed :)