Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841248 - sci-mathematics/singular-4.3.0 - vspace.cc: error: data was not declared in this scope
Summary: sci-mathematics/singular-4.3.0 - vspace.cc: error: data was not declared in t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on: 846506
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-27 07:16 UTC by Toralf Förster
Modified: 2022-05-27 12:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2022-04-27 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.51 KB, text/plain)
2022-04-27 07:16 UTC, Toralf Förster
Details
environment (environment,92.90 KB, text/plain)
2022-04-27 07:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.06 KB, application/x-bzip)
2022-04-27 07:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,33.22 KB, application/x-bzip)
2022-04-27 07:16 UTC, Toralf Förster
Details
sci-mathematics:singular-4.3.0:20220427-050703.log.bz2 (sci-mathematics:singular-4.3.0:20220427-050703.log.bz2,18.36 KB, application/x-bzip)
2022-04-27 07:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,44.47 KB, application/x-bzip)
2022-04-27 07:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-27 07:16:16 UTC
vspace.cc: In function 'void vspace::internals::vmem_free(vaddr_t)':
vspace.cc:753:26: error: expected primary-expression before ',' token
  753 |   vaddr -= offsetof(Block, data);
      |                          ^
vspace.cc:753:28: error: 'data' was not declared in this scope
  753 |   vaddr -= offsetof(Block, data);
      |                            ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220425-130010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.3.0
 [3] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0
  [2]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit a4ba0f34bd8d4b83b46f2fba16e5d9c52867ce82
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 27 04:18:14 2022 +0000

    2022-04-27 04:18:14 UTC

emerge -qpvO sci-mathematics/singular
[ebuild  N    ] sci-mathematics/singular-4.3.0  USE="readline -emacs -examples -polymake -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-04-27 07:16:17 UTC
Created attachment 774987 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-27 07:16:19 UTC
Created attachment 774990 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-27 07:16:20 UTC
Created attachment 774993 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-27 07:16:21 UTC
Created attachment 774996 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-27 07:16:22 UTC
Created attachment 774999 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-27 07:16:23 UTC
Created attachment 775002 [details]
sci-mathematics:singular-4.3.0:20220427-050703.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-27 07:16:25 UTC
Created attachment 775005 [details]
temp.tar.bz2
Comment 8 François Bissey 2022-05-19 21:58:32 UTC
Upstream has fixed the problem at https://github.com/Singular/Singular/commit/5155427417fa722a27c110b2c1939c0979c6dcbc 

Unfortunately, the fix is not in 4.3.0_p1 for which I am preparing an ebuild. I will backport the fix.
Comment 9 Michael Orlitzky gentoo-dev 2022-05-20 17:47:27 UTC
(In reply to François Bissey from comment #8)
> Upstream has fixed the problem at
> https://github.com/Singular/Singular/commit/
> 5155427417fa722a27c110b2c1939c0979c6dcbc 
> 
> Unfortunately, the fix is not in 4.3.0_p1 for which I am preparing an
> ebuild. I will backport the fix.

It needs, 

https://github.com/Singular/Singular/commit/3ace2096ca279f37180544cc9f2ae746541371dc

as well.
Comment 10 François Bissey 2022-05-20 19:52:11 UTC
Right, I'll update the branch today.
Comment 11 François Bissey 2022-05-21 00:42:58 UTC
gcc-12 patch updated.
Comment 12 Larry the Git Cow gentoo-dev 2022-05-27 12:23:06 UTC
The bug has been closed via the following commit(s):

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

commit 8048b1fee105984f879fa67e52bfbc8ab161242f
Author:     François Bissey <frp.bissey@gmail.com>
AuthorDate: 2022-05-21 00:41:54 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-05-27 12:19:48 +0000

    sci-mathematics/singular: update gcc12 patch
    
    Closes: https://bugs.gentoo.org/841248
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/singular/files/singular-4.3.0_p1-gcc12.patch | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)