Conversation
* don't run autoconf during clean * stop clean rule from erroring on make clean -s
|
Are you sure about the "clean" changes? I have not noticed a problem with it, and it seems likely that the code was put in for a reason. |
|
The |
|
I should also mention that we currently build packages using pbuilder and it works just fine, eg: http://buildbot.linuxcnc.org/buildbot/builders/4031.deb-stretch-rtpreempt-amd64/builds/800 |
To me it seems bad form to run build operations in order to have generated files to clean up... |
Interesting.... because for me it fails because the configure step fails due to missing dependencies. Is your pbuilder environment populated with some of the dependencies already?? |
|
@Centuriondan and I spoke about this some on IRC and discovered a difference in how we build debs, that may be responsible for this problem. The LinuxCNC Buildbot uses this package build process:
In contrast, @Centuriondan tells me he uses git-buildpackage, using a process like this:
However, i just tried building our master branch (without @Centuriondan's PR) and it built fine. I ran these commands:
This seemed to build the dsc on the host machine (not in pbuilder), similar to the process our buildbot uses. @Centuriondan, please correct me if i'm wrong in that assessment. Building the dsc of course requires making clean, to ensure that any old build artifacts lying around in your working directory don't get accidentally mixed in to the clean pbuilder build. My build machine has the linuxcnc build dependencies installed, which is why the dsc build worked. A clean pbuilder environment is expected to not have these dependencies installed, so if you somehow build the dsc inside pbuilder it'll fail. This must be how @Centuriondan does his build, though i haven't been able to replicate it. The second commit in this PR ("fix clean routine") breaks The |
|
@SebKuzminsky Your right, it does build them locally first, but I don't have ALL the deps installed locally. (And shouldn't need them for a source build). FWIW, Devuan builds the source package from the source in a buildhost again without the deps being installed. It still seem wrong to me to have make clean running autoconf to generate files it needs to delete. That said, what I'll have to do to for Devuan will be a derivation from LinuxCNC's buildbot setup anyway. I'll resubmit the first commit as suggested. |
These commits: