X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Sun, 13 Mar 2011 16:07:52 +0100 From: David Sastre To: cygwin AT cygwin DOT com Subject: Re: gzip-1.3.12-2 build from source fails with errors during make Message-ID: <20110313150752.GA5700@jethro.local.lan> References: <4D7CCAF1 DOT 5000400 AT xoxy DOT net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <4D7CCAF1.5000400@xoxy.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 13, 2011 at 01:47:29PM +0000, ymcp wrote: > I'm trying to build the latest gzip-1.3.12-2 from source, following > the instructions in "/usr/src/gzip-1.3.12-2/INSTALL", but get some > errors during the "make" step. >=20 > ------------------------------------------------------------------- > ///usr/include/sys/stat.h:165: error: conflicting types for `futimens' > ------------------------------------------------------------------- Hello, I can confirm that. As a workaround, I've tested building gzip-1.4 from source using the=20 a simple cygport file (below), taking advantage of gzip building OOTB. It builds OK and all tests are passed successfully. (Proper packaging still requires a setup.hint and a README, of course). $ cat gzip-1.4-1.cygport SRC_URI=3D"http://ftp.gnu.org/gnu/${PN}/${P}.tar.xz" HOMEPAGE=3D"http://ftp.gnu.org/gnu/${PN}/" Maybe this is a good chance to promote gzip to current upstream version? Also, could the following change in /usr/include/sys/stat.h be related? Newlib ChangeLog 2008-04-24 Corinna Vinschen * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin. (UTIME_OMIT): Ditto. (utimensat): Declare for Cygwin. (futimens): Ditto. 158 #if defined (__CYGWIN__) && !defined(__INSIDE_CYGWIN__) 159 int _EXFUN(fchmodat, (int, const char *, mode_t, int)); 160 int _EXFUN(fstatat, (int, const char *, struct stat *, int)); 161 int _EXFUN(mkdirat, (int, const char *, mode_t)); 162 int _EXFUN(mkfifoat, (int, const char *, mode_t)); 163 int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); 164 int _EXFUN(utimensat, (int, const char *, const struct timespec *, int= )); 165 int _EXFUN(futimens, (int, const struct timespec *)); 166 #endif Did it break gzip-1.3 (2007)? --=20 Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk183cgACgkQYX05bESLMetQhwCbBgAHV+WKV/TXVU5Cnw5Smh0T dBcAnRFbnbJUBaImCgNO4dfeeE8nUTSK =pOmL -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--