Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 875710

Summary: sci-mathematics/singular-4.3.1_p1 - omAllocSystem.c: error: implicit declaration of function malloc_usable_size [-Werror=implicit-
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: François Bissey <frp.bissey>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/Singular/Singular/pull/1157
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-mathematics:singular-4.3.1_p1:20221006-053151.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-06 20:13:44 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./.. -I./.. -DOM_ALLOC_INTERNAL -I.. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c omStats.c  -fPIC -DPIC -o .libs/libomalloc_la-omStats.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./.. -I./.. -DOM_ALLOC_INTERNAL -I.. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c omError.c  -fPIC -DPIC -o .libs/libomalloc_la-omError.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./.. -I./.. -DOM_ALLOC_INTERNAL -I.. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c omRet2Info.c  -fPIC -DPIC -o .libs/libomalloc_la-omRet2Info.o
omAllocSystem.c: In function 'omSizeOfLargeAddr':
omAllocSystem.c:42:37: error: implicit declaration of function 'malloc_usable_size' [-Werror=implicit-function-declaration]
   42 |   #define _omSizeOfLargeAddr(addr) (malloc_usable_size(addr))
      |                                     ^~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 9efc15e71ade8dcd5c22a78804b6ae268465693f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 02:33:58 2022 +0000

    2022-10-06 02:33:58 UTC

emerge -qpvO sci-mathematics/singular
[ebuild  N    ] sci-mathematics/singular-4.3.1_p1  USE="emacs readline -examples -polymake -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:13:45 UTC
Created attachment 822223 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:13:46 UTC
Created attachment 822226 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:13:47 UTC
Created attachment 822229 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:13:48 UTC
Created attachment 822232 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:13:50 UTC
Created attachment 822235 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:13:51 UTC
Created attachment 822238 [details]
sci-mathematics:singular-4.3.1_p1:20221006-053151.log
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:13:52 UTC
Created attachment 822241 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:51:33 UTC
*** Bug 882299 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-01-10 22:43:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f368624c7237c04daa9eaf66805c2bd4f2f04f35

commit f368624c7237c04daa9eaf66805c2bd4f2f04f35
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2023-01-10 22:18:26 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2023-01-10 22:41:49 +0000

    sci-mathematics/singular: add 4.3.1_p3, drop 4.3.1_p2
    
    Closes: https://bugs.gentoo.org/875710
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/singular/Manifest                                       | 2 +-
 .../singular/{singular-4.3.1_p2.ebuild => singular-4.3.1_p3.ebuild}     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)