12:01:12 jperkin, Is it possible to create an i386 compilation sandbox in a ceeb6d4e-acab-11ee-8483-00151714048c pkgbuild-lts area? ...I am trying to compile the 32-bit package of Samba, but the sandbox keeps giving me errors. I need to compile the 32-bit portion for the 32-bit libraries present in SmartOS that prevent the member server mode from working correctly and from properly seeing the accounts in the system ...I suppose that such 12:01:13 limitation is still present. 12:02:58 yes you should be able to select the -i386 sandbox type e.g. 2023Q4-i386 12:03:17 I noticed the other day that my samba32-compat package which I provide to work around that was failing, I'll see if I can get to that soon 12:03:43 it takes the i386 samba build and relocates the libraries from it for a 64-bit package 12:04:05 https://us-central.manta.mnx.io/pkgsrc/public/reports/trunk/x86_64/20240305.0019/samba-compat32-1.1/build.log 12:40:05 I've selected the 2023Q4-i386 sandbox but it doesn't work as expected ...I've compiled 32bit packages on 2020Q4 but it doesn't work now 12:41:50 can you paste the errors you are getting somewhere? 12:47:18 jperkin, https://pastebin.com/wiQWP8e8 12:47:26 you can see both errors 13:04:10 hmm, that suggests it's using the wrong bmake, 'type bmake' should print /opt/local/bin/bmake but I'm guessing yours says /opt/tools/bin/bmake? 13:04:23 which suggests the i386 bootstrap kit is missing, I'll check 13:23:54 right -> /opt/tools/bin/bmake 13:24:05 yeh it's missing, ok I'll fix that 13:24:15 thanks 13:25:49 speaking of that, is there anything special needed to build GZ pkgsrc packages? 13:27:44 nope, just use e.g. 2023Q4-tools as the run-sandbox arg 13:28:44 if you need anything added to the main set just lemme know 13:48:42 xmerlin: I'll need to publish a new pkgbuild image to fix that properly, but for now you can exit the sandbox and download https://pkgsrc.smartos.org/packages/SmartOS/bootstrap-pbulk/bootstrap-2023Q4-i386.tar.gz manually into /data/packages/SmartOS/bootstrap-pbulk, then the next run-sandbox should work correctly. 14:01:10 jzu - Solaris CBE works under bhyve on OmniOS if you drop the hostbridge, use e1000 for the networking and put the LPC on bus 31. I don't know if smartos exposes enough control for you to make those changes. 14:01:40 andyf: Hmm that's interesting 14:01:57 I get the Solaris loading text and then nothing on ttya/zlogin console 14:03:01 andyf: what's LPC? 14:03:04 unfortunately some of the bhyve args are very hardwired in SmartOS 14:03:18 It's been a long time since I looked but I think you can drop to grub and edit the boot options to select the serial console - it should get further then but will likely hang during device scan. 14:03:52 yeah I get the output when selecting ttya so I bet it's hanging 14:05:05 LPC is a bus that things like serial ports are hung off. I'm double checking but I think the OmniOS `type=windows` moves it 14:05:43 ah right, the serial ports is working until the loading 'freezes' right after 'SunOS Release 5.11 Version 11.4.0.15.0 64-bit' text 14:06:06 Yes, it does, it moves the PCI-ISA lpc thing from slot 1 to slot 31, which is apparently needed to boot either Windows or Solaris. 14:06:38 hmm wonder how do I set that on SmartOS 14:07:17 maybe I'll just try to get the DVD inserted into the T2000 and forget about network installation through the AI server running in Bhyve :) 14:07:31 i tihnk it means 'low pin count'... effectively it's what replaces the old ISA bus on modern systems for things where a PCI interface would be overkill (e.g. serial ports, TPM, etc) 14:08:26 SmartOS already puts it in 31, so you don't have to do that yourself. 14:08:42 So it's then probably hanging on the hostbridge, or the NIC. 14:08:50 ok so IF I'm lucky e1000 might resolve it 14:09:28 It looks like you can set `hostbridge=none` in the zone config to skip the hostbridge. 14:11:36 I'm reading boot.c here https://github.com/TritonDataCenter/illumos-joyent/blob/master/usr/src/lib/brand/bhyve/zone/boot.c#L540 14:13:58 yeh unfortunately you can't easily override virtio-net-viona which is hardcoded in there, however one ugly workaround I managed when I was working on packer stuff is that if you add duplicate arguments in bhyve_extra_opts then the bhyve command will use the later ones 14:17:33 IIRC some had to go in a bhyve_config(5) file 14:21:21 hehe :) 14:59:50 jzu - do let us know if you have success, and good luck! 15:09:26 Thanks :) 17:10:58 jperkin, it works, thank you 17:12:17 nice, thanks 17:18:09 Speaking of encryption, is it possible to encrypt all zones and/or is it possible to encrypt a zone? 18:41:43 jperkin, there is a strange problem compiling gcc13 https://pastebin.com/bHYDA3uH 18:43:55 ah yeh that's an odd side-effect with check-shlibs, if the package is already installed then it'll produce that error, pkg_delete gcc13 should fix it 18:49:29 ok 18:50:42 I think I may have introduced that with my enhanced checks a few months ago as I don't remember it happening before