First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 188273
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Genkernel Maintainers <genkernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alan Hourihane <alanh@fairlite.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
genkernel.log genkernel.log text/plain Alan Hourihane 2007-08-10 18:33 0000 312.10 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188273 depends on: Show dependency tree
Bug 188273 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-09 22:01 0000
Even this shows the unstable kernel, it still fails with the stable kernel too.

* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --dmraid --slowusb --disklabel --no-clean all

* Linux Kernel 2.6.22-gentoo-r2 for x86...
mount: special device /dev/BOOT does not exist
* WARNING: Failed to mount /boot!

* config: --no-clean is enabled; leaving the .config alone.
*         >> Compiling 2.6.22-gentoo-r2 bzImage...
*         >> Compiling 2.6.22-gentoo-r2 modules...
* Copying config for successful build to
/etc/kernels/kernel-config-x86-2.6.22-gentoo-r2
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending dmraid cpio data...
* DMRAID: Adding support (compiling binaries)...
* device-mapper: >> Compiling...
*         >> Copying to cache...
* dmraid: >> Configuring...
* dmraid: >> Compiling...
* ERROR: Failed to compile the "" target...

* -- Grepping log... --


* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --dmraid --slowusb --disklabel --no-clean all

* Linux Kernel 2.6.22-gentoo-r2 for x86...
* WARNING: Failed to mount /boot!
--
dmraid.c:(.text+0x5d): undefined reference to `handle_args'
dmraid.c:(.text+0x6b): undefined reference to `libdmraid_exit'
dmraid.c:(.text+0x84): undefined reference to `init_locking'
dmraid.c:(.text+0x9c): undefined reference to `perform'
collect2: ld returned 1 exit status
make[1]: *** [tools/dmraid] Error 1


Reproducible: Always

------- Comment #1 From Jakub Moc (RETIRED) 2007-08-10 09:57:54 0000 -------
Please, attach the complete log; also emerge --info missing.

------- Comment #2 From Alan Hourihane 2007-08-10 18:33:17 0000 -------
Created an attachment (id=127506) [edit]
genkernel.log

Tried with my hardened build and the same occurs, so attaching emerge --info
and genkernel.log


Portage 2.1.2.11 (selinux/2007.0/x86/hardened, gcc-4.1.1, glibc-2.5-r4,
2.6.21-gentoo-r4 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 10 Aug 2007 15:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe
-fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks loadpolicy metadata-transfer sandbox selinux
sesandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="activefilter adsl apache2 atm berkdb bitmap-fonts cli cracklib crypt cups
dhcp dri eap-tls fortran gdbm gpm hardened iconv ipppd ipv6 isdnlog ldap midi
minimal mpm-prefork mppe-mppc mschap mudflap ncurses netboot nls nptl nptlonly
openmp pam pcre perl pic pppd python radius readline reflection savedconfig
selinux session spl ssl tcpd truetype-fonts type1-fonts unicode usb x86 xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon
rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Alan Hourihane 2007-08-10 18:33:33 0000 -------
Reopen

------- Comment #4 From Ian Stakenvicius 2007-08-13 13:27:54 0000 -------
is this a duplicate of bug 145415 ?

------- Comment #5 From Alan Hourihane 2007-08-13 13:31:29 0000 -------
Not exactly. Different version of genkernel and this is with gentoo-sources &
hardened-sources.

------- Comment #6 From Chris Gianelloni (RETIRED) 2007-08-22 19:48:08 0000 -------
This should be fixed in genkernel 3.4.9_pre1 which is now in the tree for
testing.  If this doesn't fix it, please REOPEN this bug.

------- Comment #7 From Alan Hourihane 2007-08-31 15:55:12 0000 -------
Nope. Doesn't fix it, and I've just retried with _pre2

------- Comment #8 From Chris Gianelloni (RETIRED) 2007-08-31 17:25:58 0000 -------
Alan, so you're only getting this problem with gentoo-sources or both
gentoo-sources and hardened-sources?

------- Comment #9 From Alan Hourihane 2007-08-31 17:38:49 0000 -------
The last test was with h2.6.20-hardened-r6, but I can try gentoo-sources again
if that helps.

------- Comment #10 From Chris Gianelloni (RETIRED) 2007-09-17 20:06:58 0000 -------
Alan, I don't think this will change anything, but can you try with genkernel
3.4.9_pre3 and attach the genkernel log it produces here?

------- Comment #11 From Alan Hourihane 2007-09-24 17:18:57 0000 -------
Tried. Fails with the same error.

------- Comment #12 From Ian Stakenvicius 2007-10-03 19:01:06 0000 -------
Do you have dmraid and/or device-mapper emerged?  Not that this should affect
genkernel, but..

------- Comment #13 From Alan Hourihane 2007-10-03 20:08:12 0000 -------
Yes, I have both device-mapper & dmraid emerged before the kernel build.

------- Comment #14 From Alan Hourihane 2007-10-12 20:23:18 0000 -------
O.k. So after my insight into genkernel for doing mdadm support I took a look
at why this fails.

It's because the default genkernel tries to build with -j2 and the DMRAID
package compiles out of order and tries to compile the 'tools' directory before
actually compiling the appropriate libraries.

Setting MAKEOPTS="-j1" in /etc/genkernel.conf fixes the problem.

------- Comment #15 From Alan Hourihane 2007-10-12 21:21:40 0000 -------
I think both of these bugs are directly related to this, so if this gets fixed
properly I suspect both of these will work too.

http://bugs.gentoo.org/show_bug.cgi?id=145415
http://bugs.gentoo.org/show_bug.cgi?id=164572

------- Comment #16 From Chris Gianelloni (RETIRED) 2007-10-13 17:35:14 0000 -------
Nice.  I'll come up with a way to override the MAKEOPTS setting for dmraid and
will put it into the next genkernel 3.4.9_pre version.  Of course, patches
welcome.  ;]

------- Comment #17 From Andrew Gaffney 2007-11-17 02:47:48 0000 -------
This is fixed in SVN.

------- Comment #18 From Chris Gianelloni (RETIRED) 2007-11-28 22:32:07 0000 -------
This should be done in 3.4.9_pre10 which will be hitting the tree soon.

First Last Prev Next    No search results available      Search page      Enter new bug