• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/python/python-014-abort-on-failed-modules.patch
Thomas PetazzoniThomas Petazzoni committed 5476b7273f008 Jul 2014
Raw file
Source viewDiff to previous
 
1
Abort on failed module build
2
​
3
When building a Python module fails, the setup.py script currently
4
doesn't exit with an error, and simply continues. This is not a really
5
nice behavior, so this patch changes setup.py to abort with an error,
6
so that the build issue is clearly noticeable.
7
​
8
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
​
10
Index: b/setup.py
11
===================================================================
12
--- a/setup.py
13
+++ b/setup.py
14
@@ -281,6 +281,7 @@
15
             print "Failed to build these modules:"
16
             print_three_column(failed)
17
             print
18
+            sys.exit(1)
19
 
20
     def build_extension(self, ext):
21
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.