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

Re: libqalculate FTBFS on mips* (ball, rem)



Martin Waitz <tali@admingilde.org> wrote:

Hi,

> It builds correctly on all other architectures but fails to configure on
> mips{,el} because cln-config can't compile a CLN test program.
> Is it possible to get a config.log from these builds to track down the
> problem?

The test program segfaults.

-------> SNIP <-------
configure:21129: checking for cln-config
configure:21147: found /usr/bin/cln-config
configure:21160: result: /usr/bin/cln-config
configure:21168: checking for CLN - version >= 1.1.0
configure:21264: g++ -o conftest -g -Wall -O2    conftest.cc  -lpthread -L/usr/lib -lcln -lgmp >&5
conftest.cc: In function 'int main()':
conftest.cc:36: warning: unused variable 'major'
conftest.cc:36: warning: unused variable 'minor'
conftest.cc:36: warning: unused variable 'micro'
conftest.cc:37: warning: unused variable 'tmp_version'
configure:21267: $? = 0
configure:21269: ./conftest
/home/julien/q/libqalculate-0.8.1.1/./configure: line 21270:  6701 Segmentation fault      ./conftest$ac_exeext
configure:21272: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libqalculate"
| #define VERSION "0.8.1.1"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| 
| #include <stdio.h>
| #include <string.h>
| #include <cln/version.h>
| 
| /* we do not #include <stdlib.h> because autoconf in C++ mode inserts a
|    prototype for exit() that conflicts with the one in stdlib.h */
| extern "C" int system(const char *);
| 
| int main(void)
| {
|     int major, minor, micro;
|     char *tmp_version;
| 
|     system("touch conf.clntest");
| 
|     if ((CL_VERSION_MAJOR != 1) ||
|         (CL_VERSION_MINOR != 1) ||
|         (CL_VERSION_PATCHLEVEL != 9)) {
|         printf("\n*** 'cln-config --version' returned %d.%d.%d, but the header file I found\n", 1, 1, 9);
|         printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, CL_VERSION_PATCHLEVEL);
|         printf("*** is corrupted or you have specified some wrong -I compiler flags.\n");
|         printf("*** Please inquire and consider reinstalling CLN.\n");
|         return 1;
|     }
|     if ((cln::version_major != 1) ||
|         (cln::version_minor != 1) ||
|         (cln::version_patchlevel != 9)) {
|         printf("\n*** 'cln-config --version' returned %d.%d.%d, but the library I found\n", 1, 1, 9);
|         printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", cln::version_major, cln::version_minor, cln::version_patchlevel);
|         printf("*** is corrupted or you have specified some wrong -L compiler flags.\n");
|         printf("*** Please inquire and consider reinstalling CLN.\n");
|         return 1;
|     }
|     return 0;
| }
| 
configure:21301: result: no
configure:21326: g++ -o conftest -g -Wall -O2 -g -Wall -O2   conftest.cc  -lpthread -L/usr/lib -lcln -lgmp >&5
configure:21332: $? = 0
configure:21336: test -z 
                         || test ! -s conftest.err
configure:21339: $? = 0
configure:21342: test -s conftest
configure:21345: $? = 0
configure:21369: error: No suitable installed version of CLN could be found.
-------> SNIP <-------

I can't take a deeper look at that right now, but I can give you a
shell on the machine if you want.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <jblache@debian.org> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



Reply to: