pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: poppler build issues after 22.01.0 update



I was rebuilding poppler-utils (and the other poppler-* packages) in my
9.2 based chroot, and I ran into this too:

[ 76%] Linking CXX executable pdfattach
/usr/bin/ld: ../libpoppler.so.117.0.0: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../libpoppler.so.117.0.0: undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&, std::error_code&)'
collect2: error: ld returned 1 exit status

Looking in the .buildlink directory, there are
.buildlink/gcc8/include/c++/experimental/filesystem and
.buildlink/gcc8/include/c++/filesystem

I have these in my mk.conf which probably explain this:

PKGSRC_COMPILER=        gcc
GCC_REQD+=              8
USE_PKGSRC_GCC=         yes
USE_PKGSRC_GCC_RUNTIME= yes

So I guess adding a patch similar to upstream (just removing the use of
<filesystem> completely) certainly make sense to do, even for NetBSD.

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index