From a diary of AArch64 porter

One day I will go to software conference with an axe or a knife and will turn a place into slaughterhouse…

During last few weeks most of my work was related to fixing build issues on AArch64 platform. That’s what I do since September 2012. Just operating system changed from OpenEmbedded to Fedora. And there are days when I want to kill.

Kill who? Software developers. Some for shipping few years old copies of config.{guess,sub} files. Others for inviting crazy ways of abusing autoconf usage. My latest find was fakeroot.spec which has this precious jewel:

for type in sysv tcp; do
mkdir obj-$type
cd obj-$type
cat >> configure << 'EOF'
#! /bin/sh
exec ../configure "$@"
EOF
chmod +x configure
%configure \
  --disable-dependency-tracking \
  --disable-static \
  --libdir=%{_libdir}/libfakeroot \
  --with-ipc=$type \
  --program-suffix=-$type
make
cd ..
done

By default "%configure" macro updates config.{guess,sub} files. But it does it in place. So no luck here.

There are countless packages like that. Code for 3rd-party libraries bundled with code may have them as well.

So if your package uses config.{guess,sub} files then please take a look and do an update of them with new release.

4 thoughts on “From a diary of AArch64 porter

  1. Dmitry Eremin-Solenikov

    I don’t have such big experience as you do. However I still fill that despite all crazyness and uglyness, auto* still does their job. CMake is so-so. And from all build systems I completely hate scons. Supporting scons packages in embedded environment is always a nightmare for me.

  2. Pingback: From a diary of AArch porter – part II | Marcin Juszkiewicz

Comments are closed.

  1. […] previous part I wrote about code managing issues. Today I want to write more about packaging and other ugly […]