[kde-freebsd] gettext error

Joe Marcus Clarke marcus at marcuscom.com
Sat Apr 7 08:44:35 CEST 2007


On Fri, 2007-04-06 at 23:38 -0700, Ade Lovett wrote:
> On Apr 06, 2007, at 22:52 , Vijay Patel ((NewsLetters)) wrote:
> 
> > Hello,
> >
> >     I was also facing similar problem. & As per discussion of this  
> > thread, its because, I am using FreeBSD 5.2 with latest  
> > ports.tar.gz (As I am at remote location, FreeBSD upgrade is not  
> > possible for me).
> >     Here is how I solved problem of gettext.
> 
> Here's the background.
> 
> gettext-0.16.1 is now threads aware.  In its current form, the port  
> is indeed slightly broken, something that didn't come up during build  
> and gnome-devel testing, and nork@ has kindly provided me with a patch.
> 
> However, I have received isolated reports that the threaded-gettext  
> is causing edge case issues with other ports.
> 
> So, I am faced with something of a dilemma, since PORTREVISION will  
> be bumped in either case (yes folks, y'all get to rebuild stuff,  
> consider it a worldwide thrash-test of compilers ;)

A PORTREVISION bump will not require users to rebuild everything.
Portupgrade, portmaster, etc. will just rebuild gettext, and update
dependencies accordingly.  Tinderboxes and pointyhat, on the other hand,
will have to rebuild all dependent ports.

> 
> 1.  Make devel/gettext respect PTHREAD_LIBS, and leave the threading  
> in place
> 2.  Disable threading entirely
> 
> I'm open to either option here, and have taken the liberty of cc'ing  
> the GNOME and KDE folks since they're very large consumers.

Well, I've already expressed my opinion that threading be disabled.
Since FreeBSD doesn't allow mixing threaded libraries with non-threaded
executables (without linking the executable with PTHREAD_LIBS) :-(,
threading is just dangerous.  I don't think we want to force all ports
that link to libintl to become thread-aware.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070407/623d136f/attachment.pgp 


More information about the kde-freebsd mailing list