Bug 102012 - build failure after git_sha1 changes
Summary: build failure after git_sha1 changes
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-02 08:11 UTC by Fabio Pedretti
Modified: 2017-08-02 13:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2017-08-02 08:11:42 UTC
Build failure on every Ubuntu version.
Full log here:
https://launchpadlibrarian.net/331583006/buildlog_ubuntu-artful-amd64.mesa_17.3~git1708020730.f28c2e~gd~a_BUILDING.txt.gz

Error:
        Run 'make' to build Mesa

cd /<<PKGBUILDDIR>>/build/dri && /usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>/build/dri'
Making all in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/build/dri/src'
Traceback (most recent call last):
  File "../../../bin/git_sha1_gen.py", line 15, in <module>
    ], stderr=open(os.devnull, 'w'))
  File "/usr/lib/python2.7/subprocess.py", line 212, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Makefile:1145: recipe for target 'git_sha1.h.tmp' failed
make[2]: *** [git_sha1.h.tmp] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/dri/src'
Makefile:650: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build/dri'
debian/rules:186: recipe for target 'debian/stamp/x86_64-linux-gnu-build-dri' failed
make: *** [debian/stamp/x86_64-linux-gnu-build-dri] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Comment 1 Marko 2017-08-02 08:54:31 UTC
I'm using this patch as a workaround currently on Suse OBS:

https://patchwork.freedesktop.org/patch/169894/
Comment 2 Tobias Klausmann 2017-08-02 13:40:44 UTC
Pushed out to master as 44828e99f9b5f04f8e2f19dd671de4d67ee1f595.
Closing as fixed!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.