tech-pkg archive

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

Re: pkg_add hangs and consumes 100% CPU



On 7 May 2015 at 23:30, Sevan / Venture37 <venture37%gmail.com@localhost> wrote:
> meanwhile in gnats
> http://gnats.netbsd.org/48229

As described in the PR, I set libnbcompat & pkg_install to build with
-O0, that's got me over this hurdle. Now onto OpenSSL build on a
little endian system with -DB_ENDIAN :)

Sevan

Index: pkgtools/pkg_install/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/Makefile,v
retrieving revision 1.208
diff -u -r1.208 Makefile
--- pkgtools/pkg_install/Makefile       21 Apr 2015 00:28:19 -0000      1.208
+++ pkgtools/pkg_install/Makefile       7 May 2015 23:42:37 -0000
@@ -22,6 +22,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-pkgdbdir=${PKG_DBDIR}
+CFLAGS+=               -O0

 USE_FEATURES=          nbcompat

Index: pkgtools/libnbcompat/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/libnbcompat/Makefile,v
retrieving revision 1.83
diff -u -r1.83 Makefile
--- pkgtools/libnbcompat/Makefile       19 Apr 2015 12:24:21 -0000      1.83
+++ pkgtools/libnbcompat/Makefile       7 May 2015 23:44:14 -0000
@@ -17,6 +17,7 @@

 # Enable by default for standalone builds
 CONFIGURE_ARGS+=       --enable-db
+CFLAGS+=               -O0

 do-extract:
        @${CP} -R ${FILESDIR} ${WRKSRC}


Home | Main Index | Thread Index | Old Index