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

appimagetool.AppImage: Syntax error: word unexpected #239

Open
GaZaTu opened this issue Jan 6, 2023 · 0 comments
Open

appimagetool.AppImage: Syntax error: word unexpected #239

GaZaTu opened this issue Jan 6, 2023 · 0 comments

Comments

@GaZaTu
Copy link

GaZaTu commented Jan 6, 2023

When using the armhf version of appimagetool in my armv7 run-on-arch-action (github actions) i get the following error:
/usr/bin/appimagetool.AppImage: 1: /usr/bin/appimagetool.AppImage: Syntax error: word unexpected (expecting ")").
Any idea why that could be happening?

ps: i did not get the same error on my x86_64 dev machine (i did get other errors tho xd)

log:

Install the project...
-- Install configuration: "Release"
-- Installing: /project/build/_AppDir/usr/bin/emoji-picker
-- Installing: /project/build/_AppDir/usr/share/applications/x11-emoji-picker.desktop
-- Installing: /project/build/_AppDir/usr/share/icons/hicolor/72x72/apps/x11-emoji-picker.png
/usr/bin/appimagetool.AppImage: 1: /usr/bin/appimagetool.AppImage: Syntax error: word unexpected (expecting ")")
CMakeFiles/appimage_appimagetool.dir/build.make:57: recipe for target 'CMakeFiles/appimage_appimagetool' failed
make[3]: *** [CMakeFiles/appimage_appimagetool] Error 2
CMakeFiles/Makefile2:136: recipe for target 'CMakeFiles/appimage_appimagetool.dir/all' failed
make[2]: *** [CMakeFiles/appimage_appimagetool.dir/all] Error 2
CMakeFiles/Makefile2:143: recipe for target 'CMakeFiles/appimage_appimagetool.dir/rule' failed
make[1]: *** [CMakeFiles/appimage_appimagetool.dir/rule] Error 2
Makefile:212: recipe for target 'appimage_appimagetool' failed
make: *** [appimage_appimagetool] Error 2
Error: The process '/home/runner/work/_actions/uraimo/run-on-arch-action/v2/src/run-on-arch.sh' failed with exit code 2

cmake:

add_custom_target(appimage_appimagetool
  COMMAND mkdir -p ${CMAKE_BINARY_DIR}/_AppDir
  COMMAND cp ${PROJECT_SOURCE_DIR}/res/${PROJECT_NAME_FULL}.png ${CMAKE_BINARY_DIR}/_AppDir/${PROJECT_NAME_FULL}.png
  COMMAND make install DESTDIR=${CMAKE_BINARY_DIR}/_AppDir
  COMMAND appimagetool.AppImage -s deploy ${CMAKE_BINARY_DIR}/_AppDir/usr/share/applications/${PROJECT_NAME_FULL}.desktop
  COMMAND appimagetool.AppImage ${CMAKE_BINARY_DIR}/_AppDir
)

in case its relevant, i'm trying to package a Qt5 c++ app.

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

1 participant