[singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:186: undefined reference to `fmpz_get_mpz' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:187: undefined reference to `fmpz_get_mpz' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFmpq_poly_t2FacCF(fmpq_poly_struct*, Variable const&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:223: undefined reference to `fmpq_poly_get_coeff_fmpq' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `_fmpz_demote': [singular-3.1.7p1.p2] /home/simon/sage/local/include/flint/fmpz.h:99: undefined reference to `_fmpz_clear_mpz' [singular-3.1.7p1.p2] /home/simon/sage/local/include/flint/fmpz.h:99: undefined reference to `_fmpz_clear_mpz' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFacCF2Fmpq_poly_t(fmpq_poly_struct*, CanonicalForm const&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:247: undefined reference to `fmpq_poly_init2' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:248: undefined reference to `_fmpq_poly_set_length' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFacCF2Fmpz_mod_poly_t(fmpz_mod_poly_struct*, CanonicalForm const&, long const*)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:284: undefined reference to `fmpz_mod_poly_init2' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:287: undefined reference to `fmpz_mod_poly_set_fmpz_poly' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:288: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFmpz_mod_poly_t2FacCF(fmpz_mod_poly_struct*, Variable const&, modpk const&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:296: undefined reference to `fmpz_poly_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:297: undefined reference to `fmpz_mod_poly_get_fmpz_poly' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:299: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFacCFMatrix2Fmpz_mat_t(fmpz_mat_struct*, Matrix<CanonicalForm>&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:305: undefined reference to `fmpz_mat_init' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(FLINTconvert.o): In function `convertFacCFMatrix2nmod_mat_t(nmod_mat_struct*, Matrix<CanonicalForm>&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/FLINTconvert.cc:332: undefined reference to `nmod_mat_init' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(algext.o): In function `myicontent(CanonicalForm const&, CanonicalForm const&)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/algext.cc:689: undefined reference to `fmpz_poly_gcd' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/algext.cc:695: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/algext.cc:696: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(cfModResultant.o): In function `nmod_poly_resultant': [singular-3.1.7p1.p2] /home/simon/sage/local/include/flint/nmod_poly.h:1121: undefined reference to `nmod_poly_resultant_hgcd' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(cfModResultant.o): In function `uniResultant': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/cfModResultant.cc:256: undefined reference to `nmod_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/cfModResultant.cc:257: undefined reference to `nmod_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(cfModResultant.o): In function `nmod_poly_resultant': [singular-3.1.7p1.p2] /home/simon/sage/local/include/flint/nmod_poly.h:1119: undefined reference to `nmod_poly_resultant_euclidean' [singular-3.1.7p1.p2] /home/simon/sage/local/lib/libsingcf.a(facAbsBiFact.o): In function `absBiFactorizeMain(CanonicalForm const&, bool)': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:410: undefined reference to `nmod_poly_factor_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:411: undefined reference to `nmod_poly_factor_insert' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:412: undefined reference to `nmod_poly_factor_insert' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:417: undefined reference to `fmpz_poly_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:418: undefined reference to `fmpz_poly_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:419: undefined reference to `fmpz_poly_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:420: undefined reference to `fmpz_poly_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:423: undefined reference to `fmpz_poly_factor_init' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:425: undefined reference to `_fmpz_poly_hensel_start_lift' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:427: undefined reference to `nmod_poly_factor_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:428: undefined reference to `nmod_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:429: undefined reference to `nmod_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:510: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:511: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:512: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:513: undefined reference to `fmpz_poly_clear' [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/factory/facAbsBiFact.cc:517: undefined reference to `fmpz_poly_factor_clear' [singular-3.1.7p1.p2] misc_ip.o: In function `versionString()': [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/Singular/misc_ip.cc:821: undefined reference to `version' [singular-3.1.7p1.p2] collect2: error: ld returned 1 exit status [singular-3.1.7p1.p2] Makefile:395: recipe for target 'Singular' failed [singular-3.1.7p1.p2] make[3]: *** [Singular] Error 1 [singular-3.1.7p1.p2] make[3]: Leaving directory '/home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/Singular' [singular-3.1.7p1.p2] Makefile:63: recipe for target 'install-nolns' failed [singular-3.1.7p1.p2] make[2]: *** [install-nolns] Error 1 [singular-3.1.7p1.p2] make[2]: Leaving directory '/home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest' [singular-3.1.7p1.p2] Unable to build and install Singular [singular-3.1.7p1.p2] Error building Singular (error in build_singular). [singular-3.1.7p1.p2] [singular-3.1.7p1.p2] real 4m38.113s [singular-3.1.7p1.p2] user 4m23.343s [singular-3.1.7p1.p2] sys 0m14.803s [singular-3.1.7p1.p2] ************************************************************************ [singular-3.1.7p1.p2] Error installing package singular-3.1.7p1.p2 [singular-3.1.7p1.p2] ************************************************************************ [singular-3.1.7p1.p2] Please email sage-devel (http://groups.google.com/group/sage-devel) [singular-3.1.7p1.p2] explaining the problem and including the relevant part of the log file [singular-3.1.7p1.p2] /home/simon/sage/logs/pkgs/singular-3.1.7p1.p2.log [singular-3.1.7p1.p2] Describe your computer, operating system, etc. [singular-3.1.7p1.p2] If you want to try to fix the problem yourself, *don't* just cd to [singular-3.1.7p1.p2] /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2 and type 'make' or whatever is appropriate. [singular-3.1.7p1.p2] Instead, the following commands setup all environment variables [singular-3.1.7p1.p2] correctly and load a subshell for you to debug the error: [singular-3.1.7p1.p2] (cd '/home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2' && '/home/simon/sage/sage' --sh) [singular-3.1.7p1.p2] When you are done debugging, you can type "exit" to leave the subshell. [singular-3.1.7p1.p2] ************************************************************************ Makefile:2748: recipe for target '/home/simon/sage/local/var/lib/sage/installed/singular-3.1.7p1.p2' failed make[1]: *** [/home/simon/sage/local/var/lib/sage/installed/singular-3.1.7p1.p2] Error 1 make[1]: Leaving directory '/home/simon/sage/build/make'
real 4m41.854s user 4m25.532s sys 0m15.085s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make singular'): * package: singular-3.1.7p1.p2 log file: /home/simon/sage/logs/pkgs/singular-3.1.7p1.p2.log build directory: /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. Okay that is the last part of the log. From last try. Renamed the libomalloc.so. I'll try that now. On Friday, September 2, 2016 at 10:40:06 AM UTC+2, leif wrote: > > Simon Brandhorst wrote: > > I did it triple-safe. > > Doesn't seem to work. Here is the log. > > As guessed, the sizeof(long) test fails due to a runtime linker error. > (Singular's 'configure' uses all libs found so far even in unrelated > tests, and you seem to have some libomalloc system-wide which it picks > up.) sizeof(long) should be set to 8 now though. > > So where does the build fail now? > > Could you move your libomalloc.so out of the way such that Singular > won't find and try to use that? (It's supposed to build its own.) > > > -leif > > > On Friday, September 2, 2016 at 1:48:46 AM UTC+2, leif wrote: > > > > leif wrote: > > > leif wrote: > > >> Simon Brandhorst wrote: > > >>> Thank you leif. Sorry for taking so long to answer. I did not > > bring my > > >>> laptop to work - so I could not get the log until now. > > >> > > >> Never mind. Please post / attach > > >> > > > /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2/src/latest/config.log > > > > > > > > > > Ok, that doesn't tell much, but at least a bit... > > > > > > Compilation seems to work, but running the conftest supposed to > print > > > sizeof(long) presumably fails, I guess due to a runtime linker > error. > > > (You seem to have libomalloc installed system-wide; unfortunately > > stderr > > > is redirected to /dev/null.) > > > > > > Looking closer at Singular's top-level 'configure', it's quite > > > surprising that test (and others) didn't fail before, AFAIK. > > > > > > > > >>> A workaround would be great. Then I can get started. > > >> > > >> I can't tell before I've seen the log above, but I guess it won't > be > > >> hard to at least get you past /that/ error... ;-) > > > > > > I made a patch that may enlighten us regarding the error, and > should > > > bring you past the error with sizeof(long)!=sizeof(void*) at > least. > > > > > > Copy the attached patch into build/pkgs/singular/patches/, then do > > > > > > ../sage -i -s singular > > > > P.S.: If you want to go triple-safe, delete the old build directory > > (or > > at least config.cache there) before running './sage -i ...': > > > > rm -rf /home/simon/sage/local/var/tmp/sage/build/singular-3.1.7p1.p2 > > > > > > -leif > > > > > > > Even if that succeeded, please first again make a copy of the > newly > > > generated config.log from the temporary Singular build directory > as > > > before (and post it) before proceeding. > > > > > > In case installing the Singular package now worked, you can > continue > > > building Sage by simply typing 'make' again (or 'make -jN` with N > > being > > > the number of threads/jobs, but you'll presumably know). > > > > > > > > > Good luck! > > > > > > > > > -leif > > > -- 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.