aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rust-nightly
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2017-03-06 21:27:57 +0800
committerdumbbell <dumbbell@FreeBSD.org>2017-03-06 21:27:57 +0800
commit4a18cac9ba814fca795d71a8bdf03bf11bd6dcc9 (patch)
treef79ab279d330b19d79d305a27dcbec818f1d0385 /lang/rust-nightly
parent4b970a5cf9b46cef65609f7ef8dc6b7125d3f18d (diff)
downloadfreebsd-ports-gnome-4a18cac9ba814fca795d71a8bdf03bf11bd6dcc9.tar.gz
freebsd-ports-gnome-4a18cac9ba814fca795d71a8bdf03bf11bd6dcc9.tar.zst
freebsd-ports-gnome-4a18cac9ba814fca795d71a8bdf03bf11bd6dcc9.zip
lang/rust, lang/rust-nightly: Generate PLIST in post-install
Several libraries have their filename computed and based on the absolute path to source files. Therefore, we need to generate the PLIST. Rust installer already produces manifests listing files it installs. The port now uses those files to complete `${TMPPLIST}`. While the port built fine in Poudriere, it failed when built directly on the host (regular make or with portmaster(1)) or using a different tool such as Synth. This commit fixes the build for those methods. Handling of DOCS-specific files is also unified with normal files. This gets rid of code duplication. How to do reproducible builds will be studied later. PR: 217309 Reported by: Several people on freebsd-ports@ or Bugzilla Tested by: Almost everyone who reported the issue Approved by: antoine (mentor), riggs (maintainer of lang/rust) Differential Revision: https://reviews.freebsd.org/D9816
Diffstat (limited to 'lang/rust-nightly')
-rw-r--r--lang/rust-nightly/pkg-plist.amd64111
-rw-r--r--lang/rust-nightly/pkg-plist.i386111
2 files changed, 0 insertions, 222 deletions
diff --git a/lang/rust-nightly/pkg-plist.amd64 b/lang/rust-nightly/pkg-plist.amd64
deleted file mode 100644
index 250639383213..000000000000
--- a/lang/rust-nightly/pkg-plist.amd64
+++ /dev/null
@@ -1,111 +0,0 @@
-bin/rust-gdb
-bin/rust-lldb
-bin/rustc
-bin/rustdoc
-lib/libarena-8d2cc8030f9f9e51.so
-lib/libflate-973fda46ca6065f1.so
-lib/libfmt_macros-9d6e7242f0ddcbf7.so
-lib/libgetopts-14c98bbc4ab8bc3f.so
-lib/libgraphviz-aa6a755e4919c93d.so
-lib/liblog-e4305648ec68a46a.so
-lib/libproc_macro-4730696f57bacfa3.so
-lib/libproc_macro_plugin-69bd7c91eac0c254.so
-lib/librustc-6b01deb37863e1ca.so
-lib/librustc_back-427e3c868150f7b0.so
-lib/librustc_borrowck-a304a1e74e918d6b.so
-lib/librustc_const_eval-c69c066c119845ac.so
-lib/librustc_const_math-ccd5fbe2ff37b8d0.so
-lib/librustc_data_structures-b9404b12fbed1c74.so
-lib/librustc_driver-c04abcc58e3ffb91.so
-lib/librustc_errors-e031f7e8a7282cec.so
-lib/librustc_incremental-eb1b3a9ccd2d69f4.so
-lib/librustc_lint-2c84223e05fa41a5.so
-lib/librustc_llvm-2e9edcc4f41d6f9e.so
-lib/librustc_metadata-68c02ba8ed31bcbb.so
-lib/librustc_mir-d1ade9f855a3dd4e.so
-lib/librustc_passes-440684124770790d.so
-lib/librustc_platform_intrinsics-800e3ffa1075bf42.so
-lib/librustc_plugin-ea33519f778627e0.so
-lib/librustc_privacy-0e49074db03edd68.so
-lib/librustc_resolve-8f93f3b7cce6c6c6.so
-lib/librustc_save_analysis-bacd5488c3595e4e.so
-lib/librustc_trans-6e517a0c43def43a.so
-lib/librustc_typeck-0cda1f5e9ab6ae7e.so
-lib/librustdoc-4a80fdb0177544ad.so
-lib/libserialize-c2845ef911babcca.so
-lib/libstd-f2f8780747d93445.so
-lib/libsyntax-03351f557e53af0e.so
-lib/libsyntax_ext-6a1c3c07e6d676fa.so
-lib/libsyntax_pos-255190cc0bcdb455.so
-lib/libterm-eb27c73a2d4a57e7.so
-lib/libtest-b971548dd4e94068.so
-lib/rustlib/components
-lib/rustlib/etc/debugger_pretty_printers_common.py
-lib/rustlib/etc/gdb_load_rust_pretty_printers.py
-lib/rustlib/etc/gdb_rust_pretty_printing.py
-lib/rustlib/etc/lldb_rust_formatters.py
-%%PORTDOCS%%lib/rustlib/manifest-rust-docs
-lib/rustlib/manifest-rust-std-%%RUST_TARGET%%
-lib/rustlib/manifest-rustc
-lib/rustlib/rust-installer-version
-lib/rustlib/uninstall.sh
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc-a8d9cdd7f7eb8506.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc_jemalloc-313310930119e25e.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc_system-f4d8f5b6d6a973bb.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libarena-8d2cc8030f9f9e51.so
-lib/rustlib/%%RUST_TARGET%%/lib/libcollections-2bdf2b02dc8a8446.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libcompiler_builtins-9b730c300ba40434.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libcore-da4919c977412e22.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libflate-973fda46ca6065f1.so
-lib/rustlib/%%RUST_TARGET%%/lib/libfmt_macros-9d6e7242f0ddcbf7.so
-lib/rustlib/%%RUST_TARGET%%/lib/libgetopts-14c98bbc4ab8bc3f.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libgetopts-14c98bbc4ab8bc3f.so
-lib/rustlib/%%RUST_TARGET%%/lib/libgraphviz-aa6a755e4919c93d.so
-lib/rustlib/%%RUST_TARGET%%/lib/liblibc-ea4991e691e95619.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liblog-e4305648ec68a46a.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liblog-e4305648ec68a46a.so
-lib/rustlib/%%RUST_TARGET%%/lib/libpanic_abort-b7a2099b7d96488a.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libpanic_unwind-335959aa35b8bd5d.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libproc_macro-4730696f57bacfa3.so
-lib/rustlib/%%RUST_TARGET%%/lib/libproc_macro_plugin-69bd7c91eac0c254.so
-lib/rustlib/%%RUST_TARGET%%/lib/librand-5013d660cd4b44f7.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/librustc-6b01deb37863e1ca.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_back-427e3c868150f7b0.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_bitflags-2af44cfa8afa54e9.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_borrowck-a304a1e74e918d6b.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_const_eval-c69c066c119845ac.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_const_math-ccd5fbe2ff37b8d0.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_data_structures-b9404b12fbed1c74.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_driver-c04abcc58e3ffb91.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_errors-e031f7e8a7282cec.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_incremental-eb1b3a9ccd2d69f4.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_lint-2c84223e05fa41a5.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_llvm-2e9edcc4f41d6f9e.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_metadata-68c02ba8ed31bcbb.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_mir-d1ade9f855a3dd4e.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_passes-440684124770790d.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_platform_intrinsics-800e3ffa1075bf42.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_plugin-ea33519f778627e0.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_privacy-0e49074db03edd68.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_resolve-8f93f3b7cce6c6c6.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_save_analysis-bacd5488c3595e4e.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_trans-6e517a0c43def43a.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_typeck-0cda1f5e9ab6ae7e.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustdoc-4a80fdb0177544ad.so
-lib/rustlib/%%RUST_TARGET%%/lib/libserialize-c2845ef911babcca.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libserialize-c2845ef911babcca.so
-lib/rustlib/%%RUST_TARGET%%/lib/libstd-f2f8780747d93445.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libstd-f2f8780747d93445.so
-lib/rustlib/%%RUST_TARGET%%/lib/libstd_shim-93e35d7db5ebf466.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libstd_unicode-c9431ed85229e521.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax-03351f557e53af0e.so
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax_ext-6a1c3c07e6d676fa.so
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax_pos-255190cc0bcdb455.so
-lib/rustlib/%%RUST_TARGET%%/lib/libterm-eb27c73a2d4a57e7.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libterm-eb27c73a2d4a57e7.so
-lib/rustlib/%%RUST_TARGET%%/lib/libtest-b971548dd4e94068.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libtest-b971548dd4e94068.so
-lib/rustlib/%%RUST_TARGET%%/lib/libtest_shim-6ea79bb2723d4a41.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libunwind-1602582b55d57366.rlib
-man/man1/rustc.1.gz
-man/man1/rustdoc.1.gz
diff --git a/lang/rust-nightly/pkg-plist.i386 b/lang/rust-nightly/pkg-plist.i386
deleted file mode 100644
index 967c463be486..000000000000
--- a/lang/rust-nightly/pkg-plist.i386
+++ /dev/null
@@ -1,111 +0,0 @@
-bin/rust-gdb
-bin/rust-lldb
-bin/rustc
-bin/rustdoc
-lib/libarena-cdf0295c70746a79.so
-lib/libflate-b9a5040f96aa402b.so
-lib/libfmt_macros-b3074e0c5da3df6d.so
-lib/libgetopts-d8895d105d310e76.so
-lib/libgraphviz-0059e64abf2c24b2.so
-lib/liblog-f9832bc037a53dcb.so
-lib/libproc_macro-a4c3e2756e12fcc8.so
-lib/libproc_macro_plugin-45d25669fd5fb1a5.so
-lib/librustc-4b28b6ad6d82e49f.so
-lib/librustc_back-2c1449f7f387d224.so
-lib/librustc_borrowck-6ac2c9c72eceeeda.so
-lib/librustc_const_eval-487905d175c99446.so
-lib/librustc_const_math-238fdc253dd7af24.so
-lib/librustc_data_structures-31344ba5b5be7057.so
-lib/librustc_driver-084f8accf1cc2bd1.so
-lib/librustc_errors-beefbf0f0264a079.so
-lib/librustc_incremental-6d23576ccbfa6527.so
-lib/librustc_lint-5a028635ff692d5b.so
-lib/librustc_llvm-6509896b779098aa.so
-lib/librustc_metadata-48efb0507a83f497.so
-lib/librustc_mir-188dca836b5f1b12.so
-lib/librustc_passes-198fc6e3469ee0e1.so
-lib/librustc_platform_intrinsics-fb42969088db1e17.so
-lib/librustc_plugin-f1ae7a111ce0ec6f.so
-lib/librustc_privacy-9ff96d587ab182b2.so
-lib/librustc_resolve-e44fc7af7ebcb411.so
-lib/librustc_save_analysis-54b37819ddd48dc5.so
-lib/librustc_trans-621f14613d5d3296.so
-lib/librustc_typeck-615f7784c66ad9b3.so
-lib/librustdoc-d30d7b89914f7571.so
-lib/libserialize-526524dfd837403a.so
-lib/libstd-d97890d0e362897a.so
-lib/libsyntax-4a8d4ba093890bd8.so
-lib/libsyntax_ext-c7946296933228f1.so
-lib/libsyntax_pos-a856932aa4fd541e.so
-lib/libterm-eb7b0c50c4d22983.so
-lib/libtest-0c4c2bc2990af5ab.so
-lib/rustlib/components
-lib/rustlib/etc/debugger_pretty_printers_common.py
-lib/rustlib/etc/gdb_load_rust_pretty_printers.py
-lib/rustlib/etc/gdb_rust_pretty_printing.py
-lib/rustlib/etc/lldb_rust_formatters.py
-%%PORTDOCS%%lib/rustlib/manifest-rust-docs
-lib/rustlib/manifest-rust-std-%%RUST_TARGET%%
-lib/rustlib/manifest-rustc
-lib/rustlib/rust-installer-version
-lib/rustlib/uninstall.sh
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc-c57a879ed7447180.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc_jemalloc-ab82c164a23e3c08.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liballoc_system-5ca4345bce998522.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libarena-cdf0295c70746a79.so
-lib/rustlib/%%RUST_TARGET%%/lib/libcollections-39e9e502ffbb788e.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libcompiler_builtins-9c20a1b3f18accdf.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libcore-b4d29dc3993f010d.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libflate-b9a5040f96aa402b.so
-lib/rustlib/%%RUST_TARGET%%/lib/libfmt_macros-b3074e0c5da3df6d.so
-lib/rustlib/%%RUST_TARGET%%/lib/libgetopts-d8895d105d310e76.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libgetopts-d8895d105d310e76.so
-lib/rustlib/%%RUST_TARGET%%/lib/libgraphviz-0059e64abf2c24b2.so
-lib/rustlib/%%RUST_TARGET%%/lib/liblibc-9d9d8e3c62702f96.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liblog-f9832bc037a53dcb.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/liblog-f9832bc037a53dcb.so
-lib/rustlib/%%RUST_TARGET%%/lib/libpanic_abort-13d54537255281fa.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libpanic_unwind-f3eae4bff39c5871.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libproc_macro-a4c3e2756e12fcc8.so
-lib/rustlib/%%RUST_TARGET%%/lib/libproc_macro_plugin-45d25669fd5fb1a5.so
-lib/rustlib/%%RUST_TARGET%%/lib/librand-e74bb9084f28dd26.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/librustc-4b28b6ad6d82e49f.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_back-2c1449f7f387d224.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_bitflags-ebfe699cf089f29e.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_borrowck-6ac2c9c72eceeeda.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_const_eval-487905d175c99446.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_const_math-238fdc253dd7af24.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_data_structures-31344ba5b5be7057.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_driver-084f8accf1cc2bd1.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_errors-beefbf0f0264a079.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_incremental-6d23576ccbfa6527.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_lint-5a028635ff692d5b.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_llvm-6509896b779098aa.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_metadata-48efb0507a83f497.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_mir-188dca836b5f1b12.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_passes-198fc6e3469ee0e1.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_platform_intrinsics-fb42969088db1e17.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_plugin-f1ae7a111ce0ec6f.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_privacy-9ff96d587ab182b2.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_resolve-e44fc7af7ebcb411.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_save_analysis-54b37819ddd48dc5.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_trans-621f14613d5d3296.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustc_typeck-615f7784c66ad9b3.so
-lib/rustlib/%%RUST_TARGET%%/lib/librustdoc-d30d7b89914f7571.so
-lib/rustlib/%%RUST_TARGET%%/lib/libserialize-526524dfd837403a.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libserialize-526524dfd837403a.so
-lib/rustlib/%%RUST_TARGET%%/lib/libstd-d97890d0e362897a.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libstd-d97890d0e362897a.so
-lib/rustlib/%%RUST_TARGET%%/lib/libstd_shim-41972075c970f4a3.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libstd_unicode-41233be8ebe06116.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax-4a8d4ba093890bd8.so
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax_ext-c7946296933228f1.so
-lib/rustlib/%%RUST_TARGET%%/lib/libsyntax_pos-a856932aa4fd541e.so
-lib/rustlib/%%RUST_TARGET%%/lib/libterm-eb7b0c50c4d22983.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libterm-eb7b0c50c4d22983.so
-lib/rustlib/%%RUST_TARGET%%/lib/libtest-0c4c2bc2990af5ab.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libtest-0c4c2bc2990af5ab.so
-lib/rustlib/%%RUST_TARGET%%/lib/libtest_shim-60bc9f5650ac5401.rlib
-lib/rustlib/%%RUST_TARGET%%/lib/libunwind-9da81a987ecdaf90.rlib
-man/man1/rustc.1.gz
-man/man1/rustdoc.1.gz