tech-pkg archive

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

bsd.buildlink3.mk



Hi,

Today while updating wm/marswm I got the following error:

====
    Finished `release` profile [optimized] target(s) in 1m 57s
*** Please use pkgtools/verifypc to sanity check dependencies.
===> Installing for marswm-0.6.3
=> Generating pre-install file lists
=> Creating installation directories
/usr/bin/install -c -s -o root -g wheel -m 755 /usr/pkgsrc/wip/marswm/work/marswm-0.6.3/target/release/mars-relay  /usr/pkgsrc/wip/marswm/work/.destdir/usr/pkg/bin
/usr/bin/install -c -s -o root -g wheel -m 755 /usr/pkgsrc/wip/marswm/work/marswm-0.6.3/target/release/marsbar  /usr/pkgsrc/wip/marswm/work/.destdir/usr/pkg/bin
/usr/bin/install -c -s -o root -g wheel -m 755 /usr/pkgsrc/wip/marswm/work/marswm-0.6.3/target/release/marswm  /usr/pkgsrc/wip/marswm/work/.destdir/usr/pkg/bin
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for marswm-0.6.3
=> Checking for non-existent script interpreters in marswm-0.6.3
=> Checking file permissions in marswm-0.6.3
warning: /usr/pkgsrc/wip/marswm: group-writable directory.
warning: /usr/pkgsrc: group-writable directory.
0 errors and 2 warnings.
=> Checking for PIE in marswm-0.6.3
=> Checking for RELRO in marswm-0.6.3
=> Checking for missing run-time search paths in marswm-0.6.3
ERROR: bin/marsbar: missing library: libXft.so.2
ERROR: bin/marswm: missing library: libXft.so.2
*** Error code 1

Stop.
====

After a discussion with wiz@ we came up with a test.

Reverting this commit https://mail-index.netbsd.org/pkgsrc-changes/2026/11/01/msg358624.html
Allowed the package to install without problems.

I.e. pkgsrc/mk/buildlink3/bsd.buildlink3.mk v1.266 works fine while, v1.267 yields the error above.

Now, I'm not saying we should go back to v1.266 because adding these

RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libXft}/lib
RUSTFLAGS+=	-C link-arg=-L${BUILDLINK_PREFIX.libXft}/lib

to the package Makefile fixes the build with v1.267

Just saying in case there are other fallouts resulting from this change.


Home | Main Index | Thread Index | Old Index