Bug #855
closedOn Debian, autoconf apps need PKG_CONFIG vars properly set.
100%
Description
Autoconf-based apps are currently built outside the docker image used by the pibox dev build.
On Fedora, app builds were fine with just setting PKG_CONFIG_SYSROOT_DIR in the cross.sh build script.
On Debian 11 this is not sufficient. The following additional variables must be set when calling ./configure.
PKG_CONFIG_PATH="" PKG_CONFIG_LIBDIR=${STAGING_DIR}/usr/lib/pkgconfig:${STAGING_DIR}/usr/share/pkgconfig
See: https://autotools.io/pkgconfig/cross-compiling.html
All apps currently built for any mode by any metabuild (pibox and ironman) need to have this update.
The update should be applicable to other distros as well.
After reviewing all pkglist.* files for both pibox and ironman, the following app builds need to be reviewed
for use of cross.sh, and updated if found.
appmgrbluez(not autoconf)ironman+gpioironman+ironmancfgironman+launcherironman+monitorironman+sensorsironman+wwwlauncherlcdshow(not autoconf)libpiboxmjpg-streamer(not autoconf)monkey(not autoconf)musicfeomxplayer(not autoconf)piboxdpiboxwww(not autoconf)picampiclockpidialerpinetpipicspisentrycfgpixmpmsuipsplashvideofexeoncfg
Note: if you start the docker image first, then start a screen session inside it (to run cdtools) you could do the app builds there, but the docker image is Debian anyway.
Updated by Hammel almost 3 years ago
- Description updated (diff)
- % Done changed from 0 to 30
Updated by Hammel almost 3 years ago
- Description updated (diff)
- % Done changed from 30 to 80
All apps are updated, where needed. Need to do a media metabuild to verify the majority of them before closing.
Updated by Hammel almost 3 years ago
- % Done changed from 80 to 60
Actually, they aren't all updated. Just the pibox meta referenced apps are updated. I still need to do the ironman meta referenced apps.
Updated by Hammel almost 3 years ago
All of pibox metabuild system builds are build-tested.
Now to test ironman metabuild.
Updated by Hammel almost 3 years ago
- Description updated (diff)
- % Done changed from 60 to 80
All ironman projects test built manually. Now testing metabuild.