<?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>66449</bug_id>
          
          <creation_ts>2004-10-05 11:58 0000</creation_ts>
          <short_desc>gettext-$NEWVERSION libs and programs links against the old installed gettext-$OLDVERSION LIBS.</short_desc>
          <delta_ts>2004-11-04 19:10:43 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>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>66951</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>motaboy@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>aaron@cs.tu-berlin.de</cc>
    
    <cc>axxo@gentoo.org</cc>
    
    <cc>beber@meleeweb.net</cc>
    
    <cc>blackcrow@libero.it</cc>
    
    <cc>centic@gentoo.org</cc>
    
    <cc>dave@technopagan.org</cc>
    
    <cc>edge@smtn.stavropol.ru</cc>
    
    <cc>glowinthedark@accesscomm.ca</cc>
    
    <cc>hegjon@gmail.com</cc>
    
    <cc>heretic@clanhk.org</cc>
    
    <cc>hey_neken@mundurat.net</cc>
    
    <cc>ivo.welch@yale.edu</cc>
    
    <cc>jsaker@americanrelay.com</cc>
    
    <cc>lisa@gentoo.org</cc>
    
    <cc>mark@vicarageclose.com</cc>
    
    <cc>mmessmore@gmail.com</cc>
    
    <cc>nathan@nightsys.net</cc>
    
    <cc>notellin@speakeasy.net</cc>
    
    <cc>polynomial-c@gentoo.org</cc>
    
    <cc>sandman@173rd-airborne.com</cc>
    
    <cc>stefan@konink.de</cc>
    
    <cc>yumi@ziet.zhitomir.ua</cc>

      

      
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-05 11:58:47 0000</bug_when>
            <thetext>I upgraded to gettext-0.14.1 but it&apos;s program are linked against gettext-0.12.1-r1 (the previously installed)

For example:
xgettext: error while loading shared libraries: libgettextlib-0.12.1.so: cannot open shared object file: No such file or directory

So I had to reemerge again it, so it linked against the same right libs and it works.

Then to test it I emerged gettext-0.12.1 and again:

xgettext: error while loading shared libraries: libgettextlib-0.14.1.so: cannot open shared object file: No such file or directory

I can always reproduce it, so let me know what you need.

Reproducible: Always
Steps to Reproduce:


Actual Results:  
 


Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 
2.6.9-rc1-mm2 i686) 
================================================================= 
System uname: 2.6.9-rc1-mm2 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.6.1 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CFLAGS=&quot;-mtune=i686 -O2&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
COMPILER=&quot;&quot; 
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot; 
CXXFLAGS=&quot;-mtune=i686 -O2&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoaddcvs buildpkg ccache collision-protect confcache distlocks 
keeptemp keepwork sandbox&quot; 
GENTOO_MIRRORS=&quot;http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/&quot; 
MAKEOPTS=&quot;-j1&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current&quot; 
SYNC=&quot;rsync://rsync1.it.gentoo.org/gentoo-portage&quot; 
USE=&quot;3dnow X acl acpi acpi4linux alsa apm arts atm audiofile avi berkdb 
bitmap-fonts bluetooth breakme cdr crypt cscope cups curl cvs dga doc dv dvd 
dvdr encode evo evolution fbcon ffmpeg flac foomaticdb freetype gdbm gif 
gimpprint gmp gpm gtk2 gtkhtml hal imlib ipv6 irmc java jpeg kakasi kde 
kerberos krb4 ldap libg++ libgda libwww mad mikmod mmx motif moznocompose 
moznoirc moznomail mozsvg mpeg ncurses nls nptl oggvorbis opengl opie oss pam 
pda pdflib perl png ppds python qt quicktime readline ruby samba sdl slang 
smime spell sse ssl svga tcpd tiff truetype usb wifi wmf x86xine xml xml2 xmms 
xprint xv xvid yv12 zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-05 21:30:35 0000</bug_when>
            <thetext>run revdep-rebuild, the gettext authors seem to do this on purpose :/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 01:32:17 0000</bug_when>
            <thetext>Of course, I ran revdep-rebuild, but I don&apos;t understand the author purpose. If it links against the oldgettext, then the old shouldn&apos;t be removed at least...
