pkgsrc-Bugs archive

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

Re: pkg/52390: current fails to bootstrap on CentOS 6



On 07/16/17 11:15, coypu%sdf.org@localhost wrote:
The following reply was made to PR pkg/52390; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52390: current fails to bootstrap on CentOS 6
Date: Sun, 16 Jul 2017 16:11:29 +0000

  --Q68bSM7Ycu6FN28Q
  Content-Type: text/plain; charset=us-ascii
  Content-Disposition: inline
How about this (the alternative being not using bsd.prog.mk)? --Q68bSM7Ycu6FN28Q
  Content-Type: text/plain; charset=us-ascii
  Content-Disposition: attachment; filename=cwrappers-werror
Index: bin/Makefile
  ===================================================================
  RCS file: /cvsroot/pkgsrc/pkgtools/cwrappers/files/bin/Makefile,v
  retrieving revision 1.5
  diff -u -r1.5 Makefile
  --- bin/Makefile	9 Dec 2016 22:25:28 -0000	1.5
  +++ bin/Makefile	16 Jul 2017 15:42:27 -0000
  @@ -32,6 +32,9 @@
   WARNS=	4
   NOMAN=
+NOGCCERROR= yes
  +NOCLANGERROR=	yes
  +
   CLEANFILES+=	.work-new.log \
   		transform-gcc-rules-fixed.map \
   		transform-gcc-rules-fixed1.c \
--Q68bSM7Ycu6FN28Q--

This works for me.  I did a quick test by adding

MAKE_ENV+=    NOGCCERROR=true

to cwrappers/Makefile.

NOGCCERROR=yes in the environment during bootstrap also works, although the same in cwrappers/Makefile does not for reasons I haven't tracked down yet.

Thanks for digging into this,

    JB

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index