christopherpow / nesicide

Integrated Development Environment for the 8-bit Nintendo Entertainment System
315 stars 38 forks source link

linux-deploy.sh error on gentoo #34

Closed baboomerang closed 4 years ago

baboomerang commented 6 years ago

running ./build.sh gives me no issues. however, running ./linux-deploy.sh almost goes through fully, but errors near the end. The linux deploy script points to the dependencies correctly, (except the QT one) as I checked every lib in the directories, but ldd can't find them? Check near the end

TheRealPC /home/therealguy/nesicide/build # uname -a
Linux TheRealPC 4.14.61-gentoo #2 SMP Fri Aug 17 00:48:34 EDT 2018 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux
make[1]: Nothing to be done for 'all'.
make: Leaving directory '/home/therealguy/nesicide/deps/cc65'
make: Entering directory '/home/therealguy/nesicide/deps/cc65'
install -d /home/therealguy/nesicide/build/dist/cc65/bin
install ../bin/* /home/therealguy/nesicide/build/dist/cc65/bin
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib
install -m644 ../lib/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd
install -m644 ../emd/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy
install -m644 ../joy/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou
install -m644 ../mou/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser
install -m644 ../ser/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi
install -m644 ../tgi/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil
install -m644 ../targetutil/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc
install -m644 ../asminc/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg
install -m644 ../cfg/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include
install -m644 ../include/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse
install -m644 ../include/mouse/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos
install -m644 ../include/geos/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys
install -m644 ../include/sys/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick
install -m644 ../include/joystick/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em
install -m644 ../include/em/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em
install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi
install -m644 ../include/tgi/*.* /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi
make[1]: Nothing to be done for 'install'.
make: Leaving directory '/home/therealguy/nesicide/deps/cc65'
'nesicide.desktop' -> './dist/nesicide.desktop'
'nesicide.png' -> './dist/nesicide.png'
linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC
Desktop file as first argument: "nesicide.desktop"
desktopExecEntry: "nesicide"
desktopIconEntry: "nesicide"
Found binary from desktop file: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide"
FHS-like mode with PREFIX, fhsPrefix: "/home/therealguy/nesicide/apps/ide/debian/usr"
app-binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide"
appDirPath: "/home/therealguy/nesicide/apps/ide/debian"
relativeBinPath: "usr/bin/nesicide"
Copied "nesicide.desktop" to "/home/therealguy/nesicide/apps/ide/debian/nesicide.desktop"
Found icons from desktop file: ("/home/therealguy/nesicide/apps/ide/debian/usr/share/app-install/icons/nesicide.png", "/home/therealguy/nesicide/apps/ide/debian/usr/share/pixmaps/nesicide.png")
ERROR: ldd outputLine: "libnes-emulator.so.1 => not found"
ERROR: for binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide"
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
Deploying famitracker
mkdir: created directory './dist'
'../apps/famitracker/release/famitracker' -> './dist/famitracker'
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5*': No such file or directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
'famitracker.desktop' -> './dist/famitracker.desktop'
'famitracker.png' -> './dist/famitracker.png'
linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC
Desktop file as first argument: "famitracker.desktop"
desktopExecEntry: "famitracker"
desktopIconEntry: "famitracker"
Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famitracker"
Not using FHS-like mode
app-binary: "/home/therealguy/nesicide/build/dist/famitracker"
appDirPath: "/home/therealguy/nesicide/build/dist"
relativeBinPath: "famitracker"
Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famitracker.png")
preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famitracker.png"
ERROR: ldd outputLine: "libfamitracker.so.1 => not found"
ERROR: for binary: "/home/therealguy/nesicide/build/dist/famitracker"
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
Deploying famiplayer
mkdir: created directory './dist'
'../apps/famiplayer/release/famiplayer' -> './dist/famiplayer'
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5*': No such file or directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
'famiplayer.desktop' -> './dist/famiplayer.desktop'
'famiplayer.png' -> './dist/famiplayer.png'
linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC
Desktop file as first argument: "famiplayer.desktop"
desktopExecEntry: "famiplayer"
desktopIconEntry: "famiplayer"
Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famiplayer"
Not using FHS-like mode
app-binary: "/home/therealguy/nesicide/build/dist/famiplayer"
appDirPath: "/home/therealguy/nesicide/build/dist"
relativeBinPath: "famiplayer"
Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famiplayer.png")
preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famiplayer.png"
ERROR: ldd outputLine: "libfamitracker.so.1 => not found"
ERROR: for binary: "/home/therealguy/nesicide/build/dist/famiplayer"
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
Deploying nes-emulator
mkdir: created directory './dist'
'../apps/nes-emulator/release/nes-emulator' -> './dist/nes-emulator'
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5*': No such file or directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
'nes-emulator.desktop' -> './dist/nes-emulator.desktop'
'nes-emulator.png' -> './dist/nes-emulator.png'
linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC
Desktop file as first argument: "nes-emulator.desktop"
desktopExecEntry: "nes-emulator"
desktopIconEntry: "nes-emulator"
Found binary from desktop file: "/home/therealguy/nesicide/build/dist/nes-emulator"
Not using FHS-like mode
app-binary: "/home/therealguy/nesicide/build/dist/nes-emulator"
appDirPath: "/home/therealguy/nesicide/build/dist"
relativeBinPath: "nes-emulator"
Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/nes-emulator.png")
preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/nes-emulator.png"
ERROR: ldd outputLine: "libnes-emulator.so.1 => not found"
ERROR: for binary: "/home/therealguy/nesicide/build/dist/nes-emulator"
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
total 1480
drwxr-xr-x 2 root root    4096 Aug 17 18:05 .
drwxr-xr-x 7 root root    4096 Aug 17 18:05 ..
lrwxrwxrwx 1 root root      12 Aug 17 18:05 AppRun -> nes-emulator
-rw-r--r-- 1 root root    2225 Aug 17 18:05 .DirIcon
-rwxr-xr-x 1 root root 1494176 Aug 17 18:05 nes-emulator
-rw-r--r-- 1 root root     160 Aug 17 18:05 nes-emulator.desktop
-rw-r--r-- 1 root root    2225 Aug 17 18:05 nes-emulator.png

Not sure why the libs cant be found despite actually existing where they are supposed to be. I would really appreciate some help christopher :) thank you.

christopherpow commented 6 years ago

Looks like both libnes-emulator.so and libfamitracker.so failed to build. Send me a full build log and I'll take a look. I'm trying a build on my Ubuntu virtual now.

On Fri, Aug 17, 2018 at 6:28 PM Ilan notifications@github.com wrote:

running ./build.sh gives me no issues. however, running ./linux-deploy.sh almost goes through fully, but errors near the end. The linux deploy script points to the dependencies correctly, (except the QT one) as I checked every lib in the directories, but ldd can't find them? Check near the end

TheRealPC /home/therealguy/nesicide/build # uname -a Linux TheRealPC 4.14.61-gentoo #2 SMP Fri Aug 17 00:48:34 EDT 2018 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux

make[1]: Nothing to be done for 'all'. make: Leaving directory '/home/therealguy/nesicide/deps/cc65' make: Entering directory '/home/therealguy/nesicide/deps/cc65' install -d /home/therealguy/nesicide/build/dist/cc65/bin install ../bin/ /home/therealguy/nesicide/build/dist/cc65/bin install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib install -m644 ../lib/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd install -m644 ../emd/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy install -m644 ../joy/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou install -m644 ../mou/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser install -m644 ../ser/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi install -m644 ../tgi/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil install -m644 ../targetutil/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc install -m644 ../asminc/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg install -m644 ../cfg/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include install -m644 ../include/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse install -m644 ../include/mouse/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos install -m644 ../include/geos/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys install -m644 ../include/sys/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick install -m644 ../include/joystick/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em install -m644 ../include/em/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi install -m644 ../include/tgi/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi make[1]: Nothing to be done for 'install'. make: Leaving directory '/home/therealguy/nesicide/deps/cc65' 'nesicide.desktop' -> './dist/nesicide.desktop' 'nesicide.png' -> './dist/nesicide.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "nesicide.desktop" desktopExecEntry: "nesicide" desktopIconEntry: "nesicide" Found binary from desktop file: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" FHS-like mode with PREFIX, fhsPrefix: "/home/therealguy/nesicide/apps/ide/debian/usr" app-binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" appDirPath: "/home/therealguy/nesicide/apps/ide/debian" relativeBinPath: "usr/bin/nesicide" Copied "nesicide.desktop" to "/home/therealguy/nesicide/apps/ide/debian/nesicide.desktop" Found icons from desktop file: ("/home/therealguy/nesicide/apps/ide/debian/usr/share/app-install/icons/nesicide.png", "/home/therealguy/nesicide/apps/ide/debian/usr/share/pixmaps/nesicide.png") ERROR: ldd outputLine: "libnes-emulator.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying famitracker mkdir: created directory './dist' '../apps/famitracker/release/famitracker' -> './dist/famitracker' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'famitracker.desktop' -> './dist/famitracker.desktop' 'famitracker.png' -> './dist/famitracker.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "famitracker.desktop" desktopExecEntry: "famitracker" desktopIconEntry: "famitracker" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famitracker" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/famitracker" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "famitracker" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famitracker.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famitracker.png" ERROR: ldd outputLine: "libfamitracker.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/famitracker" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying famiplayer mkdir: created directory './dist' '../apps/famiplayer/release/famiplayer' -> './dist/famiplayer' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'famiplayer.desktop' -> './dist/famiplayer.desktop' 'famiplayer.png' -> './dist/famiplayer.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "famiplayer.desktop" desktopExecEntry: "famiplayer" desktopIconEntry: "famiplayer" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famiplayer" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/famiplayer" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "famiplayer" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famiplayer.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famiplayer.png" ERROR: ldd outputLine: "libfamitracker.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/famiplayer" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying nes-emulator mkdir: created directory './dist' '../apps/nes-emulator/release/nes-emulator' -> './dist/nes-emulator' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'nes-emulator.desktop' -> './dist/nes-emulator.desktop' 'nes-emulator.png' -> './dist/nes-emulator.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "nes-emulator.desktop" desktopExecEntry: "nes-emulator" desktopIconEntry: "nes-emulator" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/nes-emulator" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/nes-emulator" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "nes-emulator" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/nes-emulator.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/nes-emulator.png" ERROR: ldd outputLine: "libnes-emulator.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/nes-emulator" ERROR: Please ensure that all libraries can be found by ldd. Aborting. total 1480 drwxr-xr-x 2 root root 4096 Aug 17 18:05 . drwxr-xr-x 7 root root 4096 Aug 17 18:05 .. lrwxrwxrwx 1 root root 12 Aug 17 18:05 AppRun -> nes-emulator -rw-r--r-- 1 root root 2225 Aug 17 18:05 .DirIcon -rwxr-xr-x 1 root root 1494176 Aug 17 18:05 nes-emulator -rw-r--r-- 1 root root 160 Aug 17 18:05 nes-emulator.desktop -rw-r--r-- 1 root root 2225 Aug 17 18:05 nes-emulator.png

Not sure why the libs cant be found despite actually existing where they are supposed to be. I would really appreciate some help christopher :) thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/christopherpow/nesicide/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkI8DGq06lj1XQ3ms9tLJOHQYdHSc-3ks5uR1GFgaJpZM4WCUcE .

christopherpow commented 6 years ago

Everything builds and runs in Ubuntu 14.04. Please send me a full build log.

On Fri, Aug 17, 2018 at 6:28 PM Ilan notifications@github.com wrote:

running ./build.sh gives me no issues. however, running ./linux-deploy.sh almost goes through fully, but errors near the end. The linux deploy script points to the dependencies correctly, (except the QT one) as I checked every lib in the directories, but ldd can't find them? Check near the end

TheRealPC /home/therealguy/nesicide/build # uname -a Linux TheRealPC 4.14.61-gentoo #2 SMP Fri Aug 17 00:48:34 EDT 2018 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux

make[1]: Nothing to be done for 'all'. make: Leaving directory '/home/therealguy/nesicide/deps/cc65' make: Entering directory '/home/therealguy/nesicide/deps/cc65' install -d /home/therealguy/nesicide/build/dist/cc65/bin install ../bin/ /home/therealguy/nesicide/build/dist/cc65/bin install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib install -m644 ../lib/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/lib install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd install -m644 ../emd/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/emd install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy install -m644 ../joy/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/joy install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou install -m644 ../mou/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/mou install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser install -m644 ../ser/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/ser install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi install -m644 ../tgi/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/tgi install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil install -m644 ../targetutil/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/targetutil install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc install -m644 ../asminc/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/asminc install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg install -m644 ../cfg/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/cfg install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include install -m644 ../include/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse install -m644 ../include/mouse/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/mouse install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos install -m644 ../include/geos/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/geos install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys install -m644 ../include/sys/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/sys install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick install -m644 ../include/joystick/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/joystick install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em install -m644 ../include/em/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/em install -d /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi install -m644 ../include/tgi/. /home/therealguy/nesicide/build/dist/cc65/share/cc65/include/tgi make[1]: Nothing to be done for 'install'. make: Leaving directory '/home/therealguy/nesicide/deps/cc65' 'nesicide.desktop' -> './dist/nesicide.desktop' 'nesicide.png' -> './dist/nesicide.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "nesicide.desktop" desktopExecEntry: "nesicide" desktopIconEntry: "nesicide" Found binary from desktop file: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" FHS-like mode with PREFIX, fhsPrefix: "/home/therealguy/nesicide/apps/ide/debian/usr" app-binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" appDirPath: "/home/therealguy/nesicide/apps/ide/debian" relativeBinPath: "usr/bin/nesicide" Copied "nesicide.desktop" to "/home/therealguy/nesicide/apps/ide/debian/nesicide.desktop" Found icons from desktop file: ("/home/therealguy/nesicide/apps/ide/debian/usr/share/app-install/icons/nesicide.png", "/home/therealguy/nesicide/apps/ide/debian/usr/share/pixmaps/nesicide.png") ERROR: ldd outputLine: "libnes-emulator.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/apps/ide/debian/usr/bin/nesicide" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying famitracker mkdir: created directory './dist' '../apps/famitracker/release/famitracker' -> './dist/famitracker' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'famitracker.desktop' -> './dist/famitracker.desktop' 'famitracker.png' -> './dist/famitracker.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "famitracker.desktop" desktopExecEntry: "famitracker" desktopIconEntry: "famitracker" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famitracker" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/famitracker" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "famitracker" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famitracker.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famitracker.png" ERROR: ldd outputLine: "libfamitracker.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/famitracker" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying famiplayer mkdir: created directory './dist' '../apps/famiplayer/release/famiplayer' -> './dist/famiplayer' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'famiplayer.desktop' -> './dist/famiplayer.desktop' 'famiplayer.png' -> './dist/famiplayer.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "famiplayer.desktop" desktopExecEntry: "famiplayer" desktopIconEntry: "famiplayer" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/famiplayer" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/famiplayer" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "famiplayer" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/famiplayer.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/famiplayer.png" ERROR: ldd outputLine: "libfamitracker.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/famiplayer" ERROR: Please ensure that all libraries can be found by ldd. Aborting. Deploying nes-emulator mkdir: created directory './dist' '../apps/nes-emulator/release/nes-emulator' -> './dist/nes-emulator' cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: cannot stat '../deps/qscintilla2/Qt4Qt5/libqscintilla2_qt5': No such file or directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory 'nes-emulator.desktop' -> './dist/nes-emulator.desktop' 'nes-emulator.png' -> './dist/nes-emulator.png' linuxdeployqt 4 (commit f166933), build 566 built on 2018-07-19 20:20:18 UTC Desktop file as first argument: "nes-emulator.desktop" desktopExecEntry: "nes-emulator" desktopIconEntry: "nes-emulator" Found binary from desktop file: "/home/therealguy/nesicide/build/dist/nes-emulator" Not using FHS-like mode app-binary: "/home/therealguy/nesicide/build/dist/nes-emulator" appDirPath: "/home/therealguy/nesicide/build/dist" relativeBinPath: "nes-emulator" Found icons from desktop file: ("/home/therealguy/nesicide/build/dist/nes-emulator.png") preExistingToplevelIcon: "/home/therealguy/nesicide/build/dist/nes-emulator.png" ERROR: ldd outputLine: "libnes-emulator.so.1 => not found" ERROR: for binary: "/home/therealguy/nesicide/build/dist/nes-emulator" ERROR: Please ensure that all libraries can be found by ldd. Aborting. total 1480 drwxr-xr-x 2 root root 4096 Aug 17 18:05 . drwxr-xr-x 7 root root 4096 Aug 17 18:05 .. lrwxrwxrwx 1 root root 12 Aug 17 18:05 AppRun -> nes-emulator -rw-r--r-- 1 root root 2225 Aug 17 18:05 .DirIcon -rwxr-xr-x 1 root root 1494176 Aug 17 18:05 nes-emulator -rw-r--r-- 1 root root 160 Aug 17 18:05 nes-emulator.desktop -rw-r--r-- 1 root root 2225 Aug 17 18:05 nes-emulator.png

Not sure why the libs cant be found despite actually existing where they are supposed to be. I would really appreciate some help christopher :) thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/christopherpow/nesicide/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkI8DGq06lj1XQ3ms9tLJOHQYdHSc-3ks5uR1GFgaJpZM4WCUcE .

baboomerang commented 6 years ago

Alright, I attached the full build log. fullbuildnes.log

christopherpow commented 5 years ago

Which version of Qt are you using?

cd ../../deps/qscintilla2/Qt4Qt5/ && ( test -e Makefile.qscintilla || /usr/lib64/qt5/bin/qmake -o Makefile.qscintilla /home/therealguy/nesicide/deps/qscintilla2/Qt4Qt5/qscintilla.pro ) && make -f Makefile.qscintilla Info: creating stash file /home/therealguy/nesicide/deps/qscintilla2/Qt4Qt5/.qmake.stash Project ERROR: Unknown module(s) in QT: printsupport make: *** [Makefile:150: sub-------deps-qscintilla2-Qt4Qt5-qscintilla-pro-make_first] Error 3

That is the only error I found in the log.

On Sat, Aug 18, 2018 at 10:39 AM Ilan notifications@github.com wrote:

Alright, I attached the full build log. fullbuildnes.log https://github.com/christopherpow/nesicide/files/2299665/fullbuildnes.log

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/christopherpow/nesicide/issues/34#issuecomment-414066725, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkI8ABKAMToBy5VMEJ-WQLgl1DoF082ks5uSDUUgaJpZM4WCUcE .

baboomerang commented 5 years ago

Yeah I am running qt 5.6.2

therealguy@TheRealPC ~ $ qmake --version
QMake version 3.0
Using Qt version 5.6.2 in /home/therealguy/Qt5.6.2/5.6/gcc_64/lib

I uploaded both the deploy and build error logs. stderr-only logs linux-deploy.log build.log

-=-=-=-=-=-=-=-=-=-=-

full logs stdout and stderr completebuild.sh.log completelinux-deploy.sh.log

I'm not sure what the problem would be. I wiped clean my install and re-cloned the repo and rebuilt as normal user, as sudo, and as root. They all point to the same error. Maybe it's a Gentoo specific issue?

christopherpow commented 5 years ago

Looks like the deps package didn't get fully downloaded or exploded properly. rtmidi.pro isn't found, which should be in deps/rtmidi/. Try manually getting/exploding the archive? At top repository level, do:

wget https://knob.phreneticappsllc.com/nesicide/nesicide-deps.tar.bz2

tar xjf nesicide-deps.tar.bz2 -C ..

I just did this in Ubuntu and everything is there and I got no errors on the tar.

On Mon, Aug 20, 2018 at 5:10 PM Ilan notifications@github.com wrote:

Yeah I am running qt 5.6.2

therealguy@TheRealPC ~ $ qmake --version QMake version 3.0 Using Qt version 5.6.2 in /home/therealguy/Qt5.6.2/5.6/gcc_64/lib

I uploaded both the deploy and build error logs. (just stderr this time)

linux-deploy.log https://github.com/christopherpow/nesicide/files/2304088/linux-deploy.log build.log https://github.com/christopherpow/nesicide/files/2304090/build.log

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/christopherpow/nesicide/issues/34#issuecomment-414479723, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkI8F2oQ089qpcKzKlZLCNdtzNTkOYFks5uSzO8gaJpZM4WCUcE .

baboomerang commented 5 years ago

I kind of fixed all the issues. So far, the nesicide.appimage is now compiled and working. It also works using Qt 5.9.6:

therealguy@TheRealPC ~/nesicide/build $ qmake -v
QMake version 3.1
Using Qt version 5.9.6 in /usr/lib64

How did I do it?

First I checked the completelinux-deploy.log and saw these lines:

cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory
cp: target '/usr/lib/x86_64-linux-gnu/' is not a directory

because under Gentoo, (unlike Debian/Ubuntu) the libs are stored in /usr/lib32 and /usr/lib64. I found this out from here

I checked your linux-deploy script and saw this: sudo cp -v ${f}* /usr/lib/x86_64-linux-gnu/ so I changed it to: sudo cp -v ${f}* /usr/lib64

It later refused to deploy and gave this error: _A valid architecture with the ARCH environmental variable should be provided e.g. ARCH=x86_64 appimagetool ..._

So, in the linux-deploy.sh I defined the x8664 architecture by adding line: **export ARCH=x86_64_**

At last, it deploys fully with no errors. The nesicide.appimage is now built and runs with no issues (yet) Thank you Chris for the help and this cool project!

linux-deploychanged.txt

christopherpow commented 5 years ago

Is there some way to determine where a distro will put libs so I can make the script smart to avoid this in future? I guess I will google for that. Glad you got it working! Enjoy. And do please let me know if you have any questions/concerns/desires for the tool. I'm always looking for an excuse to get back into it.

Tatsh commented 5 years ago

I too am on Gentoo.

There's a lot to fix in this build/deploy process if you want it to work for everyone. I just went through it and while I got a binary to build I was not able to get an AppImage made because the AppImage tool is out of date vs my glibc. And you shouldn't be trying to copy libraries into /usr in your main script, nor should you pull in the dependencies like Boost from a random zip file.

My suggestion would be to use CMake for your build and deployment process.

christopherpow commented 5 years ago

@Tatsh I'm more than willing to accept help to accomplish all of that. Otherwise, I'm afraid, I am but one man. I picked AppImage because it seemed the logical path but yet I find even that has issues. Dependencies like Boost aren't coming from "some random zip file" they're in a zip file I put together so I know what's in it. I agree that for Linux and even OSX to some extent having such dependencies brew'ed or apt'ed would be more appropriate. I am attempting to get there with Travis but have limited time.