I have an autotools project (c++) which I build packages for on a launchpad ppa
Recently I've attempted to add a python package to that archive. I've tested it locally with bzr dh-make
and also using pbuilder
. Both work fantastically. On launchpad though no joy.
One of the builds logs is here
You'll see the problem is with the autogenerated install target. When it goes to install the python module it gives a warning and then re-links the module. I did a quick bit of research and it seemed completely ok
Here is the Makefile.am
with the added python module target:
The error in the build log on launchpad ends up saying:
/usr/bin/ld: cannot find -lvalhalla
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'valhalla.la' with the above command before installing it
Makefile:2265: recipe for target 'install-pyexecLTLIBRARIES' failed
make[3]: *** [install-pyexecLTLIBRARIES] Error 1
Whats odd is that not all of them failed. Maybe it is something to do with concurrency.
I noticed that the command it runs is make -j4 install
and then when relinking it seems to say can not find -lvalhalla
which is the name of the main library the project creates. It seems to be installing multiple things simultaneously perhaps this is the issue. Maybe I can override just the dh_auto_install
target in the debian/rules
file?
Looks like someone else can confirm the same as what I'm seeing in this list.