Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm build failed #82

Closed
squalou opened this issue Nov 30, 2023 · 5 comments
Closed

rpm build failed #82

squalou opened this issue Nov 30, 2023 · 5 comments

Comments

@squalou
Copy link
Owner

squalou commented Nov 30, 2023

Hi @pbabinca I 've just tried a tag to trigger the action. It failed, I don't know if you can see the logs in this repo so, here they are

 google-chat-linux@5.27.22-2 dist:rpm
> electron-builder --linux=rpm

  • electron-builder  version=24.4.0 os=10.0.20348
  • artifacts will be published  reason=tag is defined tag=5.27.22-2
  • loaded configuration  file=package.json ("build" field)
  • executing @electron/rebuild  arch=x64 version=27.0.3 appDir=D:\a\google-chat-linux\google-chat-linux
  • packaging       platform=linux arch=x64 electron=27.0.3 appOutDir=dist\linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v27.0.3/electron-v27.0.3-linux-x64.zip size=100 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v27.0.3/electron-v27.0.3-linux-x64.zip duration=1.279s
  • building        target=rpm arch=x64 file=dist\google-chat-linux-5.27.22-2.x86_64.rpm
  ⨯ cannot execute  cause=exec: "fpm": executable file not found in %PATH%
                    command=fpm -s dir --force -t rpm -d gtk3 -d libnotify -d nss -d libXScrnSaver -d libXtst -d xdg-utils -d at-spi2-core -d libuuid --rpm-os linux --rpm-compression xzmt --architecture amd64 --after-install 'C:\Users\RUNNER~1\AppData\Local\Temp\t-Oba7yb\0-after-install' --after-remove 'C:\Users\RUNNER~1\AppData\Local\Temp\t-Oba7yb\1-after-remove' --description 'Unofficial alternative Google Chat desktop app' --version 5.27.22-2 --package 'D:\a\google-chat-linux\google-chat-linux\dist\google-chat-linux-5.27.22-2.x86_64.rpm' --name google-chat-linux --maintainer 'Roberto Fasciolo <rob@robyf.net>' --url https://github.com/squalou/google-chat-linux --vendor 'Roberto Fasciolo <rob@robyf.net>' --license WTFPL '--rpm-rpmbuild-define=_build_id_links none' 'D:\a\google-chat-linux\google-chat-linux\dist\linux-unpacked/=/opt/google-chat-linux' 'D:\a\google-chat-linux\google-chat-linux\build\icons\48.png=/usr/share/icons/hicolor/48x48/apps/google-chat-linux.png' 'D:\a\google-chat-linux\google-chat-linux\build\icons\64.png=/usr/share/icons/hicolor/64x64/apps/google-chat-linux.png' 'D:\a\google-chat-linux\google-chat-linux\build\icons\256.png=/usr/share/icons/hicolor/256x256/apps/google-chat-linux.png' 'C:\Users\RUNNER~1\AppData\Local\Temp\t-Oba7yb\2-google-chat-linux.desktop=/usr/share/applications/google-chat-linux.desktop'
                    workingDir=
Error: Process completed with exit code 1.
@squalou
Copy link
Owner Author

squalou commented Nov 30, 2023

cannot execute cause=exec: "fpm": executable file not found in %PATH% is easy to understand but no idea how to fix it.
(no idea what fpm was until 5 minutes ago :) )

squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
@squalou
Copy link
Owner Author

squalou commented Nov 30, 2023

probably sudo gem install fpm is enough but hell, I hate Actions syntax

@pbabinca
Copy link
Contributor

I'm sorry to hear that. I'm curious if this jordansissel/fpm#1801 (comment) won't help?

Or did you managed to fix that?

squalou added a commit that referenced this issue Nov 30, 2023
@squalou
Copy link
Owner Author

squalou commented Nov 30, 2023

I'm almost done.

The main issue is windows build in matrix build system,
syntax is weird to make sure rpm is not built on windows.

But now ... rpm build works but rpm itself is "not found" when published to release.

Also, I have a side effect of adding SHA512 of deb and rpm in the same file : it breaks further my Arch packaging system :) but that's easy enough to fix

@squalou
Copy link
Owner Author

squalou commented Nov 30, 2023

damn, rpm is named .x86_64.rpm :-) that's why file not found (instead of _) and also a heading - instead of _ :D

squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
squalou added a commit that referenced this issue Nov 30, 2023
…es, separate checksum files to make sure AUR scripts wont fail on Arch packaging system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants