On 28/09/26 2:28 pm, Simon Richter wrote:
> Package: lintian
> Version: 2.122.0
> Severity: wishlist
> X-Debbugs-Cc: [email protected]
> 
> Hi,
> 
> the rust-derivre 0.3.12-1 package declares
> 
>     Section: FIXME-(packages."(name)".section)
> 
> which somehow made it into the archive. Lintian does not complain about
> this package.
> 
> Can we get a regex check /[a-z0-9-]+/ or /[a-z0-9]+(-[a-z0-9]+)*/ for
> this field, ideally with "error" severity?
This package source is not there in the archive anymore and I see no other way
to get it. I took up a sample package and changed the section in d/control to

"Section: FIXME-(packages."(name)".section)"

On building the package I can see a warning emitted and I suppose the tag is 
present
already and probably was emitted.

However, for rust-derivre 0.3.12-1 I do not see this in the UDD and as per code 
it should
have. I am not sure where the problem exactly could be (somewhere in UDD? 
actual lintian?)

Can you give me a way to reproduce this?

W: librust-apr-dev: unknown-section FIXME-(packages."(name)".section)
N: 
N:   The "Section:" field in this package's control file is not one of the
N:   sections in use on the ftp archive. Valid sections are currently admin,
N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
N:   text, utils, vcs, video, web, x11, xfce, zope.
N:   
N:   The section name should be preceded by either "contrib/", "non-free/" or
N:   "non-free-firmware/" if the package is in the according archive area.
N: 
N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
N:   details.
N: 
N:   Visibility: warning
N:   Show-Always: no
N:   Check: fields/section

Reply via email to