Bug 629931

Summary: Newer upstream version available
Product: [Fedora] Fedora Reporter: Denis Barbier <bouzim>
Component: po4aAssignee: Ralf Corsepius <rc040203>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: Axel.Thimm, jhrozek, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-15 14:52:11 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:

Description Denis Barbier 2010-09-03 10:09:19 UTC
Hello,

The version shipped is currently 0.35, upstream version is 0.40.1, can this package please be updated?
Tarball can be downloaded from
  http://alioth.debian.org/frs/?group_id=30267
Thanks

Comment 1 Jakub Hrozek 2010-10-14 17:48:42 UTC
I'd like to see po4a updated, too. The newer upstream release fixed quite a few bugs.

Comment 2 Ralf Corsepius 2010-10-15 05:22:58 UTC
Does it build? Last time I checked, it didn't build, but bombed out with errors.

Comment 3 Ralf Corsepius 2010-10-15 09:32:15 UTC
(In reply to comment #2)
> Does it build? Last time I checked, it didn't build, but bombed out with
> errors.
OK, I found the key issue. The 0.40.1 tarball is missing a file.

Working on it.

Comment 4 Denis Barbier 2010-10-15 10:03:20 UTC
> (In reply to comment #2)
> > Does it build? Last time I checked, it didn't build, but bombed out with
> > errors.
> OK, I found the key issue. The 0.40.1 tarball is missing a file.
> 
> Working on it.

Ralf, I am an upstream developer, feel free to ask if you have trouble building po4a.(In reply to comment #3)

Comment 5 Ralf Corsepius 2010-10-15 10:37:52 UTC
(In reply to comment #4)

> Ralf, I am an upstream developer, feel free to ask if you have trouble building
> po4a.(In reply to comment #3)

Great. I had 2 major issues with po4a:

* The file missing from the 0.40.1 tarball is t/compare-po.pl.
Without it, the testsuite fails misserably.

I grabbed it from your SVN and added it as a patch. I'd recommend you to release a new tarball with this file added.


* I had 2 major issues related to the configuration:
- We install the perl modules into perl's vendor directory.
The common way to achieve this with Module::Build based Build.PL's is to run
perl Build.PL --installdir vendor

- bin/po/Makefile doesn't seem to receive the settings from "Build".
It always wants to install into /usr/local instead of /usr.

I hacked around both issues by editing the Makefiles (using sed):
# Propagate %%{_prefix}
sed -i -e 's,^prefix =.*$,prefix = %{_prefix},' po/bin/Makefile
# vendor dirs
sed -i -e 's,perl Build.PL,perl Build.PL --installdirs vendor,' Makefile

Comment 6 Ralf Corsepius 2010-10-15 14:52:11 UTC
I updated rawhide to 0.40.1. 

The corresponding packages should land in the rawhide repos soon.

c.f. http://koji.fedoraproject.org/koji/taskinfo?taskID=2536888