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

Bug 755473

Summary: [science overlay] sci-misc/irstlm-6.00.05 : /.../cstdlib: fatal error: stdlib.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: pavel.a.denisov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-misc:irstlm-6.00.05:20201119-081614.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-11-19 08:24:36 UTC
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/iostream:39,
                 from dict.cpp:4:
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
   75 | #include_next <stdlib.h>
      |               ^~~~~~~~~~
compilation terminated.

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

  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	Thu Nov 19 08:06:38 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-misc/irstlm
[ebuild  N    ] sci-misc/irstlm-6.00.05
Comment 1 Toralf Förster gentoo-dev 2020-11-19 08:24:38 UTC
Created attachment 672823 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-19 08:24:39 UTC
Created attachment 672826 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-19 08:24:40 UTC
Created attachment 672829 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-19 08:24:42 UTC
Created attachment 672832 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-19 08:24:43 UTC
Created attachment 672835 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-19 08:24:44 UTC
Created attachment 672838 [details]
sci-misc:irstlm-6.00.05:20201119-081614.log
Comment 7 Toralf Förster gentoo-dev 2020-11-19 08:24:45 UTC
Created attachment 672841 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-09-15 17:40:19 UTC
The bug has been closed via the following commit(s):

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

commit 89b4aa759766a8f1f3959af566986825be60740c
Author:     Lucas Mitrak <lucas@lucasmitrak.com>
AuthorDate: 2021-09-15 04:46:45 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-09-15 17:38:26 +0000

    sci-misc/irstlm: remove AM_CXXFLAGS, add doc/static-libs use flags
    
    * EAPI bump
    * Add doc and static-libs use flags
    * Add app-text/texlive[extra] as BDEPEND for doc
    * Add patch that removes lib and lib64 linking
    * Add patch that makes irstlm-manual.pdf obey --docdir
    * Remove AM_CXXFLAGS that breaks the package or should not be there
    * Copy doc/RELEASE to RELEASE.tex for doc
    * Add static-libs and doc to the configure using the econf variable
    
    Currently, sci-misc/irstlm will not compile due to bad AM_CXXFLAGS.
    A sed command was added which removes these unwanted flags. This was
    done in the same way to a PR upstream [1]. In addition, a patch was
    added which removes a Makefile.am lib->lib64 linking operation. This
    was also done in the same way as the upstream PR [1]. Another patch was
    added which removes doc/irstlm-manual.pdf from install in --prefix to
    instead obey --docdir. Furthermore, the doc USE flag was added for this
    new documentation. To create this documentation, a simple copy command
    of doc/RELEASE to RELEASE.tex is needed for it to make correctly. Also,
    a BDEPEND of app-text/texlive[extra] was added if the doc USE is true.
    A static-libs USE flag was added to include the static library
    libirstlm.a. Both USE flags are configured in the econf variable.
    Finally, the EAPI was bumped.
    
    [1] https://github.com/irstlm-team/irstlm/pull/12
    
    Closes: https://bugs.gentoo.org/755473
    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/1112
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../files/irstlm-6.00.05-doc-obey-docdir.patch     | 22 +++++++++++++
 .../files/irstlm-6.00.05-remove-lib-linking.patch  | 18 ++++++++++
 sci-misc/irstlm/irstlm-6.00.05-r1.ebuild           | 38 ++++++++++++++++++++++
 3 files changed, 78 insertions(+)