Re: [NEW] net/simplexmq and net/simplex-chat

David Uhden Collado <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
[email protected] wrote:
> The old version built and runs. Tests stalled in privsep, but since there
> is no network with that, this is probably expected.
> 
> The 7.0.0.11 gets stuck with this for me:
> 
> $ cd /usr/ports/net/simplexmq/ && make clean=all clean && make build package test ; make port-lib-depends-check check-shlib-syms
> 
>>> (SHA256) all files: OK
> ===>  Extracting for simplexmq-7.0.0.6
> make: getcwd: Permission denied
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2819 '/usr/ports/pobj/simplexmq-7.0.0.6/.extract_done': @cd /usr/ports/net/simple...)
> *** Error 2 in /usr/ports/net/simplexmq (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=simplexmq-7.0.0.6;  export _LOCKS_HELD...)
> --
> 
> 
> $ cd /usr/ports/net/simplex-chat/ && make clean=all clean && make build package test ; make port-lib-depends-check check-shlib-syms
> 
>>> (SHA256) all files: OK
> ===>  Extracting for simplex-chat-7.0.0.11
> make: getcwd: Permission denied
> *** Error 2 in /usr/ports/net/simplex-chat (/usr/ports/infrastructure/mk/bsd.port.mk:2819 '/usr/ports/pobj/simplex-chat-7.0.0.11/.extract_done')
> --
> 
> 
> I am probably doing something wrong.
> 
> Sorry if this was too much noise and for keeping this in drafts so long.
> 
> Hope this helps. Good luck.


There are many runtime issues aside from the tests. I'm not sure if it's 
a good idea to include the tests in the port since they require elevated 
privileges. You need to run them as root for them to work. I don't know 
if the build will be the same. I ran these commands to test the SimpleX 
ports:

Update cabal.inc:
make clean=all
make makesum
make cabal-inc

Build:
make clean=all
make makesum
make fake
make update-plist

Test:
make lib-depends-check
make test

I'm gradually fixing the issues with the tests, and until then, you can 
try this version:

https://github.com/daviduhden/wip-openbsd-ports/tree/main/simplexmq
https://github.com/daviduhden/wip-openbsd-ports/tree/main/simplex-chat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.