pkgsrc-Bugs archive

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

Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular Xorg on i386-8.0_BETA and i386-8.99.1



On Sun, Aug 20, 2017 at 03:10:00AM +0000, John D. Baker wrote:
> The following reply was made to PR pkg/52452; it has been noted by GNATS.
> 
> From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular
>  Xorg on i386-8.0_BETA and i386-8.99.1
> Date: Sat, 19 Aug 2017 22:04:46 -0500 (CDT)
> 
>  On Sun, 20 Aug 2017, Joerg Sonnenberger wrote:
>  
>  >  On Sun, Aug 20, 2017 at 12:15:01AM +0000, John D. Baker wrote:
>  >  >  Looks like it's 'ld.elf_so' that's trying to do a RWX mapping?
>  >  
>  >  That would likely mean that the library has a text relocation or so. Can
>  >  you put it somewhere for download?
>  
>  Find it here:
>  
>    http://bobdbob.com/~jdbaker/nbsd-debug/i386nb9mod/libGL.so.1.2.0

Try rebuilding MesaLib with the attached patch please.

>  Is it necessary to install shared-object libraries with mode a+x?  That's
>  how everything in "/usr/pkg/lib" is set.  Seems fraught to me.

Historic practise.

Joerg
Index: Makefile
===================================================================
RCS file: /home/joerg/repo/netbsd/pkgsrc/graphics/MesaLib/Makefile,v
retrieving revision 1.137
diff -u -p -r1.137 Makefile
--- Makefile	22 Mar 2017 20:22:31 -0000	1.137
+++ Makefile	20 Aug 2017 07:29:34 -0000
@@ -2,7 +2,7 @@
 
 DISTNAME=	mesa-11.2.2
 PKGNAME=	${DISTNAME:S/mesa/MesaLib/}
-PKGREVISION=	5
+PKGREVISION=	6
 CATEGORIES=	graphics x11
 MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=	.tar.xz
@@ -61,6 +61,10 @@ SUBST_SED.drirc+=		 -e 's|/etc/|${PREFIX
 .include "../../mk/compiler.mk"
 .include "options.mk"
 
+.if ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+=	--enable-glx-read-only-text
+.endif
+
 .if !empty(PKGSRC_COMPILER:Mclang)
 SUBST_CLASSES+=		tr1
 SUBST_STAGE.tr1=	pre-configure


Home | Main Index | Thread Index | Old Index