Error building deformation and libsemigroups 0.6.7

52 views
Skip to first unread message

Tirthankar Mazumder

unread,
Apr 22, 2021, 10:17:20 AM4/22/21
to sage-devel
While running make ptestalllong, I was able to build all the packages that it needs except for Deformation. I tried building it many times, but it failed every time. It said
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status

I got all the other packages to install, even though in some of them I had to manually go to their download directory (which was in SAGE_ROOT/local/var/tmp/sage/build/) and edit the Makefile. The reason for this was, some of the packages (specifically, libsemigroups-0.6.7) output a Makefile with the -march and -mtune flags set for the compiler, but I have an 11th gen Intel processor, so GCC doesn't accept tigerlake or native as a valid flag yet. The Makefile generator for that library (which I believe is GNU AutoTools) should incorporate a check to see if the -march=native flag is available on the target system, like the cryptominisat-5.6.8 package does.

I'm attaching 4 log files: The entire log for for deformation-d05941b.p0, which contains the build output for every single time I tried to build the package, a shortened version of that log file which contains what (I feel) is the relevant portion of that log file, the entire log file of libsemigroups-0.6.7, and a shorter version of the libsemigroups-0.6.7 log file which contains what (I feel) is the relevant portion of that lengthy log file.

P.S. --- I have some experience in building Sage on WSL2, having done it twice (on two different machines), so I want to edit the Sage on Windows page's WSL section, but it appears that you can't use your GitHub-linked Trac account on the Wiki. How would I go about getting an account I can use on the Wiki? I'd prefer having one account to use across trac.sagemath.org and the Wiki, if that's possible.

Thanks in advance,
Tirthankar
short-deformation-d05941b.p0.log
libsemigroups-0.6.7.log
short-libsemigroups-0.6.7.log
deformation-d05941b.p0.log

Dima Pasechnik

unread,
Apr 22, 2021, 11:44:39 AM4/22/21
to sage-devel
errors building libsemigroups should be reported on its github page:


deformation package, on the other hand is more or less abandonware.



--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/f1184a5e-d6d4-4247-ad07-703de70a6fefn%40googlegroups.com.

Jean-Pierre Flori

unread,
Apr 26, 2021, 5:09:06 AM4/26/21
to sage-devel
Fix for deformation has been tagged in my fork.
And mentioned here:
Feel free to package and review.

Not sure that it supports GMP instead of MPIR (which is also abandonware).

Dima Pasechnik

unread,
Apr 26, 2021, 6:11:21 AM4/26/21
to sage-devel
On Mon, Apr 26, 2021 at 10:09 AM Jean-Pierre Flori <jpf...@gmail.com> wrote:
>
> Fix for deformation has been tagged in my fork.
> And mentioned here:
> https://trac.sagemath.org/ticket/30325
> Feel free to package and review.

I've quickly checked, and it appears to just work with modern GMP. See
https://github.com/jpflori/deformation/pull/3
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/136b5fce-5f05-4d78-8bdf-97defa9bfd4bn%40googlegroups.com.

Dima Pasechnik

unread,
Apr 26, 2021, 11:15:38 AM4/26/21
to sage-devel
On Mon, Apr 26, 2021 at 11:11 AM Dima Pasechnik <dim...@gmail.com> wrote:
>
> On Mon, Apr 26, 2021 at 10:09 AM Jean-Pierre Flori <jpf...@gmail.com> wrote:
> >
> > Fix for deformation has been tagged in my fork.
> > And mentioned here:
> > https://trac.sagemath.org/ticket/30325
> > Feel free to package and review.

https://trac.sagemath.org/ticket/30325 is now ready for reviewing.
Reply all
Reply to author
Forward
0 new messages