Forgot to mention, this'll likely complain about the package not being available to armhf, so use the branch feature/unity8_arches, it's not much more than changing the arch field for many packages.
From the stackoverflow thread, it seems to be a good idea to look at the configure output. What I'm noticing is this:
checking for armv6-alpine-linux-muslgnueabihf-objdump... nochecking for objdump... objdump...checking for armv6-alpine-linux-muslgnueabihf-ar... nochecking for ar... ar...checking for armv6-alpine-linux-muslgnueabihf-strip... nochecking for strip... stripchecking for armv6-alpine-linux-muslgnueabihf-ranlib... nochecking for ranlib... ranlib
We do have cross compiling binutils in binutils-armhf, but do not make them available with crossdirect yet, maybe this would resolve the issue. But this is just a guess, I would have assumed that the binutils running with qemu should also work (even if slower).
I actually just meant applying the patch linked to the libtoolfile in the zeitgeist source directory, which makes the ../../libtool: line 2639: func__fatal_error: not found error go away and make it display the real error message (libtool: error: unsupported hardcode properties See the libtool documentation for more information. Fatal configuration error.)
The first mention in the libtool script is here:
hardcode_action=immediate
Further down it says:
# ### BEGIN LIBTOOL TAG CONFIG: CXX# The linker used to build libraries.LD=""...# How to hardcode a shared library path into an executable.hardcode_action=
This is weird, right? And there's a stackoverflow post with similar symptoms (mind the awesome unicorn on april fools day): https://stackoverflow.com/q/16942530
The solution from the SO post does not help, but it got me looking at configure's output again.
Without the patch, it says:
checking for armv6-alpine-linux-muslgnueabihf-g++... nochecking for armv6-alpine-linux-muslgnueabihf-c++... nochecking for armv6-alpine-linux-muslgnueabihf-gpp... nochecking for armv6-alpine-linux-muslgnueabihf-aCC... nochecking for armv6-alpine-linux-muslgnueabihf-CC... nochecking for armv6-alpine-linux-muslgnueabihf-cxx... nochecking for armv6-alpine-linux-muslgnueabihf-cc++... nochecking for armv6-alpine-linux-muslgnueabihf-cl.exe... nochecking for armv6-alpine-linux-muslgnueabihf-FCC... nochecking for armv6-alpine-linux-muslgnueabihf-KCC... nochecking for armv6-alpine-linux-muslgnueabihf-RCC... nochecking for armv6-alpine-linux-muslgnueabihf-xlC_r... nochecking for armv6-alpine-linux-muslgnueabihf-xlC... nochecking for g++... g++
So for some reason, it can't find armv6-alpine-linux-muslgnueabihf-g++ in the foreign arch chroot. It is in /native/usr/bin though, but we don't add that to the PATH, because then it wouldn't go through ccache. The symlink is provided by our ccache-cross-symlinks package though, and after installing that in the foreign chroot, configure doesn't fall back to g++ anymore. And also libtool doesn't have hardcode_action=, and doesn't run into the error anymore
With that being said, /usr/bin/autopoint seems to be hanging every other time I try to build zeitgeist (qemu related issue I guess), and right now I can't it to do a full build. But it definitively got past the error mentioned by @z3ntu once (which I was also able to reproduce). Would be great if you could try the patch!