Hello,

I found some trouble building from a clean slate, besides what Alperen
already noted.

On Mon, Nov 23, 2026 at 10:46:17AM -0300, [email protected] wrote:
> +
> +#### Hurd
> +
> +    $ cd $DEV_DIR/src/hurd/build
> +    $ make distclean
> +    $ ../configure --prefix= \
> +                   --host=$TARGET \
> +                   --without-parted \
> +                   --without-libcrypt \
> +                   --without-libbz2 \
> +                   --without-libz \
> +                   --without-rump
> +    $ make -j$(nproc)
> +    $ fakeroot make install DESTDIR=$SYSROOT

This step fails now because it's trying to use the hosts pkg-config
to find libraries. I'm not sure why it wasn't triggered before
but, doing a clean pass over the tutorial, it now fails to build the
mount utility.

    make mount prof-depend=t make[2]: Entering directory 
'/home/demo/hurd/cross-gnu/src/hurd/build/utils'
    ../../Makeconf:314: warning: overriding recipe for target 
'/home/demo/hurd/cross-gnu/sysroot/bin'
    ../../Makeconf:250: warning: ignoring old recipe for target 
'/home/demo/hurd/cross-gnu/sysroot/bin'
    make[2]: *** No rule to make target 'blkid/blkid.h', needed by 'mount.o'. 
Stop.
    make[2]: Leaving directory '/home/demo/hurd/cross-gnu/src/hurd/build/utils'
    make[1]: *** No rule to make target 'blkid/blkid.h', needed by 'mount.o'. 
Stop.
    make[1]: Leaving directory '/home/demo/hurd/cross-gnu/src/hurd/build/utils'
    make: *** [../Makefile:277: utils-install] Error 2

config.status says:

    S["libblkid_LIBS"]="-lblkid "
    S["libblkid_CFLAGS"]="-I/usr/include/blkid "

I'm not sure how to disable this feature. Is it ok to set
PKG_CONFIG=false during the configure step?

I guess a proper cross-compiled pkg-config is needed, otherwise.

Thanks,
Diego

Reply via email to