pkgsrc-Bugs archive

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

Re: pkg/56604: www/webkit-gtk 2.34.3 fails to build on NetBSD 9.x stable branches



The following reply was made to PR pkg/56604; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56604: www/webkit-gtk 2.34.3 fails to build on NetBSD 9.x
 stable branches
Date: Fri, 07 Jan 2022 21:55:04 -0500

 On Fri, 07 Jan 2022 at 10:26:55 +0100, Leonardo Taccari wrote:
 >I think that unfortunately this is because it depends on <filesystem>
 >and/or <experimental/filesystem>:
 >
 >In netbsd-9, e.g.:
 >
 >
 http://victory.netbsd.org/pkgsrc/packages/reports/2021Q4/amd64-9.0/20220103.0714/webkit-gtk-2.34.3nb1/configure.log
 >
 >It seems that we see:
 >
 > -- Performing Test STD_FILESYSTEM_IS_AVAILABLE
 > -- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Failed
 > -- Performing Test STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE
 > -- Performing Test STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE - Failed
 >
 >...while on -current-ish (9.99.90):
 >
 > -- Performing Test STD_FILESYSTEM_IS_AVAILABLE
 > -- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success
 >
 >...and I think that's probably why it fails in netbsd-9.
 >
 >I have no idea how we can possibly address that thogh and I have not
 >investigated further.
 
 Yes, <filesystem> is a C++17 addition, apparently. While netbsd-9
 provides GCC 7.5, it doesn't include all the C++ features deemed
 experimental that upstream GCC provides in that release, including
 this one, so the build fails when trying to link. (One might expect
 those configuration test failures would then halt the build, but
 evidently not.)
 
 I'm testing a kludge which, like with some other packages before,
 forcibly uses GCC from pkgsrc so we have a version that provides the
 expected feature here. That opens up the whole can of worms that has
 been discussed many times before about mixing C++ library dependencies,
 not "abusing" pkgsrc variables that are meant to be user-defined, etc.,
 etc. Anyway, GCC 7 from pkgsrc does provide this feature, so the build
 should get past that point.
 
 Regards,
 
 Dave
 


Home | Main Index | Thread Index | Old Index