pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44783: gnustep-back contains a mistake that prevents all GNUStep apps from running



>Number:         44783
>Category:       pkg
>Synopsis:       gnustep-back contains a mistake that prevents all GNUStep apps 
>from running
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 28 20:50:00 +0000 2011
>Originator:     Petr Topiarz
>Release:        5.1 with PKGSRC-2010Q4
>Organization:
>Environment:
NetBSD  5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
All GNUStep applications like for example GNUMail or Project Center crash 
complaining about the gnustep-back bundle:


The problem seems to be that the gnustep-back bundle is linked against the 
wrong libraries (as I found out on osdir.com)
"The problem is the -R/usr/X11R7/lib flag on the command line. This option is 
understood by NetBSD's gcc and it ends up as an *initial* -R flag to the 
linker, whereas the -Wl,-R<dir> options stay in their place. That means that 
the broken libpixman will be found before the right one in /usr/pkg/lib. 
Unfortunately, the -R flag is added automatically by autoconf when testing for 
the X libraries, so we cannot get rid of it."
>How-To-Repeat:
pkg_add -v GNUMail
>Fix:
After a long search I found that someone was able to fix it:
compile gnustep-back with  ./configure LDFLAGS=-R/usr/pkg/lib

Here is the thread where they describe it:
http://osdir.com/ml/discuss-gnustep-gnu/2010-11/msg00147.html

however I wasn't able to change the Makefiles or patches to bring the success. 
Adding simply LDFLAGS=-R/usr/pkg/lib under the CONFIGURE+= into the pkgsrc 
Makefile didn't help. 



Home | Main Index | Thread Index | Old Index