[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Building octave-interval-doc 3.1.0-3



On 09.01.2018 09:52, Rafael Laboissière wrote:
> * Oliver Heimlich <oheim@posteo.de> [2018-01-09 08:50]:
> 
>> Fortunately, builds for armel and mips64el are fixed now.  The build
>> for arch:all seems to be caused by the update to octave-pkg-dev.
>>
>> Please have a look at the buildd logs. It starts to look suspicious
>> from this point:
>>
>>
>>  make[1]: Entering directory '/<<PKGBUILDDIR> > '
>>  ## The following is a hack that simplifies the switch from
>>  ## CDBS into dh for packages using the building infrastructure
>>  ## of octave-pkg-dev.
>>  /usr/bin/make -k -f debian/rules pre-build
>>  make[2]: Entering directory '/<<PKGBUILDDIR> > '
>>  dh pre-build
>>  dh: Unknown sequence pre-build (choose from: binary binary-arch
>>  binary-indep build build-arch build-indep clean install install-arch
>>  install-indep)
>>  /usr/share/octave-pkg-dev/octave-pkg.mk:76: recipe for target
>>  'pre-build' failed
>>  make[2]: *** [pre-build] Error 255
>>  make[2]: Leaving directory '/<<PKGBUILDDIR> > '
>>  /usr/share/octave-pkg-dev/octave-pkg.mk:79: recipe for target
>>  'override_dh_auto_build' failed
>>  make[1]: [override_dh_auto_build] Error 2 (ignored)
>>  for pkg in octave-interval octave-interval-doc; do             \
>>     /usr/bin/make -k -f debian/rules build/$pkg ;    \
>>  done
>>  make[2]: Entering directory '/<<PKGBUILDDIR> > '
>>  dh build/octave-interval
>>  dh: Unknown sequence build/octave-interval (choose from: binary
>>  binary-arch binary-indep build build-arch build-indep clean install
>>  install-arch install-indep)
>>  /usr/share/octave-pkg-dev/octave-pkg.mk:76: recipe for target
>>  'build/octave-interval' failed
>>  make[2]: *** [build/octave-interval] Error 255
>>  make[2]: Leaving directory '/<<PKGBUILDDIR> > '
>>  make[2]: Entering directory '/<<PKGBUILDDIR> > '
>>  dh build/octave-interval-doc
>>  dh: Unknown sequence build/octave-interval-doc (choose from: binary
>>  binary-arch binary-indep build build-arch build-indep clean install
>>  install-arch install-indep)
>>  /usr/share/octave-pkg-dev/octave-pkg.mk:76: recipe for target
>>  'build/octave-interval-doc' failed
>>  make[2]: *** [build/octave-interval-doc] Error 255
>>  make[2]: Leaving directory '/<<PKGBUILDDIR> > '
> 
> The failures above are normal and are ignored by octave-pkg.mk. (I know,
> I know, they should not happen, but this is a bad side effect of the
> recent switch CDBS -> dh.) At any rate, the error that really makes the
> build fails is the following:
> 
> # Install documentation files
> /usr/share/octave-pkg-dev/install-docs
> dh_installdocs: No packages to build. Architecture mismatch: amd64,
> want: all any
> dh_installdocs: No packages to build. Architecture mismatch: amd64,
> want: all any
> ln: target 'debian/octave-interval/usr/share/doc/octave-interval/' is
> not a directory: No such file or directory
> /usr/share/octave-pkg-dev/octave-pkg.mk:88: recipe for target
> 'override_dh_auto_install' failed
> make[1]: *** [override_dh_auto_install] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> /usr/share/octave-pkg-dev/octave-pkg.mk:76: recipe for target
> 'binary-indep' failed
> make: *** [binary-indep] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess
> returned exit status 2
> 
> There is indeed a bug in octave-pkg-dev.  I will take a look at this as
> time permits.

Maybe this line should consider that d/rules builds two binary packages
and the correct directory might be $shr_dir/doc/$package-doc/

https://salsa.debian.org/pkg-octave-team/octave-pkg-dev/blob/master/install-docs#L16

Thanks for looking into this.

Oliver

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: