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 inventing 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 "$@"
chmod +x configure
%configure \
  --disable-dependency-tracking \
  --disable-static \
  --libdir=%{_libdir}/libfakeroot \
  --with-ipc=$type \
cd ..

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.

From a diary of AArch64 porter

4 thoughts on “From a diary of AArch64 porter

  • 26th October 2013 at 22:40

    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.

    • 27th October 2013 at 07:30

      I kind of like autotools cause it does it’s job. I am quite fine with outdated copies of gnu-config. But not with ugly tricks or multiple copies.

  • 27th October 2013 at 03:39

    Epic first sentence! I hear ya though!

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

Comments are closed.