Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383517 - games-fps/xonotic-0.5.0 fails to compile (phys.o: file not recognized: File truncated)
Summary: games-fps/xonotic-0.5.0 fails to compile (phys.o: file not recognized: File t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 384039 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-18 16:58 UTC by Hans
Modified: 2011-09-23 14:59 UTC (History)
2 users (show)

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


Attachments
xonotic-0.5.0 build.log (build.log,65.78 KB, text/plain)
2011-09-18 16:58 UTC, Hans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans 2011-09-18 16:58:58 UTC
Created attachment 286911 [details]
xonotic-0.5.0 build.log

games-fps/xonotic-0.5.0 fails to compile here:

[...]
sv_phys.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [xonotic-dedicated] Error 1
[...]

See attached build.log.


Portage 2.1.10.18 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.0.4-x86_64-AMD_Athlon-tm-_II_X2_245e_Processor-with-gentoo-2.0.3
Timestamp of tree: Sun, 18 Sep 2011 08:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/themes/oxygen-gtk/gtk-2.0"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps y"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z,now -Wl,-z,relro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/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="/var/cache/portage"
PORTDIR_OVERLAY="/var/cache/portage/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac alsa amd64 bzip2 caps css cups device-mapper dts dvd encode exif ffmpeg flac fontconfig gif iconv idn inotify ipv6 ithreads jpeg kde lzma mad minimal mmx mmxext mp3 mp4 mudflap multilib nls nptl ogg opengl openmp pam pdf png spell sse sse2 ssl symlink taglib theora threads tiff truetype unicode usb vaapi vorbis x264 xmp xscreensaver xv zlib" ALSA_PCM_PLUGINS="asym copy dmix dshare dsnoop empty extplug hooks iec958 ioplug lfloat linear multi null plug rate route shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hans 2011-09-18 17:17:32 UTC
I just tried this with MAKEOPTS="-j1". It worked fine, while it has consistently failed with "-j3".
Comment 2 Nikoli 2011-09-18 20:34:23 UTC
Do you have enough free space? How much at /var/tmp/portage? Does it build fine with default LDFLAGS="-Wl,-O1 -Wl,--as-needed"?
Comment 3 Hans 2011-09-18 21:06:33 UTC
(In reply to comment #2)
> Do you have enough free space? How much at /var/tmp/portage? Does it build fine
> with default LDFLAGS="-Wl,-O1 -Wl,--as-needed"?

There is plenty of space available. It also doesn't work with the default LDFLAGS. Only using -j1 has been helping so far.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2011-09-22 02:23:13 UTC
*** Bug 384039 has been marked as a duplicate of this bug. ***
Comment 5 (RETIRED) 2011-09-22 04:54:11 UTC
yes, now it can compile correctly. I changed my MAKEOPTS=-j3 to -j1, and it works!
Thanks so much :)
Comment 6 Nikoli 2011-09-22 10:40:28 UTC
Hans, Emulatorman, does problem with -j4 exist for you in 0.5 ebuild from gamerlay?
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2011-09-22 20:33:47 UTC
resync and try it again.  I broke the compile up since it seems like their makefiles are broken.
Comment 8 Hans 2011-09-23 14:43:55 UTC
(In reply to comment #7)

Works without problems, thanks!
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2011-09-23 14:59:23 UTC
great, thanks for testing.