tech-pkg archive

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

Re: can't build poppler(-utils); c++ standard / compiler trouble?



Hi,

On Mon, Apr 22, 2024 at 06:21:41PM +0200, Ignatios Souvatzis wrote:
> Hi,
> 
> On Mon, Apr 22, 2024 at 06:15:23PM +0200, Thomas Klausner wrote:
> 
> > > I get the errors below. I spot
> > 
> > You didn't quote them.
> 
> Oh, sorry.
> 
> 
> > In -current, I added
> > USE_CXX_FEATURES+=     filesystem
> > to the Makefile because of reports like
> > 
> > http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-9.0-i386/20240418.1308//poppler-utils-24.03.0nb1/build.log
> > 
> > [ 81%] Linking CXX executable pdfinfo
> > /usr/bin/ld: CMakeFiles/pdfdetach.dir/pdfdetach.cc.o: in function `std::filesystem::__cxx11::path::operator=(std::filesystem::__cxx11::path&&) [clone .part.72]':
> > /usr/pkg/gcc8/include/c++/bits/fs_path.h:310: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
> 
> [...]
> 
> Yes, those.
> 
> Thanks, I'll try.

I didn't manage to make it (build and) use something different from
gcc8.5.0 (and report the same class of errors) that way.

For my purposes, I've forced GCC_REQD += 9 (I needed a newer
poppler-utils to verify a bug for an (poppler) upstream bug report).

I'll retry later with a pure pkgsrc-current build tree, but not
before mid-May.

Regards,
	-is


Home | Main Index | Thread Index | Old Index