<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>57868</bug_id>
          
          <creation_ts>2004-07-21 09:13 0000</creation_ts>
          <short_desc>Porting: glib &amp; ranlib</short_desc>
          <delta_ts>2005-02-06 13:33:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>58848</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zaheerm@gentoo.org</reporter>
          <assigned_to>osx@gentoo.org</assigned_to>
          <cc>clmason@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>zaheerm@gentoo.org</who>
            <bug_when>2004-07-21 09:13:20 0000</bug_when>
            <thetext>to emerge glib successfully, gettext has to be emerged with the USE flag nls enabled.  This is only relevant for Gentoo on OSX.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



The failure is that emerge of glib when in configure cannot find libintl.h...and that is because gettext 
emerge&apos;d without nls USE flag does not install this header.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2004-07-26 21:08:57 0000</bug_when>
            <thetext>gettext nls problem has been fixed.  However glib throws a libtool error, despite compiling.

This causes it not to link correctly with other programs, such as app-text/dgs.
Needs ranlib on libgmodules.a libgthreads.a and libglib.a

Also has  makepsres.c:129: error: conflicting types for `sys_errlist&apos; error.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stevenschlansker@yahoo.com</who>
            <bug_when>2004-08-25 09:53:18 0000</bug_when>
            <thetext>I just emerged glib with neither of the below problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>clmason@gmail.com</who>
            <bug_when>2004-09-19 13:19:12 0000</bug_when>
            <thetext>
I&apos;m seeing this too.  I just did a fresh install of gentoo macos, and glib wouldn&apos;t compile because of the missing libintl.h.  When I forced gettext to compile with USE=&quot;nls&quot; then glib compiled and installed fine.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j4rg0n@gentoo.org</who>
            <bug_when>2004-09-19 13:56:34 0000</bug_when>
            <thetext>There should be no need to compile gettext with use=nls. It is already forced within the gettext ebuild. Please `emerge info`, and paste the USE= line here. Make sure it contains either macos or ppc-macos.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>clmason@gmail.com</who>
            <bug_when>2004-09-19 14:57:10 0000</bug_when>
            <thetext>
Okay, here it is:

Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.5.0 Power Macintosh powerpc)
=================================================================
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: 
Automake: 
Binutils: 
ACCEPT_KEYWORDS=&quot;macos&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;powerpc-apple-darwin&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;collision-protect cvs keepwork&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;macos crypt imap lzw-tiff mbox ncurses ssl zlib&quot;

When I first emerge&apos;d gettext, it used &quot;-nls&quot; (which was the default, I don&apos;t specify nls in my make.conf
file.)  I did have to force it to use nls to get libintl.h installed.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pvdabeel@gentoo.org</who>
            <bug_when>2004-09-24 19:21:37 0000</bug_when>
            <thetext>Lina: what&apos;s the current status of this bug. Is it correct to describe it as a ranlib issue?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gongloo@gentoo.org</who>
            <bug_when>2004-09-30 13:09:50 0000</bug_when>
            <thetext>I don&apos;t see any of these issues on my end. I don&apos;t think this bug has anything to do with ranlib either (if it even did); the new portage solves the ranlib issues.

Can the Chris Mason please confirm that it is still an issue (while using portage _rc6 or better)?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>clmason@gmail.com</who>
            <bug_when>2004-09-30 13:19:19 0000</bug_when>
            <thetext>
I just got a new system and sold my old one.  As soon as I get it setup, I&apos;ll reinstall gentoo osx and test this.  Btw, any chance of a newer installer coming out?  The old one requires quite a bit of bootstrapping to get it working.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>clmason@gmail.com</who>
            <bug_when>2004-10-09 12:26:55 0000</bug_when>
            <thetext>
No problem (portage rc7, glib 2.4.7) anymore.  Thanks.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gongloo@gentoo.org</who>
            <bug_when>2004-10-10 07:24:48 0000</bug_when>
            <thetext>All set then. Reopen if not.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gongloo@gentoo.org</who>
            <bug_when>2005-02-06 13:33:29 0000</bug_when>
            <thetext>Closing out bugs that&apos;ve been resolved for a while now... </thetext>
          </long_desc>
      
    </bug>

</bugzilla>