Public bug reported:

Imported from Debian bug http://bugs.debian.org/796371:

Source: blockdiag
Version: 1.4.7-1
Severity: serious
Justification: fails to build from source
User: [email protected]
Usertags: ftbfs
X-Debbugs-Cc: [email protected]

Dear Maintainer,

blockdiag fails to build from source in unstable/amd64.

Poking a bit, blockdiag cannot import itself correctly and thus the
SVG/PDF/etc. drivers are not loaded during the testsuite:

    src/blockdiag/imagedraw/__init__.py:

    def init_imagedrawers(debug=False):
        for drawer in
        pkg_resources.iter_entry_points('blockdiag_imagedrawers'):

Not clear why.


  [..]
 
  ======================================================================
  FAIL:
  blockdiag.tests.test_generate_diagram.test_generate_with_separate(<function
  main at 0x7f9542cd68c0>, 'svg',
  
'/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/diagrams/separate1.diag',
  ['--separate'])
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
    runTest
      self.test(*self.arg)
    File
    
"/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/utils.py",
    line 68, in wrap
      raise AssertionError('Caught error')
  AssertionError: Caught error
  -------------------- >> begin captured stdout << ---------------------
  ---[ stderr ] ---
  ERROR: unknown format: SVG
  
  
  --------------------- >> end captured stdout << ----------------------
  
  ======================================================================
  FAIL: blockdiag.tests.test_generate_diagram.stdin_test
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
    runTest
      self.test(*self.arg)
    File
    
"/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/test_generate_diagram.py",
    line 117, in stdin_test
      assert ret == 0
  AssertionError
  
  ----------------------------------------------------------------------
  Ran 707 tests in 1.127s
  
  FAILED (SKIP=351, errors=61, failures=119)
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: cd
  
/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build;
  python2.7 -m nose --with-doctest 
  dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7
  --dir . returned exit code 13
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 25

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

