Bug#740202: lintian: doesnt detect invalid arch in "Build-Depends: foo, foo [blub]"
tags 740202 + moreinfo
thanks
Hi Johannes,
> 	Build-Depends: foo, foo [blub]
> 
> lintian will not detect the invalid arch "blub"
I believe this was addressed (via your prompting) in dpkg some time ago:
  https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=d3d4348c31418fd2a392e148a880dce7db283d20
For example:
    dpkg-source: warning: can't parse dependency [invalid]
    dpkg-source: error: error occurred while parsing Build-Depends
    dpkg-buildpackage: error: dpkg-source --before-build . subprocess returned exit status 255
    
Given the time elapsed since the fix (which is in >= stretch via 1.18.5),
I don't think it's worth adding such a test to Lintian anymore.
Thoughts?
Regards,
-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
Reply to: