pkgsrc-Users archive

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

Re: pkgsrc-2013Q2 randomly not creating packages for me. What can be wrong?



* On 2013-07-18 at 06:54 BST, Richard PALO wrote:

Hi Richard,

> >(cd ../../devel/gmp && /opt/pkg/bin/bmake 
> >WRKDIR=/var/tmp/pkgsrc/lang/gcc48/work/gcc-4.8.1/.devel.gmp 
> >EXTRACT_DIR=/var/tmp/pkgsrc/lang/gcc48/work/gcc-4.8.1  
> >WRKSRC='${EXTRACT_DIR}/${DISTNAME}' SKIP_DEPENDS=YES checksum clean)
> >ERROR: This package has set PKG_FAIL_REASON:
> >ERROR: No USE_PKGSRC_GCC_RUNTIME support for gcc-0

Do you have rev 1.142 of mk/compiler/gcc.mk?

  revision 1.142
  date: 2013-07-09 11:13:43 +0100;  author: jperkin;  state: Exp;
  lines: +3 -3;  commitid: gKjiqaI6CENftMWw;
  Match against CC_VERSION rather than _GCC_VERSION, the latter is not defined
  in the USE_PKGSRC_GCC case.

This should fix the 'gcc-0' problem.  You may still run into problems
though if you are using USE_PKGSRC_GCC, GCCBASE will need to be
defined for any package which is a dependency of the GCC you are
using.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index