reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58657] readline not available to awk in commit 5c3f2c4


From: Boud Roukema
Subject: [bug #58657] readline not available to awk in commit 5c3f2c4
Date: Fri, 26 Jun 2020 09:34:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.nongnu.org/bugs/?58657>

                 Summary: readline not available to awk in commit 5c3f2c4
                 Project: Reproducible paper template
            Submitted by: boud
            Submitted on: Fri 26 Jun 2020 01:34:04 PM UTC
                Category: Software
                Severity: 5 - Blocker
              Item Group: Crash
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

CONTEXT: Debian GNU/Linux 

INSTALL: commit 5c3f2c4

The configure

./project --configure


finished after installing _gnuastro_ with

.local/bin/awk: error while loading shared libraries: libreadline.so.8: cannot
open shared object file: No such file or directory


CHECKS:


$ ls -lt .local/version-info/proglib/|grep -C2 readline
-rw-r--r-- 1 boud boud 12 Jun 26 08:45 perl
-rw-r--r-- 1 boud boud 24 Jun 26 08:45 libunistring
-rw-r--r-- 1 boud boud 17 Jun 26 08:44 readline
-rw-r--r-- 1 boud boud 16 Jun 26 08:44 ncurses
-rw-r--r-- 1 boud boud 18 Jun 26 08:44 libiconv

$ cat .local/version-info/proglib/readline 
GNU Readline 8.0

$ ls -l .local/lib/libreadline.*
-rw-r--r-- 1 boud boud 665762 Jun 26 08:44 .local/lib/libreadline.a
lrwxrwxrwx 1 boud boud     16 Jun 26 08:44 .local/lib/libreadline.so ->
libreadline.so.8*
lrwxrwxrwx 1 boud boud     18 Jun 26 08:44 .local/lib/libreadline.so.8 ->
libreadline.so.8.0*
-rwxr-xr-x 1 boud boud 409064 Jun 26 08:44 .local/lib/libreadline.so.8.0*


ANALYSIS:
This appears to be a linking library path problem.


LD_LIBRARY_PATH=.local/lib .local/bin/awk --version
GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
Copyright (C) 1989, 1991-2019 Free Software Foundation.
,,,

.local/bin/awk --version
.local/bin/awk: error while loading shared libraries: libreadline.so.8: cannot
open shared object file: No such file or directory



The version of _awk_ (gawk) appears never to have been changed:


git log --patch reproduce/software/config/versions.conf |grep -C2 awk
@@ -28,7 +28,8 @@ file-version = 5.36
 findutils-version = 4.7.0
 gawk-version = 5.0.1
 gcc-version = 9.2.0
-git-version = 2.23.0
--
+file-version = 5.36
+findutils-version = 4.7.0
+gawk-version = 5.0.1
+gcc-version = 9.2.0
+git-version = 2.23.0


ATTEMPTED SOLUTION:


rm .local/version-info/proglib/gawk 

LD_LIBRARY_PATH=.local/lib ./project configure --existing-conf
...
ln: failed to create symbolic link '/my/build/software/installed/lib/Scrt1.o':
File exists
ln: failed to create symbolic link '/my/build/software/installed/lib/crt1.o':
File exists
ln: failed to create symbolic link '/my/build/software/installed/lib/crti.o':
File exists
ln: failed to create symbolic link '/my/build/software/installed/lib/crtn.o':
File exists
ln: failed to create symbolic link '/my/build/software/installed/lib/gcrt1.o':
File exists
make: *** [reproduce/software/make/basic.mk:1261:
/my/build/software/installed/version-info/proglib/binutils] Error 1
make: Target 'all' not remade because of errors.

$ ls -lt .local/version-info/proglib/|head
total 216
-rw-r--r-- 1 boud boud 36 Jun 26 15:24 metastore
-rw-r--r-- 1 boud boud 14 Jun 26 15:24 gawk
-rw-r--r-- 1 boud boud 46 Jun 26 10:12 gnuastro
-rw-r--r-- 1 boud boud 21 Jun 26 10:06 ghostscript






    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58657>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]