Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681908 - www-client/firefox-66.0.2 error: failed to calculate checksum of: ${S}/third_party/rust/packed_simd/LICENSE-MIT
Summary: www-client/firefox-66.0.2 error: failed to calculate checksum of: ${S}/third_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 681906 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-28 06:02 UTC by Georgy Yakovlev
Modified: 2019-03-29 04:29 UTC (History)
12 users (show)

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


Attachments
Build.log (www-client:firefox-66.0.2:20190328-073040.log.7z,45.79 KB, application/x-7z-compressed)
2019-03-28 17:16 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2019-03-28 06:02:35 UTC
I deleted build log, here's the relevant part:

8 0:31.15 error: failed to calculate checksum of: /tmp/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/third_party/rust/packed_simd/LICENSE-MIT
8 0:31.16 Caused by:
8 0:31.16   No such file or directory (os error 2)

 0:32.15 error: failed to calculate checksum of: /tmp/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/third_party/rust/packed_simd/LICENSE-APACHE
 0:32.15 Caused by:
 0:32.15   No such file or directory (os error 2)



probably patch not handling file moves?
rename from third_party/rust/simd/LICENSE-APACHE
rename to third_party/rust/packed_simd/LICENSE-APACHE
rename from third_party/rust/simd/LICENSE-MIT
rename to third_party/rust/packed_simd/LICENSE-MIT
--- a/third_party/rust/simd/LICENSE-MIT



tree /tmp/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/third_party/rust/simd/
/tmp/portage/www-client/firefox-66.0.2/work/firefox-66.0.2/third_party/rust/simd/
├── LICENSE-APACHE
└── LICENSE-MIT

0 directories, 2 files
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-03-28 06:18:21 UTC
the following workaround seems to help

cat /etc/portage/env/www-client/firefox-66.0.2 

post_src_prepare() {
        ebegin "hooked by ${BASH_SOURCE[0]} in ${FUNCNAME[0]}"
        pushd "${S}"/third_party/rust > /dev/null || die
        cp simd/LICENSE-{MIT,APACHE} packed_simd/  || die
        popd > /dev/null
        eend ${?}
}


I have sys-devel/patch-2.7.6-r3 installed, which you bumped today =)
is it possible one of patches changed patch behaviour? I'll try to test.
Comment 2 Georgy Yakovlev archtester gentoo-dev 2019-03-28 07:06:41 UTC
reverting sys-devel/patch to previous version didn't help.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-28 09:28:14 UTC
*** Bug 681906 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-28 10:01:41 UTC
Don't know how this happened but incoming fix... sorry for that.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-28 10:09:19 UTC
> @@ -17,8 +20,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 - Part 2
>   .../rust/encoding_rs/src/x_user_defined.rs    |    7 +-
>   .../rust/packed_simd/.cargo-checksum.json     |    1 +
>   third_party/rust/packed_simd/Cargo.toml       |   67 +
> - .../rust/{simd => packed_simd}/LICENSE-APACHE |    0
> - .../rust/{simd => packed_simd}/LICENSE-MIT    |    4 +-
> + third_party/rust/packed_simd/LICENSE-APACHE   |  201 +++
> + third_party/rust/packed_simd/LICENSE-MIT      |   25 +
>   third_party/rust/packed_simd/bors.toml        |    3 +
>   third_party/rust/packed_simd/build.rs         |    7 +
>   third_party/rust/packed_simd/ci/all.sh        |   64 +
> @@ -227,6 +230,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 - Part 2
>   .../rust/packed_simd/tests/endianness.rs      |  262 ++++
>   third_party/rust/simd/.cargo-checksum.json    |    1 -
>   third_party/rust/simd/Cargo.toml              |   37 -
> + third_party/rust/simd/LICENSE-MIT             |    4 +-
>   third_party/rust/simd/README.md               |   11 -
>   third_party/rust/simd/benches/mandelbrot.rs   |  117 --
>   third_party/rust/simd/benches/matrix.rs       |  485 ------
> @@ -259,11 +263,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 - Part 2
>   third_party/rust/simd/src/x86/sse4_1.rs       |  155 --
>   third_party/rust/simd/src/x86/sse4_2.rs       |   19 -
>   third_party/rust/simd/src/x86/ssse3.rs        |  172 --
> - 258 files changed, 17177 insertions(+), 6726 deletions(-)
> + 259 files changed, 17403 insertions(+), 6726 deletions(-)
>   create mode 100644 third_party/rust/packed_simd/.cargo-checksum.json
>   create mode 100644 third_party/rust/packed_simd/Cargo.toml
> - rename third_party/rust/{simd => packed_simd}/LICENSE-APACHE (100%)
> - rename third_party/rust/{simd => packed_simd}/LICENSE-MIT (93%)
> + create mode 100644 third_party/rust/packed_simd/LICENSE-APACHE
> + create mode 100644 third_party/rust/packed_simd/LICENSE-MIT
>   create mode 100644 third_party/rust/packed_simd/bors.toml
>   create mode 100644 third_party/rust/packed_simd/build.rs
>   create mode 100644 third_party/rust/packed_simd/ci/all.sh

When I diff, it looks like git rename didn't work as expect. I didn't test the complete final patch set but I copied the 3 patches into /etc/portage/patches which worked... weird.

Anyway, new fixed patch set is landing.
Comment 6 Larry the Git Cow gentoo-dev 2019-03-28 10:09:32 UTC
The bug has been referenced in the following commit(s):

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

commit b3eb9621fdd6d249d6ce4abe5355b6364480010a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-03-28 09:57:26 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-03-28 09:57:48 +0000

    www-client/firefox: fix patch set
    
    third_party/rust/packed_simd/LICENSE-{MIT,APACHE} were missing.
    
    Bug: https://bugs.gentoo.org/681908
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest              | 2 +-
 www-client/firefox/firefox-66.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 7 CaptainBlood 2019-03-28 17:16:50 UTC
Created attachment 571054 [details]
Build.log

Same issue raised here, with rust-bin-1.32
Currently compiling with rust-bin-1.33 which seems to go much further, although not achieved yet
Comment 8 Jory A. Pratt gentoo-dev 2019-03-28 20:35:52 UTC
(In reply to CaptainBlood from comment #7)
> Created attachment 571054 [details]
> Build.log
> 
> Same issue raised here, with rust-bin-1.32
> Currently compiling with rust-bin-1.33 which seems to go much further,
> although not achieved yet

Please do not attach 7zip files, xz -c is more then enough for your bugzilla needs.
Comment 9 Dmitry Grigoriev 2019-03-28 22:35:56 UTC
I confirm both bug and fix: fixed for me by commit https://github.com/gentoo-mirror/gentoo/commit/b3eb9621fdd6d249d6ce4abe5355b6364480010a
Comment 10 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-29 04:29:35 UTC
This was fixed with at 2019-03-28 11:09:32 CET  (comment #6).
I kept this bug open to prevent duplicated bugs from people only synchronizing once every a day (like webrsync users).

Now closing...