It will break any ebuild that need gettext, so I think that if this can&apos;t be fixed at least the user should be informed about this situation. or no?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-06 05:55:31 0000</bug_when>
            <thetext>
very true ... i added a warning to the ebuild</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 06:18:20 0000</bug_when>
            <thetext>Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 06:31:32 0000</bug_when>
            <thetext>mmm. Sorry again if I&apos;m pedant... :D 
I don&apos;t know if the warning reported is correct, because the problem is inside gettext itself. The problem is that gettext links to the old gettext installed libraries instead its just compiled one. 
The other ebuilds reports error because during the build is called the xgettext (or other) program present in gettext that is badly linked. So only gettext need to be rebuilt.

Also looking in the gentoo&apos;s CVS I&apos;ve found a commit from sejo 88 minutes ago:
 
 Revision 1.6 - (download), view (text) (markup) (annotate) - [select for diffs] 
Wed Oct 6 11:47:08 2004 UTC (88 minutes, 21 seconds ago) by sejo 
Branch: MAIN 
Changes since 1.5: +2 -2 lines 
Diff to previous 1.5 
back to unstable untill the linking error is fixed


Is this related to this problem?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-06 07:36:59 0000</bug_when>
            <thetext>*** Bug 66527 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-06 07:46:19 0000</bug_when>
            <thetext>warning is wrong packages don&apos;t need to be rebuilds, its gettext itself that needs to be rebuild after just installed it ??</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-06 08:12:04 0000</bug_when>
            <thetext>for some reason i thought &apos;xgettext&apos; was provided by another package ...

sounds like the linking process is broken in gettext, i&apos;ll look</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 08:18:00 0000</bug_when>
            <thetext>I think that I&apos;ve found the solution:

the problem is generated by the use of --without-included-gettext introduced from gettext-0.12.1-r1 to fix bug #40162

If I install gettext-0.12.1 instead of r1, it uses --with-included-gettext and the programs like xgettext (in gettext) are linked correctly.


THEN SOME instructions on how to test my assertions and reproduce it:

1) install gettext-0.14.1
2) install gettext-0.12.1-r1 (that uises --without-included-gettext)
3) run xgettext, you&apos;ll get the link error because it searches for the libraries from 0.14.1

4) Reinstall gettext-0.14.1
5) install gettext-0.12.1 (that uses --with-included-gettext)
6) run xgettext, it&apos;ll work because is linked to the right libraries from the current version and not from the already installed version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 08:50:39 0000</bug_when>
            <thetext>mmmm. 
I was wrong, the problem isn&apos;t caused by --without-included-gettext but from --disable-shared that was removed from 0.12.1-r1.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-06 09:35:15 0000</bug_when>
            <thetext>but of course tt&apos;s not a solution restoring it (--disabled-shared) because it&apos;ll give a lot of problems with other packages... like I&apos;m having now with media-sound/normalize</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-10-06 16:04:28 0000</bug_when>
            <thetext>*** Bug 66473 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-06 22:09:35 0000</bug_when>
            <thetext>*** Bug 66589 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-06 22:10:06 0000</bug_when>
            <thetext>0.14.1 is now masked</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nlissne@linux01.gwdg.de</who>
            <bug_when>2004-10-07 09:25:54 0000</bug_when>
            <thetext>downgrading to  0.12.1-r1 (caused by the hardmask of 0.14) reproduced this problem. As the headers of 0.14 were installed when it compiled 0.12.1 it linked against the 0.14 version - recompiling solved this - so it looks like compiling 0.14 twice helps, too </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nlissne@linux01.gwdg.de</who>
            <bug_when>2004-10-07 09:44:06 0000</bug_when>
            <thetext>yes, that works - so it&apos;s the ebuild, not the gettext version that is broken - 
simply emerge gettext again links against the correct header,

however revdep-rebuild would have done the same, so the solution is already given in the ebuild-info ;)

Please, fix the ebuild to use the correct headers instead of hardmasking a working version of gettext.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polynomial-c@gentoo.org</who>
            <bug_when>2004-10-07 09:59:12 0000</bug_when>
            <thetext>Hi,

I can confirm that emerging gettext-0.14.1 twice links gettext against the correct libs.

Poly</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-07 10:15:03 0000</bug_when>
            <thetext>Sorry, But the fact that recompiling fixes it was already explained by me.
The problem is to found why it links against the installed library and not the compiled one.

Probably you are mixing the headers sense with the libraries.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-07 13:10:49 0000</bug_when>
            <thetext>*** Bug 66685 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 15:58:36 0000</bug_when>
            <thetext>*** Bug 66637 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>notellin@speakeasy.net</who>
            <bug_when>2004-10-07 19:17:27 0000</bug_when>
            <thetext>Um guys ...

It&apos;s great that gettext-0.14.1 is now masked.

However, binutils-2.15.92.0.2 apparently depends on gettext-0.14.1 and won&apos;t build with gettext-0.12...

Perhaps the new version of binutils should be masked as well? And anything else which depends on gettext-0.14.1?

:-)

... error while loading chared libraries: libgettextlib-0.14.1.so: cannot open shared object: ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 19:24:08 0000</bug_when>
            <thetext>no it doesnt (or i doubt it ... :x), rebuild gettext a few times until it works again, and then build binutils</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cyberspacecomputers@msn.com</who>
            <bug_when>2004-10-07 19:58:13 0000</bug_when>
            <thetext>Spanky just so you know this is only a case if your updating from one version to another if this is a clean system build everything works fine .... if your bootstraping the system use package.unmask to use the latest wich does not break compatibility for all you other users sorry about your luck build a better system :p</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 20:03:32 0000</bug_when>
            <thetext>yes, we know it&apos;s an upgrade path bug, the problem is the large majority of users are going to use that path and not bootstrap with 0.14.1 :P

until the upgrade path is clean, gettext-0.14.1 will stay masked</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mmessmore@gmail.com</who>
            <bug_when>2004-10-07 21:38:06 0000</bug_when>
            <thetext>binutils-2.15.92.0.2 is trying to link to libgettextlib-0.14.1.so.  Until a package that provides that file is unmasked, binutils-2.15.92.0.2 should be masked as well.  This seems (at least to my amateur eyes) to be a different issue from the one this bug was filed about.

