Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10707

sys-boot/etcher-bin fails to build


    • Bug
    • Status: Closed
    • Blocks Install
    • Resolution: Fixed
    • None
    • we need fix template


      Latest version of the binary package for balena etcher, sys-boot/etcher-bin, fails to compile on my next machine. Compiled using the default USE flags on an AMD Zen2, xfce, nvidia system. Build output below:

       * Package:    sys-boot/etcher-bin-1.9.0
       * Repository: core-kit
       * USE:        amd64 elibc_glibc kernel_linux userland_GNU
       * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
      >>> Unpacking source...
      >>> Unpacking etcher-bin-1.9.0.deb to /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0
      >>> Unpacking data.tar.bz2 to /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0
      >>> Source unpacked in /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work
      >>> Preparing source in /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0 ...
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0 ...
      >>> Source configured.
      >>> Compiling source in /var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0 ...
      >>> Source compiled.
      >>> Test phase [not enabled]: sys-boot/etcher-bin-1.9.0>>> Install sys-boot/etcher-bin-1.9.0 into /var/tmp/portage/sys-boot/etcher-bin-1.9.0/image
      chmod: cannot access '/var/tmp/portage/sys-boot/etcher-bin-1.9.0/image/opt/balenaEtcher/balena-etcher-electron': No such file or directory
       * ERROR: sys-boot/etcher-bin-1.9.0::core-kit failed (install phase):
       *   fperms failed
       * If you need support, post the output of `emerge --info '=sys-boot/etcher-bin-1.9.0::core-kit'`,
       * the complete build log and the output of `emerge -pqv '=sys-boot/etcher-bin-1.9.0::core-kit'`.
       * The complete build log is located at '/var/tmp/portage/sys-boot/etcher-bin-1.9.0/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/sys-boot/etcher-bin-1.9.0/temp/environment'.
       * Working directory: '/var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0'
       * S: '/var/tmp/portage/sys-boot/etcher-bin-1.9.0/work/etcher-bin-1.9.0' 

      Problems seems to be that the developers have changed the name of the application from balena-etcher-electron to balena-etcher. Turns out 2 changes are actually needed for it to compile and function again. **

      First is to change the desktop file under files/etcher.desktop like this


      and the second is to change the ebuild template like this


      Generating and merging the ebuild locally with these changes fixes the issue




            coffnix coffnix
            madman10k madman10k
            0 Vote for this issue
            2 Start watching this issue