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
NetBSD  5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010
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
"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."
pkg_add -v GNUMail
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:

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