media-libs/libbluray-0.8.0 fails to build because of a sed command failure inside the ebuild Reproducible: Always Steps to Reproduce: emerge media-libs/libbluray-0.8.0 Actual Results: * Package: media-libs/libbluray-0.8.0 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc fontconfig java kernel_linux truetype userland_GNU xml * FEATURES: preserve-libs sandbox userpriv usersandbox * Using: oracle-jdk-bin-1.8 >>> Unpacking source... >>> Unpacking libbluray-0.8.0.tar.bz2 to /tmp/portage/media-libs/libbluray-0.8.0/work >>> Source unpacked in /tmp/portage/media-libs/libbluray-0.8.0/work >>> Preparing source in /tmp/portage/media-libs/libbluray-0.8.0/work/libbluray-0.8.0 ... sed: can't read src/Makefile.am: No such file or directory * ERROR: media-libs/libbluray-0.8.0::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 5137: Called die * The specific snippet of code: * sed -i '/^jar_DATA/d' src/Makefile.am || die; * * If you need support, post the output of `emerge --info '=media-libs/libbluray-0.8.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/libbluray-0.8.0::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.45" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" and of course, the output of emerge --info =libbluray-0.8.0 * The complete build log is located at '/tmp/portage/media-libs/libbluray-0.8.0/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-libs/libbluray-0.8.0/temp/environment'. * Working directory: '/tmp/portage/media-libs/libbluray-0.8.0/work/libbluray-0.8.0' * S: '/tmp/portage/media-libs/libbluray-0.8.0/work/libbluray-0.8.0' Expected Results: it should compile just fine Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.2, glibc-2.20-r2, 4.0.2-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.0.2-gentoo-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 8108144 total, 5662488 free KiB Swap: 16779260 total, 16779260 free Timestamp of repository gentoo: Mon, 11 May 2015 07:15:01 +0000 sh bash 4.3_p33-r2 ld ld di GNU (Gentoo 2.25 p1.0) 2.25 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.15.1::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://gentoo.mirror.garr.it/gentoo-portage priority: -1000 my-portage-overlay location: /home/lorenzo/my-portage-overlay masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --with-bdeps=y" FCFLAGS="-march=native -O2" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2" GENTOO_MIRRORS="http://gentoo.mirror.garr.it/mirrors/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" USE="X a52 aac acl acpi alsa amd64 atm bash-completion berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cli cmake cracklib crypt cryptsetup css cups cxx dbus declarative designer dri dts dvd dvdr emboss encode exif fam fat ffmpeg fftw firefox firmware flac fontconfig fortran gdbm geoip gif git glamor gpm gtk hddtemp iconv icu imagemagick inotify ipv6 java jit jpeg kde kipi lcms ldap libass libnotify lm_sensors mad matroska mhash mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl nsplugin ntfs ofa offensive ogg opengl openmp pam pango pch pcre pdf pgo phonon plasma png policykit postproc ppds pulseaudio qt3support qt4 rdesktop readline sasl scanner sdl semantic-desktop session smp spell sse sse2 ssl startup-notification svg symlink systemd tcpd threads tiff truetype udev udisks unicode upower usb vdpau vlc vnc vorbis vpx wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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" 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="karbon words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
+ 11 May 2015; Alexis Ballier <aballier@gentoo.org> libbluray-0.8.0.ebuild: + fix build with java useflag, bug #549160 + thanks
*** Bug 549162 has been marked as a duplicate of this bug. ***