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

Bug 778914

Summary: dev-java/tomcat-native-1.2.26 - rdlibtool: error logged in slbt_lconf_open(), line 597: flow error: unexpected condition or other.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26513
https://github.com/gentoo/gentoo/pull/29440
https://bugs.gentoo.org/show_bug.cgi?id=924337
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709, 779364    
Attachments: emerge-info.txt
dev-java:tomcat-native-1.2.26:20210328-094052.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2021-03-28 10:23:17 UTC
rdlibtool --silent --mode=compile x86_64-pc-linux-gnu-gcc -pthread -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/opt/openjdk-bin-8.282_p08/include -I/opt/openjdk-bin-8.282_p08/include/linux -I/usr/include/apr-1 -o src/address.lo -c src/address.c

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]: *** [/var/tmp/portage/dev-java/tomcat-native-1.2.26/work/tomcat-native-1.2.26-src/native/build/rules.mk:206: src/address.lo] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-java/tomcat-native-1.2.26/work/tomcat-native-1.2.26-src/native'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210318-090503

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

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.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.50.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-8 
  [4]   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	Sun Mar 28 09:05:55 UTC 2021

emerge -qpvO dev-java/tomcat-native
[ebuild  N    ] dev-java/tomcat-native-1.2.26  USE="-static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-03-28 10:23:18 UTC
Created attachment 695454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-28 10:23:19 UTC
Created attachment 695457 [details]
dev-java:tomcat-native-1.2.26:20210328-094052.log
Comment 3 Toralf Förster gentoo-dev 2021-03-28 10:23:21 UTC
Created attachment 695460 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-28 10:23:22 UTC
Created attachment 695463 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-28 10:23:24 UTC
Created attachment 695466 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-28 10:23:25 UTC
Created attachment 695469 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2023-02-05 18:31:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df8e080250624f2fbb12983824c534be311b96c

commit 3df8e080250624f2fbb12983824c534be311b96c
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-02-05 18:08:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-05 18:30:51 +0000

    dev-java/tomcat-native: Add upstream slibtool patch
    
    Closes: https://bugs.gentoo.org/778914
    Upstream-PR: https://github.com/apache/tomcat-native/pull/14
    Upstream-Commit: https://github.com/apache/tomcat-native/commit/4f7fb7f442de3d9a9bb2f72b5dabc2f4bc8e3384
    Closes: https://github.com/gentoo/gentoo/pull/29440
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tomcat-native-2.0.2-slibtool.patch       | 32 ++++++++++++++++++++++
 dev-java/tomcat-native/tomcat-native-2.0.2.ebuild  | 15 +++++++++-
 2 files changed, 46 insertions(+), 1 deletion(-)