[Debian-med-packaging] Requests for Sponsorship/upload (libzstd)

Andreas Tille andreas at an3as.eu
Mon Nov 14 07:23:45 UTC 2016


Hi Kevin,

On Mon, Nov 14, 2016 at 12:05:13PM +1100, Kevin Murray wrote:
> 
> > I: libzstd source: binary-control-field-duplicates-source field "section" in package libzstd1
> 
> This has confused me for ages. Removing this duplicate section field leads to
> the following during build:
> 
>   E: line [Section: libs] not found in debian/control section for libzstd1
>   Error occurred, aborting
>   debian/rules:19: recipe for target 'override_dh_install' failed
>   make[1]: *** [override_dh_install] Error 1
>   make[1]: Leaving directory '/build/libzstd-1.1.1'
>   debian/rules:12: recipe for target 'binary' failed
>   make: *** [binary] Error 2
>   dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
>   I: copying local configuration
>   E: Failed autobuilding of package
> 
> Removing `Section: libs` from the source package stanza at the top of d/control
> leads to the following lintian error:
> 
>   W: libzstd source: no-section-field-for-source
> 
> What precise action is required?

That's a problem of d-shlibs requiring section libs for the library
package.  You can perfectly ignore the lintian info (or fix d-shlibs).
In several cases I used "Section: science" for the source package if
it fits which also solves the issue.
 
Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list