Bug 115213

Summary: Can build gettext-devel
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Serguei Leontiev <lse>
Component: DevelopmentAssignee: Mads Martin Joergensen <mmj>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ke, pth
Version: Beta 4   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Serguei Leontiev 2005-09-04 11:55:09 UTC
gettext-0.14.3-6.src.rpm 

Probably missing next component in gettext.spec:

GNU.Gettext.dll
libintl.jar

Error around:
--- /home/leo/tmp/gettext.spec  2005-08-28 22:15:57.000000000 +0400
+++ gettext.spec        2005-09-04 15:38:26.000000000 +0400
@@ -167,6 +167,7 @@
 %_mandir/man3/*
 %_prefix/share/gettext/ABOUT-NLS
 %_libdir/libasprintf.*
+%_libdir/GNU.Gettext.dll
 %_includedir/autosprintf.h

 %_infodir/autosprintf.info*
@@ -213,6 +214,7 @@
 %_prefix/share/gettext/gettext.h
 %_prefix/share/gettext/msgunfmt.tcl
 %_prefix/share/gettext/archive.tar.gz
+%_prefix/share/gettext/libintl.jar
 %_prefix/share/aclocal/*
 %_prefix/share/emacs/site-lisp/po-compat.*
 %_prefix/share/emacs/site-lisp/po-mode.*
Comment 1 Philipp Thomas 2005-09-05 14:12:46 UTC
I don't understand. Our gettext packages build without any problems.

Comment 2 Serguei Leontiev 2005-09-08 00:59:39 UTC
1. CDs for x86_64 architecture don't have 'gettext-devel' binary package (You
building problem?);
2. Attempt build it from gettext-0.14.3-6.src.rpm - cause error, when Java or
Mono installed.

Probably gettext-devel autodetect (autoconfigure) building Java/Mono part(s). 

gettext.spec don't depends from any Java/Mono package - cause random errors 
Comment 3 Mads Martin Joergensen 2005-09-09 09:09:24 UTC
Just because gettext-devel wasn't on the beta, doesn't mean it's not there. We're
not having Java or mono installed when building gettext, and thus these are not
there.

And I'm not going to require mono and java to build gettext.
Comment 4 Serguei Leontiev 2005-09-10 16:30:09 UTC
IMHO gettext-0.14.3-6.src.rpm - have bug.

This Your choice - disable gettext support to Java or C# programming languages.

But now user can't correct or cutomize packages OpenSuSE 10.0 RC1 'gettext-*'
from source package on own workstation. User must remove any Java or Mono
packages before build gettext-0.14.3-6.src.rpm. IMHO that not right. 

In this case You need to disabe C#&Java by configue, for example --disable-csharp
Comment 5 Karl Eichwalder 2005-09-11 04:14:30 UTC
@Serguei Leontiev: make use of the build tool (y2pmbuild) which is explained in
http://www.opensuse.org/SUSE_Build_Tutorial

@Philipp Thomas/Mads Martin Joergensen: The idea to disable unwanted features
explicitly (see comment bug 115213#c4), is not that bad.
Comment 6 Mads Martin Joergensen 2005-09-29 11:02:37 UTC
No, it's not. But then we wouldn't have support for these languages in
gettext. When people are rebuilding gettext anyway for customization, they
should be capable of just adding those files to the filelist, otherwise they
shouldn't do it. rpm will even explicitly tell that these files are there, but not
packaged.