AppImage / AppImage/AppImageKit

appimagetool mis-recognizes some pngs as i386 binaries

オープン
#1,042 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
9.4k
フォーク
588
PR マージ指標
PR 指標を取得中

説明

`appimagetool` mis-recognizes some pngs as i386 binaries.

To reproduce, run on a deb-based system:

```
wget "https://raw.githubusercontent.com/AppImage/pkg2appimage/master/pkg2appimage"
bash -ex pkg2appimage Bitwig-Studio

(...)
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0 used for determining architecture x86_64
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/lib/x86_64-linux-gnu/libavcodec.so.54.35.0 used for determining architecture x86_64
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1 used for determining architecture x86_64
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/akai/MPK49.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/reloop/KeyFadr.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/reloop/KeyPad.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/nativeinstruments/Komplete Kontrol/KompleteKontrolS.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/nativeinstruments/Komplete Kontrol/KompleteKontrolS49.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/nativeinstruments/Komplete Kontrol/KompleteKontrolS61.png used for determining architecture i386
/home/me/Bitwig-Studio/Bitwig-Studio.AppDir/usr/bin/resources/ControllerScripts/nativeinstruments/Komplete Kontrol/KompleteKontrolS25.png used for determining architecture i386
(...)
More than one architectures were found of the AppDir source directory "./Bitwig-Studio.AppDir/"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...
```

__Workaround:__ Use the [experimental Go-based `appimagetool` replacement](https://github.com/probonopd/go-appimage/blob/master/src/appimagetool/README.md) after having run the above; to complete the job:

```
wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
chmod +x appimagetool-*.AppImage
VERSION=3.1.3 ./appimagetool-*.AppImage ./Bitwig-Studio/Bitwig-Studio.AppDir/
```

Likely I will not fix this in the "old" `appimagetool` but rather begin to move pkg2appimage over to the [new Go-based `appimagetool`](https://github.com/probonopd/go-appimage/blob/master/src/appimagetool/README.md).

![Bitwig-Studio](https://user-images.githubusercontent.com/2480569/79507316-0a1d6580-8027-11ea-9304-46a76f15dabf.png)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。