View Issue Details

IDProjectCategoryView StatusLast Update
0007977ardourbugspublic2020-06-03 17:32
Reportercchoowee Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformOpenSUSEOSTumbleweedOS Versionunknown
Product Version6.0-pre1 
Summary0007977: Installation Failure
DescriptionInstallation fails on Tumbleweed. Most likely affects other OpenSUSE variants like LEAP.

Workaround described below.
Steps To ReproduceAs root (or via sudo):

# sh Ardour-6.0.pre1.143-dbg-x86_64-gcc5.run
Verifying archive integrity... 100% All good.
Uncompressing Ardour 100%

Welcome to the Ardour installer

Ardour will be installed for user chughey in /opt

Architecture is x86_64
Checking for required disk space
Bundle is on btrfs filesystem
Unpacking bundle for x86_64
Bundle unpacked

Checking system libs to see if they are compatible with Ardour.

        not a dynamic executable

!!! ERROR !!! - Missing library detected!
This system does not have the correct libs to run Ardour.
Installation will not complete. Please use a compatible distro.

Press ENTER to exit installer:
Additional InformationFound issue is with ldd check in ./stage2.run. During binary check, the script "ardour-util.sh" is being checked and is throwing the error with ldd

+ LIB_ERROR=F
++ pwd
+ LD_PATH=/tmp/ardour.sav/Ardour_x86_64-6.0.pre1.143-dbg/lib
++ grep -v 'no version information'
++ LD_LIBRARY_PATH=/tmp/ardour.sav/Ardour_x86_64-6.0.pre1.143-dbg/lib
++ ldd Ardour_x86_64-6.0.pre1.143-dbg/bin/ardour-6.0.pre1.143 Ardour_x86_64-6.0.pre1.143-dbg/lib/ardour-exec-wrapper Ardour_x86_64-6.0.pre1.143-dbg/lib/ardour-request-device Ardour_x86_64-6.0.pre1.143-dbg/lib/ardour-util.sh Ardour_x86_64-6.0.pre1.143-dbg/lib/ardour-vst-scanner
+ LDD_RESULT=' not a dynamic executable'
+ '[' -n ' not a dynamic executable' ']'
+ echo ' not a dynamic executable'
        not a dynamic executable
+ LIB_ERROR=F

I was able to work around by using the "--confirm" option to the installer and patching the .stage2.run file using patch below, before running the second stage "install.sh":

--- .stage2.run 2020-04-04 07:31:04.000000000 -0400
+++ ../ardour.sav/.stage2.run 2020-04-04 12:55:06.162540528 -0400
@@ -489,7 +489,7 @@
 LD_PATH=`pwd`/${BUNDLE_DIR}/lib
 
 # check the main App
-LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/*/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information")
+LDD_RESULT=$(LD_LIBRARY_PATH=${LD_PATH} ldd ${BUNDLE_DIR}/*/${PGM_NAME_LOWER}-* 2>&1 > /dev/null | grep -v "no version information") | grep -v "not a dynamic executable"
 
 if [ -n "$LDD_RESULT" ];
 then

--

I have ran Ardour 5.12 for some time on the same system and did not run into issues during it's install. Guessing some change with "Makeself" or scripts need to be excluded somehow from the library checks.

Thanks.
TagsNo tags attached.

Activities

x42

2020-04-05 21:36

administrator   ~0021198

Over here, lld doesn't print to those "not a dynamic executable" to stderr (only to stdout), and hence the installer works just fine.

That is with lld from debian:
$ ldd --version
ldd (Debian GLIBC 2.28-10) 2.28

What GNU/Linux distribution do you use? Which `ldd --version`?

x42

2020-04-05 22:00

administrator   ~0021199

https://github.com/Ardour/ardour/commit/6c6bea26adb26ec71e45adba8db30e6abaa4f460 may fix this (6.0-pre1-156-g6c6bea26ad). Will have to wait for the next nightly to confirm

cchoowee

2020-04-06 12:54

reporter   ~0021207

Hi Robin,

Thanks for taking a look.

To answer your questions the distribution I'm currently using is OpenSUSE Tumbleweed. Also use OpenSUSE LEAP on occasion.

My ldd info:

> ldd --version
ldd (GNU libc) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
...

I saw your diff and think it may resolve the issue for me. I will try later today and confirm. Thanks.

cchoowee

2020-04-06 22:33

reporter   ~0021225

I installed Ardour-6.0.pre1.156-dbg-x86_64-gcc5.run today, and the issues during install have been resolved.

Thanks!

x42

2020-04-06 22:45

administrator   ~0021226

Thanks for the confirmation.

anonymous

2020-06-03 17:32

viewer   ~0024369

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2020-04-04 17:32 cchoowee New Issue
2020-04-05 21:36 x42 Note Added: 0021198
2020-04-05 22:00 x42 Note Added: 0021199
2020-04-05 22:00 x42 Assigned To => x42
2020-04-05 22:00 x42 Status new => feedback
2020-04-06 12:54 cchoowee Note Added: 0021207
2020-04-06 12:54 cchoowee Status feedback => assigned
2020-04-06 22:33 cchoowee Note Added: 0021225
2020-04-06 22:45 x42 Status assigned => resolved
2020-04-06 22:45 x42 Resolution open => fixed
2020-04-06 22:45 x42 Note Added: 0021226
2020-06-03 17:32 anonymous Note Added: 0024369
2020-06-03 17:32 anonymous Status resolved => closed