[oi-dev] newbie help needed build errors pkg nut

2023-11-08 Thread Stephan Althaus

Hello!

I would like to use nut with my APC UPS.

I tried apcupsd that is spamming broadcast messages around because of 
USB errors/reconnetcts...


The nut-scanner from the delivered package does not work because it 
doesn't find USB library..


#  nut-scanner -U
USB library not found. USB search disabled.
Cannot load SNMP library (/usr/lib/amd64/libnetsnmp.so.40.2.1) : 
ld.so.1: nut-scanner: fatal: usmHMACMD5AuthProtocol: can't find symbol. 
SNMP search disabled.


So i decided to update the package to 2.8.5. After patching the Makefile 
with version and SHA, deleting the 'old' patches which are not working 
anymore (maybe obsolete by now),

configure fails because neon lib is not found

--> how can i get to the test program used to detect neon and find the 
error ??


Disabling neon and pathcing the p5m files, i finally get to the point of 
failing dependencies


$ 
/home1/home/steven/src/oi/oi-userland/components/sysutils/nut/build/manifest-i386-nut-bins.depend 
has unresolved dependency '

    depend type=require fmri=__TBD pkg.debug.depend.file=libcrypto.so.3 \
    pkg.debug.depend.reason=usr/sbin/upsd pkg.debug.depend.type=elf \
    pkg.debug.depend.path=lib/64 \
    pkg.debug.depend.path=usr/gcc/13/lib/amd64 \
    pkg.debug.depend.path=usr/lib/64'.
...

where usr7lib/amd64 is missing (?)

--> Why is usr/lib/amd64 not in the search path ?


Kind regards,

Stephan


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] newbie help needed build errors pkg nut

2023-11-08 Thread Marcel Telka
On Wed, Nov 08, 2023 at 02:55:01PM +0100, Stephan Althaus wrote:
> So i decided to update the package to 2.8.5. After patching the Makefile
> with version and SHA, deleting the 'old' patches which are not working
> anymore (maybe obsolete by now),
> configure fails because neon lib is not found

Maybe this will solve your problem (should be integrated soon):
https://github.com/OpenIndiana/oi-userland/pull/14630

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] newbie help needed build errors pkg nut

2023-11-08 Thread Stephan Althaus

On 11/8/23 15:05, Marcel Telka wrote:

On Wed, Nov 08, 2023 at 02:55:01PM +0100, Stephan Althaus wrote:

So i decided to update the package to 2.8.5. After patching the Makefile
with version and SHA, deleting the 'old' patches which are not working
anymore (maybe obsolete by now),
configure fails because neon lib is not found

Maybe this will solve your problem (should be integrated soon):
https://github.com/OpenIndiana/oi-userland/pull/14630


Wow!

i don't think i would have been successful with this :-)


Thanks!



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] newbie help needed build errors pkg nut

2023-11-10 Thread Stephan Althaus

On 11/8/23 15:11, Stephan Althaus wrote:

On 11/8/23 15:05, Marcel Telka wrote:

On Wed, Nov 08, 2023 at 02:55:01PM +0100, Stephan Althaus wrote:
So i decided to update the package to 2.8.5. After patching the 
Makefile

with version and SHA, deleting the 'old' patches which are not working
anymore (maybe obsolete by now),
configure fails because neon lib is not found

Maybe this will solve your problem (should be integrated soon):
https://github.com/OpenIndiana/oi-userland/pull/14630


Wow!

i don't think i would have been successful with this :-)


Thanks!



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Hello!

I want to install nut 2.8.1 on my freshly updated system:

#pkg install -nv nut

I get an error:

. pkg install: The following packages all deliver driver actions to ugen:
.
. 
pkg://openindiana.org/system/management/nut/drivers/usb@2.8.1,5.11-2023.0.0.0:20231109T161519Z
. 
pkg://openindiana.org/driver/usb/ugen@0.5.11,5.11-2023.0.0.21867:20231110T011306Z

.
. These packages cannot be installed together. Any non-conflicting subset
. of the above packages can be installed.


-> can ugen be uninstalled savely ?

I did not find dependencies on my system..


Best regards,

Stephan




___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] newbie help needed build errors pkg nut

2023-11-10 Thread Marcel Telka
On Fri, Nov 10, 2023 at 09:10:06AM +0100, Stephan Althaus wrote:
> #pkg install -nv nut
> 
> I get an error:
> 
> . pkg install: The following packages all deliver driver actions to ugen:
> .
> . 
> pkg://openindiana.org/system/management/nut/drivers/usb@2.8.1,5.11-2023.0.0.0:20231109T161519Z
> . 
> pkg://openindiana.org/driver/usb/ugen@0.5.11,5.11-2023.0.0.21867:20231110T011306Z
> .
> . These packages cannot be installed together. Any non-conflicting subset
> . of the above packages can be installed.

This is known issue:
https://github.com/OpenIndiana/oi-userland/pull/14630#issuecomment-180306

> -> can ugen be uninstalled savely ?

No idea.

I recommend to wait until the problem is solved.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] newbie help needed build errors pkg nut

2023-11-11 Thread Gary Mills
On Fri, Nov 10, 2023 at 09:10:06AM +0100, Stephan Althaus wrote:
> 
> I get an error:
> 
> . pkg install: The following packages all deliver driver actions to ugen:
> .
> . 
> pkg://openindiana.org/system/management/nut/drivers/usb@2.8.1,5.11-2023.0.0.0:20231109T161519Z
> . 
> pkg://openindiana.org/driver/usb/ugen@0.5.11,5.11-2023.0.0.21867:20231110T011306Z
> .
> . These packages cannot be installed together. Any non-conflicting subset
> . of the above packages can be installed.

You don't need nut's ugen driver if the illumos ugen driver will do.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev