Public bug reported:

When trying to build linux-image-2.6.31-16-generic_2.6.31-16.53_i386.deb, and 
setting LOCALVERSION in debian.master/config/config.common.ubuntu, causes the 
build to fail at:
#
# Remove files which are generated at installation by postinst, except for
# modules.order.
#
mv 
/usr/src/linux-2.6.31/debian/linux-image-2.6.31-16-generic/lib/modules/2.6.31-16-generic/modules.order
 \
                
/usr/src/linux-2.6.31/debian/linux-image-2.6.31-16-generic/lib/modules/2.6.31-16-generic/_modules.order

This is because the modules.order file is missing. The directory where
it should be only contains a single child directory "initrd".

I built once successfully from a clean extract (with the Ubuntu patch
set). Then I changed the LOCALVERSION to "debug" and tried to build. It
failed, tried again with a rebuild-config+clean+build. Failed again.
Then I extracted and patched again, and tried to build without
rebuilding-config (simply making the change). It failed again.

After I extracted once more and left the LOCALVERSION alone, it
succeeded again. So it seems to be clear that changing the LOCALVERSION
causes the build to fail.

I build with the following:
quin...@quintin-viao:/usr/src/linux-2.6.31$ gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

quin...@quintin-viao:/usr/src/linux-2.6.31$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Setting LOCALVERSION causes build to build at modules.order
https://bugs.launchpad.net/bugs/501053
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to