pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trying to build exiv2-0.82.0nb3 on aarch64



I installed NetBSD-9.3 and pkgsrc 2023Q3, and get the same results.
I found that libstdc++.so.7 is in /usr/pkg/GCC10/lib/ 
GCC10 is required by exiv2
It also exists on another machine (amd64) which builds exiv2-0.82.0nb3 also from pkgsrc 2023Q3 without a hitch.  It may warn about libstdc++.so.7, I'm not sure.
Is libstdc++.so.7 even the real problem?  (I ask because I don't know)  That warning comes quite some time before compilation stops.  (about ten minutes on my PBP yesterday)

On Tuesday, December 5th, 2023 at 1:06 AM, Greg Troxel <gdt%lexort.com@localhost> wrote:

> Matthew Widup widupmm%proton.me@localhost writes:
> 
> > $ uname -a
> > NetBSD pbpwork 10.99.2 NetBSD 10.99.2 (PBPWORK) #3: Sun Feb 19 11:17:41 UTC 2023 root@pbpwork:/usr/obj/sys/arch/evbarm/compile/PBPWORK evbarm
> > $ ls -l /usr/lib/libstdc*
> > -r--r--r-- 1 root wheel 4777304 Aug 4 2022 /usr/lib/libstdc++.a
> > lrwxr-xr-x 1 root wheel 16 Aug 4 2022 /usr/lib/libstdc++.so -> libstdc++.so.9.0
> > lrwxr-xr-x 1 root wheel 16 Aug 4 2022 /usr/lib/libstdc++.so.9 -> libstdc++.so.9.0
> > -r--r--r-- 1 root wheel 2088768 Aug 4 2022 /usr/lib/libstdc++.so.9.0
> > -r--r--r-- 1 root wheel 5091208 Aug 4 2022 /usr/lib/libstdc++_p.a
> 
> 
> In that case, you should
> 
> Decide to run the netbsd-10 branch, or update to current -current.
> Nobody here pays attention to bugs on outdated versions of
> netbsd-current, and that looks to be someplace between 9 and 15 months
> old
> 
> Make sure you run postinstall fix (against the build you are running)
> 
> Make sure that every single one of your packages is built on the
> system you are using. That means no binary packages configured at
> all, because you are not running a version of the OS that anybody
> publishes binaries for. It probably means
> pkg_admin set rebuild=yes \*
> and pkg_rr, or delete them all and verify that /usr/pkg is empty.
> 
> 
> Also, you can use ldd to inspect libraries. I think it's likely you
> have a mix of libraries linking against what is near NetBSD 10 stable,
> and what is from something older.


Home | Main Index | Thread Index | Old Index