I&apos;m still at gettext-0.12.1-r1.  I did not install 0.14.1 and roll back to the older ebuild, nor do anything out of the oridinary.  This machine is running pretty much, straight up ~x86.  But new binutils is trying to link to 0.14.1.  So basically right now anyone running ~x86 would have to add binutils-2.15.92.0.2 (god, thats a rediculously long version string) to their package.mask file in order to be able to `emerge --update&apos; world merrily or add gettext-0.14.1 to their package.unmask file and deal with the issues in that package that were deemed mask-worthy.

I don&apos;t feel like fooling with it and am just adding the binutils package to my package.mask until this gets straightened out.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-07 21:46:31 0000</bug_when>
            <thetext>&gt; binutils-2.15.92.0.2 should be masked as well.  This seems (at least to my
&gt; amateur eyes) to be a different issue from the one this bug was filed about.

it isnt ... the error you posted showed the gettext program trying to run and failing; re-emerge gettext in other words

&gt; I did not install 0.14.1 and roll back to the older ebuild

you sure about that ? might want to review emerge.log in /var/log/

&gt; So basically right now anyone running ~x86 would have to add 
&gt; binutils-2.15.92.0.2 to their package.mask file in order to be able 

no, see above
do whatever you like on your box to make it happy, it doesnt change the facts about gettext/binutils</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>notellin@speakeasy.net</who>
            <bug_when>2004-10-08 04:31:06 0000</bug_when>
            <thetext>Spanky is correct.

emerging gettext-12... twice solves thes problem with binutils.

Despite being counter-intuitive to this non-programmer, it works. So who am I to argue with success?

I&apos;ve done this on two different systems now.

But it&apos;s still weird as heck.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-09 16:38:09 0000</bug_when>
            <thetext>*** Bug 66862 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-10 07:37:07 0000</bug_when>
            <thetext>*** Bug 66981 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-10-10 09:13:50 0000</bug_when>
            <thetext>*** Bug 66939 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-10-11 00:26:35 0000</bug_when>
            <thetext>*** Bug 66951 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-10-12 03:55:12 0000</bug_when>
            <thetext>*** Bug 67119 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swtaylor@gentoo.org</who>
            <bug_when>2004-10-14 14:47:13 0000</bug_when>
            <thetext>*** Bug 67268 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lv@gentoo.org</who>
            <bug_when>2004-10-16 06:19:09 0000</bug_when>
            <thetext>*** Bug 67613 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ciaran.mccreesh@googlemail.com</who>
            <bug_when>2004-10-17 10:04:12 0000</bug_when>
            <thetext>*** Bug 67465 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2004-10-19 13:12:14 0000</bug_when>
            <thetext>*** Bug 68191 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-22 05:33:35 0000</bug_when>
            <thetext>*** Bug 68487 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-27 11:46:24 0000</bug_when>
            <thetext>*** Bug 69146 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-27 20:55:09 0000</bug_when>
            <thetext>I really think it&apos;s a bug related to gettext (not really gentoo)
Library link is to libgettextlib-0.x.x.so but a symlink from libgettextlib.so exist, so wrong linking?

But anyway here&apos;s a quick solve:

&gt;emerge gettext
&gt;xgettext
xgettext: error while loading shared libraries: libgettextlib-0.12.1.so: cannot open shared object file: No such file or directory
&gt;ln -s /usr/lib/libgettextlib-0.14.1.so /usr/lib/libgettextlib-0.12.1.so
&gt;ln -s /usr/lib/libgettextsrc-0.14.1.so /usr/lib/libgettextsrc-0.12.1.so
&gt;xgettext
xgettext: no input file given
Try `xgettext --help&apos; for more information.

i have just try with xgettext, try with others programs to be sure, but i just think the link is to the &quot;old 0.12.1&quot; lib but must use the new lib, so it&apos;s safe to symlink the new to old ones...

Ah and also! downgrading from 0.14.1 to 0.12.1 and you will get the same problem (with the same solve of course)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-27 21:56:28 0000</bug_when>
            <thetext>Created an attachment (id=42744)
new ebuild with patch

diff gettext-0.14.1-r1.ebuild gettext-0.14.1.ebuild
14c14
&lt; KEYWORDS=&quot;~x86&quot;
---
&gt; KEYWORDS=&quot;-*&quot;
89,91d88
&lt;	# to close bug #66449
&lt;	ln -s ${D}/usr/lib/libgettextlib-0.14.1.so
${D}/usr/lib/libgettextlib-0.12.1.so
&lt;	ln -s ${D}/usr/lib/libgettextsrc-0.14.1.so
${D}/usr/lib/libgettextsrc-0.12.1.so
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ivo.welch@yale.edu</who>
            <bug_when>2004-10-28 06:00:52 0000</bug_when>
            <thetext>
should this become the standard?  emerge search gettext on amd64 still tells me that 0.12.1-r2 is the current version, which of course blocks some other installs.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2004-10-28 08:32:40 0000</bug_when>
            <thetext>don&apos;t use #ln -s
man 5 ebuild and see the dosym command</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-28 17:04:52 0000</bug_when>
            <thetext>Well, test the workaround if it&apos;s ok (seems ok here), just do a good ebuild to help stop that bug...
