Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914389 - app-backup/bacula-13.0.3 - [slibtool] /.../ld: cannot find -lbacsd: No such file or directory
Summary: app-backup/bacula-13.0.3 - [slibtool] /.../ld: cannot find -lbacsd: No such f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-18 17:07 UTC by Toralf Förster
Modified: 2023-11-15 13:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.77 KB, text/plain)
2023-09-18 17:07 UTC, Toralf Förster
Details
app-backup:bacula-13.0.3:20230918-075850.log.xz (app-backup:bacula-13.0.3:20230918-075850.log.xz,17.73 KB, application/x-xz)
2023-09-18 17:07 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,80.32 KB, application/x-xz)
2023-09-18 17:07 UTC, Toralf Förster
Details
environment (environment,92.42 KB, text/plain)
2023-09-18 17:07 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-18 17:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.15 KB, application/x-xz)
2023-09-18 17:07 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.75 KB, application/x-xz)
2023-09-18 17:07 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.25 KB, application/x-xz)
2023-09-18 17:07 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 2023-09-18 17:07:50 UTC
   -lbacsd -lbaccfg -lbac -lbacfind -lm -lpthread   -lssl -lcrypto



rdlibtool --silent --tag=CXX --mode=link /usr/bin/x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L../lib -L../findlib -o bls bls.o stored_conf.o global.o -rpath /usr/lib64 -lbacsd -lbaccfg -lbac -lbacfind -lm -lpthread -lssl -lcrypto

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lbacsd: No such file or directory
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1745: (see child process error messages).

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230910-154003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 3208d5f98233107c1976ddebb952b57d6452eae9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 18 07:46:41 2023 +0000

    2023-09-18 07:46:40 UTC

emerge -qpvO app-backup/bacula
[ebuild  N    ] app-backup/bacula-13.0.3  USE="X acl batch-insert ipv6 qt5 readline sqlite ssl -bacula-clientonly -bacula-nodir -bacula-nosd -examples -logwatch -mysql -postgres (-selinux) -static -tcpd -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2023-09-18 17:07:50 UTC
Created attachment 870854 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-18 17:07:51 UTC
Created attachment 870855 [details]
app-backup:bacula-13.0.3:20230918-075850.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-18 17:07:53 UTC
Created attachment 870856 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-09-18 17:07:54 UTC
Created attachment 870857 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-18 17:07:55 UTC
Created attachment 870858 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-18 17:07:56 UTC
Created attachment 870859 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-18 17:07:57 UTC
Created attachment 870860 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-18 17:07:58 UTC
Created attachment 870861 [details]
temp.tar.xz
Comment 9 Thomas Beierlein gentoo-dev 2023-11-14 19:55:02 UTC
Any reason that these bug is not on the slibtool tracker (bug #765709). Just wondering.
Comment 10 Thomas Beierlein gentoo-dev 2023-11-15 13:37:26 UTC
Works without problems on stable chroot, but fails on an unstable one.
Seem library search path is handled weird by slibtool. THe library gots created in ./.libs but slibtool needs -L. in the path list.
Comment 11 Larry the Git Cow gentoo-dev 2023-11-15 13:54:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a72f6909ba8649fa6e6fe7336b0c5cc8116b4c7

commit 6a72f6909ba8649fa6e6fe7336b0c5cc8116b4c7
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2023-11-15 13:51:09 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2023-11-15 13:53:16 +0000

    app-backup/bacula: Fix library search path for build with slibtool
    
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
    Closes: https://bugs.gentoo.org/914389

 app-backup/bacula/bacula-13.0.3-r2.ebuild  |  3 ++
 app-backup/bacula/files/fix_slibtool.patch | 67 ++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)