02:26:34 sjorge: FWIW, I was able to clone the repository and just "gmake" on a relatively stock OmniOS machine with development tools installed 02:27:29 (we use it for some of the illumos.org stuff) 08:11:45 I continously get "note: Not enough space (os error 12)" while building fish on OmniOS in a zone. There is no quotes set up for this dataset and the pool have enough free space. What can be the reson for this error? 08:16:39 ENOMEM 12 08:16:54 so, you are running out of memory 08:17:13 Aha! 08:17:30 Fck, I got only 16 Gigs. 08:17:34 os errors are listed in /usr/include/sys/errno.h 08:17:36 MAybe I should switch of some zones 08:17:51 right, I should have checked, but the error message was misleading. 08:19:15 not enough space in terms of memory is about virtual memory, thats ram + swap space (in case the allocations do reserve page space from swap). 08:19:17 maybe your problem is related to ulimits or resource limits on your zones. not sure what "fish" is and how big it is, but 16G seem plenty. 08:20:14 and virtual memory space may be eaten away with usage of /tmp -- some builds can drop large amount of data in /tmp 08:21:28 unless you are short of disk space, I'd give some 16G to swap to avoid surprises. 08:25:59 thanks for the hints, I will check and fix this. 08:44:03 Woodstock: fish is a non-posix shell, written in rust 08:45:46 for some reason the recent 2 fish version compiles fine, but if I attempt to run it, it drops me out of the zone. 08:45:55 No error, no core dump. 08:46:17 getting SIGHUP? 08:47:48 szilard@build:~/projekt/fish-4.5.0/b$ ./fish 08:47:49 [Connection to zone 'build' pts/9 closed] 08:47:55 root@omnios:~# 08:48:34 I am starting it from bash, but setting it as login shell causes the same, so it is not bash related. 08:48:49 4.3.x works, but 4.4 and onwards is broken somewhere. 08:49:00 truss -fo truss.txt ./fish and then see whats in truss.txt ;) 08:49:15 This is 4.5.0, which is strange, because this version is advertised as illumos compatible. 08:49:53 it is long, let me paste it somewhere. 08:51:11 tsoome: https://paste.omnios.org/?fcf819cd274171f5#2ksr8rgR7F18Qescp5vc7qGZrA2AFxSxrCSpkMg8r2nf 08:52:32 17365/1: Received signal #1, SIGHUP, in pollsys() [caught] 08:54:58 it doesn1t tells too much, but at least I can paste this into a ticket upstream. 08:55:24 also note the write and ioctl calls with fd 0, 1, 2 are failing (it does not have access to stdin, stdout, stderr). 09:03:01 note, you get those signals after this write: write(1, "1B [ ? u1B [ > 0 q1B ] 1".., 83) = 83 -- it smells like terminal CSI sequence with printing 1B instead of ESC (0x1b) and then performing some error out procedure. 09:05:37 I pasted your comment aswell into the ticket, hope it is ok. 09:06:21 its only a guess based on the trace, but thats where things seem to happen and therefore something must be fishy there;) 09:13:54 :P 16:32:46 I have this: 16:32:50 file path=opt/ooce/include/event.h owner=root group=bin mode=0644 facet.devel=true 16:33:10 but I should move this file into include/event2/ fodler. Can I do this with local.mog? 18:38:18 szilard: I'd look closely at the ioctls immediately before the error - something job control related, perhaps.. 20:24:48 I failed to compile the latest zabbix :( 20:39:49 but I just noticed there is pre-built prometheus available on github 20:40:37 what problems are you seeing with the zabbix build? 20:49:34 It needs libevent. I have compiled it, but then zabbix's configure fails with missing symbols in my libevent. 20:52:48 For zabbix I use the same mechanism as for some other applications and build a temporary static libevent (2.1.12 if it matters) and point the build at that. 20:53:38 This is my attempt on libevent: https://github.com/omniosorg/omnios-extra/pull/1712 20:55:10 I took inspiration from the pkgsrc zabbix recipe (however thats a much older variant) 20:55:44 err, I mean they also have the recent libevent, but their zabbix version is old 20:58:15 Other thing: I came up with this SMF xml for prometheus's node-exporter: https://paste.omnios.org/?e46915fc941d0565#5WixQgvPRqqCFTe5Jz6DqvQz8Psn48qDncVtA1tqqyyy 20:58:44 I have imported and enabled it, but while it starts node-exporter, it shows the svc as offline. 20:59:45 actually it is offline*, next state supposed to be online, but it never switches to online. 20:59:56 Can somebody give me a hint, how to fix it? 21:00:17 check service dependencies svcs -d and -D 21:00:56 you probably are missing its config file or like... 21:01:25 nothing obvious: https://paste.omnios.org/?59af1a2e45614d5e#42X1Kxhx48gUhVAcvnyzEN9PN7e6ASLKrPY9WkVWRF5L 21:03:30 looks like its starting. anything in logs? 21:03:58 according to the logs it runs fine. 21:06:46 svcs -xv gives this hint https://illumos.org/msg/SMF-8000-C4 21:13:38 Couple of differences from my smf manifest: 21:13:55 In the start method section, I have timeout_seconds set to 60 not 0 21:14:36 In the startd framework, I have a duration of child, not contract 21:23:42 ptribble: with the mentioned changes and deleting/reimporting and enabling the svc I got "uninitialized" state 21:26:36 but reducing the timeout again to 0 while keeping the "child" i got it online. 21:55:53 As for the build, I would expect it to just work, and just tested 7.0.23 and 7.4.7 on Tribblix with a temporary libevent and they both built cleanly 21:59:24 I probably did something wrong with my libevent. 22:03:56 I see this: 22:04:05 configure:14487: checking for libevent support 22:04:05 configure:14676: gcc -o conftest -m64 -g -O2 -DZBX_OLD_SOLARIS -I/opt/ooce/include -rdynamic -L/opt/ooce/lib/amd64/ conftest.c -lpthread -lkvm -lm -lkstat -lsocket -lresolv -lev >&5 22:04:09 Undefined first referenced symbol in file 22:04:13 evthread_use_pthreads /var/tmp//ccvxayma.o 22:04:24 and 22:04:27 szilard@build:~/projekt/zabbix-7.0.23/b$ objdump -x /opt/ooce/lib/amd64/libevent_pthreads.so |grep evthread_use_pthreads 22:04:31 0000000000001b20 g F .text 00000000000000be evthread_use_pthreads 22:06:03 that link command line is missing -levent_pthreads 22:11:44 I know. I have tried to prefix the configure invocation with LDFLAGS="-levent_pthreads" but the lib is not in the searched directory, so I have attempted to add it as -L/opt/ooce/lib/amd64 but failed every time, no idea why really. 22:12:03 but it is getting late here, need to have some rest, I'll look into it tomorrow. 22:42:31 Something's awry, because that configure check you show is looking for libev not libevent