[mk-sbuild] syntax error in proxy configuration causes aptdaemon to fail to build

Bug #1163300 reported by Colin Watson on 2013-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
High
Colin Watson

Bug Description

One of my sbuild instances failed to build aptdaemon as follows:

ERROR: test_ (tests.test_configparser.ConfigurationParserTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/tests/test_configparser.py", line 75, in test_
    config = self.parser.parse(fd.readlines())
  File "/«PKGBUILDDIR»/aptdaemon/config.py", line 161, in parse
    (char, line))
ValueError: Unknown char '#' in line: '## proxy settings copied from mk-sbuild
'

This is due to incorrect comment syntax. APT configuration files use C/C++-style comments (// or /* ... */), not leading-#.

Colin Watson (cjwatson) on 2013-04-02
Changed in ubuntu-dev-tools (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.148

---------------
ubuntu-dev-tools (0.148) unstable; urgency=low

  * Upload to unstable after the Debian 7.0 release.

  [ Colin Watson ]
  * mk-sbuild: Fix comment syntax in proxy configuration (LP: #1163300).

 -- Benjamin Drung <email address hidden> Sun, 05 May 2013 19:10:19 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers