-
tsoome
-
nikolam
tsoome, wow, my first impression now was a pressure cooker ;) Anyway, about uefi smbios address I am here to see to debug it, when rmustacc available.
-
tsoome
nikolam are the smbios.* entries present in output of tr '\0' '\n' < /system/boot/environment ?
-
nikolam
-
tsoome
could you use the tr command ?:)
-
tsoome
smbios.system.uuid=a1d11000-ee9b-11e1-0000-24be051f4a38 is listed there.
-
nikolam
-
nikolam
yet, sysinfo says, "UUID": "",
-
tsoome
well, it means, the bootloader was able to get this data, so it is there and present, but somehow we fail to either find or inpterpret it with os tools.
-
nikolam
os tools got to be getting info directly .. or through kernel. Maybe os tools have older code and loader has a newer one
-
sommerfeld
tsoome: I know I've used a VAX with an RA60 in the late 1980's (but most of the systems there were set up with non-removable RA80 & RA81 disks)
-
jbk
jperkin: does it matter for building a new package if the latest lts or trunk is used?
-
jperkin
jbk: depends if it has newer dependency requirements, if it's mostly standalone then you can probably get away with either
-
jbk
it requires various autotools, but the only runtime dependency is json-c which appears to be in pkgsrc since at least 2021 (probably earlier)
-
jperkin
2012 yeh
-
jbk
specifically i wanted to get tpm2-tss in there
-
jbk
it requires a few patches to build on illumos
-
jbk
which i've done
-
jbk
(hopefully they can get upstream at some point, but i'll worry about that later)
-
jperkin
ok cool, happy to review and commit once you have something
-
jbk
should adding the url2pkg package be done inside or outside the sandbox?
-
jperkin
I'd do everything inside
-
jbk
hrm.. configure is failing with the automatic dependency tracking.. which seems to be explicitly enabled when called.. it looks like maybe it needs gmake as a build dependency (the configure script is running sed on Makefile and piping it to make, and the resulting (massive) makefile is failing
-
jbk
does adding teh buildlink includes sort out both build and runtime dependencies?
-
jperkin
buildlink is for headers/libraries and will ensure they are runtime dependencies (unless BUILDLINK_DEPMETHOD=build but that's not recommended)
-
jperkin
things like gmake are done via USE_TOOLS
-
jbk
ahh ok....
-
jbk
that worked
-
jbk
thanks
-
jbk
now it's to the point where I can apply my patches
-
jbk
the biggest one is the lack of file types with struct dirent.. it sucks I don't think there's a way to fix that w/o breaking ABI compat
-
jbk
(so patch works around that w/ calling stat(2))
-
sommerfeld
jbk: Hmm. Maybe a new open flag for directories that selects a different dirent structure.
-
andyf
Is anyone else having problems pushing to gerrit?
-
sommerfeld
or squeeze a flag into the getdents() syscall signature to indicate "new dirent" (in the high order bits of the length, perhaps?)
-
alanc
or get everyone to migrate to posix_getdents() instead
-
alanc
-
alanc
and of course, someone would have to add that to your libc first
-
sommerfeld
jbk: anything that uses d_type should be prepared for an UNKNOWN type to be returned, though - if the type is not UNKNOWN you can rely on it but you should be prepared to stat anyway..
-
jbk
this code (tpm2-tss) is basically looking for either regular files or directories
-
sommerfeld
right. on some systems that have d_type, you might get DT_UNKNOWN in some directories (not all filesystems might support d_type, and not all filesystems may have the information populated in all directories)
-
sommerfeld
if you get DT_REG, you've got a file, If you get DT_UNKNOWN, you might have a file, or a directory, or something else, so you have to stat if you get DT_UNKNOWN
-
jbk
hrm.. somehow the pkgsrc is invoking libtool thats making it try to symlink itself..