Bug 237241 - gettext rebuild fails if php is installed...
Summary: gettext rebuild fails if php is installed...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-20 10:25 UTC by Oliver Falk
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-02 06:59:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oliver Falk 2007-04-20 10:25:12 UTC
While trying to rebuild gettext for AlphaCore, I noticed that it always breaks
at the lang-php test (Output from my Intel system):

PASS: lang-perl-2
2c2
< EUR remplace FF.
---
> EUR remplace FF.16
FAIL: lang-php
PASS: lang-po
PASS: lang-rst
======================
1 of 296 tests failed
(7 tests were not run)

It's not only true for alpha, it also happens on my Intel machine.

Two solutions I can think of:
1) Fix the test
2) Disable the test

Or do 2) until 1) is done. :-) I don't think BuildConflicts makes sense...

After uninstalling all php stuff (output from my alpha):
SKIP: lang-perl-1
Skipping test: perl package libintl-perl is not installed
SKIP: lang-perl-2
Skipping test: php not found
SKIP: lang-php
PASS: lang-po
PASS: lang-rst
=======================
All 292 tests passed
(11 tests were not run)

Comment 1 Oliver Falk 2007-04-27 10:35:02 UTC
*knock* *knock*

Comment 2 Jens Petersen 2007-04-30 08:16:12 UTC
adding a patch in gettext-0.16.1-8.fc7 to workaround the error

Comment 3 Oliver Falk 2007-05-02 06:59:34 UTC
Verified. This works fine. But there's now an other issue:
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/gettext/libintl.jar


If buildjar is 0, you need add the following:
Index: gettext.spec
===================================================================
RCS file: /cvs/dist/devel/gettext/gettext.spec,v
retrieving revision 1.74
diff -r1.74 gettext.spec
195a196,197
> %else
> %exclude %{_datadir}/%{name}/libintl.jar


Note You need to log in before you can comment on or make changes to this bug.