Re: ncurses /usr vs. /usr/local vs. undefined symbols

2024-06-18 Thread Moin Rahman


> On Jun 18, 2024, at 6:13 PM, Moin Rahman  wrote:
> 
> 
> 
>> On Jun 18, 2024, at 5:41 PM, Bjoern A. Zeeb  
>> wrote:
>> 
>> Hi,
>> 
>> I have no idea where to start but I know if I uninstall the ncruses port
>> the problem goes away.
>> 
>> I am trying to build a few packages on main/arm64 (from the last 24h)
>> and this is like the 5th port I run into this problem now:
>> 
>> ld: error: undefined symbol: newterm
>>>>> referenced by clamdtop.c
>>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
>> 
>> ld: error: undefined symbol: start_color
>>>>> referenced by clamdtop.c
>>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
>> 
>> ld: error: undefined symbol: nonl
>>>>> referenced by clamdtop.c
>>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
>> 
>> ld: error: undefined symbol: noecho
>>>>> referenced by clamdtop.c
>>>>> clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
>> 
>> .
>> 
>> 
>> # ldconfig -r | grep curses
>>   62:-lncursesw.9 => /lib/libncursesw.so.9
>>   289:-lncurses.6 => /usr/local/lib/libncurses.so.6
>> 
>> 
>> Something tells me something has changed but I don't even know where to
>> start digging.  I didn't see this the last time I did in March.
>> Is this a src or a ports problem, ncurses or even linker?
>> 
>> /bz
>> 
>> --
>> Bjoern A. Zeeb r15:7
> 
> Hi,
> 
> I did update ncurses sometimes in April or May. Can you confirm whether
> if this is happening after that?
> 
> Kind regards,
> Moin

My Goldfish memory just recollected that there is a long outstanding
issue regarding this. And it's mostly for libraries which exist in
both worlds. The linkers and libraries do not play well when the
build system mainly picks up the library from the ports and headers
from src or vice versa. It just goes wonky. Let me know the ports
which are affected and also if this is the case in head or quarterly.
I will have a look if something can be done.

Kind regards,
Moin


signature.asc
Description: Message signed with OpenPGP


Re: ncurses /usr vs. /usr/local vs. undefined symbols

2024-06-18 Thread Moin Rahman


> On Jun 18, 2024, at 5:41 PM, Bjoern A. Zeeb  
> wrote:
> 
> Hi,
> 
> I have no idea where to start but I know if I uninstall the ncruses port
> the problem goes away.
> 
> I am trying to build a few packages on main/arm64 (from the last 24h)
> and this is like the 5th port I run into this problem now:
> 
> ld: error: undefined symbol: newterm
 referenced by clamdtop.c
  clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
> 
> ld: error: undefined symbol: start_color
 referenced by clamdtop.c
  clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
> 
> ld: error: undefined symbol: nonl
 referenced by clamdtop.c
  clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
> 
> ld: error: undefined symbol: noecho
 referenced by clamdtop.c
  clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o:(main)
> 
> .
> 
> 
> # ldconfig -r | grep curses
>62:-lncursesw.9 => /lib/libncursesw.so.9
>289:-lncurses.6 => /usr/local/lib/libncurses.so.6
> 
> 
> Something tells me something has changed but I don't even know where to
> start digging.  I didn't see this the last time I did in March.
> Is this a src or a ports problem, ncurses or even linker?
> 
> /bz
> 
> --
> Bjoern A. Zeeb r15:7

Hi,

I did update ncurses sometimes in April or May. Can you confirm whether
if this is happening after that?

Kind regards,
Moin


signature.asc
Description: Message signed with OpenPGP


Re: OpenSSL 3.0 in the base system update

2023-06-09 Thread Moin Rahman


> On Jun 9, 2023, at 5:22 AM, Eugene Grosbein  wrote:
> 
> 09.06.2023 0:13, Ed Maste wrote:
> 
> [skip]
> 
>> We welcome feedback from anyone willing to test the work in progress.
> 
> Is it possible to grab some binary snapshot of 14-CURRENT to install into a 
> VM and test my port that fails build?
> If not, how do I build 14-CURRENT with OpenSSL 3.0 myself?
> 
> Eugene
> 
> 

At the moment there is no binary snapshot as the codebase has not yet
been merged into the Source of Truth. The best way to test your port
is either with poudriere or with a local jail. In case you are using
poudriere the following might be helpful for you:

git clone g...@github.com:khorben/freebsd-src.git openssl3-src
cd openssl3-src && git checkout khorben/openssl-3.0.9
poudriere jail -c -j MAINopenssl3 -b -m src=/openssl3-src -J 64

If you are the Eugen from gost-engine then I believe it should be a simple
upgrade to the latest 3.0.1 version.

And if you do not have enough firepower for running HEAD jail submit a
patch and assign it to me. I will look into it.

Kind regards,
Moin


signature.asc
Description: Message signed with OpenPGP