Folks,
I've been stuck for a while in this.
Had more time today to dig into it, using debug options in make and bash.
Turns out file(1) outputs a zany type for some .so files:
but:
Any idea what cause could this?
Also:
Naturally, this breaks /usr/ports/Mk/Scripts/find-lib.sh which expects an x-sharedlib mime type and not what file(1) blurts.
Thanks!
I've been stuck for a while in this.
Had more time today to dig into it, using debug options in make and bash.
Turns out file(1) outputs a zany type for some .so files:
Code:
Server > file -b -L --mime-type /usr/local/lib/libnghttp2.so
application/x-pie-executable
Server > file -b -L --mime-type /usr/local/lib/libzip.so
application/x-pie-executable
Code:
Server > file -b -L --mime-type /lib/libm.so.5
application/x-sharedlib
Any idea what cause could this?
Also:
Code:
Server > uname -a
FreeBSD server 11.2-STABLE FreeBSD 11.2-STABLE #7 r338692: Sat Sep 15 15:40:30 CEST 2018 root@server:/usr/obj/usr/src/sys/MYKERNEL amd64
Naturally, this breaks /usr/ports/Mk/Scripts/find-lib.sh which expects an x-sharedlib mime type and not what file(1) blurts.
Thanks!