[build2] bootstrapping 0.16

MM finjulhich at gmail.com
Tue Aug 29 07:56:26 UTC 2023


When starting like this
>
> sh build2-install-0.16.0.sh --system libsqlite3,libpkg-config

I see the default is
g++ -std=c++1y and no optimization.
With gcc 13, the default is c++17 not c++1y
Should such a default change?


Secondly, libpkg-config from system fails to be found

> + build2/b-boot -j 8 config.cxx=g++ config.bin.lib=static
> config.import.libpkg_config= build2/exe{b}
> error: unable to import target libpkg-config%lib{pkg-config}
>   info: use config.import.libpkg_config configuration variable to specify
> its project out_root
>   info: while applying rule cxx.link to update
> libbuild2/cc/libua{build2-cc}
>   info: while applying rule cxx.link to update libbuild2/cc/liba{build2-cc}
>   info: while applying rule cxx.link to update build2/exe{b}
> version ../libbutl/libbutl/in{version} -> ../libbutl/libbutl/hxx{version}
> in libbuild2/in{config} -> libbuild2/hxx{config}
> version libbuild2/in{version} -> libbuild2/hxx{version}
> in libbuild2/config/in{host-config} -> libbuild2/config/cxx{host-config}
> info: failed to update build2/exe{b}
>

I have these 2 rpms installed, and I redacted what I think the relevant
files from each would be.
libpkgconf-1.8.0-6.fc38.x86_64

> /usr/lib64/libpkgconf.so.3
> /usr/lib64/libpkgconf.so.3.0.0
>
libpkgconf-devel-1.8.0-6.fc38.x86_64

> /usr/include/pkgconf
> /usr/include/pkgconf/libpkgconf
> /usr/include/pkgconf/libpkgconf/bsdstubs.h
> /usr/include/pkgconf/libpkgconf/iter.h
> /usr/include/pkgconf/libpkgconf/libpkgconf-api.h
> /usr/include/pkgconf/libpkgconf/libpkgconf.h
> /usr/include/pkgconf/libpkgconf/stdinc.h
> /usr/lib64/libpkgconf.so
> /usr/lib64/pkgconfig/libpkgconf.pc
>

Are these the wrong system rpms? is libpkg-config something else?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20230829/ae2178bf/attachment.html>


More information about the users mailing list