Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344745 - app-admin/rsyslog-5.4.0 automagic dependency on javac
Summary: app-admin/rsyslog-5.4.0 automagic dependency on javac
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 343085
Blocks:
  Show dependency tree
 
Reported: 2010-11-08 20:21 UTC by Marcin Mirosław
Modified: 2011-01-10 20:00 UTC (History)
0 users

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


Attachments
config.log (config.log,123.77 KB, text/plain)
2010-11-08 20:22 UTC, Marcin Mirosław
Details
build.log (build.log,26.81 KB, text/plain)
2010-11-08 20:23 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2010-11-08 20:21:19 UTC
If javac is present in system, configure tries to use it and compile tests.
 CCLD   omprog.la
make[2]: Opuszczenie katalogu `/var/tmp/portage/app-admin/rsyslog-5.4.0/work/rsyslog-5.4.0/plugins/omprog'
Making all in tests
make[2]: Wejście do katalogu `/var/tmp/portage/app-admin/rsyslog-5.4.0/work/rsyslog-5.4.0/tests'
CLASSPATH=..:./..:$CLASSPATH javac -d ..    DiagTalker.java
* javac is not available for sun-jre-bin-1.6 on x86_64
* IMPORTANT: some Java tools are not available on some VMs on some architectures
make[2]: *** [classcheck.stamp] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/app-admin/rsyslog-5.4.0/work/rsyslog-5.4.0/tests'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/app-admin/rsyslog-5.4.0/work/rsyslog-5.4.0'
make: *** [all] Błąd 2
emake failed
 * ERROR: app-admin/rsyslog-5.4.0 failed:
 *   emake failed
 * 

Java compiller isn't working on amd64:
# javac
* javac is not available for sun-jre-bin-1.6 on x86_64
* IMPORTANT: some Java tools are not available on some VMs on some architectures

Reproducible: Always



Expected Results:  
Don't try to use javac if FEATURES=test isn't set, and "test" should be available only when javac works.

# emerge --info
FEATURES variable contains unknown value(s): Xfail-clean
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-zen2 x86_64)
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 08 Nov 2010 16:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fpeel-loops -fprefetch-loop-arrays -floop-interchange -floop-block -floop-strip-mine -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fpeel-loops -fprefetch-loop-arrays -floop-interchange -floop-block -floop-strip-mine -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="Xfail-clean assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl"
LC_ALL="pl_PL.8859-2"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j3 -l5"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 async automount bash-completion bfq branding bzip2 cairo caps cddb cdr cli consolekit crypt css cuda cups custom-optimization cxx dbus dri dts dvd dvdr embedded emboss encode exif extras fam firefox flac fortran ftp gif gimp glitz gphoto2 gpm graphite gtk hal iconv idn inotify iproute2 ipv6 javascript jpeg jpeg2k justify kde kdrive lame lcms libnotify lightning lzo mad matroska md5sum mikmod mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg mplayer mudflap multilib ncurses network network-cron nfs nls nntp nptl nptlonly nsplugin nspluginwrapper ntfs odk ogg opengl openmp openssl optimization optimized-qmake pam pango pcre pdf perl png postproc pppd profiler python qa qt3support qt4 query-browser rar readline recode samba sdl semantic-desktop session sharedmem smp sound spell sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles svg sysfs syslog theora threads threadsafe thunderbird tidy tiff tools transcode truetype unicode urandom usb v4l v4l2 vhosts vim vim-pager vim-syntax vorbis wifi wmf x264 xattr xcb xcomposite xforms xinerama xml xmlrpc xorg xscreensaver xulrunner xv xvid xvmc zip zlib" 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="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" CAMERAS="panasonic" 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Mirosław 2010-11-08 20:22:22 UTC
Created attachment 253699 [details]
config.log
Comment 2 Marcin Mirosław 2010-11-08 20:23:00 UTC
Created attachment 253701 [details]
build.log
Comment 3 Marcin Mirosław 2010-12-14 14:07:04 UTC
Comment from Rainer Gerhards:
The requirement for Java has been removed in current versions. Also note that
5.4.0 was a bit of a problematic version, I strongly recommend upgrading to the
current stable.
Comment 4 Ultrabug gentoo-dev 2011-01-10 11:25:32 UTC
@Marcin Mirosław: Hi, and thanks for submitting this bug. As bug #343085 is now resolved making app-admin/rsyslog-5.6.2 available in the tree, would you please try to see if this solves this bug here (as per upstream advise) ?

Regards.
Comment 5 Marcin Mirosław 2011-01-10 20:00:14 UTC
Rsyslog-5.6.2 compiles fine. I'm closing bug.