[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62416] Failure to build with SSL support (sha
From: |
Sam James |
Subject: |
[Octave-bug-tracker] [bug #62416] Failure to build with SSL support (sha512.c:(.text+0x130): multiple definition of `sha512_read_ctx) |
Date: |
Wed, 4 May 2022 22:06:05 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62416>
Summary: Failure to build with SSL support
(sha512.c:(.text+0x130): multiple definition of `sha512_read_ctx)
Project: GNU Octave
Submitted by: thesamesam
Submitted on: Thu 05 May 2022 02:06:03 AM UTC
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
This seems to have started with 7.1.0 as 6.4.0 is fine with the same
configuration otherwise.
Noticed in Gentoo originally (https://bugs.gentoo.org/842645) when packaging
7.1.0 but forwarding my own report upstream.
Error looks like:
```
[...]
sha512.c:(.text+0xe0): multiple definition of `sha512_process_block';
libgnu/.libs/libgnu.a(sha512-stream.o):sha512-stream.c:(.text+0x250): first
defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
libgnu/.libs/libgnu.a(sha512.o): in function `sha512_finish_ctx':
sha512.c:(.text+0x100): multiple definition of `sha512_finish_ctx';
libgnu/.libs/libgnu.a(sha512-stream.o):sha512-stream.c:(.text+0x40): first
defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
libgnu/.libs/libgnu.a(sha512.o): in function `sha512_buffer':
sha512.c:(.text+0x120): multiple definition of `sha512_buffer';
libgnu/.libs/libgnu.a(sha512-stream.o):sha512-stream.c:(.text+0x270): first
defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
libgnu/.libs/libgnu.a(sha512.o): in function `sha512_read_ctx':
sha512.c:(.text+0x130): multiple definition of `sha512_read_ctx';
libgnu/.libs/libgnu.a(sha512-stream.o):sha512-stream.c:(.text+0x280): first
defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:13986: liboctave/liboctave.la] Error 1
make[2]: Leaving directory
'/var/tmp/portage/sci-mathematics/octave-7.1.0/work/octave-7.1.0'
```
I've attached the full build.log.xz (needed to be compressed due to size). Our
ebuild (packaging) is available at
https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-mathematics/octave/octave-7.1.0.ebuild?id=510489d817fdc246fd73b7000886692ee27ff699.
Let me know if I can provide more information.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 05 May 2022 02:06:03 AM UTC Name: build.log.xz Size: 98KiB By:
thesamesam
build.log.xz
<http://savannah.gnu.org/bugs/download.php?file_id=53175>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62416>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62416] Failure to build with SSL support (sha512.c:(.text+0x130): multiple definition of `sha512_read_ctx),
Sam James <=