Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755353 - [science overlay] sci-libs/libmatheval-1.1.10 : /.../matheval.c: error: conflicting types for scm_t_bits
Summary: [science overlay] sci-libs/libmatheval-1.1.10 : /.../matheval.c: error: confl...
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 Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 17:07 UTC by Toralf Förster
Modified: 2021-10-26 10:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-11-18 17:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,33.77 KB, text/plain)
2020-11-18 17:07 UTC, Toralf Förster
Details
environment (environment,93.11 KB, text/plain)
2020-11-18 17:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.84 KB, application/x-bzip)
2020-11-18 17:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.71 KB, application/x-bzip)
2020-11-18 17:08 UTC, Toralf Förster
Details
sci-libs:libmatheval-1.1.10:20201118-100310.log (sci-libs:libmatheval-1.1.10:20201118-100310.log,34.04 KB, text/plain)
2020-11-18 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.33 KB, application/x-bzip)
2020-11-18 17:08 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 2020-11-18 17:07:56 UTC
make[2]: Entering directory '/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10_build/tests'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10/tests -I.. -I.. -I../lib -I/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10 -I/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10/lib   -I/usr/include/guile/2.2 -pthread  -O2 -pipe -march=native -fno-diagnostics-color  -c -o matheval-matheval.o `test -f 'matheval.c' || echo '/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10/tests/'`matheval.c
/var/tmp/portage/sci-libs/libmatheval-1.1.10/work/libmatheval-1.1.10/tests/matheval.c:30:17: error: conflicting types for ‘scm_t_bits’
   30 | typedef long    scm_t_bits;
      |                 ^~~~~~~~~~
In file included from /usr/include/guile/2.2/libguile/__scm.h:398,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_science-20201116-220441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Nov 18 09:07:31 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-libs/libmatheval
[ebuild  N    ] sci-libs/libmatheval-1.1.10  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-11-18 17:07:57 UTC
Created attachment 672466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-18 17:07:59 UTC
Created attachment 672469 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-18 17:08:01 UTC
Created attachment 672472 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-18 17:08:02 UTC
Created attachment 672475 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-18 17:08:03 UTC
Created attachment 672478 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-18 17:08:05 UTC
Created attachment 672481 [details]
sci-libs:libmatheval-1.1.10:20201118-100310.log
Comment 7 Toralf Förster gentoo-dev 2020-11-18 17:08:06 UTC
Created attachment 672484 [details]
temp.tbz2
Comment 8 Lucas Mitrak 2021-10-03 03:37:27 UTC
Currently, this package will not compile with guile version 1*. There is an ebuild that will work with it [1]; however, it is masked and the mask message says "TeXmacs is the only remaining package in tree that requires guile-1.8". It uses EAPI 5 as well so making it a dependency does not seem to be possible due to repoman. As no other packages depend on this one, I recommend we drop it.

[1] https://github.com/gentoo/gentoo/blob/master/dev-scheme/guile/guile-1.8.8-r3.ebuild
Comment 9 Lucas Mitrak 2021-10-03 17:01:34 UTC
It may be possible to apply one of two patches I found on the mailing list. I will be testing these
https://lists.gnu.org/archive/html/bug-libmatheval/2014-06/txtd7_m80H6h3.txt
https://gitlab.com/Grimler/libmatheval
Comment 10 Larry the Git Cow gentoo-dev 2021-10-26 10:59:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=d8fe36fd567bfe9c4e0e6342716a2ca7eb0eac84

commit d8fe36fd567bfe9c4e0e6342716a2ca7eb0eac84
Author:     Lucas Mitrak <lucas@lucasmitrak.com>
AuthorDate: 2021-10-04 05:38:06 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-10-26 10:54:45 +0000

    sci-libs/libmatheval: EAPI bump, static-libs USE, fix build scripts
    
    * EAPI bump
    * inherit autotools for regenerating the build scripts
    * ${PF} -> ${P} in SRC_URI
    * LICENSE is actually GPL-3+ [1]
    * Add and implement static-libs USE flag
    * Rename configure.in -> configure.ac for Q/A
    * Add patch to update configure.ac and remove references to guile
    * Remove tests directory in Makefile.am which depends on masked guile-1*
    * Regenerate build scripts with autoreconf
    
    Currently, sci-libs/libmatheval will not compile due to depending on
    the masked dev-scheme/guile-1* while compiling tests in the
    tests/ directory. The was fixed by removing the tests/ directory from
    SUBDIRS in Makefile.am. All references to guile was removed from the
    renamed configure.in -> configure.ac build script. This script was
    updated using an upstream git repo which updates the package [2].
    Finally, the EAPI was bumped, ${PF} -> ${P} in SRC_URI, static-libs
    USE implemented, and LICENSE changed to the actual license.
    
    [1] https://www.gnu.org/software/libmatheval/manual/libmatheval.html
    [2] https://gitlab.com/Grimler/libmatheval/-/tree/master/
    
    Closes: https://bugs.gentoo.org/755353
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Lucas Mitrak <lucas@lucasmitrak.com>
    Closes: https://github.com/gentoo/sci/pull/1117
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../libmatheval-1.1.11_update_configure.ac.patch   | 40 ++++++++++++++++++++++
 sci-libs/libmatheval/libmatheval-1.1.11-r1.ebuild  | 32 +++++++++++++++++
 2 files changed, 72 insertions(+)