[DRE-maint] Bug#996385: ruby-shadow: FTBFS with ruby3.0: ld: cannot find -lshadow

Antonio Terceiro terceiro at debian.org
Wed Oct 13 15:30:22 BST 2021


Source: ruby-shadow
Version: 2.5.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-shadow was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.0.0 -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -ffile-prefix-map=/build/ruby3.0-2KsnwC/ruby3.0-3.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c  -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -lruby-3.0 -lshadow  -lm   -lc"
> /usr/bin/ld: cannot find -lshadow
> collect2: error: ld returned 1 exit status


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-shadow/ruby-shadow_2.5.0-1+rebuild1633395333_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211013/6e8d4393/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list