On Wed, Aug 29, 2018 at 01:34:53PM +1000, Brian May wrote:
> Santiago Vila <sanv...@debian.org> writes:
> 
> > make[3]: Entering directory '/<<BUILDDIR>>/heimdal-7.5.0+dfsg/lib/hcrypto'
> >   CC       test_rand.o
> > In file included from test_rand.c:42:
> > rand.h:46:10: fatal error: hcrypto/engine.h: No such file or directory
> >  #include <hcrypto/engine.h>
> >           ^~~~~~~~~~~~~~~~~~
> > compilation terminated.
> > make[3]: *** [Makefile:2060: test_rand.o] Error 1
> > make[3]: Leaving directory '/<<BUILDDIR>>/heimdal-7.5.0+dfsg/lib/hcrypto'
> > make[2]: *** [Makefile:565: all-recursive] Error 1
> > make[2]: Leaving directory '/<<BUILDDIR>>/heimdal-7.5.0+dfsg/lib'
> > make[1]: *** [Makefile:613: all-recursive] Error 1
> > make[1]: Leaving directory '/<<BUILDDIR>>/heimdal-7.5.0+dfsg'
> > dh_auto_build: make -j1 returned exit code 2
> > make: *** [debian/rules:7: build-indep] Error 2
> > dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
> > status 2
> > --------------------------------------------------------------------------------
> 
> I simply cannot reproduce this error.

I can reproduce it with
  dpkg-buildpackage -b -J1

> Are you sure you didn't accidentally delete the supplied
> ./lib/hcrypto/engine.h file?

This is copied during the build
  ./lib/hcrypto/engine.h -> ./include/hcrypto/engine.h

The problem is that the makefile dependencies do not ensure that this 
happens before files requiring it in ./include/hcrypto/ get built.

> Regards

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to