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

[Git][lintian/lintian][master] 2 commits: Add build-depedency on debhleper ≥ 13.11.8~ if the test suite is run at build-time



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 6940c6a8
    by Axel Beckert at 2024-02-05T01:28:37+01:00
    Add build-depedency on debhleper ≥ 13.11.8~ if the test suite is run at build-time
    
  • c9b6c94c
    by Axel Beckert at 2024-02-05T01:28:52+01:00
    L::C::B::Corrupted::check_elf_issues(): Return immediately if file is no ELF file
    
    Thanks: Corvin Köhne via MR !486
    
    I implemented it differently than Corvin to avoid code duplication and
    to be more future proof in case non-ELF issues will be checked in the
    future with visit_*_files().
    

2 changed files:

Changes:

  • debian/control
    ... ... @@ -9,6 +9,7 @@ Build-Depends:
    9 9
      aspell <!nocheck>,
    
    10 10
      aspell-en <!nocheck>,
    
    11 11
      cdbs <!nocheck>,
    
    12
    + debhelper (>= 13.11.8~) <!nocheck>,
    
    12 13
      debhelper-compat (= 13),
    
    13 14
      default-jdk-headless | default-jdk <!nocheck>,
    
    14 15
      dh-elpa | bash (<< 4.4) <!nocheck>,
    

  • lib/Lintian/Check/Binaries/Corrupted.pm
    ... ... @@ -53,6 +53,8 @@ sub visit_installed_files {
    53 53
     sub check_elf_issues {
    
    54 54
         my ($self, $item) = @_;
    
    55 55
     
    
    56
    +    return unless $item->is_elf;
    
    57
    +
    
    56 58
         for (uniq @{$item->elf->{ERRORS} // []}) {
    
    57 59
             $self->pointed_hint('elf-error',$item->pointer, $_)
    
    58 60
               unless (
    


  • Reply to: