Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619442 - sys-kernel/linux-firmware-20170314::gentoo VERIFY FAILED!
Summary: sys-kernel/linux-firmware-20170314::gentoo VERIFY FAILED!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 11:25 UTC by cronolio
Modified: 2017-11-23 15:52 UTC (History)
4 users (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 cronolio 2017-05-23 11:25:33 UTC
>>> Emerging (1 of 2) sys-kernel/linux-firmware-20170314::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
>>> Downloading 'https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.xz'
--2017-05-23 15:48:53--  https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.xz
Resolving git.kernel.org... 147.75.205.195
Connecting to git.kernel.org|147.75.205.195|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.xz [following]
--2017-05-23 15:48:54--  https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.xz
Reusing existing connection to git.kernel.org:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.kernel.org//pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz [following]
--2017-05-23 15:48:54--  https://git.kernel.org//pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz
Reusing existing connection to git.kernel.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '/mnt/mirror/gentoo-distfiles/distfiles/linux-firmware-20170314.tar.xz'
 
/mnt/mirror/gentoo-     [     <=>            ]  91.62M  1.76MB/s    in 52s    
 
2017-05-23 15:49:46 (1.76 MB/s) - '/mnt/mirror/gentoo-distfiles/distfiles/linux-firmware-20170314.tar.xz' saved [96072698]
 
!!! Fetched file: linux-firmware-20170314.tar.xz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      96072698
!!! Expected: 43175092
Refetching... File renamed to '/mnt/mirror/gentoo-distfiles/distfiles/linux-firmware-20170314.tar.xz._checksum_failure_.00zxl9cu'
 
!!! Couldn't download 'linux-firmware-20170314.tar.xz'. Aborting.
 * Fetch failed for 'sys-kernel/linux-firmware-20170314', Log file:
 *  '/var/tmp/portage/sys-kernel/linux-firmware-20170314/temp/build.log'



emerge --info
Portage 2.3.5 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r3, 4.4.62-gentoo x86_64)
=================================================================
System uname: Linux-4.4.62-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E6600_@_3.06GHz-with-gentoo-2.3
KiB Mem:     4042704 total,    386868 free
KiB Swap:    4194300 total,   3669768 free
Timestamp of repository gentoo: Tue, 23 May 2017 09:42:11 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /mnt/mirror/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo
    priority: -1000

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: git://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

local
    location: /mnt/mirror/local
    masters: gentoo
    priority: 9999

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -mssse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -mssse3 -fomit-frame-pointer"
DISTDIR="/mnt/mirror/gentoo-distfiles/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=""
LANG="ru_RU.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/mnt/mirror/gentoo-distfiles/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="X a52 aac aacplus acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cue cxx dbus djvu dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac gdbm gif glamor gnome-keyring gstreamer gtk gtk3 gtkstyle iconv jpeg lcms libnotify lzma mad matroska mmx mmxext mng modplug modules mp3 mp4 mpeg multilib musepack mysqli natspec ncurses networkmanager nls nptl ogg opengl openh264 openmp pam pango pcre pdf png policykit ppds pulseaudio rar readline sdl seccomp session spell sse sse2 sse3 ssl ssse3 startup-notification svg theora tiff truetype twolame udev udisks unicode upower usb v4l vaapi vdpau vorbis vpx wavpack wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Jonas Stein gentoo-dev 2017-05-23 16:13:55 UTC
cd /usr/portage/sys-kernel/linux-firmware/
$ ebuild linux-firmware-20170314.ebuild fetch
[..]
 * linux-firmware-20170314.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...   [ ok ]

ebuild linux-firmware-20170314.ebuild unpack 
 * linux-firmware-20170314.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]

looks fine here.
Can you test, again? Perhaps it was a temporary problem.
Comment 2 cronolio 2017-05-23 16:25:19 UTC
(In reply to Jonas Stein from comment #1)
> cd /usr/portage/sys-kernel/linux-firmware/
> $ ebuild linux-firmware-20170314.ebuild fetch
> [..]
>  * linux-firmware-20170314.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...   [
> ok ]
> 
> ebuild linux-firmware-20170314.ebuild unpack 
>  * linux-firmware-20170314.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...   [
> ok ]
>  * checking ebuild checksums ;-) ...                                     [
> ok ]
>  * checking miscfile checksums ;-) ...                                   [
> ok ]
> 
> looks fine here.
> Can you test, again? Perhaps it was a temporary problem.

