Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602994 - sys-freebsd/freebsd-lib-10.3-r3: freebsd-lib-SA-1637-libc.patch VERIFY FAILED!
Summary: sys-freebsd/freebsd-lib-10.3-r3: freebsd-lib-SA-1637-libc.patch VERIFY FAILED!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 10:19 UTC by OGINO Masanori
Modified: 2016-12-28 00:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OGINO Masanori 2016-12-18 10:19:33 UTC
From the output of `ebuild freebsd-lib-10.3-r3.ebuild fetch`:

>>> Downloading 'https://security.freebsd.org/patches/SA-16:37/libc.patch'
--2016-12-18 18:55:32--  https://security.freebsd.org/patches/SA-16:37/libc.patch
Resolving security.freebsd.org... 8.8.178.110, 2001:1900:2254:206a::50:0
Connecting to security.freebsd.org|8.8.178.110|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.freebsd.org/security/patches/SA-16:37/libc.patch [following]
--2016-12-18 18:55:33--  https://www.freebsd.org/security/patches/SA-16:37/libc.patch
Resolving www.freebsd.org... 8.8.178.110, 2001:1900:2254:206a::50:0
Connecting to www.freebsd.org|8.8.178.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1567 (1.5K) [application/octet-stream]
Saving to: '/usr/portage/distfiles/freebsd-lib-SA-1637-libc.patch'

/usr/portage/distfiles/freebsd-lib-SA-1637 100%[======================================================================================>]   1.53K  --.-KB/s    in 0s

2016-12-18 18:55:33 (132 MB/s) - '/usr/portage/distfiles/freebsd-lib-SA-1637-libc.patch' saved [1567/1567]

!!! Fetched file: freebsd-lib-SA-1637-libc.patch VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1567
!!! Expected: 1556
Refetching... File renamed to '/usr/portage/distfiles/freebsd-lib-SA-1637-libc.patch._checksum_failure_.mVUVt3'

!!! Couldn't download 'freebsd-lib-SA-1637-libc.patch'. Aborting.

The Manifest entry in the Gentoo repository:

DIST freebsd-lib-SA-1637-libc.patch 1556 SHA256 923e4bfee62218b60ea8ea39488705073747e06d0ff57190c7c0f0b80df643ee SHA512 dcaaa328296fa39b236f5ddfbab62dd7ba58eab17f60cb0e2a3f4ab6a1b4aef750642b3cb3953c7a430297448263eddad7ca2826198577f5e5ffda4426e58955 WHIRLPOOL 5ebfe5290658a4413e9ffbaabbf750b6661a1ff0206de9ddbe4e71ab1aad77c5edb4373338186ceb781c6c472daf38ff4cc443a835e83666f1a9858a0ff8bddf

The entry generated on my machine:

DIST freebsd-lib-SA-1637-libc.patch 1567 SHA256 77923f6f7c754507db76e6ee13aed1a36b0e58691369baf8f2c9bff819787f0e SHA512 8eaea9e01a7b224138da2cec559d8e925af3ecda4bf7d29340394f57204cd2460c7418a33dcca3db445436ac2985dba42478ad5595c25b9d83305552a04965f7 WHIRLPOOL b15495b71aa72f56494e9efb55b7641224672f93442a075212269a180aac6ac705802afd90f40e192af72a975f05aa8d516355339722c741d565444cbc076a95

I'm unsure which is correct, though.

Reproducible: Always

Steps to Reproduce:
1. ebuild /usr/portage/sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild fetch

Actual Results:  
Fetching distfiles is abandoned.

Expected Results:  
All files are fetched.

Portage 2.3.3 (python 2.7.12-final-0, default/bsd/fbsd/amd64/10.3, gcc-5.4.0, freebsd-lib-10.3-r3, 10.3-r6-Gentoo amd64)
=================================================================
System uname: FreeBSD-10.3-r6-Gentoo-amd64-64bit-ELF
Timestamp of repository gentoo: Sun, 18 Dec 2016 00:45:01 +0000
sh sh
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:         4.4_p5-r1::gentoo
dev-lang/perl:           5.24.1_rc4::gentoo
dev-lang/python:         2.7.12::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:      0.29.1::gentoo
sys-apps/baselayout:     2.3::gentoo
sys-apps/openrc:         0.22.4::gentoo
sys-devel/autoconf:      2.69-r2::gentoo
sys-devel/automake:      1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:      2.27::gentoo
sys-devel/gcc:           5.4.0::gentoo
sys-devel/gcc-config:    1.8-r1::gentoo
sys-devel/libtool:       2.4.6-r2::gentoo
sys-devel/make:          4.2.1::gentoo
sys-freebsd/freebsd-lib: 10.3-r3::gentoo (virtual/os-headers)
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.jp.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-freebsd10.3"
CFLAGS="-O2 -pipe -mtune=generic"
CHOST="x86_64-gentoo-freebsd10.3"
CONFIG_PROTECT="/boot/device.hints /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=generic"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs chflags config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/                 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
INSTALL_MASK="/usr/lib/systemd"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64-fbsd berkdb bindist cracklib crypt cxx dri gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls oss pam pcre python2 readline sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="FreeBSD" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga nv r128 radeon rendition s3 s3virge savage siliconmotion sis tga trident tseng fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Yuta SATOH 2016-12-18 11:01:11 UTC
Thanks for the report.
The checksum changed because the upstream patch was updated.
I opened PR to fix this problem.

https://github.com/gentoo/gentoo/pull/3157
Comment 2 Patrice Clement gentoo-dev 2016-12-28 00:19:32 UTC
commit 860a8dd4308a80874aa1ed323303df57eb7c2c5b (HEAD -> master, origin/master, origin/HEAD)
Author:     Yuta Satoh <nigoro.dev@gmail.com>
AuthorDate: Sun Dec 18 19:57:48 2016 +0900
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Wed Dec 28 01:14:16 2016 +0100

sys-freebsd/freebsd-lib: fix Manifest.

Gentoo-Bug: https://bugs.gentoo.org/602994
Closes: https://github.com/gentoo/gentoo/pull/3157

sys-freebsd/freebsd-lib/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

PR merged, thanks!