From owner-svn-ports-head@freebsd.org Wed May 16 10:24:02 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 241D7ED7B1D for ; Wed, 16 May 2018 10:24:02 +0000 (UTC) (envelope-from vanilla@fatpipi.com) Received: from mail-yb0-x243.google.com (mail-yb0-x243.google.com [IPv6:2607:f8b0:4002:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7DB3822D6 for ; Wed, 16 May 2018 10:24:01 +0000 (UTC) (envelope-from vanilla@fatpipi.com) Received: by mail-yb0-x243.google.com with SMTP id r13-v6so68010ybm.12 for ; Wed, 16 May 2018 03:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fatpipi-com.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9Hm0+lhYHQrUnUYvG0ih+qJb2ha+YRtU2YHmtMxNxTc=; b=uu3JWy5+1MsG9bzjobE/kNu1HfJbXt9FTc2cfGjVQ+Wr2SuVEsQDTdu61a/XfMrmS2 D1YkAPPMYr3DNTPY2wxYTLXUmyGasnEHK6PDB3peighiqVBJ2pJbhU0DmtwjOuUeqAKp pcZMOgMKlxJ16QwKiPTDiD9fNyOwVoSCnHFDMtJysaN3YZpXVpWZKMhgCI0cuuPQUTmF AO8ijzDvYy5PrtR7DY7pKxsLNfusZYqcv+fpucC1QL9EbTW0gRNytwQJq+3S3mXfKkgB 8mamINOU2CakSq6suF0Ipvb7HSxfG3+1G2I/tJ9mMmSj6z+H4cQYY3k9qHGd8qkmwz7J TpHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=9Hm0+lhYHQrUnUYvG0ih+qJb2ha+YRtU2YHmtMxNxTc=; b=p+XFas1oEexrnMKwqsZyWjm+fLouWV+bRdTRfYUtsoFutzIpVW7vbEAVyzjCBEuoDD QYeR4/in0h4TL7x5DQBq2bXvzKEzEJ/V8wFNjlO/qmmtpoOf1c/09SXfU2c5w09tVBvb wGqzGDDTN+XDheQyFIHRY8ZYbTKBdYKvadVvUYOSe8bHO6q/48/Lo09xqTrTi1K94S/e 50LN4nodRJcwNy/g2+2s27hqZ6HwNDpP2OteQcl0XAoQXokGlfBSDcfkArjq6kUShInC KXAXIXxfBMFeZ5aclE2kiZKc5NTuEMcEl74vgdKhjzcnGvi/prfKkw6K2Xr00W7k6xXU hBvg== X-Gm-Message-State: ALKqPweQ/oPcN7Jy+2sePkDmQa3Jz9uwPllnh2ngWP8w7kgVvkRj2lzw jVNi/tiUMcWsPpRYcEu5wGJD5Sm/9678ksGS0l3S9Q== X-Google-Smtp-Source: AB8JxZrXd1RHK98TVGgHlo9aqgWh1ZsUNN22vadzQceP5mlVdO+BFWMQRDwPES2y9vX9+OsGGQEDclBLBQGliA6OKI4= X-Received: by 2002:a25:780c:: with SMTP id t12-v6mr132771ybc.516.1526466240771; Wed, 16 May 2018 03:24:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:afd1:0:0:0:0:0 with HTTP; Wed, 16 May 2018 03:24:00 -0700 (PDT) Reply-To: v@fatpipi.com In-Reply-To: <201805151343.w4FDhYif071044@repo.freebsd.org> References: <201805151343.w4FDhYif071044@repo.freebsd.org> From: Vanilla Hsu Date: Wed, 16 May 2018 18:24:00 +0800 Message-ID: Subject: Re: svn commit: r470016 - in head/lang/rust: . files To: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2018 10:24:02 -0000 Seems not compatible with libressl-2.7. -- --- stderr thread 'main' panicked at ' This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 and 2.6, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. ', vendor/openssl-sys/build.rs:500:9 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. warning: build failed, waiting for other jobs to finish... 2018-05-15 21:43 GMT+08:00 Jean-S=C3=A9bastien P=C3=A9dron : > Author: dumbbell > Date: Tue May 15 13:43:34 2018 > New Revision: 470016 > URL: https://svnweb.freebsd.org/changeset/ports/470016 > > Log: > lang/rust: Update to 1.26.0 > > The announcement is available on Rust blog: > https://blog.rust-lang.org/2018/05/10/Rust-1.26.html > > Rust 1.25.0, used as the bootstrap compiler, contains the patch from > bdrewery@ to use the compat (non-ino64) symbols on FreeBSD 12-CURRENT. > Therefore, we don't need `old_fstat.c` and the associated machinery in > the `Makefile` anymore. > > Deleted: > head/lang/rust/files/old_fstat.c > head/lang/rust/files/patch-src_binaryen_CMakeLists.txt > head/lang/rust/files/patch-src_librustc__back_target_freebsd__base.rs > Modified: > head/lang/rust/Makefile > head/lang/rust/distinfo > > Modified: head/lang/rust/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- head/lang/rust/Makefile Tue May 15 13:37:05 2018 (r470015) > +++ head/lang/rust/Makefile Tue May 15 13:43:34 2018 (r470016) > @@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME=3D rust > -PORTVERSION?=3D 1.25.0 > +PORTVERSION?=3D 1.26.0 > PORTREVISION?=3D > CATEGORIES=3D lang > MASTER_SITES=3D http://static.rust-lang.org/dist/:src \ > @@ -44,13 +44,13 @@ ONLY_FOR_ARCHS_REASON=3D requires prebuilt > bootstrap com > CONFLICTS_INSTALL?=3D rust-nightly > > # See WRKSRC/src/stage0.txt for this date and version values. > -BOOTSTRAPS_DATE?=3D 2018-02-15 > +BOOTSTRAPS_DATE?=3D 2018-03-29 > > -RUST_BOOTSTRAP_VERSION?=3D 1.24.0 > +RUST_BOOTSTRAP_VERSION?=3D 1.25.0 > RUSTC_BOOTSTRAP=3D ${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}}/rustc-${RUST_BOOTSTRAP_VERSION_${ARCH} > :U${RUST_BOOTSTRAP_VERSION}}-${RUST_TARGET}.tar.gz > RUST_STD_BOOTSTRAP=3D ${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}}/rust-std-${RUST_BOOTSTRAP_VERSION_${ARCH} > :U${RUST_BOOTSTRAP_VERSION}}-${RUST_TARGET}.tar.gz > > -CARGO_BOOTSTRAP_VERSION?=3D 0.25.0 > +CARGO_BOOTSTRAP_VERSION?=3D 0.26.0 > CARGO_BOOTSTRAP=3D ${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}}/cargo-${CARGO_BOOTSTRAP_VERSION_${ > ARCH}:U${CARGO_BOOTSTRAP_VERSION}}-${RUST_TARGET}.tar.gz > > RUST_CHANNEL=3D ${PKGNAMESUFFIX:Ustable:S/^-//} > @@ -92,13 +92,6 @@ PLIST_FILES=3D lib/rustlib/components \ > lib/rustlib/rust-installer-version > > .include > -# ABI patch needed to address ino64 before fixes upstreamed. > -# https://github.com/rust-lang/rust/issues/42681 > -.if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} >=3D 1200031 && > !defined(NIGHTLY_DATE) > -NEED_ABI_PATCH=3D 1 > -.else > -NEED_ABI_PATCH=3D 0 > -.endif > > X_PY_ENV=3D HOME=3D"${WRKDIR}" \ > OPENSSL_DIR=3D"${OPENSSLBASE}" > @@ -139,26 +132,10 @@ post-extract: > ${WRKSRC}/build/cache/${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}} > ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${RUSTC_BOOTSTRAP} \ > ${WRKSRC}/build/cache/${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}} > -.if ${NEED_ABI_PATCH} =3D=3D 0 > ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${RUST_STD_BOOTSTRAP} \ > ${WRKSRC}/build/cache/${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}} > -.endif > ${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${CARGO_BOOTSTRAP} \ > ${WRKSRC}/build/cache/${BOOTSTRAPS_DATE_${ARCH}:U${ > BOOTSTRAPS_DATE}} > -.if ${NEED_ABI_PATCH} =3D=3D 1 > - ${TAR} -x -C ${WRKSRC} -f ${DISTDIR}/${DIST_SUBDIR}/${ > RUST_STD_BOOTSTRAP} > - ${CC} ${CFLAGS} -fPIC -c -o ${WRKSRC}/old_fstat.o > ${FILESDIR}/old_fstat.c > - (set -ex; cd ${WRKSRC}; \ > - libstd=3D"$$(echo "${RUST_STD_DIR}/rust-std-${ > RUST_TARGET}/lib/rustlib/${RUST_TARGET}/lib/"libstd-*.rlib)"; \ > - hash=3D"$$(basename "$$libstd" .rlib | ${SED} 's/^libstd-//')"; = \ > - std_o=3D"$$(${AR} t "$$libstd" | ${GREP} -E "^std-$$hash.*\.o$$"= | > ${HEAD} -n 1)"; \ > - ${AR} x "$$libstd" "$$std_o"; \ > - ${LD} -r -o std.xx.o "$$std_o" old_fstat.o; \ > - ${MV} std.xx.o "$$std_o"; \ > - ${AR} r "$$libstd" "$$std_o") > - ${TAR} -c --format=3Dustar -C ${WRKSRC} -f ${WRKSRC}/rust-std.tar= .gz > ${RUST_STD_DIR} > - ${MV} ${WRKSRC}/rust-std.tar.gz ${WRKSRC}/build/cache/${RUST_ > STD_BOOTSTRAP} > -.endif > > post-patch: > @${REINPLACE_CMD} -e 's|gdb|${LOCALBASE}/bin/gdb|' \ > @@ -329,7 +306,8 @@ post-install: > ${STAGEDIR}${PREFIX}/bin/rustdoc \ > ${STAGEDIR}${PREFIX}/bin/rustfmt \ > ${STAGEDIR}${PREFIX}/lib/*.so \ > - ${STAGEDIR}${PREFIX}/lib/rustlib/*/lib/*.so > + ${STAGEDIR}${PREFIX}/lib/rustlib/*/lib/*.so \ > + ${STAGEDIR}${PREFIX}/lib/rustlib/*/codegen-backends/*.so > > # We set `extended =3D true` in config.toml because we want to build > # Cargo at the same time. However, this installs the rust-src component > > Modified: head/lang/rust/distinfo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- head/lang/rust/distinfo Tue May 15 13:37:05 2018 (r470015) > +++ head/lang/rust/distinfo Tue May 15 13:43:34 2018 (r470016) > @@ -1,21 +1,21 @@ > -SHA256 (rust/2018-02-15/cargo-0.25.0-aarch64-unknown-freebsd.tar.gz) =3D > b722073829728fb6519b0653f42086d75a3dcfabdc0e760ed950bf2442d3c9b8 > -SIZE (rust/2018-02-15/cargo-0.25.0-aarch64-unknown-freebsd.tar.gz) =3D > 4080471 > -SHA256 (rust/2018-02-15/cargo-0.25.0-i686-unknown-freebsd.tar.gz) =3D > c0ebc42bc19933220d56238920dcade0750eb64462d55830403e0e7167f09316 > -SIZE (rust/2018-02-15/cargo-0.25.0-i686-unknown-freebsd.tar.gz) =3D 5455= 389 > -SHA256 (rust/2018-02-15/cargo-0.25.0-x86_64-unknown-freebsd.tar.gz) =3D > 9b914574fbdbd4190718ce681041af3ac161aab2bcd5b3b6d52ccb954660c5d3 > -SIZE (rust/2018-02-15/cargo-0.25.0-x86_64-unknown-freebsd.tar.gz) =3D > 5604586 > -SHA256 (rust/2018-02-15/rust-std-1.24.0-aarch64-unknown-freebsd.tar.gz) > =3D 9e9b4d9ce972e972986b0ebb4f417041400e2be76dcddf645f6d6c8d1b3987bf > -SIZE (rust/2018-02-15/rust-std-1.24.0-aarch64-unknown-freebsd.tar.gz) = =3D > 78129215 > -SHA256 (rust/2018-02-15/rust-std-1.24.0-i686-unknown-freebsd.tar.gz) =3D > 41d21402bd5b29c292c4db4a06b07396271e10824006794138e6f9b581f9f319 > -SIZE (rust/2018-02-15/rust-std-1.24.0-i686-unknown-freebsd.tar.gz) =3D > 81013253 > -SHA256 (rust/2018-02-15/rust-std-1.24.0-x86_64-unknown-freebsd.tar.gz) = =3D > 99d0ca487e292f76e425074ae77f4e12fe1f67d3f90e0b0a8c4b8ed4e87bc163 > -SIZE (rust/2018-02-15/rust-std-1.24.0-x86_64-unknown-freebsd.tar.gz) =3D > 80387975 > -SHA256 (rust/2018-02-15/rustc-1.24.0-aarch64-unknown-freebsd.tar.gz) =3D > 14efaeb960da1b4524ae9a25657415ca92f6e54d12bb55e95ad4e38b625ef9ab > -SIZE (rust/2018-02-15/rustc-1.24.0-aarch64-unknown-freebsd.tar.gz) =3D > 60099868 > -SHA256 (rust/2018-02-15/rustc-1.24.0-i686-unknown-freebsd.tar.gz) =3D > f775a54ee18263a12fe9039d98af19c36a7b4e513f54cbd247a32e6b008d40cd > -SIZE (rust/2018-02-15/rustc-1.24.0-i686-unknown-freebsd.tar.gz) =3D > 63788470 > -SHA256 (rust/2018-02-15/rustc-1.24.0-x86_64-unknown-freebsd.tar.gz) =3D > 2a0110adc137bf241962eb4000bdba8cbf3713e09087edaba499bb917dce9b8e > -SIZE (rust/2018-02-15/rustc-1.24.0-x86_64-unknown-freebsd.tar.gz) =3D > 62428675 > -SHA256 (rust/rustc-1.25.0-src.tar.xz) =3D 14fcb82d5959df758aaf4225393593 > 00917217fa8420e34bd596e3fb6ed2de87 > -SIZE (rust/rustc-1.25.0-src.tar.xz) =3D 56108536 > -TIMESTAMP =3D 1523914189 > +TIMESTAMP =3D 1526286569 > +SHA256 (rust/rustc-1.26.0-src.tar.xz) =3D 903b4727ad0c07e0edf9e27d5962c6 > e6f07f0f3c32e06c0f937bc79a087a32af > +SIZE (rust/rustc-1.26.0-src.tar.xz) =3D 54613664 > +SHA256 (rust/2018-03-29/rustc-1.25.0-aarch64-unknown-freebsd.tar.gz) =3D > bef48b3ba5d560ae2eae532bfa4858827cd90687684e42ba515cb6dd78348ea9 > +SIZE (rust/2018-03-29/rustc-1.25.0-aarch64-unknown-freebsd.tar.gz) =3D > 62374768 > +SHA256 (rust/2018-03-29/rust-std-1.25.0-aarch64-unknown-freebsd.tar.gz) > =3D 994e415d2bec4c862cede93ca8f50fdc30272930170d30d963f5f9e127f8e60b > +SIZE (rust/2018-03-29/rust-std-1.25.0-aarch64-unknown-freebsd.tar.gz) = =3D > 59733871 > +SHA256 (rust/2018-03-29/cargo-0.26.0-aarch64-unknown-freebsd.tar.gz) =3D > a2efee9c92a87ac48d3281eafeb24d713e32aca18dc7b287079f054dd68c533f > +SIZE (rust/2018-03-29/cargo-0.26.0-aarch64-unknown-freebsd.tar.gz) =3D > 4170950 > +SHA256 (rust/2018-03-29/rustc-1.25.0-i686-unknown-freebsd.tar.gz) =3D > 8a2488f0d905bd2d498addf8943bed58f817f3fad8387ba4cb7124f38a4c24dd > +SIZE (rust/2018-03-29/rustc-1.25.0-i686-unknown-freebsd.tar.gz) =3D > 56770706 > +SHA256 (rust/2018-03-29/rust-std-1.25.0-i686-unknown-freebsd.tar.gz) =3D > fe470bcb2e46d91d866b8a7cb22d7f78f421962b54116938b78286a4f9242775 > +SIZE (rust/2018-03-29/rust-std-1.25.0-i686-unknown-freebsd.tar.gz) =3D > 50402505 > +SHA256 (rust/2018-03-29/cargo-0.26.0-i686-unknown-freebsd.tar.gz) =3D > 3736e794fcede8f24dae8798d70ec4252b47516978460448e324b7dd3d875a73 > +SIZE (rust/2018-03-29/cargo-0.26.0-i686-unknown-freebsd.tar.gz) =3D 4930= 623 > +SHA256 (rust/2018-03-29/rustc-1.25.0-x86_64-unknown-freebsd.tar.gz) =3D > 42279e4bb3ab6a6be87096c023ee62a43ffcefb36d2d23ed13b762c5b509ea6d > +SIZE (rust/2018-03-29/rustc-1.25.0-x86_64-unknown-freebsd.tar.gz) =3D > 56569917 > +SHA256 (rust/2018-03-29/rust-std-1.25.0-x86_64-unknown-freebsd.tar.gz) = =3D > c5c62da893a1563e7ccff77ff313417a241300e09b4d06d9f5165bf35a72c58a > +SIZE (rust/2018-03-29/rust-std-1.25.0-x86_64-unknown-freebsd.tar.gz) =3D > 50228076 > +SHA256 (rust/2018-03-29/cargo-0.26.0-x86_64-unknown-freebsd.tar.gz) =3D > f5c4c0fbbb11b36223de815b734ab6f3497b6c453ca7f9fb93d457316fbfc1b7 > +SIZE (rust/2018-03-29/cargo-0.26.0-x86_64-unknown-freebsd.tar.gz) =3D > 5211772 > >