Processed: Bug#991533 marked as pending in lintian

2023-01-28 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 pending
Bug #991533 [lintian] lintian: please forget about required-field 
Standards-Version for udeb packages
Bug #988911 [lintian] regression: claims that udebs require a Standards-Version 
header
Added tag(s) pending.
Added tag(s) pending.

-- 
988911: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988911
991533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991533
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[Git][lintian/lintian][master] Lintian::Check::Files::SourceMissing: Ignore files in debian/missing-sources/

2023-01-28 Thread Axel Beckert (@abe)


Axel Beckert pushed to branch master at lintian / lintian


Commits:
81c4d841 by William Desportes at 2023-01-29T00:22:23+01:00
Lintian::Check::Files::SourceMissing: Ignore files in debian/missing-sources/

Fixes false positives in tags source-is-missing,
source-contains-prebuilt-javascript-object and friends.

Gbp-Dch: Full

- - - - -


1 changed file:

- lib/Lintian/Check/Files/SourceMissing.pm


Changes:

=
lib/Lintian/Check/Files/SourceMissing.pm
=
@@ -55,6 +55,9 @@ sub visit_patched_files {
 return
   unless $item->is_file;
 
+return
+  if $item->dirname =~ m{^debian/missing-sources/};
+
 # prebuilt-file or forbidden file type
 $self->pointed_hint('source-contains-prebuilt-wasm-binary', $item->pointer)
   if $item->file_type =~ m{^WebAssembly \s \(wasm\) \s binary \s module}x;



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/81c4d8416161a5e69004d22e8760b2f5d0e0e1e5

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/81c4d8416161a5e69004d22e8760b2f5d0e0e1e5
You're receiving this email because of your account on salsa.debian.org.




Bug#1024039: marked as done (Current default JDK should be updated in Lintian)

2023-01-28 Thread Debian Bug Tracking System
Your message dated Sun, 29 Jan 2023 00:38:51 +0100
with message-id <20230128233851.6wao5tqp645os...@sym.noone.org>
and subject line Re: Bug#1024039: Current default JDK should be updated in 
Lintian
has caused the Debian Bug report #1024039,
regarding Current default JDK should be updated in Lintian
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1024039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024039
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.115.3
Severity: normal

Dear Maintainer,

Recently, java-common was updated in unstable and then in testing, it changes
the default JDK in Debian from OpenJDK11 to OpenJDK17. Thus I think the line 21
in data/java/constants should be changed from
default-bytecode-version = 56
to
default-bytecode-version = 61
in order to avoid warnings like

--8<--
W: beast2-mcmc: incompatible-java-bytecode-format Java17 version (Class format: 
61)
N: 
N:   The package contains Java class files with a minimum requirement on the
N:   listed Java version. This Java version is not supported by the default JVM
N:   in Debian and is therefore likely to be a mistake.
N: 
N:   Please refer to Bug#673276 for details.
N: 
N:   Visibility: warning
N:   Show-Always: no
N:   Check: languages/java
N: 
--8<--

which I got with beast2-mcmc 2.7.1+dfsg-1. The package was successfully built
using OpenJDK17 and is now in unstable.
I also just got a similar warning with libjgraph-java, which should hit
unstable within a couple of hours.

Thanks for all the work on Lintian!

Cheers,

-- 
Pierre
--- End Message ---
--- Begin Message ---
Version: 2.116.1

Hi Pierre!

Pierre Gruet wrote:
> Recently, java-common was updated in unstable and then in testing, it changes
> the default JDK in Debian from OpenJDK11 to OpenJDK17. Thus I think the line 
> 21
> in data/java/constants should be changed from
> default-bytecode-version = 56
> to
> default-bytecode-version = 61
> in order to avoid warnings like
> 
> --8<--
> W: beast2-mcmc: incompatible-java-bytecode-format Java17 version (Class 
> format: 61)

Interestingly this did not show up in the test suite before I uploaded
2.116.0 on 17th of January 2023. It though did show up while testing
for the 2.116.1 upload. Hence I fixed with the last commit for 2.116.1
(https://salsa.debian.org/lintian/lintian/-/commit/76b92553) which I
uploaded on 25th of January including that fix.

Hence closing. Thanks for the bug report anyway and sorry for not
having noticed it in time!

Will update the changelog entry for 2.116.1 retroactively to mention
this bug report.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE--- End Message ---


Processed: Bug#1023155 marked as pending in lintian

2023-01-28 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 pending
Bug #1023155 [lintian] lintian: vcs-field-has-unexpected-spaces false positive
Added tag(s) pending.

-- 
1023155: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023155
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[Git][lintian/lintian][master] 2 commits: Add testsuite check for missing-pkg-php-tools-addon false positive with...

2023-01-28 Thread Axel Beckert (@abe)


Axel Beckert pushed to branch master at lintian / lintian


Commits:
1a794ba7 by Axel Beckert at 2023-01-28T23:18:17+01:00
Add testsuite check for missing-pkg-php-tools-addon false positive with 
dh-sequence-phpcomposer (see MR !438)

- - - - -
472de40c by William Desportes at 2023-01-28T23:23:58+01:00
missing-pkg-php-tools-addon: Allow dh-sequence-phpcomposer as alternative to 
pkg-php-tools-addon

(perltidy variant of MR !438)

- - - - -


7 changed files:

- lib/Lintian/Check/Languages/Php/Pear.pm
- + 
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/debian/control.in
- + 
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/fill-values
- + 
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/composer.json
- + 
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/foo.php
- + t/recipes/checks/languages/php/pear/phppear-composerok/eval/desc
- + t/recipes/checks/languages/php/pear/phppear-composerok/eval/hints


Changes:

=
lib/Lintian/Check/Languages/Php/Pear.pm
=
@@ -149,7 +149,8 @@ sub source {
 $self->pointed_hint('composer-package-without-pkg-php-tools-builddep',
 $composer_json->pointer)
   if defined $composer_json
-  && !$build_depends->satisfies('pkg-php-tools')
+  && !($build_depends->satisfies('pkg-php-tools')
+|| $build_depends->satisfies('dh-sequence-phpcomposer'))
   && !defined $package_xml
   && !defined $package2_xml;
 


=
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/debian/control.in
=
@@ -0,0 +1,20 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %], dh-sequence-phpcomposer, php-dev, dh-php
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${misc:Depends}, ${phppear:Debian-Depends}
+Recommends: ${phppear:Debian-Recommends}
+Breaks: ${phppear:Debian-Breaks}
+Description: ${phppear:summary}
+ This is a test package designed to exercise some feature or tag of
+ Lintian.  It is part of the Lintian test suite and may do very odd
+ things.  It should not be installed like a regular package.  It may
+ be an empty package.
+ .
+ ${phppear:description}


=
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/fill-values
=
@@ -0,0 +1,3 @@
+Testname: phppear-composerok
+Description: Composer phppear tests with dh-sequence-phpcomposer
+Skeleton: upload-non-native


=
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/composer.json
=
@@ -0,0 +1 @@
+{}


=
t/recipes/checks/languages/php/pear/phppear-composerok/build-spec/orig/foo.php
=


=
t/recipes/checks/languages/php/pear/phppear-composerok/eval/desc
=
@@ -0,0 +1,4 @@
+Testname: phppear-composerok
+Test-Against:
+ missing-pkg-php-tools-addon
+Check: languages/php/pear


=
t/recipes/checks/languages/php/pear/phppear-composerok/eval/hints
=



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/5400667211bf4af86265d579cfe743c7a43cc992...472de40cabc960117f18ca0cb7562840ed36fe18

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/5400667211bf4af86265d579cfe743c7a43cc992...472de40cabc960117f18ca0cb7562840ed36fe18
You're receiving this email because of your account on salsa.debian.org.