Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780534 - dev-libs/ntl-11.4.4 - rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Summary: dev-libs/ntl-11.4.4 - rdlibtool: error logged in slbt_lconf_open(), line 597:...
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: PullRequest
Depends on:
Blocks: slibtool rlibtool
  Show dependency tree
 
Reported: 2021-04-06 08:07 UTC by Toralf Förster
Modified: 2022-06-20 03:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2021-04-06 08:08 UTC, Toralf Förster
Details
dev-libs:ntl-11.4.4:20210405-232555.log (dev-libs:ntl-11.4.4:20210405-232555.log,14.27 KB, text/plain)
2021-04-06 08:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.37 KB, text/plain)
2021-04-06 08:08 UTC, Toralf Förster
Details
environment (environment,53.23 KB, text/plain)
2021-04-06 08:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.52 KB, application/x-bzip)
2021-04-06 08:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.82 KB, application/x-bzip)
2021-04-06 08: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 2021-04-06 08:07:59 UTC
rdlibtool: lconf: fstat(4,...) = 0 {.st_dev = 34, .st_ino = 34339987}.
rdlibtool: lconf: stopped in "/var/tmp" (config file not found on current device).
rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
rdlibtool: < returned to > slbt_get_lconf_flags(), line 640.
make[1]: *** [makefile:403: FFT.o] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/ntl-11.4.4/work/ntl-11.4.4/src'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Apr  5 23:05:18 UTC 2021

emerge -qpvO dev-libs/ntl
[ebuild  N    ] dev-libs/ntl-11.4.4  USE="-bindist -doc -static-libs -threads" CPU_FLAGS_X86="avx2"
Comment 1 Toralf Förster gentoo-dev 2021-04-06 08:08:00 UTC
Created attachment 697872 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-06 08:08:01 UTC
Created attachment 697875 [details]
dev-libs:ntl-11.4.4:20210405-232555.log
Comment 3 Toralf Förster gentoo-dev 2021-04-06 08:08:03 UTC
Created attachment 697878 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-06 08:08:05 UTC
Created attachment 697881 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-06 08:08:06 UTC
Created attachment 697884 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-06 08:08:07 UTC
Created attachment 697887 [details]
logs.tar.bz2
Comment 7 Michael Orlitzky gentoo-dev 2022-01-18 14:46:26 UTC
Well, I can confirm this, but I'm not sure what to do about it. Using slibtool-shared works.
Comment 8 Larry the Git Cow gentoo-dev 2022-06-20 02:03:35 UTC
The bug has been referenced in the following commit(s):

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

commit 804f5a2e842505c50952abbeb716aef498701bf7
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-06-19 02:56:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-20 02:03:26 +0000

    dev-libs/ntl: Fix build with rlibtool + remove USE
    
    The build fails with rlibtool because the generated libtool is in the
    libtool-build directory. The easiest way to work around this is to
    symlink it in place.
    
    The bindist USE flag controls the NATIVE argument for ntl's DoConfig
    which enables or disables -march=native. The user should set -march
    flags on their own and not the build system.
    
    Bug: https://bugs.gentoo.org/780534
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/25967
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r2.ebuild | 80 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)