pkgsrc-Bugs archive

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

Re: pkg/49752: ./bootstrap --unpriveleged fails on Alpine Linux



The following reply was made to PR pkg/49752; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/49752: ./bootstrap --unpriveleged fails on Alpine Linux
Date: Wed, 18 Mar 2015 19:20:39 +0000

 On Tue, Mar 17, 2015 at 01:40:00AM +0000, epergne%hotmail.com@localhost wrote:
  > /usr/include/sys/cdefs.h:1:2: error: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Werror=cpp]
  >  #warning usage of non-standard #include <sys/cdefs.h> is deprecated
 
 huzzah for glibc...
 
 There are two issues here (besides routine glibc stupidity):
   (1) the configure script isn't correctly detecting that the system
       <sys/cdefs.h> is no good;
   (2) the gcc command line contains -Wno-error -Wno-error -Werror
 
 If the configure script doesn't use -Werror it won't fail on that
 warning, hence #1; the question I guess is where that -Werror in the
 gcc command line is coming from.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index