From owner-freebsd-ports@FreeBSD.ORG Tue Sep 7 15:31:39 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ABE710656B1 for ; Tue, 7 Sep 2010 15:31:39 +0000 (UTC) (envelope-from shaun@FreeBSD.org) Received: from dione.picobyte.net (81-86-230-94.dsl.pipex.com [81.86.230.94]) by mx1.freebsd.org (Postfix) with SMTP id 82ABA8FC1E for ; Tue, 7 Sep 2010 15:31:38 +0000 (UTC) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:770:15d::fe03]) by dione.picobyte.net (Postfix) with ESMTP id 6C963B83A; Tue, 7 Sep 2010 16:26:10 +0100 (BST) Date: Tue, 7 Sep 2010 16:26:10 +0100 From: Shaun Amott To: David Southwell Message-ID: <20100907152609.GA97586@charon.picobyte.net> References: <201009022217.15895.david@vizion2000.net> <201009071354.34740.david@vizion2000.net> <201009071431.39047.david@vizion2000.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline In-Reply-To: <201009071431.39047.david@vizion2000.net> User-Agent: Mutt/1.5.20 (FreeBSD i386) Cc: andrews@technologist.com, freebsd-ports@freebsd.org, gahr@freebsd.org Subject: Re: fox-1.6.40 failure file size mismatch- solution here - X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 15:31:39 -0000 --/e2eDi0V/xtL+Mc8 Content-Type: multipart/mixed; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline --neYutvxvOLaeuPCA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 07, 2010 at 02:31:38PM +0100, David Southwell wrote: >=20 > As a test I downloaded the file via http from http://www.fox- > toolkit.org/fox.html and then ran > # make makesum > and then tried=20 > #make > and received the following errors: >=20 > configure: WARNING: unrecognized options: --enable-threadsafe, --enable-c= ups > =3D=3D=3D> Building for fox-1.6.40 > Making all in utils > c++ -DPACKAGE_NAME=3D\"fox\" -DPACKAGE_TARNAME=3D\"fox\" - > DPACKAGE_VERSION=3D\"1.6.40\" -DPACKAGE_STRING=3D\"fox\ 1.6.40\" - > DPACKAGE_BUGREPORT=3D\"jeroen@fox-toolkit.com\" -DPACKAGE_URL=3D\"\" - > DPACKAGE=3D\"fox\" -DVERSION=3D\"1.6.40\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_T= YPES_H=3D1 - > DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMOR= Y_H=3D1 - > DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNIS= TD_H=3D1 - > D__EXTENSIONS__=3D1 -D_ALL_SOURCE=3D1 -D_GNU_SOURCE=3D1 -D_POSIX_PTHREAD_= SEMANTICS=3D1=20 > -D_TANDEM_SOURCE=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" - > DTIME_WITH_SYS_TIME=3D1 -DHAVE_SYS_WAIT_H=3D1 -DHAVE_DIRENT_H=3D1 -DHAVE_= LIBRT=3D1 - > DHAVE_LIBPTHREAD=3D1 -DHAVE_VSSCANF=3D1 -DHAVE_VSNPRINTF=3D1 -DHAVE_STRTO= LL=3D1 - > DHAVE_STRTOULL=3D1 -I. -I/usr/local/include -I/usr/local/include/freet= ype2 - > I/usr/local/include -Wall -Wextra -Wformat -Woverloaded-virtual -Wshadow= -O2=20 > -fno-strict-aliasing -pipe -march=3Dnocona -O2 -Wuninitialized -ffast-mat= h - > finline-functions -fexpensive-optimizations -DNDEBUG -Wuninitialized -ffa= st- > math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensiv= e- > optimizations -pg -DHAVE_XFT_H=3D1 -I/usr/include/freetype2 -DNO_XIM - > I/usr/local/include -MT reswrap.o -MD -MP -MF .deps/reswrap.Tpo -c -o=20 > reswrap.o reswrap.cpp > c++: -pg and -fomit-frame-pointer are incompatible > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/fox16/work/fox-1.6.40/utils. > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/fox16/work/fox-1.6.40. > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/fox16. > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/fox16. >=20 > After unchecking "Build with Profiling support" fox compiled. >=20 > The correct contents of distfile are shown as follows: >=20 > dns1# cat distinfo=20 > MD5 (fox-1.6.40.tar.gz) =3D 1253617ca2ef5652b865e35dc2ddb65c > SHA256 (fox-1.6.40.tar.gz) =3D=20 > 19bcdb56f3985ef359adc1cf3a392d11cad0d097c646dd73c8ef1349faa1ba6f > SIZE (fox-1.6.40.tar.gz) =3D 4353981 >=20 > Any chance someone could check and commit? >=20 I found a copy of the old distfile floating around. The change is innocuous (diff attached). If gahr doesn't respond within the customary timeout period, I'll commit a fix. Shaun --=20 Shaun Amott // PGP: 0x6B387A9A "A foolish consistency is the hobgoblin of little minds." - Ralph Waldo Emerson --neYutvxvOLaeuPCA Content-Type: text/x-diff; charset=iso-8859-1 Content-Disposition: attachment; filename="fox-1.6.40.diff" Content-Transfer-Encoding: quoted-printable diff -urN fox-1.6.40.orig/fox.pc.in fox-1.6.40/fox.pc.in --- fox-1.6.40.orig/fox.pc.in 2009-03-13 05:45:10.000000000 +0000 +++ fox-1.6.40/fox.pc.in 2010-09-02 02:01:28.000000000 +0100 @@ -1,10 +1,18 @@ -prefix=3D@prefix@ -exec_prefix=3D@exec_prefix@ -libdir=3D@libdir@ -includedir=3D@includedir@ +prefix=3D"@prefix@" +exec_prefix=3D"@exec_prefix@" +libdir=3D"@libdir@" +includedir=3D"@includedir@/fox-@FOX_MAJOR_VERSION@.@FOX_MINOR_VERSION@" +LIBS=3D"@LIBS@" +X_LIBS=3D"@X_LIBS@" +X_BASE_LIBS=3D"@X_BASE_LIBS@" +X_EXTRA_LIBS=3D"@X_EXTRA_LIBS@" +GL_LIBS=3D"@GL_LIBS@" +FOX_LIBS=3D-lFOX-@FOX_MAJOR_VERSION@.@FOX_MINOR_VERSION@ =20 Name: FOX -Description: FOX is a C++ based Toolkit for developing Graphical User Inte= rfaces +Description: The FOX Toolkit +URL: www.fox-toolkit.org Version: @FOX_MAJOR_VERSION@.@FOX_MINOR_VERSION@.@FOX_PATCH_LEVEL@ -Libs: -L${libdir} -lFOX-@FOX_MAJOR_VERSION@.@FOX_MINOR_VERSION@ @X_LIBS@ @= X_BASE_LIBS@ @X_EXTRA_LIBS@ @GL_LIBS@ @LIBS@ -Cflags: -I${includedir}/fox-@FOX_MAJOR_VERSION@.@FOX_MINOR_VERSION@ +Libs: ${FOX_LIBS} +Libs.private: ${X_LIBS} ${X_BASE_LIBS} ${X_EXTRA_LIBS} ${GL_LIBS} ${LIBS} +Cflags: -I${includedir} --neYutvxvOLaeuPCA-- --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkyGWZEACgkQkmhdCGs4eprXxQCfRmMTEjLE0PMrk0cBs9bw1ooO T6IAn3t7xcDHCOrKCrB3cPIxTbWFsKAd =oqG/ -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8--