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

Colin Watson cjwatson at canonical.com
Tue Apr 2 12:44:56 UTC 2013


Public bug reported:

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-#.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: High
     Assignee: Colin Watson (cjwatson)
         Status: Triaged

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1163300

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1163300/+subscriptions




More information about the universe-bugs mailing list