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

Re: Help packaging an octave toolbox



On 6/29/20 3:08 AM, Rafael Laboissière wrote:
Building the package fails with this error message:

   dh_installdocs -O--buildsystem=octave
   dh_installdocs: error: Cannot find (any matches for) "NEWS" (tried in ., debian/tmp)
   make: *** [debian/rules:5: binary] Error 25
   dpkg-buildpackage: error: debian/rules binary subprocess returned
   exit status 2


thanks, this is now fixed

https://salsa.debian.org/pkg-octave-team/octave-brain2mesh/-/commit/cbf642bb6b1ed065cb06ef947ae4dc8a9c31e130



I fixed the Lintian warning extended-description-line-too-long in package octave-jsonlab.

Package octave-iso2mesh still have many Lintian issues that should be fixed.


yes, I saw several warnings including  (picked 1 per issue type)

P: octave-iso2mesh source: source-contains-empty-directory tools/cork/
I: octave-iso2mesh source: testsuite-autopkgtest-missing
I: iso2mesh-tools: hardening-no-fortify-functions usr/bin/cgalmesh
I: iso2mesh-tools: hardening-no-bindnow usr/bin/cgalmesh
P: iso2mesh-tools: no-upstream-changelog
W: iso2mesh-tools: binary-without-manpage usr/bin/cgalmesh
I: iso2mesh-demos: extended-description-is-probably-too-short
X: octave-iso2mesh: package-contains-no-arch-dependent-files

I've fixed the "extended-description-is-probably-too-short" warnings, but had trouble with "no-upstream-changelog" and "package-contains-no-arch-dependent-files", wondering if you can give some pointers:

for the no-upstream-changelog warning, I've already renamed ChangeLog.txt to NEWS in the package, I also tried to add NEWS to debian/docs file, but it does not seem to silence this warning.

for the package-contains-no-arch-dependent-files warning, I previously had used Architecture: all for the octave-iso2mesh package, but lintian complained that it depends on iso2mesh-tools, which is arch-dependent (architecture:any). is there a way to fix this warning?

any other warnings that you think I should fix?


I think that packages zmat, octave-jsonlab e octave-jnifti are now in good shape.  If the other members of the DOG do not object, I will upload them to unstable.


great! if you don't mind, please let me know the instructions/commands for future maintenance of these packages, including backporting. Also, for example, if I wan to port these packages for other debian-based distributions, such as Ubuntu, is there a general workflow for that?

thanks again for your patience and all the helpful inputs!

Qianqian



Best,

Rafael

Reply to: