On 19.11.2020 17:25, tlaronde%polynum.com@localhost wrote:
On Thu, Nov 19, 2020 at 09:03:12PM +0530, Mayuresh wrote:On Thu, Nov 19, 2020 at 04:22:11PM +0100, Bodie wrote: > > I still wish to know whether strtab errors are necessarily from the > > pkg layer or is something in the base wrong - and in turn armv7.img is > > faulty. And any comment / confirmation on this from anyone?One of the strong point of NetBSD is that the system (including X11) can be crosscompiled. You should probably start by cross-compiling the system, including X11, for your target. I have done so for an Olimex board, without knowing anything about Arm at the beginning, and with the documentation/howtos available. Developers have made this quite easy. It will allow you to know if the problem is with the packages (that,unfortunately, for the huge majority, can not be cross-compiled) or withthe system. From your original message, invoking problem with glib if I remember correctly, I verified in the /etc/mtree/ spec files: glib is notprovided by the base system. So the best bet is that the problem is notwith the system but with the package (or one of its dependencies), since it takes a huge amount of time to compile, and it has not been updated after the correction of binutils, because this version was already considered obsolete. Hence the binaries are left other versions pre-dating the fixes. Note: I don't say that the packages compiled with the fixed toolchain will not exhibit the problem. I just say that since there is already this problem, that can cause linking problems, using these already problematic binaries is a dead end. HTH,
Yeah it does not seem even to compile, but true is that this is quite weak platform to compile on this (Orange Pi One) --- cairo-xlib-screen.lo ---In file included from /usr/pkgsrc/graphics/cairo/work/.x11-buildlink/include/freetype2/freetype/freetype.h:24:0, from /usr/pkgsrc/graphics/cairo/work/.x11-buildlink/include/fontconfig/fcfreetype.h:28,
from cairo-fontconfig-private.h:49, from cairo-xlib-screen.c:66:/usr/pkgsrc/graphics/cairo/work/.x11-buildlink/include/freetype2/freetype/config/ftconfig.h:44:10: fatal error: freetype/config/integer-types.h: No such file
or directory #include <freetype/config/integer-types.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. --- cairo-xlib-surface.lo --- --- cairo-xlib-screen.lo --- *** [cairo-xlib-screen.lo] Error code 1 make[3]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0/src --- cairo-xlib-surface.lo --- CC cairo-xlib-surface.lo cairo-xlib-surface.c: In function '_cairo_xlib_surface_create_internal':cairo-xlib-surface.c:1753:7: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations]
if (&d->visuals[k] == visual) { ^ cairo-xlib-surface.c: In function 'cairo_xlib_surface_create':cairo-xlib-surface.c:1876:6: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations]
if (visual == &depth->visuals[v]) ^ 1 error make[3]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0/src *** [all] Error code 2 make[2]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0/src 1 error make[2]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0/src *** [all-recursive] Error code 1 make[1]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0 1 error make[1]: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0 *** [all] Error code 2 make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0 1 error make: stopped in /usr/pkgsrc/graphics/cairo/work/cairo-1.16.0 *** Error code 2 Stop. make[2]: stopped in /usr/pkgsrc/graphics/cairo *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/graphics/cairo *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/firefox52 1774.57s real 1413.80s user 557.26s system $