Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470866 - dev-java/ant-core-1.8.4-r1 failed to build with error in error running fixcrlf on file
Summary: dev-java/ant-core-1.8.4-r1 failed to build with error in error running fixcrl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 11:32 UTC by cruzki
Modified: 2013-05-21 12:33 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 cruzki 2013-05-21 11:32:08 UTC
I have problems instaling any java based packages as they pull in ant-core with fails with the following message:

 * Package:    dev-java/ant-core-1.8.4-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox userpriv usersandbox
 * Using: icedtea-bin-7
 * Applying various patches (bugfixes/updates) ...
 *   1.8.4-prefix.patch ...
 [ ok ]
 * Done with patching
 * Adjusting to prefix /
 *   ant ...
 [ ok ]
Rewriting attributes
Rewriting build.xml
Rewriting attributes
Rewriting ./build.xml
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
... Copying Required Files
... Building Ant Distribution
Buildfile: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build.xml

bootstrap:

check_for_optional_packages:

prepare:
Created dir: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/lib
Copying 5 files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/classes
Copying 2 files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/classes

build-core:
Compiling 224 source files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/classes

jars-prep:
Copying 2 files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build
Copying 1 file to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build

jar-launcher:
Building jar: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/lib/ant-launcher.jar

jar-ant:
Building jar: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/lib/ant.jar

jar-bootstrap:
Building jar: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build/lib/ant-bootstrap.jar

jars-core:

dist-lite-internal:
Created dir: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap
Created dir: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap/bin
Created dir: /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap/lib
Copying 2 files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap/lib
Copying 13 files to /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap/bin

BUILD FAILED
/home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build.xml:907: The following error occurred while executing this line:
/home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/build.xml:817: error running fixcrlf on file /home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4/bootstrap/bin/ant.bat

Total time: 11 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED
 * ERROR: dev-java/ant-core-1.8.4-r1 failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 4075:  Called die
 * The specific snippet of code:
 *       CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars-core internal_dist $(use_doc javadocs) || die "build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/ant-core-1.8.4-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/ant-core-1.8.4-r1'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-7  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.3.9"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info =ant-core-1.8.4
 * The complete build log is located at '/home/portage/portage/dev-java/ant-core-1.8.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/portage/portage/dev-java/ant-core-1.8.4-r1/temp/environment'.
 * Working directory: '/home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4'
 * S: '/home/portage/portage/dev-java/ant-core-1.8.4-r1/work/apache-ant-1.8.4'



GENTOO_VM=icedtea-bin-7  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.3.9"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

energos cruzki # emerge --info =ant-core-1.8.4
Portage 2.2.0_alpha176 (default/linux/amd64/13.0, gcc-4.8.0, glibc-2.17, 3.9.2-aufs x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.2-aufs-x86_64-AMD_Opteron-tm-_Processor_6168-with-gentoo-2.2
KiB Mem:    32950564 total,  23182144 free
KiB Swap:   10436604 total,  10436604 free
Timestamp of tree: Mon, 20 May 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo mv
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/redmine/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs 25 --load-average 25"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fixlafiles merge-sync metadata-transfer news nodoc parallel-fetch parallel-install sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo-euetib.upc.es/mirror/gentoo/"
LANG="es_ES"
LC_ALL="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j25"
PKGDIR="/home/portage/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mv"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow acpi amd64 bzip2 cleartype cli corefonts cracklib crypt cxx dbus djvu dri fontconfig ftp gif gmp gpm iconv icu jpeg laptop latex lcms lm_sensors lzma mmx mmxext modules mudflap multilib ncurses network nls nptl nsl openmp openssl pam pango pch pcre pdf pgo png postscript readline session smp spell sse sse2 sse3 ssl ssse3 svg symlink tcpd threads tiff unicode usb xcb xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


This is a new install in a fary powerfull machine. Any idea?
Comment 1 cruzki 2013-05-21 12:33:52 UTC
It seems that the problem is that I have /tmp mounted using zram (from mv overlay). My question is, why this affect the compilation? Should not be raised a sandbox exception? O.o