** Affects: blockdiag (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: blockdiag (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #796371
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796371

** Changed in: blockdiag (Debian)
 Remote watch: None => Debian Bug tracker #796371

** Changed in: blockdiag (Ubuntu)
       Status: New => Triaged

** Changed in: blockdiag (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs

** Description changed:

  Imported from Debian bug http://bugs.debian.org/796371:
  
- Received: (at submit) by bugs.debian.org; 21 Aug 2015 15:16:24 +0000
- From [email protected] Fri Aug 21 15:16:24 2015
- X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
-       (2014-02-07) on buxtehude.debian.org
- X-Spam-Level: 
- X-Spam-Status: No, score=-4.7 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
-       DKIM_SIGNED,DKIM_VALID,FOURLA,FROMDEVELOPER,RCVD_IN_DNSWL_LOW,
-       RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no
-       version=3.4.0-bugs.debian.org_2005_01_02
- X-Spam-Bayes: score:0.0000 Tokens: new, 413; hammy, 150; neutral, 791; spammy,
-       0. spammytokens: hammytokens:0.000-+--xdebbugscc, 0.000-+--x-debbugs-cc,
-       0.000-+--python27, 0.000-+--dpkgsource, 0.000-+--python2.7
- Return-path: <[email protected]>
- Received: from out2-smtp.messagingengine.com ([66.111.4.26])
-       by buxtehude.debian.org with esmtps 
(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
-       (Exim 4.84)
-       (envelope-from <[email protected]>)
-       id 1ZSo3L-0001Hn-CQ
-       for [email protected]; Fri, 21 Aug 2015 15:16:24 +0000
- Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
-       by mailout.nyi.internal (Postfix) with ESMTP id 5F645200C2
-       for <[email protected]>; Fri, 21 Aug 2015 11:16:21 -0400 (EDT)
- Received: from web4 ([10.202.2.214])
-   by compute3.internal (MEProxy); Fri, 21 Aug 2015 11:16:21 -0400
- DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
-       messagingengine.com; h=content-transfer-encoding:content-type
-       :date:from:message-id:mime-version:subject:to:x-sasl-enc
-       :x-sasl-enc; s=smtpout; bh=ttHuIl1n/m2d5L+vYjoae3tN1+w=; b=i+Ycq
-       1BcoR8RQbt9TNQUepEMtI8+SLKGcPT0hevHTNlXGyObRb7TdAOq39QELF42puoNw
-       +1YDN5Ak3WKEk/fjKVybckGhQaKyx0JHVFXVkeiyXqzuClFAje4bH6KnQAAVGcLA
-       bnrB9Xb2RWrlceg9iLv4lYX09URInMHsdcG/UU=
- Received: by web4.nyi.internal (Postfix, from userid 99)
-       id C8BBB1168AB; Fri, 21 Aug 2015 11:16:20 -0400 (EDT)
- Message-Id: 
<1440170180.1114072.362366689.305f8...@webmail.messagingengine.com>
- X-Sasl-Enc: tiB18N24KQfwzZLkasWedKYFMF4hO9AwxWyc0WrlHT+6 1440170180
- From: Chris Lamb <[email protected]>
- To: [email protected]
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- Content-Type: multipart/mixed; boundary="_----------=_144017018011140720";
-  charset="utf-8"
- X-Mailer: MessagingEngine.com Webmail Interface - ajax-a8c50604
- Subject: blockdiag: FTBFS: unknown format: SVG
- Date: Fri, 21 Aug 2015 16:16:20 +0100
- Delivered-To: [email protected]
+ Source: blockdiag
+ Version: 1.4.7-1
+ Severity: serious
+ Justification: fails to build from source
+ User: [email protected]
+ Usertags: ftbfs
+ X-Debbugs-Cc: [email protected]
+ 
+ Dear Maintainer,
+ 
+ blockdiag fails to build from source in unstable/amd64.
+ 
+ Poking a bit, blockdiag cannot import itself correctly and thus the
+ SVG/PDF/etc. drivers are not loaded during the testsuite:
+ 
+     src/blockdiag/imagedraw/__init__.py:
+ 
+     def init_imagedrawers(debug=False):
+         for drawer in
+         pkg_resources.iter_entry_points('blockdiag_imagedrawers'):
+ 
+ Not clear why.
+ 
+ 
+   [..]
+  
+   ======================================================================
+   FAIL:
+   blockdiag.tests.test_generate_diagram.test_generate_with_separate(<function
+   main at 0x7f9542cd68c0>, 'svg',
+   
'/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/diagrams/separate1.diag',
+   ['--separate'])
+   ----------------------------------------------------------------------
+   Traceback (most recent call last):
+     File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
+     runTest
+       self.test(*self.arg)
+     File
+     
"/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/utils.py",
+     line 68, in wrap
+       raise AssertionError('Caught error')
+   AssertionError: Caught error
+   -------------------- >> begin captured stdout << ---------------------
+   ---[ stderr ] ---
+   ERROR: unknown format: SVG
+   
+   
+   --------------------- >> end captured stdout << ----------------------
+   
+   ======================================================================
+   FAIL: blockdiag.tests.test_generate_diagram.stdin_test
+   ----------------------------------------------------------------------
+   Traceback (most recent call last):
+     File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
+     runTest
+       self.test(*self.arg)
+     File
+     
"/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build/blockdiag/tests/test_generate_diagram.py",
+     line 117, in stdin_test
+       assert ret == 0
+   AssertionError
+   
+   ----------------------------------------------------------------------
+   Ran 707 tests in 1.127s
+   
+   FAILED (SKIP=351, errors=61, failures=119)
+   E: pybuild pybuild:262: test: plugin distutils failed with: exit
+   code=1: cd
+   
/home/lamby/temp/cdt.20150821160512.zOztix36L9/blockdiag-1.4.7/.pybuild/pythonX.Y_2.7/build;
+   python2.7 -m nose --with-doctest 
+   dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7
+   --dir . returned exit code 13
+   debian/rules:9: recipe for target 'build' failed
+   make: *** [build] Error 25
+ 
+   [..]
+ 
+ The full build log is attached.
+ 
+ 
+ Regards,
+ 
+ -- 
+       ,''`.
+      : :'  :     Chris Lamb
+      `. `'`      [email protected] / chris-lamb.co.uk
+        `-

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1502395

Title:
  blockdiag: FTBFS: unknown format: SVG

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blockdiag/+bug/1502395/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to