Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515628 - net-firewall/firewalld-0.3.10 - sed: can't read /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-applet: No such file or directory
Summary: net-firewall/firewalld-0.3.10 - sed: can't read /tmp/portage/net-firewall/fir...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-28 21:02 UTC by Kornel
Modified: 2015-05-25 21:11 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,28.80 KB, text/plain)
2014-06-28 22:00 UTC, Kornel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kornel 2014-06-28 21:02:28 UTC
Emerging net-firewall/firewalld-0.3.10 with gui USE flag and MAKEOPTS="-j4" fails in the install phase with:
...
make[2]: Leaving directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src/icons'
make[1]: Leaving directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src/icons'
make[1]: Entering directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src'
make[2]: Entering directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src'
 /bin/mkdir -p '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin'
 /bin/mkdir -p '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/sbin'
Fixing python shebang
 /bin/mkdir -p '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/share/firewalld'
 /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c firewall-applet firewall-cmd firewall-offline-cmd firewall-config '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin'
../fix_python_shebang.sh /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-applet
 /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c firewalld '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/sbin'
 /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c -m 644 firewall-config.glade '/tmp/portage/net-firewall/firewalld-0.3.10/image//usr/share/firewalld'
sed: can't read /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-applet: No such file or directory
../fix_python_shebang.sh /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-cmd
sed: can't read /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-cmd: No such file or directory
../fix_python_shebang.sh /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-offline-cmd
sed: can't read /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-offline-cmd: No such file or directory
../fix_python_shebang.sh /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-config
sed: can't read /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/firewall-config: No such file or directory
make[2]: *** [install-data-local] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src'
make: *** [install-recursive] Error 1
make: Leaving directory `/tmp/portage/net-firewall/firewalld-0.3.10/work/firewalld-0.3.10/src'

Disabling parallel build:
MAKEOPTS="-j1" emerge -av1 firewalld
seems to solve the problem.

Reproducible: Always

Steps to Reproduce:
1. unmask net-firewall/firewalld-0.3.10
2. run MAKEOPTS="-j4" emerge -av1 firewalld
Actual Results:  
emerge fails

Expected Results:  
installation finishes successfuly
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-28 21:40:51 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Kornel 2014-06-28 21:58:44 UTC
emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.14.9-gentookm x86_64)
=================================================================
System uname: Linux-3.14.9-gentookm-x86_64-Intel-R-_Core-TM-_i7-4500U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:    16311752 total,  11380644 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 28 Jun 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo bumblebee java pipelight luman x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA NVIDIA-CUDA google-chrome skype-4.0.0.7-copyright Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="${CONFIG_PROTECT} /etc /etc/idea/conf /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-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="-O2 -pipe"                                                                                                                                                  
GENTOO_MIRRORS="http://gentoo.gg3.net/ http://ftp.daum.net/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://tux.rainside.sk/gentoo/"         
LANG="pl_PL.utf8"                                                                                                                                                   
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                   
MAKEOPTS="-j4"                                                                                                                                                      
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bumblebee /var/lib/layman/java /var/lib/layman/pipelight /var/lib/layman/luman /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3ds R X a2ps a52 aac aacplus aacs aalib accessibility acl acpi addressbook aec aes aesicm aff afp aften aim aio airdrop-ng airgraph-ng akonadi alert alevt all_sfx alsa amavis amd64 amr amrenc amrnb android annotations ap apng applet appletalk archive armadillo asf asm aspell asyncns attica audacious audio audio-sdl audioeffects audiofile audioscrobbler aura auth-dns autofs autoipd automount autoreplace autotools autotrace avahi avatars avcodec avformat avg avs avx avx2 awt bash-completion bazaar bearer berkdb binary-drivers bittorrent blas blender bluetooth bluray boost branding bs2b btrfs bzip2 cairo calendar canusb caps captcha cb cdda cddb cdinstall cdr cdrom celt cg clang cli cmake collada colord colordiff colorio colorpicker compress compressed-lumas connection-sharing connectivity conntrack contactnotes contacts context contrast contrib corefonts cover cpufreq cpufreq_bench cpuload cracklib crypt cryptsetup cscope css cuda cue cups curl curlwrappers cursors cvs cxx cycles darcs data dbi dbus declarative demosaic designer designer-plugin desktop-notify desktopglobe desktopswitch detex developer devhelp devil dga dhcp-tools dia diff digital dirac djvu dnotify docbook doctool dos dot dpi dri dts dv dvb dvd dvdnav dvdr dvi dvi2tty dvipdfm ebook eclipse egl eigen elbeem embedded emboss emovix enchant encode epspdf epub equalizer exif expat expoblending extensible-exceptions-in-base extensions extra extra-algorithms extra-ciphers extras f2fs faac faad facebook facedetect fakevim fam farstream fast-bignum fast-libs fastcgi fasteap fasttrack fasttree fat fbcon feedback ffmpeg fftw firefox firefox-bookmarks firewalld fits flac flash flickr fltk fluidsynth font-styles fontconfig fontforge fonts foomatic foomaticdb fortran fpx frei0r gadu gallery games gbm gcdmaster gcj gcrypt gd gda gdbm geo geoip geoloc geolocation geos gflags gfxnvidia ggz gif gimp git github glamor gles gles2 glew glfw glut gmath gmcp gme gmp gnome-keyring gnome-online-accounts gnome-shell gnumeric gnuplot gnutls go gocr goffice gold google googledrive gpac gpg gphoto2 gpl gpm gps gpsbabel gpssync gptfdisk gpu gpx-extensions graphics graphicsmagick graphite graphviz gsf gsl gsm gstreamer gtalk gtk gtk3 gtkhotkey gtkhtml gtkstyle gtp gts gucharmap gui gzip h224 h281 h323 hbci hdf5 hdri highlight hipe hscolour html http humanities hunspell hyphenation i18n ibus iconv icu id3tag ide idn ilbc ilbc-webrtc image image-cache imagemagick imaging imap imlib infinality inkjar inotify int-quality int64 ios ipfilter iplayer ipod iptc ipv6 irrlicht iso ivr jabber jabbersearch jack jadetex java jbig jce jit jpeg jpeg2k json kate kdcraw kde kdecards kdenlive kdepim kdm kexiv2 keyboard kipi konqueror kontact kpathsea kpoll kross ladspa lame lapack laptop lash lasi lastfm latex latexmk lcms ldap lensfun libass libburn libcaca libextractor libffi libgda libgig libguess libkms libnotify libproxy libsamplerate libsecret libsoxr libtar libtiger libvisual listen-queue live llvm llvm-shared-libs lm_sensors location lqr lto lua luatex lv2 lzma lzo mad madde marble math mathml matplotlib matroska mdnsresponder-compat meanwhile mediaplayer mediawiki melt mercurial messaging metapost metis metric midi migrator mikmod mikrokopter mjpeg mktemp mms mmx mng mobi mod modemmanager modplug modules mono monolithic-build mouse mozdom mp3 mp3rtp mp3tunes mp4 mpd mpeg mpi-threads mplayer mtp mudflap multilib multimedia musepack music nas ncap2 ncat ncurses ndiff network networking networkmanager networkmonitor new-clx new-login nis nls nmap nmap-update nntp nokia nping npm npp nptl nsplugin ntfs ntfsdecrypt nut nvidia oauth objc objc++ objc-gc ocaml ocamlopt ocr ocrad octave odbc ofa offensive office offscreen ofx ogg okteta okular omega omxil openal opencl openclipart openclipartcards openconnect opencv openexr opengl opengtl openimageio openmp openssl opensslcrypt openstreetmap openvg optimization opus orc organizer osmesa p2p pam pango panorama pari parse-clocks passwdqc passwordsave pasteafter patented pch pci pcre pcre-jit pcre32 pdf pdf-writer pdfannotextractor pdftk perl pgf pgo pgp phonon pkcs11 plasma player playlist plotutils plugins plymouth png policykit portmidi postproc postscript povray ppds prison profiler projectm pronounce psd psf pstricks publishers publishsubscribe pulseaudio pvr pyqt4 python qalculate qimageblitz qml qos qrcode qrupdate qscintilla qt-dbus qt-faststart qt3support qt4 qthelp quicklaunch quicktime quotes quvi qwt r600-llvm-compiler rar raw rcs rdp readline realtime redeyes reiser4 reiserfs remote reports resize-optimization reviewboard rfc2307 rplay rss rtaudio rtc rtf rtmp rtsp samba sasl sbsms scanfolder scanner schroedinger schur science scipy screen screensaver script scripting scripts scripttools scsi sctp sdl sdl-image sdlgfx secure secure-messaging secure-updates security semantic-desktop sensord sensors servicediscovery serviceframework session shapefile shout showdesktop sift sigsegv sip sipe sipim skins smi smp sndfile sniffer snmp soap socks soundtouch sox spatialite speech speechd speex spell spice sqlite srt srtp sse sse2 sse2_4way sse3 sse4_1 sse4_2 ssh ssh-agent ssh-askpass ssl ssse3 startup-notification strong-optimization subtitles subversion supernodal svg swap-remote swig swipl switcher system-binutils system-boost system-cairo system-cxx-headers system-icu system-jpeg system-libCg system-libs system-libyaml system-mpmath system-mupdf system-qemu system-renpy system-sqlite systemd systeminfo systemlib systray szip t1lib taglib tbb tcl tcpd telepathy tellico templates terminal tesseract tex tex4ht texi2html texmacs tga themedesigner theora thesaurus thin-splines threads threadsafe thumbnail thumbnails thunderbird tiff tilepath timezone timidity tk tls toolame toolbar tools truetype tslib tta tts tty-helpers twolame type3 udev udis86 udisks umfpack unicode upnp upnp-av upower usb utilities utils uudeview uuencode uuid uvm uxa v4l v4l2 vaapi vamp vangog vc vcd vcdx vdpau vdr versit video videoslideshow vim-pager vimeo virtfs virtualbox vlc vlm vnc vorbis vpx vxml wallpapers wav waveform wavelet wavpack wayland wayland-compositor weather web-services webcam webgl webkit webp webphoto webpresence webrtc-aec webstart wifi wiimote windeco wireshark wireshark-plugins wma wmf word-perfect wps wxwidgets x11 x11vnc x264 x265 xa xanim xattr xbase xcap xcb xcomposite xetex xface xfig xforward xhtml xindy xine xinerama xml xmlpatterns xmlreader xmlrpc xmltv xmlwriter xmp xmpp xpm xps xrandr xrender xscreensaver xv xvid xvmc xwayland xz yaz yuv4mpeg zenmap zephyr zeroconf zip 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="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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse mutouch synaptics wacom elographics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="pl pl_PL en en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nouveau i915 radeon modesetting i965 nvidia" 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


(In reply to Jeroen Roovers from comment #1)
> 1) Please post your `emerge --info' output in a comment.
> 2) Please attach the entire build log to this bug report.
Comment 3 Kornel 2014-06-28 22:00:49 UTC
Created attachment 379872 [details]
build.log
Comment 4 Kornel 2014-06-28 22:03:07 UTC
One more thing. The supposedly missing files seem to exist:
(after failed build)

