wrong version of cbindgen in slackwarte64-15.0/testing/source/mozilla-firefox/build-deps/cbindgen
by glennmcc from LinuxQuestions.org on (#6DBFC)
I decided to experiment with building firefox v115 on slackware64-15.0
Houston, We have a problem.
The wrong version of cbindgen is included in the source directory.
Code:Index of /slackware/slackware64-15.0/testing/source/mozilla-firefox/build-deps/cbindgen
[ICO] Name Last modified Size Description Metadata
[DIR] Parent Directory -
[ ] cbindgen-0.23.0.tar.lz 21-Apr-2022 16:48 147K Details
[ ] cbindgen.build 14-Jun-2022 16:39 2.0K Details
[ ] cbindgen.url 25-Jun-2021 03:11 35 Details
_______________________________________________________________________________________________It needs v 0.24.3 or higher.
Code:
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# date
Thu Jul 27 13:15:51 EDT 2023
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# uname -a
Linux glennmcc-spare.net 5.15.117 #1 SMP PREEMPT Thu Jun 22 15:39:49 CDT 2023 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# ls -l
total 504684
-rw-r--r-- 1 933 933 693 Mar 22 2021 0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch.gz
drwxr-xr-x 5 933 933 4096 Jul 27 12:53 build-deps/
-rwxr-xr-x 1 933 933 2003 Jul 23 15:20 build-deps.sh*
-rwxr-xr-x 1 933 933 840 Mar 13 2018 fetch-and-repack.sh*
-rw-r--r-- 1 933 933 330 Jul 8 2019 ff.ui.scrollToClick.diff.gz
-rw-r--r-- 1 933 933 516725896 Jul 18 17:46 firefox-115.0.3esr.source.tar.xz
-rw-r--r-- 1 933 933 833 Jul 18 17:46 firefox-115.0.3esr.source.tar.xz.asc
-rw-r--r-- 1 933 933 327 Jun 17 2008 firefox.moz_plugin_path.diff.gz
-rw-r--r-- 1 933 933 518 Mar 15 2021 gkrust.a.no.networking.check.diff.gz
-rw-r--r-- 1 933 933 462 Jul 1 2009 mimeTypes.rdf.gz
-rw-r--r-- 1 933 933 680 Jul 1 2009 mozilla-firefox-mimeTypes-fix.diff.gz
-rwxr-xr-x 1 933 933 15641 Jul 23 15:21 mozilla-firefox.SlackBuild*
-rw-r--r-- 1 933 933 2748 Dec 4 2017 mozilla-firefox.desktop
-rw-r--r-- 1 933 933 1033 Jul 7 2020 slack-desc
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# time ./mozilla-firefox.SlackBuild
cbindgen-0.23.0/
cbindgen-0.23.0/README.md
cbindgen-0.23.0/template.toml
cbindgen-0.23.0/src/
cbindgen-0.23.0/src/bindgen/
cbindgen-0.23.0/src/bindgen/parser.rs
cbindgen-0.23.0/src/bindgen/mangle.rs
cbindgen-0.23.0/src/bindgen/declarationtyperesolver.rs
cbindgen-0.23.0/src/bindgen/ir/
cbindgen-0.23.0/src/bindgen/ir/enumeration.rs
cbindgen-0.23.0/src/bindgen/ir/structure.rs
cbindgen-0.23.0/src/bindgen/ir/constant.rs
cbindgen-0.23.0/src/bindgen/ir/mod.rs
cbindgen-0.23.0/src/bindgen/ir/generic_path.rs
cbindgen-0.23.0/src/bindgen/ir/repr.rs
cbindgen-0.23.0/src/bindgen/ir/typedef.rs
cbindgen-0.23.0/src/bindgen/ir/annotation.rs
cbindgen-0.23.0/src/bindgen/ir/opaque.rs
cbindgen-0.23.0/src/bindgen/ir/path.rs
cbindgen-0.23.0/src/bindgen/ir/field.rs
cbindgen-0.23.0/src/bindgen/ir/ty.rs
cbindgen-0.23.0/src/bindgen/ir/union.rs
cbindgen-0.23.0/src/bindgen/ir/function.rs
cbindgen-0.23.0/src/bindgen/ir/item.rs
________________________
0:42.86 checking for rustdoc... /usr/bin/rustdoc
0:43.03 checking for cbindgen...
0:43.04 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.05 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.06 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.08 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.09 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.10 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.11 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.13 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.14 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.15 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.16 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.18 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.19 ERROR: cbindgen version 0.23.0 is too old. At least version 0.24.3 is required.
0:43.20 Please update using 'cargo install cbindgen --force' or running
0:43.21 './mach bootstrap', after removing the existing executable located at
0:43.23 /root/.cargo/bin/cbindgen.
*** Fix above errors and then restart with "./mach build"
real 217m6.671s
user 392m1.514s
sys 31m53.179s
_______________________________________________________________________________________New attempt underway right now after replacing v0.23.0 with v0.24.6 from here....
https://mirrors.slackware.com/slackw...ce/d/cbindgen/
Code:Index of /slackware/slackware64-current/source/d/cbindgen
[ICO] Name Last modified Size Description Metadata
[DIR] Parent Directory -
[ ] cargo-cbindgen-0.24.6.tar.lz 21-Jun-2023 18:35 1.3M Details
[ ] cbindgen-0.24.6.tar.lz 21-Jun-2023 18:32 157K Details
[ ] cbindgen.SlackBuild 07-Dec-2022 18:28 3.8K Details
[TXT] fetch-sources.sh 21-Jun-2023 18:26 831 Details
[ ] slack-desc 07-Dec-2022 17:56 1.1K DetailsAlso, a query.
Should it be taking such a VERY LONG time to build ?
It took many hours just to get to that point where the build failed. :(
Houston, We have a problem.
The wrong version of cbindgen is included in the source directory.
Code:Index of /slackware/slackware64-15.0/testing/source/mozilla-firefox/build-deps/cbindgen
[ICO] Name Last modified Size Description Metadata
[DIR] Parent Directory -
[ ] cbindgen-0.23.0.tar.lz 21-Apr-2022 16:48 147K Details
[ ] cbindgen.build 14-Jun-2022 16:39 2.0K Details
[ ] cbindgen.url 25-Jun-2021 03:11 35 Details
_______________________________________________________________________________________________It needs v 0.24.3 or higher.
Code:
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# date
Thu Jul 27 13:15:51 EDT 2023
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# uname -a
Linux glennmcc-spare.net 5.15.117 #1 SMP PREEMPT Thu Jun 22 15:39:49 CDT 2023 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# ls -l
total 504684
-rw-r--r-- 1 933 933 693 Mar 22 2021 0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch.gz
drwxr-xr-x 5 933 933 4096 Jul 27 12:53 build-deps/
-rwxr-xr-x 1 933 933 2003 Jul 23 15:20 build-deps.sh*
-rwxr-xr-x 1 933 933 840 Mar 13 2018 fetch-and-repack.sh*
-rw-r--r-- 1 933 933 330 Jul 8 2019 ff.ui.scrollToClick.diff.gz
-rw-r--r-- 1 933 933 516725896 Jul 18 17:46 firefox-115.0.3esr.source.tar.xz
-rw-r--r-- 1 933 933 833 Jul 18 17:46 firefox-115.0.3esr.source.tar.xz.asc
-rw-r--r-- 1 933 933 327 Jun 17 2008 firefox.moz_plugin_path.diff.gz
-rw-r--r-- 1 933 933 518 Mar 15 2021 gkrust.a.no.networking.check.diff.gz
-rw-r--r-- 1 933 933 462 Jul 1 2009 mimeTypes.rdf.gz
-rw-r--r-- 1 933 933 680 Jul 1 2009 mozilla-firefox-mimeTypes-fix.diff.gz
-rwxr-xr-x 1 933 933 15641 Jul 23 15:21 mozilla-firefox.SlackBuild*
-rw-r--r-- 1 933 933 2748 Dec 4 2017 mozilla-firefox.desktop
-rw-r--r-- 1 933 933 1033 Jul 7 2020 slack-desc
root@glennmcc-spare:/archives-a/testing/source/mozilla-firefox# time ./mozilla-firefox.SlackBuild
cbindgen-0.23.0/
cbindgen-0.23.0/README.md
cbindgen-0.23.0/template.toml
cbindgen-0.23.0/src/
cbindgen-0.23.0/src/bindgen/
cbindgen-0.23.0/src/bindgen/parser.rs
cbindgen-0.23.0/src/bindgen/mangle.rs
cbindgen-0.23.0/src/bindgen/declarationtyperesolver.rs
cbindgen-0.23.0/src/bindgen/ir/
cbindgen-0.23.0/src/bindgen/ir/enumeration.rs
cbindgen-0.23.0/src/bindgen/ir/structure.rs
cbindgen-0.23.0/src/bindgen/ir/constant.rs
cbindgen-0.23.0/src/bindgen/ir/mod.rs
cbindgen-0.23.0/src/bindgen/ir/generic_path.rs
cbindgen-0.23.0/src/bindgen/ir/repr.rs
cbindgen-0.23.0/src/bindgen/ir/typedef.rs
cbindgen-0.23.0/src/bindgen/ir/annotation.rs
cbindgen-0.23.0/src/bindgen/ir/opaque.rs
cbindgen-0.23.0/src/bindgen/ir/path.rs
cbindgen-0.23.0/src/bindgen/ir/field.rs
cbindgen-0.23.0/src/bindgen/ir/ty.rs
cbindgen-0.23.0/src/bindgen/ir/union.rs
cbindgen-0.23.0/src/bindgen/ir/function.rs
cbindgen-0.23.0/src/bindgen/ir/item.rs
________________________
0:42.86 checking for rustdoc... /usr/bin/rustdoc
0:43.03 checking for cbindgen...
0:43.04 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.05 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.06 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.08 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.09 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.10 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.11 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.13 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.14 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.15 DEBUG: trying cbindgen: /root/.cargo/bin/cbindgen
0:43.16 DEBUG: Executing: `/root/.cargo/bin/cbindgen --version`
0:43.18 DEBUG: /root/.cargo/bin/cbindgen has version 0.23.0
0:43.19 ERROR: cbindgen version 0.23.0 is too old. At least version 0.24.3 is required.
0:43.20 Please update using 'cargo install cbindgen --force' or running
0:43.21 './mach bootstrap', after removing the existing executable located at
0:43.23 /root/.cargo/bin/cbindgen.
*** Fix above errors and then restart with "./mach build"
real 217m6.671s
user 392m1.514s
sys 31m53.179s
_______________________________________________________________________________________New attempt underway right now after replacing v0.23.0 with v0.24.6 from here....
https://mirrors.slackware.com/slackw...ce/d/cbindgen/
Code:Index of /slackware/slackware64-current/source/d/cbindgen
[ICO] Name Last modified Size Description Metadata
[DIR] Parent Directory -
[ ] cargo-cbindgen-0.24.6.tar.lz 21-Jun-2023 18:35 1.3M Details
[ ] cbindgen-0.24.6.tar.lz 21-Jun-2023 18:32 157K Details
[ ] cbindgen.SlackBuild 07-Dec-2022 18:28 3.8K Details
[TXT] fetch-sources.sh 21-Jun-2023 18:26 831 Details
[ ] slack-desc 07-Dec-2022 17:56 1.1K DetailsAlso, a query.
Should it be taking such a VERY LONG time to build ?
It took many hours just to get to that point where the build failed. :(