Closed jrmarino closed 1 year ago
objdump output:
RUNPATH /raven/toolchain/ravensys-gcc/lib:/raven/lib:$ORIGIN/../polkitagent:$ORIGIN/../polkit
The was on /construction/polkit/stage/raven/bin, so RUNPATH should be:
/raven/toolchain/ravensys-gcc/lib
/raven/lib
/raven/polkitagent
/raven/polkit
For /construction/polkit/stage/raven/lib/libpolkit-agent-1.so /raven/toolchain/ravensys-gcc/lib:/raven/lib:$ORIGIN/../polkit
/raven/toolchain/ravensys-gcc/lib:/raven/lib:/raven/lib/polkit
for /construction/polkit/stage/raven/lib/polkit-1/polkit-agent-helper-1, /raven/toolchain/ravensys-gcc/lib:/raven/lib:$ORIGIN/../polkit
/raven/toolchain/ravensys-gcc/lib
/raven/lib
/raven/lib/polkit
/construction/polkit/stage/raven/lib/polkit-1/polkitd is the culprit
NEEDED libpolkit-gobject-1.so.0
NEEDED libgio-2.0.so.0
NEEDED libglib-2.0.so.0
NEEDED libgobject-2.0.so.0
NEEDED libexpat.so.1
NEEDED libduktape.so.207
NEEDED libpthread.so.0
NEEDED libc.so.8
INIT 0x00000000004068a0
FINI 0x0000000000413bf4
RUNPATH /raven/toolchain/ravensys-gcc/lib:/raven/lib:$ORIGIN/../polkit
# ls -al /raven/lib/libduktape.*
lrwxr-xr-x 1 root wheel 34 Aug 8 06:23 /raven/lib/libduktape.so -> /raven/lib/libduktape.so.207.20700
lrwxr-xr-x 1 root wheel 34 Aug 8 06:23 /raven/lib/libduktape.so.207 -> /raven/lib/libduktape.so.207.20700
-r--r--r-- 1 root wheel 290520 Aug 8 06:23 /raven/lib/libduktape.so.207.20700
I don't know if this is technically a bug. The issue is with /build/ravenports/builders/SL09/raven/lib/libduktape.so.207 itself. Michael build the symbolic link as an absolute path instead of relative. It's checked from outside the builder, so when using DIR.exists or the unix access(), the symbolic link fails to dereference.
DragonFly's access doesn't support NOFOLLOWSYM flag so it's not straightforward to have the check pass on the existence of any file (meaning do not dereference).
I kind of would like to adopt that behavior though.
well, duktape QA caught it:
Warning: symlink '/raven/lib/libduktape.so' points to a non-existent file with absolute stagedir path '/raven/lib/libduktap
Warning: symlink '/raven/lib/libduktape.so.207' points to a non-existent file with absolute stagedir path '/raven/lib/libdu
Warning: symlink '/raven/lib/libduktaped.so' points to a non-existent file with absolute stagedir path '/raven/lib/libdukta
Warning: symlink '/raven/lib/libduktaped.so.207' points to a non-existent file with absolute stagedir path '/raven/lib/libd
closing -- without really changing anything. These errors were legit.
seems bogus: