Bug 233782

Summary: Review Request: vegastrike - 3D OpenGL spaceflight simulator
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: Package ReviewAssignee: Gwyn Ciesla <gwync>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Package Reviews List <fedora-package-review>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: chris.stone, lemenkov, peter
Target Milestone: ---Flags: gwync: fedora-review+
wtogami: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-10 21:46:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 233523    
Bug Blocks: 233783    

Description Hans de Goede 2007-03-24 23:49:11 UTC
Spec URL: http://people.atrpms.net/~hdegoede/vegastrike.spec
SRPM URL: http://people.atrpms.net/~hdegoede/vegastrike-0.4.3-1.fc7.src.rpm
Description:
Vega Strike is a GPL 3D OpenGL Action RPG space sim that allows a player to
trade and bounty hunt. You start in an old beat up Wayfarer cargo ship, with
endless possibility before you and just enough cash to scrape together a life.
Yet danger lurks in the space beyond.

Comment 1 Hans de Goede 2007-03-24 23:51:20 UTC
This requires vegastrike-data, review bug 233783


Comment 2 Hans de Goede 2007-03-25 08:35:20 UTC
Note to reviewers, this cannot be build out of the box on Fedora 7 test / devel
/  Rawhide due to boost not being rebuild against the new python 2.5 in devel,
see bug 233523. On i386 you can workaround this by downloading the latest srpm
for boost and rebuilding it, on x86_64 you will need to patch boost before
rebuilding with the patch attached to bug 233523 .

Comment 3 Hans de Goede 2007-03-27 19:09:46 UTC
(In reply to comment #2)
> Note to reviewers, this cannot be build out of the box on Fedora 7 test / devel
> /  Rawhide due to boost not being rebuild against the new python 2.5 in devel,
> see bug 233523. On i386 you can workaround this by downloading the latest srpm
> for boost and rebuilding it, on x86_64 you will need to patch boost before
> rebuilding with the patch attached to bug 233523 .

As can be read in bug 233523 Boost-1.33.1-12 which has this fixed should show up
in rawhide soon.


Comment 4 Peter Gordon 2007-03-31 17:54:25 UTC
I'd be happy to review this package and (and the data package) for you. I'll
post a full review later today.

Comment 5 Peter Gordon 2007-03-31 22:11:35 UTC
Hans, this package fails to build in Mock (Devel/x86_64) during the :

-----
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... no
configure: error: GLUT library not found or too old version. 3.7 (beta) or later
required.
error: Bad exit status from /var/tmp/rpm-tmp.74454 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.74454 (%build)

Error building package from vegastrike-0.4.3-1.fc7.src.rpm, See build log
ending
DEBUG: Executing /usr/sbin/mock-helper umount
/var/lib/mock/fedora-development-x86_64-core/root/proc
DEBUG: Executing /usr/sbin/mock-helper umount
-----

This seems to be a missing BuildRequires on freeglut-devel. 

Comment 6 Hans de Goede 2007-04-01 06:22:16 UTC
Yes, it seems so, could you be so kind to add that yourself (I'll fix ir
eventually) and continue with the review. I think there might be more issues
that need fixing and I don't want to go through a zillion iterations, I would
rather have a complete list of issues and fix them all at once.

Thanks!


Comment 7 Hans de Goede 2007-04-20 11:41:08 UTC
Peter, any chance we could get some movement with this? If you don't have the
time thats ok, but then please say so, then I can find another reviewer.


Comment 8 Peter Gordon 2007-04-20 19:29:05 UTC
I'm incredibly sorry; I completely forgot about these review. (I am SUCH A FART!
>.<)

Thanks for the reminder; I'll get to doing these tomorrow morning. 




Comment 9 Peter Gordon 2007-04-22 23:23:55 UTC
Hmm. Hans,

I added "BuildRequires: freeglut-devel" to the spec file and rebuilt the SRPM,
then ran that through mock; and it still fails with that above error. Is there
another package that needs to be set as a dependency?

Alternatively, freeglut is only at version 2.4 in Fedora Development, which
makes this check currently fail. Can it be disabled? 

Thanks.

Comment 10 Hans de Goede 2007-04-23 20:28:08 UTC
(In reply to comment #9)
> Hmm. Hans,
> 
> I added "BuildRequires: freeglut-devel" to the spec file and rebuilt the SRPM,
> then ran that through mock; and it still fails with that above error. Is there
> another package that needs to be set as a dependency?
> 

Yes, a couple actually (my bad) here is a fixed version:
Spec URL: http://people.atrpms.net/~hdegoede/vegastrike.spec
SRPM URL: http://people.atrpms.net/~hdegoede/vegastrike-0.4.3-2.fc7.src.rpm

This new version also includes a patch to make it keep the python system dirs in
its import path, so that the builtin dir can be removed from the data package.


Comment 11 Peter Gordon 2007-05-01 01:28:21 UTC
Hi Hans. Just so you don't think I've up and vanished or anything (^_^), I've
been very busy with schoolwork and whatnot recently; but I'm working my way
through the review and should finish it within the next couple of days.

Thanks.

Comment 12 Peter Gordon 2007-05-05 04:14:03 UTC
Hi, Hans.

Schoolwork has caught up with me quicker than I expected it; and I simply don't
have the time to do the review any longer. Sorry about this. :(

I'd greatly appreciate someone picking up the review from 0.4.3-2 that Hans
posted in comment #10. Moving myself to the CC.

Thanks for your understanding.

Comment 13 Gwyn Ciesla 2007-05-08 18:07:43 UTC
I can take over.  Downloading SRPM, SPEC.  Downloading SPEC for vegastrike-data.
 Downloading SROM for vegastrike-daBUFFERING[---40%.....]

Comment 14 Gwyn Ciesla 2007-05-09 11:32:38 UTC
Builds.  rpmlint clean with one exception:

W: vegastrike patch-not-applied Patch4: vegastrike-0.4.2-opengl-fix.patch
A patch is included in your package but was not applied. Refer to the patches
documentation to see what's wrong.

Looks like the line including the patch needs to be commented out.

Meets naming guidelines.
Spec name is good.
Meets packaging guidelines. (albeit with some interesting scriptlets)

License is good, but COPYING needs to be included in %doc, along with AUTHORS,
DOCUMENTATION, etc.

Spec is legible American English.
Source does not match upstream tarball, but there is no such thing, and spec
includes tar.bz2 generation steps.  Hence, no URL.
Builds on fc6/i386.
More coming. . .


Comment 15 Gwyn Ciesla 2007-05-09 12:58:37 UTC
I think the BRs are OK, but I'm building in mock to test.  Taking awhile. .. 

No locales, shared libraries.
Not relocatable.
No ownership issues evident.
Permissions, defattr OK.
%clean present and correct.
Macros look OK.
No overly large docs.
No header files or static libraries.
No pkgconfig
No versioned .so
No devel package.
No .la.
Desktop file present and handled properly.
No ownership conflicts.
install begins with buildroot wipe.
All UTF-8 filenames.


Comment 16 Gwyn Ciesla 2007-05-09 13:03:10 UTC
Mock builds fine.  BRs are OK.  All other MUSTS are met.

Looks like it's just the %doc issue and the patch question.

Comment 17 Hans de Goede 2007-05-09 14:52:27 UTC
(In reply to comment #14)
> Looks like the line including the patch needs to be commented out.
> 
It has this comment above it:
# not applied as no longer needed, kept for reference

Commenting it out will exclude it from the srpm and from cvs-import, which is
not what I want.

> License is good, but COPYING needs to be included in %doc, along with AUTHORS,
> DOCUMENTATION, etc.
> 

Good catch will fix.

(In reply to comment #16)
> Mock builds fine.  BRs are OK.  All other MUSTS are met.
> 
> Looks like it's just the %doc issue and the patch question.

See above, here is a new version with the %doc fixed:
http://people.atrpms.net/~hdegoede/vegastrike.spec
http://people.atrpms.net/~hdegoede/vegastrike-0.4.3-3.fc7.src.rpm


Comment 18 Gwyn Ciesla 2007-05-09 14:56:47 UTC
Ok.  Sounds reasonable.
APPROVED.

Comment 19 Hans de Goede 2007-05-09 15:03:17 UTC
Thanks for the review!!

New Package CVS Request
=======================
Package Name:      vegastrike
Short Description: 3D OpenGL spaceflight simulator
Owners:            j.w.r.degoede
Branches:          FC-6 devel
InitialCC:         <empty>



Comment 20 Hans de Goede 2007-05-10 21:45:27 UTC
Imported and build, closing.