LANG="C" ls -la /tmp/portage/net-firewall/firewalld-0.3.10/image//usr/bin/
total 372
drwxr-xr-x 2 root root    120 Jun 28 22:57 .
drwxr-xr-x 6 root root    120 Jun 28 22:57 ..
-rwxr-xr-x 1 root root  44137 Jun 28 22:57 firewall-applet
-rwxr-xr-x 1 root root  59030 Jun 28 22:57 firewall-cmd
-rwxr-xr-x 1 root root 219876 Jun 28 22:57 firewall-config
-rwxr-xr-x 1 root root  52849 Jun 28 22:57 firewall-offline-cmd
Comment 5 Miroslaw Mieszczak 2014-07-10 14:57:35 UTC
Same here.

It seems, that multiple make jobs are leading to this installation problem.

Try to issue:

MAKEOPTS="-j1" emerge firewalld


In my case, after change MAKEOPTS it installed without any issue.
Comment 6 Victor 2014-08-24 21:27:44 UTC
(In reply to Miroslaw Mieszczak from comment #5)
> Same here.
> 
> It seems, that multiple make jobs are leading to this installation problem.
> 
> Try to issue:
> 
> MAKEOPTS="-j1" emerge firewalld
> 
> 
> In my case, after change MAKEOPTS it installed without any issue.

Thanks. Its works.
Comment 7 Matthias Maier gentoo-dev 2015-05-25 20:56:37 UTC
With the latest changes on the ebuild, I cannot reproduce with MAKEOPTS="-j4" or MAKEOPTS="-j8". Neither version 0.3.10, nor 0.3.13.

Can you please test 0.3.13 whether the problem still persists? Reopen please, if so.
Comment 8 Kornel 2015-05-25 21:11:31 UTC
(In reply to Matthias Maier from comment #7)
> With the latest changes on the ebuild, I cannot reproduce with
> MAKEOPTS="-j4" or MAKEOPTS="-j8". Neither version 0.3.10, nor 0.3.13.
> 
> Can you please test 0.3.13 whether the problem still persists? Reopen
> please, if so.

I've just compiled 0.3.10 (which is the newest ebuild I have) successfully with MAKEOPTS="-j3" and "-j4".