unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#50452: ‘rust-winapi-i686-pc-windows-gnu-0’ contains pre-built binaries
@ 2021-09-07 12:43 Ludovic Courtès
  2021-09-18 16:11 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2021-09-07 12:43 UTC (permalink / raw)
  To: 50452

Unless I’m mistaken, this crate contains pre-built binaries that are
installed as is:

--8<---------------cut here---------------start------------->8---
$ find $(guix build rust-winapi-i686-pc-windows-gnu) -name \*.a |head
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_onecore-api-ms-win-security-base-l1-2-2.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_cryptxml.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_windowsapp-api-ms-win-core-comm-l1-1-1.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_tdh.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_onecoreuap-api-ms-win-core-util-l1-1-0.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_onecoreuap-api-ms-win-core-namedpipe-ansi-l1-1-1.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_mincore-api-ms-win-core-datetime-l1-1-0.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_fwpuclnt.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_windowsapp-api-ms-win-core-synch-l1-2-0.a
/gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_windowsapp-api-ms-win-core-heap-obsolete-l1-1-0.a
$ tar tzvf $(guix build rust-winapi-i686-pc-windows-gnu -S) |grep '\.a$' |head
-rw-r--r-- 0/0            6530 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_aclui.a
-rw-r--r-- 0/0           23432 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_activeds.a
-rw-r--r-- 0/0          638848 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_advapi32.a
-rw-r--r-- 0/0           59044 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_advpack.a
-rw-r--r-- 0/0            8748 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_amsi.a
-rw-r--r-- 0/0            9332 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_api-ms-win-net-isolation-l1-1-0.a
-rw-r--r-- 0/0            2414 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_apidll.a
-rw-r--r-- 0/0           14600 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_appmgmts.a
-rw-r--r-- 0/0            3514 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_appnotify.a
-rw-r--r-- 0/0            2516 2018-01-17 06:21 winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_asycfilt.a
$ guix describe
Generacio 189	Aug 30 2021 12:09:27	(nuna)
  guix f91ae94
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: f91ae9425bb385b60396a544afe27933896b8fa3
--8<---------------cut here---------------end--------------->8---

How can we address that?

Are there other crates likely to have the same problem?

(This package is a dependency of librsvg on ‘core-updates-frozen’.)

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#50452: ‘rust-winapi-i686-pc-windows-gnu-0’ contains pre-built binaries
  2021-09-07 12:43 bug#50452: ‘rust-winapi-i686-pc-windows-gnu-0’ contains pre-built binaries Ludovic Courtès
@ 2021-09-18 16:11 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-09-18 16:11 UTC (permalink / raw)
  To: 50452-done

Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

> Unless I’m mistaken, this crate contains pre-built binaries that are
> installed as is:
>
> $ find $(guix build rust-winapi-i686-pc-windows-gnu) -name \*.a |head
> /gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_onecore-api-ms-win-security-base-l1-2-2.a

These two commits fixed it:

--8<---------------cut here---------------start------------->8---
commit 979b41a894bc6128ff0749ff133e389fc574f048
Author: Efraim Flashner <efraim@flashner.co.il>
Date:   Sun Sep 12 22:24:59 2021 +0300

    gnu: rust-winapi-x86-64-pc-windows-gnu@0.4: Remove bundled libraries.
    
    * gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu)[source]:
    Add snippet to delete bundled libraries.

commit b359ebec23be30c1036982f95039f0af513bda97
Author: Efraim Flashner <efraim@flashner.co.il>
Date:   Sun Sep 12 22:24:08 2021 +0300

    gnu: rust-winapi-i686-pc-windows-gnu@0.4: Remove bundled libraries.
    
    * gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu)[source]:
    Add snippet to delete bundled libraries.
--8<---------------cut here---------------end--------------->8---

Thanks, Efraim!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-18 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 12:43 bug#50452: ‘rust-winapi-i686-pc-windows-gnu-0’ contains pre-built binaries Ludovic Courtès
2021-09-18 16:11 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).