Debian Bug report logs - #1031171
Check/ContinuousIntegration/Salsa.pm crashes on invalid yaml

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Lucas Nussbaum <[email protected]>

Date: Sun, 12 Feb 2023 17:39:02 UTC

Severity: important

Found in version lintian/2.115.3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1031171; Package lintian. (Sun, 12 Feb 2023 17:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sun, 12 Feb 2023 17:39:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Lucas Nussbaum <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: lintian: error with continuous-integration/salsa on source:libvcflib_1.0.7+dfsg-2
Date: Sun, 12 Feb 2023 19:38:17 +0100
Package: lintian
Version: 2.115.3
Severity: important

Hi,

I noticed that lintian fails when checking that package.

root@ip-10-84-234-37:/tmp# lintian libvcflib_1.0.7+dfsg-2.dsc
running with root privileges is not recommended!
Warning in processable libvcflib_1.0.7+dfsg-2.dsc: YAML::XS::Load Error: The problem:

    did not find expected '-' indicator

was found at document: 1, line: 7, column: 3
while parsing a block collection at line: 3, column: 3
warning: cannot run continuous-integration/salsa check on package source:libvcflib_1.0.7+dfsg-2
skipping check of source:libvcflib_1.0.7+dfsg-2
root@ip-10-84-234-37:/tmp# echo $?
1

Best,

Lucas



Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#1031171; Package lintian. (Mon, 02 Sep 2024 16:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Louis-Philippe Véronneau <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Mon, 02 Sep 2024 16:45:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Louis-Philippe Véronneau <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: lintian: error with continuous-integration/salsa on source:libvcflib_1.0.7+dfsg-2
Date: Mon, 2 Sep 2024 12:40:23 -0400
retitle 1031171 Check/ContinuousIntegration/Salsa.pm crashes on invalid yaml
thanks

This issue is caused by invalid yaml in the debian/salsa-ci.yml file:

=================================================================================
---
include:
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

# Does not build on i386
variables:
  SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
=================================================================================

That "SALSA_CI..." variable line should star with a - and it does not.

Of course, lintian shouldn't just error and skip the test.

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   [email protected] / veronneau.org
  ⠈⠳⣄



Changed Bug title to 'Check/ContinuousIntegration/Salsa.pm crashes on invalid yaml' from 'lintian: error with continuous-integration/salsa on source:libvcflib_1.0.7+dfsg-2'. Request was from Louis-Philippe Véronneau <[email protected]> to [email protected]. (Mon, 02 Sep 2024 16:45:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:16:15 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.