GNU bug report logs - #53823
Build fails for cpplint@1.4.5

Previous Next

Package: guix;

Reported by: Adam Maleszka <adam_maleszka <at> aol.com>

Date: Sun, 6 Feb 2022 15:37:02 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53823 in the body.
You can then email your comments to 53823 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-guix <at> gnu.org:
bug#53823; Package guix. (Sun, 06 Feb 2022 15:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Maleszka <adam_maleszka <at> aol.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 06 Feb 2022 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Maleszka <adam_maleszka <at> aol.com>
To: bug-guix <at> gnu.org
Subject: Build fails for cpplint <at> 1.4.5
Date: Sun, 06 Feb 2022 14:47:38 +0100
[Message part 1 (text/plain, inline)]
Since I moved to Guix distribution on the 1st of January (btw, good
move), compiling cpplint <at> 1.4.5 has always failed. More specifically,
errors are triggered by pytest during the check phase.

Some of relevant lines extracted from the log:

E   AssertionError: ('Lists differ: [\'src/chrome_content_renderer_client.cc:113[1733 chars], \'\'] != [\'pytest-cov: Failed to setup subprocess co[2001 chars], \'\']\n\nFirst differing element 0:\n\'src/chrome_content_renderer_client.cc:113[69 chars] [4]\'\n\'pytest-cov: Failed to setup subprocess co[219 chars]\\\'")\'\n\nSecond list contains 1 additional elements.\nFirst extra element 14:\n\'\'\n\nDiff is 2313 characters long. Set self.maxDiff to None to see it.', 'Failed check in /tmp/guix-build-cpplint-1.4.5.drv-0/tmpj8jqkp85/./samples/chromium-sample for command: /gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9/bin/python /tmp/guix-build-cpplint-1.4.5.drv-0/source/cpplint.py  --repository /tmp/guix-build-cpplint-1.4.5.drv-0/tmpj8jqkp85 src/*')

E   AssertionError: ('Lists differ: [\'src/libvlc.c:41:  Found C system header a[51270 chars], \'\'] != [\'pytest-cov: Failed to setup subprocess co[51538 chars], \'\']\n\nFirst differing element 0:\n\'src/libvlc.c:41:  Found C system header a[91 chars] [4]\'\n\'pytest-cov: Failed to setup subprocess co[219 chars]\\\'")\'\n\nSecond list contains 1 additional elements.\nFirst extra element 602:\n\'\'\n\nDiff is 56098 characters long. Set self.maxDiff to None to see it.', 'Failed check in /tmp/guix-build-cpplint-1.4.5.drv-0/tmpj8jqkp85/./samples/vlc-sample for command: /gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9/bin/python /tmp/guix-build-cpplint-1.4.5.drv-0/source/cpplint.py  --repository /tmp/guix-build-cpplint-1.4.5.drv-0/tmpj8jqkp85 src/*')

E   AssertionError: ('Lists differ: [\'src/pptable.cpp:0:  No copyright message [56843 chars], \'\'] != [\'pytest-cov: Failed to setup subprocess co[57111 chars], \'\']\n\nFirst differing element 0:\n\'src/pptable.cpp:0:  No copyright message [87 chars] [5]\'\n\'pytest-cov: Failed to setup subprocess co[219 chars]\\\'")\'\n\nSecond list contains 1 additional elements.\nFirst extra element 681:\n\'\'\n\nDiff is 60050 characters long. Set self.maxDiff to None to see it.', 'Failed check in /tmp/guix-build-cpplint-1.4.5.drv-0/tmpzqrghr8e/./samples/codelite-sample for command: /gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9/bin/python /tmp/guix-build-cpplint-1.4.5.drv-0/source/cpplint.py src/*')
-

E     AssertionError: '' != 'pytest-cov: Failed to setup subprocess co[221 chars]")\n'
E     + pytest-cov: Failed to setup subprocess coverage. Environ: {'COV_CORE_SOURCE': 'cpplint', 'COV_CORE_CONFIG': ':', 'COV_CORE_DATAFILE': '/tmp/guix-build-cpplint-1.4.5.drv-0/source/.coverage'} Exception: ModuleNotFoundError("No module named 'coverage'")

A common message for all of these errors is that pytest-cov failed to
setup sub-process, probably, due to the lack of the 'coverate' module
(even though the python-pytest-cov package is listed in native-inputs).

I have tested this on several machines (all of them x86_64-linux) and on
a fresh system and the errors appear the same everywhere. I've attached
the complete log to this post.

[5kkhzhpcjrifyzgrji15q00snvb8c6-cpplint-1.4.5.drv.gz (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#53823; Package guix. (Sun, 06 Feb 2022 17:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 53823 <at> debbugs.gnu.org (full text, mbox):

From: Adam Maleszka <adam_maleszka <at> aol.com>
To: 53823 <at> debbugs.gnu.org
Subject: Build fails for cpplint <at> 1.4.5
Date: Sun, 06 Feb 2022 18:41:47 +0100
[Message part 1 (text/plain, inline)]
I have just found a workaround. Simply add --without-tests=cpplint to
you command, for example:

guix package -i emacs-flycheck-cpplint --without-tests=cpplint

However, it is not a solution at all, it is still a workaround.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <marius <at> gnu.org>:
You have taken responsibility. (Wed, 09 Feb 2022 23:30:02 GMT) Full text and rfc822 format available.

Notification sent to Adam Maleszka <adam_maleszka <at> aol.com>:
bug acknowledged by developer. (Wed, 09 Feb 2022 23:30:02 GMT) Full text and rfc822 format available.

Message #13 received at 53823-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Adam Maleszka <adam_maleszka <at> aol.com>, 53823-done <at> debbugs.gnu.org
Subject: Re: bug#53823: Build fails for cpplint <at> 1.4.5
Date: Thu, 10 Feb 2022 00:28:55 +0100
[Message part 1 (text/plain, inline)]
Adam Maleszka via Bug reports for GNU Guix <bug-guix <at> gnu.org> skriver:

> Since I moved to Guix distribution on the 1st of January (btw, good
> move), compiling cpplint <at> 1.4.5 has always failed. More specifically,
> errors are triggered by pytest during the check phase.

Fixed in 6ff0a6d53a4f5c3faa4a4b6503dab47ea2cc2426, thanks!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Mar 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.