Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297230 - net-fs/samba-3.0.37 : reproducable error while compiling package
Summary: net-fs/samba-3.0.37 : reproducable error while compiling package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 23:11 UTC by Mariusz Szulist
Modified: 2009-12-17 09:26 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 Mariusz Szulist 2009-12-16 23:11:23 UTC
Samba crashes while compiling.
I tried version 3.0.36 and on that version problem didnt occure
-----------------------------------------------------------------------
[ebuild     U ] net-fs/samba-3.0.37 [3.0.36] USE="acl cups fam ipv6 ldap pam python readline -ads -async -automount -caps -debug -doc -examples -oav -quotas (-selinux) swat -syslog -winbind" 0 kB
--------------------------------------------------------------------------



Reproducible: Always

Steps to Reproduce:
1. emerge samba
2. crash


Actual Results:  
Compiling lib/smbldap_util.c
Compiling smbd/server.c
mkdir bin
Linking bin/smbd
lib/util_pw.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [bin/smbd] Błąd 1
 * 
 * ERROR: net-fs/samba-3.0.37 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4292:  Called die
 * The specific snippet of code:
 *       emake -j1 everything || die "emake everything failed";
 *  The die message:
 *   emake everything 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/net-fs/samba-3.0.37/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.37/temp/environment'.
 * 

>>> Failed to emerge net-fs/samba-3.0.37, Log file:

>>>  '/var/tmp/portage/net-fs/samba-3.0.37/temp/build.log'

 * Messages for package net-fs/samba-3.0.37:

 * 
 * ERROR: net-fs/samba-3.0.37 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4292:  Called die
 * The specific snippet of code:
 *       emake -j1 everything || die "emake everything failed";
 *  The die message:
 *   emake everything 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/net-fs/samba-3.0.37/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.37/temp/environment'.
 * 
machina ~ # 


Expected Results:  
compiled & instaled package ...

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 16 Dec 2009 22:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.po.opole.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga djvu dmx dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fortran fuse gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hdri iconv ipv6 java java6 jbig jpeg jpeg2k kerberos lame ldap libffi libnotify libsamplerate mad mikmod mmx mng modules mp2 mp3 mp4 mpeg mudflap multilib musepack nautilus ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime raw readline reflection samba sdl session smp sndfile spell spl sqlite sse sse2 ssh ssl ssse3 startup-notification svg sysfs tcpd templates threads thunar tiff truetype unicode usb vorbis wavpack wma wmf x264 xcb xft xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" NETBEANS_MODULES="*" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mariusz Szulist 2009-12-16 23:12:26 UTC
a
Comment 2 Mariusz Szulist 2009-12-16 23:13:28 UTC
I tried compile samba with MAKEOPTS="-j1" . No results
Comment 3 Rafał Mużyło 2009-12-17 05:13:52 UTC
Try purging ccache too.
Comment 4 Mariusz Szulist 2009-12-17 09:26:53 UTC
CCACHE_DIR="/var/tmp/ccache" ccache -C
solved the problem