Greetings Adrian,

thanks for your build work.

On Fri, Apr 20, 2018 at 10:05:25AM +0300, Adrian Bunk wrote:
Source: msxpertsuite
Version: 5.0.0-1
Severity: serious

$ dpkg-buildpackage -A
...
make[1]: Entering directory 
'/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual'
make[2]: Entering directory '/tmp/msxpertsuite-5.0.0/debian/build'
make[3]: Entering directory '/tmp/msxpertsuite-5.0.0/debian/build'
make[3]: Entering directory '/tmp/msxpertsuite-5.0.0/debian/build'
Scanning dependencies of target copy-massxpert-doc.pdf
make[3]: Leaving directory '/tmp/msxpertsuite-5.0.0/debian/build'
make[3]: Leaving directory '/tmp/msxpertsuite-5.0.0/debian/build'
make[3]: Entering directory '/tmp/msxpertsuite-5.0.0/debian/build'
make[3]: Entering directory '/tmp/msxpertsuite-5.0.0/debian/build'
LaTeX-build the massxpert user manual
LaTeX-build the massxpert user manual
make[4]: Entering directory 
'/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual'
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
make[4]: Entering directory 
'/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual'
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
make[4]: Leaving directory 
'/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual'
make[4]: Leaving directory 
'/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual'
Copy the pdf file to the source doc dir.
Make massxpert-user-manual
make[3]: Leaving directory '/tmp/msxpertsuite-5.0.0/debian/build'
Built target massxpert-user-manual
Error copying file 
"/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual/massxpert-doc.pdf"
 to "/tmp/msxpertsuite-5.0.0/massxpert/user-manual".
make[3]: *** 
[massxpert/user-manual/CMakeFiles/copy-massxpert-doc.pdf.dir/build.make:58: 
massxpert/user-manual/CMakeFiles/copy-massxpert-doc.pdf] Error 1

that is a very odd failure, that of course I do not have on my unstable chroot
(sbuild with lintian and piuparts did not complain).

The error is a failure to copy the massxpert-doc.pdf user manual from the build
directory (LaTeX sources) to the top source directory (sub dir
massxpert/user-manual). During build, the top source directory is not available
on your setup ?

Odd, because I see this:

Error copying file 
"/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual/massxpert-doc.pdf"
 to "/tmp/msxpertsuite-5.0.0/massxpert/user-manual".

which means that the build directory is a debian/ subdirectory itself located in
the top source directory:

file to copy : 
/tmp/msxpertsuite-5.0.0/debian/build/massxpert/user-manual/build-user-manual/massxpert-doc.pdf
destination:   /tmp/msxpertsuite-5.0.0/massxpert/user-manual

We see that destination should be available to receive the file.

Can you provide more insight into this copy error? As I tell you, that error
does not happen on my unstable chroot, running dpkg-buildpackage -A exactly the
same. This is what I got 2 minutes ago (see the parallel with your output
excerpt):

make[1]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual'
make[2]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
make[3]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
make[3]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
Scanning dependencies of target copy-massxpert-doc.pdf
make[3]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
make[3]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
make[3]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
make[3]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
LaTeX-build the massxpert user manual
make[4]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual/build-user-manual'
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
LaTeX-build the massxpert user manual
make[4]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual/build-user-manual'
make[4]: Entering directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual/build-user-manual'
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
make[4]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual/build-user-manual'
Copy the pdf file to the source doc dir.
Make massxpert-user-manual
make[3]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
Built target massxpert-user-manual
make[3]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
Built target copy-massxpert-doc.pdf
make[2]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build'
Install the project...
-- Install configuration: "debug"
-- Installing: 
/home/rusconi/devel/msxpertsuite/development/debian/tmp-indep/usr/share/doc/msxpertsuite/massxpert-doc.pdf
make[1]: Leaving directory 
'/home/rusconi/devel/msxpertsuite/development/debian/build/massxpert/user-manual'

And the build finishes successfully the package creation step.

Cheers,
Filippo

--
⢀⣴⠾⠻⢶⣦⠀  Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁   Scientist at CNRS
⢿⡄⠘⠷⠚⠋⠀   Debian Developer
⠈⠳⣄⠀⠀⠀⠀  http://msxpertsuite.org
         http://www.debian.org

Reply via email to