Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250992 - app-forensics/samhain-2.1.3 compile failed, linux/elf.h not found.
Summary: app-forensics/samhain-2.1.3 compile failed, linux/elf.h not found.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 06:36 UTC by Mike PReDiToR
Modified: 2009-01-05 15:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,25.76 KB, text/plain)
2008-12-15 06:38 UTC, Mike PReDiToR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike PReDiToR 2008-12-15 06:36:16 UTC
Attempted 'emerge samhain', package.keyword "~x86", pulled down v2.1.3.
./src/sstrip.c:22:30: error: linux/elf.h: No such file or directory leads to src_compile giving compile failed.

Reproducible: Always

Steps to Reproduce:
1. emerge samhain
2. ???
3. Profit!
(sorry)

Actual Results:  
 * Messages for package app-forensics/samhain-2.1.3:

 *
 * ERROR: app-forensics/samhain-2.1.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  221:  Called die
 * The specific snippet of code:
 *       make || die "compile failed"
 *  The die message:
 *   compile failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-forensics/samhain-2.1.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-forensics/samhain-2.1.3/temp/environment'.

Expected Results:  
Samhain 2.1.3 installed, happy hunting.

2.6.27.9, baselayout-2, KDE3.5.10/Konsole Firefox3.0.4

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27.9-PReDiToR i686)
=================================================================
System uname: 2.6.27.9-PReDiToR i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Sun, 14 Dec 2008 02:32:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/"
LANG="en_GB.utf8"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa apic berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif gpm hal iconv id3tag ipv6 isdnlog jpeg jpeg2k kde midi mjpeg mmx mmxext mng mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre perl png pppd python qt4 readline reflection session spl sse ssl svg sysfs taglib tcpd tiff unicode vorbis win32codecs 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mike PReDiToR 2008-12-15 06:38:07 UTC
Created attachment 175307 [details]
Build log
Comment 2 Patrick Lauer gentoo-dev 2009-01-05 07:05:43 UTC
I just added 2.5.1 to the tree. Does it still happen with that?
Comment 3 Mike PReDiToR 2009-01-05 15:57:50 UTC
app-forensics/samhain-2.5.1 installs without error.

Thanks.