Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790773 - media-gfx/gphoto2-2.5.27 - /.../ld: cannot find -lcdkw
Summary: media-gfx/gphoto2-2.5.27 - /.../ld: cannot find -lcdkw
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 07:10 UTC by Toralf Förster
Modified: 2022-06-18 00:19 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.01 KB, text/plain)
2021-05-18 07:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,467.42 KB, text/plain)
2021-05-18 07:10 UTC, Toralf Förster
Details
environment (environment,68.13 KB, text/plain)
2021-05-18 07:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.73 KB, application/x-bzip)
2021-05-18 07:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.87 KB, application/x-bzip)
2021-05-18 07:10 UTC, Toralf Förster
Details
media-gfx:gphoto2-2.5.27:20210518-023339.log (media-gfx:gphoto2-2.5.27:20210518-023339.log,26.20 KB, text/plain)
2021-05-18 07:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.55 KB, application/x-bzip)
2021-05-18 07:10 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-05-18 07:10:32 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -I/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include/cdk -I/usr/include/libexif -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o gphoto2 gphoto2-gphoto2-cmd-config.o gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o  -Wl,--as-needed -lgphoto2 -lgphoto2_port -L/usr/lib64 -lcdkw -lncursesw -ltinfow -lpthread -lexif -lreadline -lpopt -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcdkw
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:729: gphoto2] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/gphoto2-2.5.27/work/gphoto2-2.5.27/gphoto2'
make[1]: *** [Makefile:468: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j2-20210510-164836

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue May 18 01:20:13 UTC 2021

emerge -qpvO media-gfx/gphoto2
[ebuild   R   ] media-gfx/gphoto2-2.5.27  USE="exif ncurses nls readline -aalib"
Comment 1 Toralf Förster gentoo-dev 2021-05-18 07:10:34 UTC
Created attachment 709551 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-18 07:10:35 UTC
Created attachment 709554 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-18 07:10:37 UTC
Created attachment 709557 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-18 07:10:38 UTC
Created attachment 709560 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-18 07:10:39 UTC
Created attachment 709563 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-18 07:10:40 UTC
Created attachment 709566 [details]
media-gfx:gphoto2-2.5.27:20210518-023339.log
Comment 7 Toralf Förster gentoo-dev 2021-05-18 07:10:42 UTC
Created attachment 709569 [details]
temp.tar.bz2
Comment 8 Jeremy Stent 2021-05-19 01:41:05 UTC
This appears to be an issue with dev-libs/cdk not installing a symlink /usr/lib64/libcdkw.so If I create that symlink and have it point to /usr/lib64/libcdkw.so.6 then this compile succeeds.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-19 02:51:06 UTC
(In reply to Jeremy Stent from comment #8)
> This appears to be an issue with dev-libs/cdk not installing a symlink
> /usr/lib64/libcdkw.so If I create that symlink and have it point to
> /usr/lib64/libcdkw.so.6 then this compile succeeds.

Thanks!
Comment 10 Larry the Git Cow gentoo-dev 2021-05-19 03:23:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fec2a9762b893d6e497445c4f79df26e438735e

commit 2fec2a9762b893d6e497445c4f79df26e438735e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-19 03:17:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-19 03:17:56 +0000

    dev-libs/cdk: drop libtool
    
    In some cases, configure seems to be producing a Makefile with a broken
    install target (which lacks the needed libtool install finalisation). Let's
    just disable libtool for now, we don't need it.
    
    Closes: https://bugs.gentoo.org/790773
    Signed-off-by: Sam James <sam@gentoo.org>

 .../cdk/{cdk-5.0.20210324.ebuild => cdk-5.0.20210324-r1.ebuild}  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)