Bug 2554

Summary: ocaml-lablgtk2 needs a spec cleaning (switch BR from mesaglut-devel to freeglut-devel)
Product: Mageia Reporter: Philippe Didier <philippedidier>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fundawang, philippedidier, pmdenielou
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: ocaml-lablgtk2 CVE:
Status comment:

Description Philippe Didier 2011-08-28 14:07:49 CEST
After some discussion on dev mailing list, in order to switch from GLUT
(mesaglut) to freeglut in cauldron : this package needs to have its spec file
modified and need to be rebuilt with a modified BuilRequire .

see:
 https://bugs.mageia.org/show_bug.cgi?id=2412


This package needs mesa-common-devel as BuildRequire.... 
we can't know easily if it needs each of the components of this meta package
and so if it needs or not mesaglut-devel! and if it may be built with
freeglut-devel instead of mesaglut-devel...


Maybe in a first time is it necessary to write in extenso the BuildRequires in
its spec file
BR mesaegl-devel
BR mesagl-devel
BR mesaglu-devel
BR mesaglut-devel
BR mesaglw-devel
BR mesaglesv1-devel
BR mesaglesv2-devel

instead of BR mesa-common-devel

and then try to build without
mesaglut-devel (sometimes no more needed!)
...
and if necessary try to build 
with freeglut-devel
Philippe Didier 2011-08-28 14:07:59 CEST

CC: (none) => fundawang, philippedidier

Manuel Hiebel 2011-08-28 15:16:47 CEST

Keywords: (none) => Junior_job

Jani Välimaa 2011-08-29 19:49:34 CEST

Summary: this package needs a spec cleaning (switch BR from mesaglut-devel to freeglut-devel) => ocaml-lablgtk2 needs a spec cleaning (switch BR from mesaglut-devel to freeglut-devel)
Source RPM: ocamlablgtk2 => ocaml-lablgtk2

Comment 1 Philippe Didier 2011-09-23 18:41:59 CEST
Funda rebuilt it without any glut stuff

But ocaml-lablgl was not cleaned before... and ocaml-lablgtk2 has a BR on it...

Wait and see !
Comment 2 Malo Deniélou 2011-10-01 11:22:12 CEST
Hi,
Funda has cleaned ocaml-lablgl as well.
We should be able to close this bug then.
Best

CC: (none) => malo

Comment 3 Manuel Hiebel 2011-10-01 11:24:45 CEST
indeed thanks

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Philippe Didier 2011-10-01 13:53:56 CEST
(In reply to comment #2)
> Hi,
> Funda has cleaned ocaml-lablgl as well.
> We should be able to close this bug then.
> Best

I'm not sure this reply to the problem I pointed :

both ocaml-lablgl and ocaml-lablgtk2 had BuildRrequires mesa-common-devel

funda have substituted to mesa-common-devel an explicit list of the mesa*-devel required...

ocaml-lablgtk2 doesn't need any glut stuff that seems to be OK :)

BUT ocaml-lablgtk2 has BR: ocaml-lablgl 
and ocaml-lablgl has now BR: freeglut-devel and was built with it september 24th

BUT ocaml-lablgtk2 has been rebuilt (september 18th) BEFORE ocaml-lablgl was rebuilt with freeglut-devel

SO ocaml-lablgtk2 that doesn't need GLUT by itself has been built with a source (ocaml-labgl-devel) that was still built with mesaglut (not yet corrected)

MAYBE it's not a problem ?
MAYBE it's a problem ?


If nobody knows, MAYBE it would be better to rebuild packages having BR: ocaml-lablgl that were pushed before ocaml-lablgl was cleaned... 

ocaml-lablgtk2 is the only package having BR ocaml-lablgl ... it's not a huge work to push it again if necessary :)

that's all what I meant in comment1 that was perhaps too concise ...

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Malo Deniélou 2011-10-01 17:07:21 CEST
I understand. There is a need for a rebuild of lablgtk and its dependencies. 
Ocaml packages are very sensitive to that. I'm on it.
It however only affects the programs if they use the GtkGlArea module as far as I can guess. And it's not the case of ocamlgraph, unison, mldonkey or plplot (the only dependencies of lalbgtk so far).
Best
Comment 6 Philippe Didier 2011-10-02 20:19:17 CEST
this bug can be now closed as resolved fixed :
Funda rebuilt ocaml-lablgtk2 : 2011 october 2nd :
Revision 150919

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED