Hello Masters,
TL/DR: package is not yet in WIP.
I’m little playing with some package, have done to make it compile, even with rust part inside but I’m struggling with one topic:
ERROR: Binary file /usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/sbin/pdns_recursor matches
ERROR: *** The above files still have references to the build directory.
ERROR: This is possibly an error that should be fixed by unwrapping
ERROR: the files or adding missing tools to the package makefile!
I’ve tried to skip it by
UNWRAP_PATTERNS+= *pdns_recursor*
Seems to not working, how to debug why this error appear and analyze what could be root cause?
gmake[3]: Leaving directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0/settings/rust'
gmake[2]: Leaving directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0/settings/rust'
gmake[2]: Entering directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0'
gmake[3]: Entering directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0'
/usr/pkg/bin/gmkdir -p '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/bin'
/bin/sh ./libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 755 rec_control '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/bin'
libtool: install: /usr/bin/install -c -o root -g wheel -m 755 -s rec_control /usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/bin/rec_control
/usr/pkg/bin/gmkdir -p '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/sbin'
/bin/sh ./libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 755 pdns_recursor '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/sbin'
libtool: install: /usr/bin/install -c -o root -g wheel -m 755 -s pdns_recursor /usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/sbin/pdns_recursor
/usr/pkg/bin/gmkdir -p '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/etc'
/usr/bin/install -c -o root -g wheel -m 644 recursor.yml-dist '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/etc'
/usr/pkg/bin/gmkdir -p '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/man/man1'
/usr/bin/install -c -o root -g wheel -m 644 pdns_recursor.1 rec_control.1 '/usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/man/man1'
gmake[3]: Leaving directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0'
gmake[2]: Leaving directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0'
gmake[1]: Leaving directory '/usr/work/amd64/wip/powerdns-recursor5/work/pdns-recursor-5.2.0'
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for pdns-recursor-5.2.0
=> Checking for non-existent script interpreters in pdns-recursor-5.2.0
=> Checking file permissions in pdns-recursor-5.2.0
=> Checking for PIE in pdns-recursor-5.2.0
=> Checking for RELRO in pdns-recursor-5.2.0
=> Checking for missing run-time search paths in pdns-recursor-5.2.0
=> Checking for work-directory references in pdns-recursor-5.2.0
ERROR: Binary file /usr/work/amd64/wip/powerdns-recursor5/work/.destdir/usr/pkg/sbin/pdns_recursor matches
ERROR: *** The above files still have references to the build directory.
ERROR: This is possibly an error that should be fixed by unwrapping
ERROR: the files or adding missing tools to the package makefile!
*** Error code 1
Stop.
make[1]: stopped making "package" in /srv/NetBSD/pkgsrc/wip/powerdns-recursor5
*** Error code 1
Stop.
make: stopped making "package" in /srv/NetBSD/pkgsrc/wip/powerdns-recursor5
devil#
Thanks,
--
Marcin Gondek / Drixter
AS56662
Attachment:
openpgp-digital-signature.asc
Description: PGP signature