Make error for RPM in Fedora 42
- Dominant language
- TypeScript
- Stars
- 7.1k
- Forks
- 641
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 30
Description
### Pre-flight checklist
- [x] I have read the [contribution documentation](https://github.com/electron/forge/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project uses.
- [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.
### Forge version
7.8.0
### Electron version
v35.2.1
### Operating system
Fedora Linux 42 (KDE Plasma Desktop Edition) x86_64, kernel: 6.14.3-300.fc42.x86_64
### Last known working Forge version
_No response_
### Expected behavior
It should compile the RPM package
### Actual behavior
It gives an error when compiling, even in a clean project (after doing: npx create-electron-app@latest test --template=vite-typescript).
Only for RPM, if i delete the line in makers for MakerRPM it works and create the package for debian.
### Steps to reproduce
Just have the same os fersion and do:
npx create-electron-app@latest test --template=vite-typescript
npm run make
### Additional information
pedrofm@wk-pedrofm ~/temporal/test $ npm run make
> test@1.0.0 make
> electron-forge make
❯ Checking your system
❯ Checking package manager version
✔ Found npm@10.9.2
✔ Checking your system
❯ Loading configuration
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
✔ Loading configuration
❯ Resolving make targets
› Making for the following targets: ,
✔ Resolving make targets
❯ Running package command
❯ Preparing to package application
✔ Preparing to package application
❯ Running packaging hooks
❯ Running generateAssets hook
✔ Running generateAssets hook
❯ Running prePackage hook
❯ [plugin-vite] Building vite bundles
vite v5.4.18 building for production...
vite v5.4.18 building for production...
vite v5.4.18 building for production...
✓ 1 modules transformed.
Generated an empty chunk: "preload".
.vite/build/preload.js 0.01 kB │ gzip: 0.03 kB
✓ built in 120ms
✓ 4 modules transformed.
✓ 20 modules transformed.
.vite/renderer/main_window/index.html 0.37 kB │ gzip: 0.26 kB
.vite/renderer/main_window/assets/index-cA78DHNn.css 0.14 kB │ gzip: 0.14 kB
.vite/renderer/main_window/assets/index-BWxB8AvL.js 0.79 kB │ gzip: 0.46 kB
✓ built in 289ms
.vite/build/main.js 8.08 kB │ gzip: 3.50 kB
✓ built in 295ms
✔ [plugin-vite] Building vite bundles
✔ Running prePackage hook
✔ Running packaging hooks
❯ Packaging application
› Determining targets...
❯ Packaging for x64 on linux
❯ Copying files
❯ Preparing native dependencies
❯ Finalizing package
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(Use `node-22 --trace-deprecation ...` to show where the warning was created)
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
✔ Copying files
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
✔ Preparing native dependencies
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
✔ Finalizing package
✔ Packaging for x64 on linux
✔ Packaging application
❯ Running postPackage hook
✔ Running postPackage hook
✔ Running package command
❯ Running preMake hook
✔ Running preMake hook
❯ Making distributables
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(node:87939) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
❯ Making a rpm distributable for linux/x64
❯ Making a deb distributable for linux/x64
electron-installer-redhat Executing command rpmbuild --version +0ms
electron-installer-redhat Reading package metadata from /home/pedrofm/temporal/test/out/test-linux-x64/resources/app.asar +24ms
electron-installer-redhat Creating package with options
electron-installer-redhat {
electron-installer-redhat "arch": "x86_64",
electron-installer-redhat "src": "/home/pedrofm/temporal/test/out/test-linux-x64",
electron-installer-redhat "dest": "/home/pedrofm/temporal/test/out/make/rpm/x64",
electron-installer-redhat "bin": "test",
electron-installer-redhat "execArguments": [],
electron-installer-redhat "categories": [
electron-installer-redhat "GNOME",
electron-installer-redhat "GTK",
electron-installer-redhat "Utility"
electron-installer-redhat ],
electron-installer-redhat "description": "My Electron application description",
electron-installer-redhat "genericName": "test",
electron-installer-redhat "mimeType": [],
electron-installer-redhat "name": "test",
electron-installer-redhat "productDescription": "My Electron application description",
electron-installer-redhat "productName": "test",
electron-installer-redhat "revision": 1,
electron-installer-redhat "version": "1.0.0",
electron-installer-redhat "license": "MIT",
electron-installer-redhat "compressionLevel": 2,
electron-installer-redhat "icon": "/home/pedrofm/temporal/test/node_modules/electron-installer-redhat/resources/icon.png",
electron-installer-redhat "requires": [
electron-installer-redhat "gtk3",
electron-installer-redhat "(libnotify or libnotify4)",
electron-installer-redhat "(nss or mozilla-nss)",
electron-installer-redhat "xdg-utils",
electron-installer-redhat "at-spi2-core",
electron-installer-redhat "libdrm",
electron-installer-redhat "(mesa-libgbm or libgbm1)",
electron-installer-redhat "(libxcb or libxcb1)",
electron-installer-redhat "(kde-cli-tools or kde-cli-tools5 or kde-runtime or trash-cli or glib2 or gvfs-client)"
electron-installer-redhat ],
electron-installer-redhat "vendor": "none",
electron-installer-redhat "platform": "linux"
electron-installer-redhat } +3ms
electron-installer-redhat Creating spec file at /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/SPECS/test.spec +4ms
electron-installer-redhat Creating package at /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64 +230ms
electron-installer-redhat Executing command rpmbuild -bb /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/SPECS/test.spec --target x86_64-none-linux --define _topdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64 +1ms
✖ Making a rpm distributable for linux/x64 [FAILED: Command failed with a non-zero return code (1):
rpmbuild -bb /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/SPECS/test.spec --target x86_64-none-linux --define _topdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PrgwZR
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZS5CVM
RPM build warnings:
RPM build errors:
Building target platforms: x86_64-none-linux
Building for target x86_64-none-linux
warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
+ umask 022
+ cd /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ '[' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT '!=' / ']'
+ rm -rf /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
++ dirname /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ mkdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
+ cp -r 'usr/*' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
cp: cannot stat 'usr/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)
%source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)]
✖ Making distributables [FAILED: Command failed with a non-zero return code (1):
rpmbuild -bb /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/SPECS/test.spec --target x86_64-none-linux --define _topdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PrgwZR
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZS5CVM
RPM build warnings:
RPM build errors:
Building target platforms: x86_64-none-linux
Building for target x86_64-none-linux
warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
+ umask 022
+ cd /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ '[' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT '!=' / ']'
+ rm -rf /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
++ dirname /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ mkdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
+ cp -r 'usr/*' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
cp: cannot stat 'usr/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)
%source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)]
An unhandled rejection has occurred inside Forge:
Error: Command failed with a non-zero return code (1):
rpmbuild -bb /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/SPECS/test.spec --target x86_64-none-linux --define _topdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PrgwZR
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZS5CVM
RPM build warnings:
RPM build errors:
Building target platforms: x86_64-none-linux
Building for target x86_64-none-linux
warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
+ umask 022
+ cd /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ '[' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT '!=' / ']'
+ rm -rf /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
++ dirname /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build
+ mkdir /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ mkdir -p /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
+ cp -r 'usr/*' /tmp/electron-installer--87939-fs4YTVMOUdDU/test_1.0.0_x86_64/BUILD/test-1.0.0-build/BUILDROOT/usr/
cp: cannot stat 'usr/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)
%source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from
Bad exit status from /var/tmp/rpm-tmp.ZS5CVM (%install)
at ChildProcess. (/home/pedrofm/temporal/test/node_modules/electron-installer-redhat/node_modules/@malept/cross-spawn-promise/src/index.ts:172:16)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1101:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
Contributor guide
Assessment
This issue has not been assessed yet.