Dear all,

I am reporting an error while installing the package perl_term_readline_gnu on Sage 7.6.beta4. The package is a dependency of polymake. The log is attached and the following error message appears inside

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I was unable to find a working xmalloc in your readline library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Vincent

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
Found local metadata for perl_term_readline_gnu-1.34
Using cached file /opt/sage/upstream/Term-ReadLine-Gnu-1.34.tar.gz
perl_term_readline_gnu-1.34
====================================================
Setting up build directory for perl_term_readline_gnu-1.34
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux mangouste 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 
x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=https://bugs.archlinux.org/ 
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared 
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl 
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu 
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object 
--enable-linker-build-id --enable-lto --enable-plugin 
--enable-install-libiberty --with-linker-hash-style=gnu 
--enable-gnu-indirect-function --disable-multilib --disable-werror 
--enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC) 
****************************************************
Found `/usr/lib/libncurses.so'.
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver 
-L/opt/sage/local/lib  -Wl,-O1,--sort-common,--as-needed,-z,relro 
-fstack-protector-strong -L/usr/local/lib -lreadline -lncurses
./rlver: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
<<<It seems that you have the GNU Readline Library version .>>>
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000  rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
./rlmalloc: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000 -Dxfree=_rl_free -Dxmalloc=_rl_malloc 
-Dxrealloc=_rl_realloc rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
/tmp/cc9mW4aA.o: In function `main':
rlmalloc.c:(.text+0xe): undefined reference to `_rl_malloc'
rlmalloc.c:(.text+0x2a): undefined reference to `_rl_realloc'
rlmalloc.c:(.text+0x5c): undefined reference to `_rl_free'
collect2: error: ld returned 1 exit status
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I was unable to find a working xmalloc in your readline library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make[2]: Entering directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'

real    0m0.180s
user    0m0.140s
sys     0m0.017s
************************************************************************
Error installing package perl_term_readline_gnu-1.34
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /opt/sage/logs/pkgs/perl_term_readline_gnu-1.34.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34 and type 'make' 
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34' && 
'/opt/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Found local metadata for perl_term_readline_gnu-1.34
Using cached file /opt/sage/upstream/Term-ReadLine-Gnu-1.34.tar.gz
perl_term_readline_gnu-1.34
====================================================
Setting up build directory for perl_term_readline_gnu-1.34
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux mangouste 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 
x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=https://bugs.archlinux.org/ 
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared 
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl 
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu 
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object 
--enable-linker-build-id --enable-lto --enable-plugin 
--enable-install-libiberty --with-linker-hash-style=gnu 
--enable-gnu-indirect-function --disable-multilib --disable-werror 
--enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC) 
****************************************************
Found `/usr/lib/libncurses.so'.
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver 
-L/opt/sage/local/lib  -Wl,-O1,--sort-common,--as-needed,-z,relro 
-fstack-protector-strong -L/usr/local/lib -lreadline -lncurses
./rlver: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
<<<It seems that you have the GNU Readline Library version .>>>
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000  rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
./rlmalloc: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000 -Dxfree=_rl_free -Dxmalloc=_rl_malloc 
-Dxrealloc=_rl_realloc rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
/tmp/ccKQ1q51.o: In function `main':
rlmalloc.c:(.text+0xe): undefined reference to `_rl_malloc'
rlmalloc.c:(.text+0x2a): undefined reference to `_rl_realloc'
rlmalloc.c:(.text+0x5c): undefined reference to `_rl_free'
collect2: error: ld returned 1 exit status
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I was unable to find a working xmalloc in your readline library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make[2]: Entering directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'

real    0m0.167s
user    0m0.127s
sys     0m0.020s
************************************************************************
Error installing package perl_term_readline_gnu-1.34
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /opt/sage/logs/pkgs/perl_term_readline_gnu-1.34.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34 and type 'make' 
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34' && 
'/opt/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Found local metadata for perl_term_readline_gnu-1.34
Using cached file /opt/sage/upstream/Term-ReadLine-Gnu-1.34.tar.gz
perl_term_readline_gnu-1.34
====================================================
Setting up build directory for perl_term_readline_gnu-1.34
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux mangouste 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 
x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib 
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--with-bugurl=https://bugs.archlinux.org/ 
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared 
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl 
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu 
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object 
--enable-linker-build-id --enable-lto --enable-plugin 
--enable-install-libiberty --with-linker-hash-style=gnu 
--enable-gnu-indirect-function --disable-multilib --disable-werror 
--enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC) 
****************************************************
Found `/usr/lib/libncurses.so'.
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver 
-L/opt/sage/local/lib  -Wl,-O1,--sort-common,--as-needed,-z,relro 
-fstack-protector-strong -L/usr/local/lib -lreadline -lncurses
./rlver: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
<<<It seems that you have the GNU Readline Library version .>>>
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000  rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
./rlmalloc: error while loading shared libraries: libreadline.so.6: cannot open 
shared object file: No such file or directory
cc -I/opt/sage/local/include -D_REENTRANT -D_GNU_SOURCE -fwrapv 
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H 
-DRL_READLINE_VERSION=0x0000 -DRL_VERSION_MAJOR= -DRL_VERSION_MINOR= 
-DTRG_READLINE_VERSION=0x0000 -Dxfree=_rl_free -Dxmalloc=_rl_malloc 
-Dxrealloc=_rl_realloc rlmalloc.c -o rlmalloc -L/opt/sage/local/lib  
-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong 
-L/usr/local/lib -lreadline -lncurses
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:42:0: warning: 
"RL_READLINE_VERSION" redefined
 #define RL_READLINE_VERSION 0x0603  /* Readline 6.3 */
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:43:0: warning: "RL_VERSION_MAJOR" 
redefined
 #define RL_VERSION_MAJOR 6
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from rlmalloc.c:3:0:
/opt/sage/local/include/readline/readline.h:44:0: warning: "RL_VERSION_MINOR" 
redefined
 #define RL_VERSION_MINOR 3
 
<command-line>:0:0: note: this is the location of the previous definition
/tmp/ccx30Rf9.o: In function `main':
rlmalloc.c:(.text+0xe): undefined reference to `_rl_malloc'
rlmalloc.c:(.text+0x2a): undefined reference to `_rl_realloc'
rlmalloc.c:(.text+0x5c): undefined reference to `_rl_free'
collect2: error: ld returned 1 exit status
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I was unable to find a working xmalloc in your readline library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make[2]: Entering directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory 
'/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34/src'

real    0m0.164s
user    0m0.123s
sys     0m0.023s
************************************************************************
Error installing package perl_term_readline_gnu-1.34
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /opt/sage/logs/pkgs/perl_term_readline_gnu-1.34.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34 and type 'make' 
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/opt/sage/local/var/tmp/sage/build/perl_term_readline_gnu-1.34' && 
'/opt/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Reply via email to