Bug#806108: singular: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

2016-04-29 Thread Santiago Vila
severity 806108 important
thanks

Hi. I *really* appreciate that you consider this has a greater severity
than "important", but I prefer to keep it important for two reasons:

* I don't have the "blessing" (so to speak) from the release managers
  to make these bugs RC yet.

* If this is serious, all the other similar bugs should be serious too.
  Here is the complete list of similar bugs:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=binary-indep;users=sanv...@debian.org


Well, those are my reasons, but of course if you insist that this must
be serious, go ahead. I promise that I will not downgrade it again,
otherwise it would be a very odd severity war indeed: Maintainer
raises severity and reporter downgrades it :-)

Thanks.



Bug#806108: singular: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

2015-11-24 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello All:


>>After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B"
>>work properly, this package will be suitable to be uploaded in
>>source-only form if you wish (you might want to try it).

I would be very glad to render it suitable to be uploaded in source-only form,
but singular appeared to be quite messy (and it is why singular have not been
around since oldoldstable):
1] so far so good :);
2] part of the independent files are not yet packaged;
3] I am going step by step here.

Thanks,
Jerome
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJWVSBXAAoJEIC/w4IMSybjIWcH/RSNqoVRe6M+0EMFwKalYoYR
pxycJ3KP8r4EEN1uLuxQYgA6ZGBmovW79/wenHlRedXmUVPRuTiXMQFhijE/4LuK
NavAO7ntsfOXTvig7BsVMxjZ6m2BgzCl9+D/cCU4oz0tEwJ1vX27GiBTMvsLp0T+
rowirxdQfGxrKIJlZHjI5JwBjyTvXpcYsmjsYaq9F+G+UOjmWa4SsrMnQwYJ/sUs
Eu81eBbfVdjTSbwbpmNoexsXvoj261fTwRGtg8ZweqGtu+sRZiijep4Iq89wcRdZ
a9AEmt5JSDGdmhupFm5CK+E9+Py3k0pm0dQ6zstENPgKdjKFzka9IqgbGfEGwZI=
=Gl/V
-END PGP SIGNATURE-



Bug#806108: singular: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

2015-11-24 Thread Santiago Vila
Package: src:singular
Version: 4.0.2-p2+ds-3
User: sanv...@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:


[...]
 fakeroot debian/rules binary-indep
dh binary-indep --with autoreconf --parallel
   dh_testroot -i -O--parallel
   dh_prep -i -O--parallel
   debian/rules override_dh_auto_install-indep
make[1]: Entering directory '/<>/singular-4.0.2-p2+ds'
make -C dox install-html TOPSRCDIR=/<>/singular-4.0.2-p2+ds 
DESTDIR=/<>/singular-4.0.2-p2+ds/debian/tmp
make[2]: Entering directory '/<>/singular-4.0.2-p2+ds/dox'
/bin/mkdir -p 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html
cp -rp -t 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html 
html/search
cp -p -t 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html 
html/*.html html/*.png
cp -p -t 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html 
html/doxygen.css html/stylesheet.css html/tabs.css
cp -p -t 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html 
html/dynsections.js html/svgpan.js
rdfind -outputname /dev/null -removeidentinode false -makesymlinks true 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html
Now scanning 
"/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html", 
found 2756 files.
Now have 2756 files in total.
Now removing files with zero size from list...removed 0 files
Total size is 241745107 bytes or 231 Mib
Now sorting on size:removed 2374 files due to unique sizes from list.382 files 
left.
Now eliminating candidates based on first bytes:removed 50 files from list.332 
files left.
Now eliminating candidates based on last bytes:removed 0 files from list.332 
files left.
Now eliminating candidates based on md5 checksum:removed 330 files from list.2 
files left.
It seems like you have 2 files that are not unique
Totally, 21 kib can be reduced.
Now making results file /dev/null
Now making symbolic links. creating 
Making 1 links.
symlinks -r -c -s -v 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html
absolute: 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search/functions_1b.js
 -> 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search/all_1b.js
changed:  
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search/functions_1b.js
 -> all_1b.js
rdfind -outputname /dev/null -removeidentinode false -makesymlinks true 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search
Now scanning 
"/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search",
 found 518 files.
Now have 518 files in total.
Now removing files with zero size from list...removed 0 files
Total size is 4849569 bytes or 5 Mib
Now sorting on size:removed 233 files due to unique sizes from list.285 files 
left.
Now eliminating candidates based on first bytes:removed 30 files from list.255 
files left.
Now eliminating candidates based on last bytes:removed 0 files from list.255 
files left.
Now eliminating candidates based on md5 checksum:removed 255 files from list.0 
files left.
It seems like you have 0 files that are not unique
Totally, 0 b can be reduced.
Now making results file /dev/null
Now making symbolic links. creating 
Making 0 links.
symlinks -r -c -s -v 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search
relative: 
/<>/singular-4.0.2-p2+ds/debian/tmp/usr/share/doc/singular/html/search/functions_1b.js
 -> all_1b.js
make[2]: Leaving directory '/<>/singular-4.0.2-p2+ds/dox'
make[1]: Leaving directory '/<>/singular-4.0.2-p2+ds'
   dh_install -i -O--parallel
cp: cannot stat 'debian/tmp/usr/include/singular/': No such file or directory
dh_install: cp --reflink=auto -a debian/tmp/usr/include/singular/ 
debian/libsingular4-dev-common//usr/include/ returned exit code 1
debian/rules:12: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2


Sorry not to have a fix, as I am reporting many bugs similar to
this one, but I can give some general hints:

* If all the arch-independent packages are dummy transitional packages
released with jessie, the easy fix is to drop them now.
 
* If not, debian/rules should be modified so that the binary-indep
target works in all cases, even when binary-arch is not used (this is
what the "Architecture: all" autobuilder does). For that:

* If you are using debhelper, you might want to use options -a and -i
for dh_* commands so that they do not act on packages they do not
have to act.

* Also, if you are using dh, the (independently) optional targets
override_dh_foo-arch and override_dh_foo-indep (for several values
of "foo") may be useful to