diff --git a/.travis.yml b/.travis.yml index c4578fe..1ec88c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ matrix: - libfuse2:i386 install: - - git clone https://github.com/NixOS/patchelf.git + - git clone https://github.com/NixOS/patchelf.git -b 0.8 - cd patchelf - ./bootstrap.sh - if [ "$ARCH" == "i386" ]; then export EXTRA_CONFIGURE_ARGS=("--build=i686-pc-linux-gnu" "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"); fi diff --git a/src/core/elf.cpp b/src/core/elf.cpp index 6ff738e..9c57454 100644 --- a/src/core/elf.cpp +++ b/src/core/elf.cpp @@ -99,7 +99,11 @@ namespace linuxdeploy { util::trim(libraryPath); paths.push_back(bf::absolute(libraryPath)); } else { - ldLog() << LD_DEBUG << "Invalid ldd output: " << line << std::endl; + if (util::stringContains("not found", line)) { + ldLog() << LD_ERROR << "Could not find dependency:" << line << std::endl; + } else { + ldLog() << LD_DEBUG << "Invalid ldd output: " << line << std::endl; + } } } diff --git a/travis/build.sh b/travis/build.sh index 88f365f..e56ac37 100755 --- a/travis/build.sh +++ b/travis/build.sh @@ -55,6 +55,15 @@ mv squashfs-root/ AppDir/plugins/linuxdeploy-plugin-appimage ln -s ../../plugins/linuxdeploy-plugin-appimage/AppRun AppDir/usr/bin/linuxdeploy-plugin-appimage +# bundle Qt plugin + +wget https://github.com/TheAssassin/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-"$ARCH".AppImage +chmod +x linuxdeploy-plugin-qt-"$ARCH".AppImage +./linuxdeploy-plugin-qt-"$ARCH".AppImage --appimage-extract +mv squashfs-root/ AppDir/plugins/linuxdeploy-plugin-qt + +ln -s ../../plugins/linuxdeploy-plugin-qt/AppRun AppDir/usr/bin/linuxdeploy-plugin-qt + # build AppImage using plugin AppDir/usr/bin/linuxdeploy-plugin-appimage --appdir AppDir/