Building Samba 4.1.4 on debian 7.3 amd64 fails with the following message : [ 228/4139] Compiling ASN1 source4/heimdal/lib/asn1/kx509.asn1 /bin/sh: 1: /usr/local/src/samba-4.1.4/bin/asn1_compile: not found Waf: Leaving directory `/usr/local/src/samba-4.1.4/bin' Build failed: -> task failed (err #127): {task: HEIMDAL_KX509_ASN1_ASN1 kx509.asn1 -> asn1_kx509_asn1.x,kx509_asn1.hx,kx509_asn1-priv.hx} make: *** [install] Erreur 1 To solve the issue, I had to install the libasn1-8-heimdal package.
I guess this is was a dirty build tree issue, had the same a while a ago, this is obviously not a generic problem.
sorry, this is a gereric build bug. I can still reproduce this error with current master. The problem pops up if you run "make install" without "make" before. Running "make install" without "make" before should be completely okay.