Bug 1082312

Summary: Mesa: get rid of libudev, openssl, bison, flex (and python*?) BuildRequires
Product: [openSUSE] openSUSE Tumbleweed Reporter: Stefan Dirsch <sndirsch>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P2 - High CC: msrb, mstaudt
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1082292    

Description Stefan Dirsch 2018-02-22 14:49:00 UTC
- libudev - not required since Mesa 13.0.0
 - openssl - not required since Mesa 17.0.0
 - third party (bison, flex, python*) - same as above

(python still needed because of src/gallium/drivers/r600/egd_tables.h missing in release tarball?)

> > python is required when building r600 from taballs with
> > 17.2/17.3/18.0 as src/gallium/drivers/r600/egd_tables.h is missing.
> >
> > https://bugs.freedesktop.org/show_bug.cgi?id=103911

(addressed upstream meanwhile)
Comment 1 Stefan Dirsch 2018-02-26 16:55:03 UTC
(In reply to Stefan Dirsch from comment #0)
> - libudev - not required since Mesa 13.0.0
>  - openssl - not required since Mesa 17.0.0
>  - third party (bison, flex, python*) - same as above
> 
> (python still needed because of src/gallium/drivers/r600/egd_tables.h
> missing in release tarball?)
> 
> > > python is required when building r600 from taballs with
> > > 17.2/17.3/18.0 as src/gallium/drivers/r600/egd_tables.h is missing.
> > >
> > > https://bugs.freedesktop.org/show_bug.cgi?id=103911
> 
> (addressed upstream meanwhile)

--------------------------------------------------------------------------------
Date: Mon, 26 Feb 2018 16:42:06 +0000
From: Emil Velikov <emil.l.velikov@gmail.com>
To: Stefan Dirsch <sndirsch@suse.de>
Cc: mesa-maintainers@lists.freedesktop.org, Jonathan Gray <jsg@jsg.id.au>
Subject: Re: [Mesa-maintainers] Downstream Mesa patches and quirks
[...]
>> > Thanks - missed that one. Patch done -  will do a full(~ish) run and
>> > send it out.
>>
>> What does that mean? python is not needed at all for building when using
>> release tarballs? That would be completely news to me.
>
> Haven't seen this patch yet in git. Any pointer available? Is it planned to
> release this fix with Mesa 18.0.0 final, so with this release tarball python
> is no longer need? I would really like to get rid of the python buildrequires.
>
Haven't send out those patches - got stuck fixing the gl.pc (the
Fedora/Arch patch that you carry) and ton of related bits.
Ideally it'll be in 18.0.0 final, but if not - keep an eye open on the
bugfix release notes.

-Emil
Comment 2 Stefan Dirsch 2018-02-28 15:12:11 UTC
Seems python is also needed for other bits, e.g.

[   42s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/mesa-18.0.0-rc4/src'
[   42s] updating git_sha1.h
[   42s] /usr/bin/env: 'python': No such file or directory
[   42s] make[1]: *** [Makefile:1154: git_sha1.h] Error 127

I guess it's just a wrong information, that python isn't needed for building release tarballs ...
Comment 3 Stefan Dirsch 2018-02-28 15:39:12 UTC
Wed Feb 28 14:57:00 UTC 2018 - sndirsch@suse.com

- removed more unneeded buildrequires: libudev, openssl, bison, 
  flex (boo#1082312)

... python needs to stay for now ...
Comment 5 Swamp Workflow Management 2018-02-28 16:10:11 UTC
This is an autogenerated message for OBS integration:
This bug (1082312) was mentioned in
https://build.opensuse.org/request/show/581007 Factory / Mesa