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

Bug 496716

Summary: sys-devel/make-4.0 - ?
Product: Gentoo Linux Reporter: Ulenrich <ulenrich>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulenrich 2014-01-02 01:16:06 UTC
This is how my kernel script begins
---
#!/bin/bash
U="ral"
B="/usr/src/build/linux"
[ ! -e "/usr/src/linux/.config" ] \
 && echo "$0 : need /usr/linux/.config" && exit 2
[ ! -d $B ] \
 && mkdir -p $B \
 || { echo "$0 : already exists $B" ; exit ; }
cd /usr/src/linux || exit 3
mv .config ${B}/.config
make mrproper
make V=0 O=${B} oldconfig
n=$(make V=0 O=${B} kernelrelease)
.....
---
I further use $n to rename $B build directory to the release name, where I keep headers for later out of tree module builds (vbox nvidia).
But make-4 didn't respect "V=0" which is documented at /usr/src/linux/Makefile.
The result was multiple lines in my variable $n
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-02 12:27:51 UTC
We can't fix your script.
Comment 2 Ulenrich 2014-01-02 14:08:29 UTC
@Jeroen
The script runs fine with make-3.82-r4

make is supposed to handle these two parameters with '=' by kernel.org

But
make-4 only considers one parameter.
I don't know if kernel.org developers ignore standards and if
make-4 is handling standards correctly.

This was a warning about make-4 to you to look into it and
perhaps file a bug upstream to either kernel.org or make bugtracker.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-02 14:20:00 UTC
(In reply to Ulenrich from comment #0)
> But make-4 didn't respect "V=0" which is documented at
> /usr/src/linux/Makefile.
> The result was multiple lines in my variable $n

What output?
Comment 4 Ulenrich 2014-06-17 20:14:18 UTC
Sorry for not answering such a long period. 
I found others having similar issues with  make-4.0:

http://lists.gnu.org/archive/html/bug-make/2013-12/msg00015.html
http://lists.gnu.org/archive/html/bug-make/2013-12/msg00019.html