site  contact  subhomenews

Progress compiling in OE Dunfell release

September 20, 2020 — BarryK

I posted about commencing this a few days ago:

hey, how time goes when we are having fun! Though, I don't know if "fun" is the right word. Endless hours, into the wee small hours of the morning, fixing packages that won't compile.

As of this morning, have compiled 675 source packages. There are some failures, that did compile in earlier OE releases (Pyro and Thud). This is them:

binutils-static busybox-initramfs-static coreutils-static dictd-client e2fsprogs-static gdk-pixbuf0 gdmap gettext0-static gftp glib1 glipper-lite gnome-mpv gnupg1-static gpart gtk1 gtkhash gtklp gwhere idump-static ktsuss leafpad libcap-static make-static mped-static ndiswrapper ndiswrapper-exe netpbm nnn-static noice-static notecase patchutils pekwm pup-tools rman rubix xarchive xdialog xine-ui xsane xsoldier

The "-static" ones are only meant for when linking with musl, which haven't tried yet. Currently linking with glibc.

Changes in the build infrastructure are behind these failures. Glibc is 2.31, gcc is 9.3.0. There is only python3, no python2, which might be an issue with some source packages, that have python scripts in the build configuration.

Anyway, 41 failures and 675 successes is quite good. Some of those failures don't matter, I will try to fix those that do.

'pup-tools' is one failure that currently has me stumped. I have reported the problem to the BaCon forum:

Some of those failures are due to "-Werror" gcc flag. OE is very sophisticated and complex, and sometimes trying to configure something is like looking for a needle in a haystack. I think perhaps I can override by "CFLAGS += "-Wno-error"" in the package build recipe.

EasyOS Buster series, although built with Debian Buster (10.5) DEBs, also uses many packages that were compiled in the Pyro series of OE. No problem with that, they work, but thinking it is time to update everything in the latest OE.

EDIT 20200922:
I discovered that OE imposes "-Werror=format-security" on all package compiles. This is a new feature of OE, not in the Pyro and Thud releases, and resulted in several packages failing. I turned it off in each recipe, with this:

  CFLAGS_append = " -Wno-error=format-security "

Another issue has been tighter QA (Quality Assessment) checking after compiling and installing. In each recipe, if I don't know how to fix the QA failure, or haven't invested the time to do so, the offending QA can be disabled in each recipe, for example:

ERROR_QA_remove = "file-rdeps"

...that changes it to a warning rather than a failure. Continuing to have "fun"! 

Tags: easy