see impact of masking it http://bugs.gentoo.org/show_bug.cgi?id=69326</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-28 17:10:10 0000</bug_when>
            <thetext>*** Bug 69326 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-28 17:10:40 0000</bug_when>
            <thetext>just so you guys know, that isnt an acceptable &apos;fix&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-29 08:17:05 0000</bug_when>
            <thetext>dosym /usr/lib/libgettextlib-0.14.1.so /usr/lib/libgettextlib-0.12.1.so
dosym /usr/lib/libgettextsrc-0.14.1.so /usr/lib/libgettextsrc-0.12.1.so
Change to that ?

Ah and why it isn&apos;t acceptable ?
The fix just create a sym link to old libs, if the symlinks isn&apos;t need, then you have only a symlink for nothing...
I think it far more acceptable than asking everyone to compile it twice! Sure compiling twice is easy to do, but not if gettext is emerge from an &quot;emerge world&quot;...

And if i look at gettext-0.14.1.ebuild, a symlink to correct a bug is something that should be acceptable...
&gt;cat gettext-0.14.1.ebuild | grep 43
dosym msgfmt /usr/bin/gmsgfmt #43435

Anyway a &quot;clean&quot; and conventional fix should be force gettext to link against libgettextlib.so and libgettextsrc.so (cause they are present in both the 0.14 and 0.12 and are symlinks to correct libs).
But this will not correct the problem if someone downgrade to 0.12.1 because the 0.12.1 ebuild is also bug and have the same problem

So if you mask the 0.14 cause of that bug, you should also mask 0.12.1-r* for the same reason.
Note that this bug was introduce in the 0.12.1-r1 ebuild (i don&apos;t have it anymore after rsync), the 0.12.1 itself was working fine...

So i suppose the fix introduce to the 0.12.1-r1 to correct bug #40162 is the problem and i think it&apos;s that part (comment #6)
&quot;Also should be built with shared libs for it to have preloadable_libintl.so.  Anyhow, added -r1 of gettext
and commited your ebuild with dep on gettext if nls in USE.&quot;

So: after removing to gettext the --disable-share, this gives that bug we are speaking about

Now you have choices:
- do the symlink as i say
- put --disable-share but might reopen but #40162

now i hope you understand not only 0.14.1 is affect but all ebuild for gettext that didn&apos;t include the --disable-share in it... (i think it&apos;s 0.12.1-r1, r2 and 0.14.1)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-29 08:31:44 0000</bug_when>
            <thetext>actually, i&apos;m going with option (3) fix libtool

like i said, the symlinks arent going to be added to portage

comparing it to the gmsgfmt symlinks is completely unrelated and not applicable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-29 08:37:06 0000</bug_when>
            <thetext>maybe re-enable --disable-share and see if a better fix could be found for #40162 ?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krinn@chez.com</who>
            <bug_when>2004-10-29 08:44:27 0000</bug_when>
            <thetext>actually your option 3 seems the best</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-29 08:46:18 0000</bug_when>
            <thetext>Like I&apos;ve said in comment #11, reanabling --disable-share gave me problems with some ebuilds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-10-31 01:53:44 0000</bug_when>
            <thetext>if someone feels so inclined to break their system, `emerge sync` and try out gettext-0.14.1 ...

to see if you have the version i want you to try, the unpack phase should apply a bunch of patches to ltmain.sh</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>motaboy@gentoo.org</who>
            <bug_when>2004-10-31 03:06:23 0000</bug_when>
            <thetext>Thanks vapier, I had the gettext-0.12.1-r2 installed, and upgrading to your new version didn&apos;t get any linking problem. xgettext and all the other program seems to works weel.

Probably this need also some other testing emerging programs that uses gettext but I&apos;m fiducious :D .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-11-04 19:10:43 0000</bug_when>
            <thetext>ok, seems to be resolved now ... moved 0.14.1 to unstable ;)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42744</attachid>
            <date>2004-10-27 21:56 0000</date>
            <desc>new ebuild with patch</desc>
            <filename>gettext-0.14.1-r1.ebuild</filename>
            <type>application/octet-stream</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCB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