Bug#1026718: lazpaint: FTBFS: /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
Hi Lucas, Ok, I am not familiar with those build messages. So probably the dependency is not well defined in Lazarus or FreePascal. A temporary fix could be to indicate the dependency explicitly in the control file. I've not been able to install a VM with sid. I tried with mini.iso but it told me about a missing kernel. I've tried instead installing a standard Debian, I could upgrade to bookworm, but not to sid. I could compile on bookworm with debuild though I did not try yet to remove "unused" packages with apt. Anyway, there is another bug report that was made, related to the dependency of FPC to GTK2. I suppose it is the same thing: https://bugs.debian.org/1026719 Indeed, the package libgtk2.0-0 depends on libpangocairo-1.0-0. So maybe it is just about adding libgtk2.0-0 to the control file? Regards, -- Juliette DAMON-ELSASS circu...@fastmail.com On Mon, Jan 2, 2023, at 5:24 PM, Lucas Nussbaum wrote: > Hi Juliette, > > On 31/12/22 at 01:13 +0100, Juliette DAMON-ELSASS wrote: >> Hello Lucas, >> >> Just to check, are you building using debuild or a similar tool, not calling >> make directly? >> >> Normally all needed packages determined by the build tool or are specified >> in the control file. > > As shown in the build log, I use sbuild (with a fairly standard > invocation). > > Did you try to rebuild your package with pbuilder or sbuild? What was > the result? > > Lucas
Bug#1026718: lazpaint: FTBFS: /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
Hi Juliette, On 31/12/22 at 01:13 +0100, Juliette DAMON-ELSASS wrote: > Hello Lucas, > > Just to check, are you building using debuild or a similar tool, not calling > make directly? > > Normally all needed packages determined by the build tool or are specified in > the control file. As shown in the build log, I use sbuild (with a fairly standard invocation). Did you try to rebuild your package with pbuilder or sbuild? What was the result? Lucas
Bug#1026718: lazpaint: FTBFS: /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
Hello Lucas, Just to check, are you building using debuild or a similar tool, not calling make directly? Normally all needed packages determined by the build tool or are specified in the control file. Regards, -- Juliette aka Johann ELSASS
Bug#1026718: lazpaint: FTBFS: /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
On 21/12/22 at 21:50 +0100, Juliette DAMON-ELSASS wrote: > Relevant part is: > > (9015) Linking /<>/lazpaint/release/bin/lazpaint > > /usr/bin/ld.bfd: cannot find -lgdk-x11-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lgtk-x11-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lX11: No such file or directory > > /usr/bin/ld.bfd: cannot find -lgdk_pixbuf-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lgobject-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lglib-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lgthread-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lgmodule-2.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lpango-1.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lcairo: No such file or directory > > /usr/bin/ld.bfd: cannot find -latk-1.0: No such file or directory > > /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory > > /<>/lazpaint/lazpaint.lpr(229,1) Error: (9013) Error while > > linking > > It does not find the libraries. Is there a change of availability of those? I don't know. The call to ld that fails is: /usr/bin/ld.bfd -b elf64-x86-64 -m elf_x86_64 --dynamic-linker=/lib64/ld-linux-x86-64.so.2 --gc-sections -s -L. -o /root/lazpaint-7.2.2/lazpaint/release/bin/lazpaint -T /root/lazpaint-7.2.2/lazpaint/release/bin/link31494.res -e _start and the linker script (/root/lazpaint-7.2.2/lazpaint/release/bin/link31494.res) correctly includes SEARCH_DIR("/usr/lib/x86_64-linux-gnu/") Strange. Lucas
Bug#1026718: lazpaint: FTBFS: /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory
Relevant part is: > (9015) Linking /<>/lazpaint/release/bin/lazpaint > /usr/bin/ld.bfd: cannot find -lgdk-x11-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lgtk-x11-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lX11: No such file or directory > /usr/bin/ld.bfd: cannot find -lgdk_pixbuf-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lgobject-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lglib-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lgthread-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lgmodule-2.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lpango-1.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lcairo: No such file or directory > /usr/bin/ld.bfd: cannot find -latk-1.0: No such file or directory > /usr/bin/ld.bfd: cannot find -lpangocairo-1.0: No such file or directory > /<>/lazpaint/lazpaint.lpr(229,1) Error: (9013) Error while > linking It does not find the libraries. Is there a change of availability of those?