John Darrington <j...@darrington.wattle.id.au> skribis: > There is some oddness in cross-pkg-config: It creates a symlink to the real > pkg-config, > But does not do so for the pkg.m4 file.
Why would the missing pkg.m4 be a problem? It’s only used when bootstrapping Autoconf-based packages. (And if it’s really needed, it’s easy to add that symlink.) > I think the symlink is wrong anyway, since in the build environment the > symlink target > will not exist. Of course it exists! --8<---------------cut here---------------start------------->8--- $ guix build "/gnu/store/y634jqapqxs6ajzifx0shd8w7iaf9yrc-pkg-config-mips64el-linux-gnu-0.27.1.drv" The following file will be downloaded: /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 @ substituter-started /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 /gnu/store/fkq63515pz3l8bdyi6qhchb9pida7pzp-guix-0.8.47739f5/libexec/guix/substitute-binary found valid signature for '/gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1', from 'http://hydra.gnu.org/nar/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1' downloading `/gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1' (0.0 MiB installed)... http://hydra.gnu.org/nar/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 0.2 KiB transferred@ substituter-succeeded /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 $ ls -l /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1/bin/ total 4 lrwxrwxrwx 2 root root 76 1 janv. 1970 mips64el-linux-gnu-pkg-config -> /gnu/store/s432k19icqqjchfp83klghv3p07q5hdd-pkg-config-0.27.1/bin/pkg-config $ guix gc --references /gnu/store/9ycjrm4n6w4ar740vsxlacbd2x5s3khr-pkg-config-mips64el-linux-gnu-0.27.1 /gnu/store/s432k19icqqjchfp83klghv3p07q5hdd-pkg-config-0.27.1 --8<---------------cut here---------------end--------------->8--- Thanks, Ludo’.