Error installing package gap_packages-4.10.2.p1

29 views
Skip to first unread message

Peter Mueller

unread,
Oct 27, 2020, 8:09:52 PM10/27/20
to sage-devel
On a Lenovo ThinkPad with an up to date Manjaro Linux OS and Sage 9.2 successfully compiled from source I failed to install  gap_packages-4.10.2.p1, while many other optional packages (like the huge cbc) installed perfectly. Below I append the (hopefully) relevant piece of the log file.

-- Peter Mueller

[...]
gcc -c -O -fno-builtin nqmfns.c 
gcc -O -fno-builtin -o ..//..//bin/x86_64-pc-linux-gnu-default64-kv3/nqmrun nqmd.o nqmp.o nqmfns.o
/usr/bin/ld: nqmfns.o:(.bss+0x8): multiple definition of `ip'; nqmp.o:(.bss+0x8): first defined here
/usr/bin/ld: nqmfns.o:(.bss+0x0): multiple definition of `op'; nqmp.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [makefile:49: ..//..//bin/x86_64-pc-linux-gnu-default64-kv3/nqmrun] Error 1
make[3]: *** [Makefile:9: all] Error 2
********************************************************************************
Error building gap_packages-4.10.2.p1
[...]

(I don't know if that matters, but the log also contains 201 warnings, all about implicit declarations of functions.)

François Bissey

unread,
Oct 27, 2020, 8:11:44 PM10/27/20
to sage-...@googlegroups.com
That’s a gcc-10 porting issue. I thought the fix from upstream had been applied.
Someone more familiar with the ticket should comment.
> --
> 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/0ae1e161-1e1e-4da9-a7f5-2e106e74caeco%40googlegroups.com.

John H Palmieri

unread,
Oct 27, 2020, 10:30:31 PM10/27/20
to sage-devel
The relevant ticket is https://trac.sagemath.org/ticket/30720, which has not yet been applied. (I'm guessing that this is because the problem was fixed recently and gap_packages is an optional package, so the ticket did not have super high priority.)

--
John


On Tuesday, October 27, 2020 at 5:11:44 PM UTC-7, François Bissey wrote:
That’s a gcc-10 porting issue. I thought the fix from upstream had been applied.
Someone more familiar with the ticket should comment.

> On 28/10/2020, at 12:22 PM, 'Peter Mueller' via sage-devel <sage-...@googlegroups.com> wrote:
>
> On a Lenovo ThinkPad with an up to date Manjaro Linux OS and Sage 9.2 successfully compiled from source I failed to install  gap_packages-4.10.2.p1, while many other optional packages (like the huge cbc) installed perfectly. Below I append the (hopefully) relevant piece of the log file.
>
> -- Peter Mueller
>
> [...]
> gcc -c -O -fno-builtin nqmfns.c
> gcc -O -fno-builtin -o ..//..//bin/x86_64-pc-linux-gnu-default64-kv3/nqmrun nqmd.o nqmp.o nqmfns.o
> /usr/bin/ld: nqmfns.o:(.bss+0x8): multiple definition of `ip'; nqmp.o:(.bss+0x8): first defined here
> /usr/bin/ld: nqmfns.o:(.bss+0x0): multiple definition of `op'; nqmp.o:(.bss+0x0): first defined here
> collect2: error: ld returned 1 exit status
> make[4]: *** [makefile:49: ..//..//bin/x86_64-pc-linux-gnu-default64-kv3/nqmrun] Error 1
> make[3]: *** [Makefile:9: all] Error 2
> ********************************************************************************
> Error building gap_packages-4.10.2.p1
> [...]
>
> (I don't know if that matters, but the log also contains 201 warnings, all about implicit declarations of functions.)
>
>
> --
> 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-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages