Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830279 - sci-mathematics/singular-4.2.1_p3 - feread.cc: error: mflush was not declared in this scope
Summary: sci-mathematics/singular-4.2.1_p3 - feread.cc: error: mflush was not declared...
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:
Blocks:
 
Reported: 2021-12-30 09:32 UTC by Toralf Förster
Modified: 2022-04-22 11:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.17 KB, text/plain)
2021-12-30 09:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.87 KB, text/plain)
2021-12-30 09:32 UTC, Toralf Förster
Details
environment (environment,90.32 KB, text/plain)
2021-12-30 09:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.27 KB, application/x-bzip)
2021-12-30 09:32 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,32.59 KB, application/x-bzip)
2021-12-30 09:32 UTC, Toralf Förster
Details
sci-mathematics:singular-4.2.1_p3:20211230-013920.log (sci-mathematics:singular-4.2.1_p3:20211230-013920.log,439.43 KB, text/plain)
2021-12-30 09:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,43.47 KB, application/x-bzip)
2021-12-30 09:32 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 2021-12-30 09:32:38 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../libpolys -I../../libpolys -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1 -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1 -I/var/tmp/portage/sci-mathematic
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../libpolys -I../../libpolys -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1 -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1 -I/var/tmp/portage/sci-mathematic
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -I../../libpolys -I../../libpolys -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1 -I/var/tmp/portage/sci-mathematics/singular-4.2.1_p3/work/singular-4.2.1  
feread.cc: In function ‘char* fe_fgets(const char*, char*, int)’:
feread.cc:312:3: error: ‘mflush’ was not declared in this scope; did you mean ‘fflush’?
  312 |   mflush();
      |   ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20211229-114809

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

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

  HEAD of ::gentoo
commit 5c43eba57374e8e3bb14b592561a78c1e561767a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 30 00:36:47 2021 +0000

    2021-12-30 00:36:45 UTC

emerge -qpvO sci-mathematics/singular
[ebuild  N    ] sci-mathematics/singular-4.2.1_p3  USE="examples -emacs -julia -polymake -readline -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-12-30 09:32:39 UTC
Created attachment 760795 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-30 09:32:40 UTC
Created attachment 760796 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-30 09:32:42 UTC
Created attachment 760797 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-30 09:32:43 UTC
Created attachment 760798 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-30 09:32:44 UTC
Created attachment 760799 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-30 09:32:46 UTC
Created attachment 760800 [details]
sci-mathematics:singular-4.2.1_p3:20211230-013920.log
Comment 7 Toralf Förster gentoo-dev 2021-12-30 09:32:47 UTC
Created attachment 760801 [details]
temp.tar.bz2
Comment 8 Michael Orlitzky gentoo-dev 2022-01-20 06:56:01 UTC
Just fixed upstream:

https://github.com/Singular/Singular/commit/bbc293564bf76fcdfdc37354d406b7ca77bc780f

If I remember, I'll backport to 4.3.0 when I add it.
Comment 9 Larry the Git Cow gentoo-dev 2022-04-22 00:50:12 UTC
The bug has been referenced in the following commit(s):

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

commit 63aade48ce1eab3facd2da194df1112516be3f5f
Author:     François Bissey <frp.bissey@gmail.com>
AuthorDate: 2022-04-06 22:21:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-22 00:50:01 +0000

    sci-mathematics/singular: added upstream fixes for #776643 and #830279
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
    Bug: https://bugs.gentoo.org/776643
    Bug: https://bugs.gentoo.org/830279
    Closes: https://github.com/gentoo/gentoo/pull/24888
    Signed-off-by: Sam James <sam@gentoo.org>

 .../singular/files/singular-4.3.0-includes.patch   | 29 +++++++++++++++++++
 .../singular/files/singular-4.3.0-slibtool.patch   | 33 ++++++++++++++++++++++
 sci-mathematics/singular/singular-4.3.0.ebuild     |  2 ++
 3 files changed, 64 insertions(+)