because you download from gentoo mirrors
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-05-23 16:33:25 UTC
works for me 
>>> Emerging (1 of 1) sys-kernel/linux-firmware-20170314::gentoo
>>> Downloading 'http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/linux-firmware-20170314.tar.xz'
--2017-05-24 01:31:32--  http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/linux-firmware-20170314.tar.xz
Resolving ftp.iij.ad.jp... 2001:240:bb8f::1:70, 202.232.140.70
Connecting to ftp.iij.ad.jp|2001:240:bb8f::1:70|:80... failed: Connection refused.
Connecting to ftp.iij.ad.jp|202.232.140.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43175092 (41M) [application/x-xz]
Saving to: ‘/usr/portage/distfiles/linux-firmware-20170314.tar.xz’

/usr/portage/distfi 100%[===================>]  41.17M  4.05MB/s    in 14s     

2017-05-24 01:31:46 (2.99 MB/s) - ‘/usr/portage/distfiles/linux-firmware-20170314.tar.xz’ saved [43175092/43175092]
Comment 4 cronolio 2017-05-23 16:50:09 UTC
(In reply to Alice Ferrazzi from comment #3)
> works for me 
> >>> Emerging (1 of 1) sys-kernel/linux-firmware-20170314::gentoo
> >>> Downloading 'http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/linux-firmware-20170314.tar.xz'

Also. My file downloaded from git.kernel.org. Not from gentoo mirrors
Comment 5 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-05-23 17:15:16 UTC
alitoo distfiles # wget https://git.kernel.org//pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz
--2017-05-24 02:12:05--  https://git.kernel.org//pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz
Resolving git.kernel.org... 2604:1380:3000:3500::3, 147.75.110.187
Connecting to git.kernel.org|2604:1380:3000:3500::3|:443... failed: Connection refused.
Connecting to git.kernel.org|147.75.110.187|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz’

linux-firmware-e39f0e3e68     [                        <=>          ]  91.62M  5.49MB/s    in 19s     

2017-05-24 02:12:24 (4.92 MB/s) - ‘linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz’ saved [96072698]

alitoo distfiles # mv linux-firmware-e39f0e3e6897ad865b3704f61218ae83f98a85da.tar.gz linux-firmware-20170314.tar.xz
alitoo distfiles # cd /usr/portage/sys-kernel/linux-firmware          
alitoo linux-firmware # ls 
linux-firmware-20160331.ebuild  linux-firmware-20170314.ebuild  metadata.xml
linux-firmware-20161205.ebuild  linux-firmware-99999999.ebuild
linux-firmware-20170113.ebuild  Manifest
alitoo linux-firmware # ebuild linux-firmware-20170314.ebuild merge
>>> Existing ${T}/environment for 'linux-firmware-20170314' will be
>>> sourced. Run 'clean' to start with a fresh environment.
>>> Checking linux-firmware-20170314.tar.xz's mtime...
>>> WORKDIR is up-to-date, keeping...
 * checking ebuild checksums ;-) ...                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                          [ ok ]
Comment 6 cronolio 2017-05-23 17:25:22 UTC
manifest generated for renamed file. it is problem ? please update ebuild for people who want to use upsteam SRC_URI https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-kernel/linux-firmware/linux-firmware-20170314.ebuild#n14
Comment 7 Mike Gilbert gentoo-dev 2017-11-23 15:41:19 UTC
(In reply to cronolio from comment #6)
> manifest generated for renamed file. it is problem ? please update ebuild
> for people who want to use upsteam SRC_URI
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-kernel/linux-firmware/
> linux-firmware-20170314.ebuild#n14

The "upstream" tarball is dynamically generated by cgit. Its contents may change when cgit, git, tar, or gzip are upgraded.

It probably is a bad idea to point SRC_URI directly at it, but it is also silly to repeatedly update the Manifest for people who have disabled Gentoo mirrors.
Comment 8 Larry the Git Cow gentoo-dev 2017-11-23 15:52:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e154f3a3f382fac85d31f496563c67b89afdb67

commit 6e154f3a3f382fac85d31f496563c67b89afdb67
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-11-23 15:51:58 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-11-23 15:51:58 +0000

    sys-kernel/linux-firmware: use gzip tarballs for old versions
    
    It looks like git.kernel.org lost the ability to generate XZ tarballs.
    Use gzip tarballs instead.
    
    Closes: https://bugs.gentoo.org/619442
    Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 sys-kernel/linux-firmware/Manifest                       | 4 ++--
 sys-kernel/linux-firmware/linux-firmware-20161205.ebuild | 2 +-
 sys-kernel/linux-firmware/linux-firmware-20170314.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)