Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778230 - dev-libs/unibilium-2.1.0 - rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Summary: dev-libs/unibilium-2.1.0 - rdlibtool: error logged in slbt_lconf_open(), line...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool rlibtool
  Show dependency tree
 
Reported: 2021-03-25 18:48 UTC by Toralf Förster
Modified: 2021-09-08 05:12 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.75 KB, text/plain)
2021-03-25 18:48 UTC, Toralf Förster
Details
dev-libs:unibilium-2.1.0:20210325-184737.log (dev-libs:unibilium-2.1.0:20210325-184737.log,5.11 KB, text/plain)
2021-03-25 18:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,266.18 KB, text/plain)
2021-03-25 18:48 UTC, Toralf Förster
Details
environment (environment,71.71 KB, text/plain)
2021-03-25 18:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.95 KB, application/x-bzip)
2021-03-25 18:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.69 KB, application/x-bzip)
2021-03-25 18:48 UTC, Toralf Förster
Details
Build log with dlibtool-static (build.log,15.35 KB, text/x-log)
2021-03-25 20:01 UTC, orbea
Details
https://github.com/neovim/unibilium/pull/19 (unibilium-static.patch,869 bytes, patch)
2021-03-25 21:05 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-25 18:48:51 UTC
rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 34, .st_ino = 12424758}.
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: *** [Makefile:69: unibilium.lo] Error 2
 * ERROR: dev-libs/unibilium-2.1.0::gentoo failed (compile phase):

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.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	Thu Mar 25 18:35:43 UTC 2021

emerge -qpvO dev-libs/unibilium
[ebuild  N    ] dev-libs/unibilium-2.1.0  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-03-25 18:48:52 UTC
Created attachment 693618 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-25 18:48:53 UTC
Created attachment 693621 [details]
dev-libs:unibilium-2.1.0:20210325-184737.log
Comment 3 Toralf Förster gentoo-dev 2021-03-25 18:48:54 UTC
Created attachment 693624 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-25 18:48:56 UTC
Created attachment 693627 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-25 18:48:57 UTC
Created attachment 693630 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-25 18:48:58 UTC
Created attachment 693633 [details]
temp.tar.bz2
Comment 7 orbea 2021-03-25 19:58:33 UTC
This needs slibtool or slibtool-shared.

With slibtool-shared this static library doesn't exist and the ebuild fails.

https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/unibilium/unibilium-2.1.0.ebuild?id=2189f8e3d634e6e69365489c5f62e3c6685ec26e#n33

And again when removing the .la file on the next line.

https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/unibilium/unibilium-2.1.0.ebuild?id=2189f8e3d634e6e69365489c5f62e3c6685ec26e#n34
Comment 8 orbea 2021-03-25 20:01:32 UTC
Created attachment 693672 [details]
Build log with dlibtool-static

dlibtool-static --mode=link --tag=CC cc -Wl,-O1 -Wl,--as-needed -o tools/gen-static-test libunibilium.la tools/gen-static-test.lo

dlibtool-static: link: cc .libs/libunibilium.a tools/.libs/gen-static-test.o -Wl,-O1 -Wl,--as-needed -L.libs -o tools/.libs/gen-static-test
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tools/.libs/gen-static-test.o: in function `main':
gen-static-test.c:(.text.startup+0x3e): undefined reference to `unibi_from_term'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x5f): undefined reference to `unibi_dump'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x2df): undefined reference to `unibi_get_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x36a): undefined reference to `unibi_get_aliases'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x51c): undefined reference to `unibi_get_bool'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x526): undefined reference to `unibi_name_bool'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x58e): undefined reference to `unibi_get_num'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x598): undefined reference to `unibi_name_num'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x6be): undefined reference to `unibi_get_str'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x6c8): undefined reference to `unibi_name_str'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x718): undefined reference to `unibi_count_ext_bool'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x777): undefined reference to `unibi_get_ext_bool'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x785): undefined reference to `unibi_get_ext_bool_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x87d): undefined reference to `unibi_count_ext_num'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x8df): undefined reference to `unibi_get_ext_num'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x8ed): undefined reference to `unibi_get_ext_num_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0x9e6): undefined reference to `unibi_count_ext_str'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0xb47): undefined reference to `unibi_get_ext_str'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0xb55): undefined reference to `unibi_get_ext_str_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0xcf5): undefined reference to `unibi_destroy'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gen-static-test.c:(.text.startup+0xd45): undefined reference to `unibi_from_fp'
collect2: error: ld returned 1 exit status
dlibtool-static: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages).
dlibtool-static: < returned to > slbt_exec_link(), line 1934.
make: *** [Makefile:78: tools/gen-static-test] Error 2
rm tools/gen-static-test.lo
Comment 9 orbea 2021-03-25 21:05:33 UTC
Created attachment 693741 [details, diff]
https://github.com/neovim/unibilium/pull/19

Build fix for slibtool-static.
Comment 10 orbea 2021-04-04 14:26:59 UTC
The slibtool-static fix was merged and a new release was made upstream.

https://github.com/neovim/unibilium/commit/382223846c6f8e0a46e47456f63380bbeeb379d3
https://github.com/neovim/unibilium/releases/tag/v2.1.1
Comment 11 Larry the Git Cow gentoo-dev 2021-09-08 05:12:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c7bbaf779413b13d0379e496e6169d1eac4a510

commit 7c7bbaf779413b13d0379e496e6169d1eac4a510
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-08 05:08:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-08 05:08:12 +0000

    dev-libs/unibilium: add 2.1.1
    
    Closes: https://bugs.gentoo.org/778230
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/unibilium/Manifest               |  1 +
 dev-libs/unibilium/unibilium-2.1.1.ebuild | 34 +++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)