[oi-dev] Some packages did not build anymore in userland

Till Wegmueller toasterson at gmail.com
Wed Dec 22 23:27:49 UTC 2021


Hi Gary,

Can we have that Patch?

-Till

On 22.12.21 19:07, Gary Mills wrote:
> On Wed, Dec 22, 2021 at 08:58:12PM +0100, Alexander Jung wrote:
>>
>> i build the whole oi-userland from time to time, but in the last time there
>> are many packages they did not build anymore. I tried a fresh install and
>> fresh sync of oi-userland but it is the same.
>>
>> For example glib stops with this message ...
> [...]
>> /usr/gcc/9/bin/gcc -Igio/gresource.p -Igio -I../../glib-2.66.8/gio -Igmodule
>> -I../../glib-2.66.8/gmodule -I. -I../../glib-2.66.8 -Iglib
>> -I../../glib-2.66.8/glib -Igobject -I../../glib-2.66.8/gobject
>> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
>> -std=gnu99 -O3 -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS
>> -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation
>> -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast
>> -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length
>> -Werror=declaration-after-statement -Werror=format=2
>> -Werror=implicit-function-declaration -Werror=init-self
>> -Werror=missing-include-dirs -Werror=missing-prototypes
>> -Werror=pointer-arith -m32 -O3 -Wno-error=format-nonliteral
>> -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -MD -MQ
>> gio/gresource.p/gresource-tool.c.o -MF gio/gresource.p/gresource-tool.c.o.d
>> -o gio/gresource.p/gresource-tool.c.o -c
>> ../../glib-2.66.8/gio/gresource-tool.c
> 
> I've seen that behavior too.  It's a bug in ninja, but the developer
> refuses to accept complaints about it.  Ninja unconditionally defines
> _FILE_OFFSET_BITS=64 .  The bug affects only 32-bit builds, but
> sometimes you need a 32-bit build.  It's easily fixed on OI, by a
> patch that removes the offending statement.  There's almost no way to
> fix it when building with ninja, other than building some other way.
> 
> 



More information about the oi-dev mailing list