unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Soo <jsoo1@asu.edu>
To: guix-devel@gnu.org
Subject: Request for proposals on Rust and Go build systems (RE: Medium-term road map)
Date: Thu, 07 May 2020 10:17:02 -0700	[thread overview]
Message-ID: <87pnbf4qcx.fsf@asu.edu> (raw)

Hi Guix,

I lost the specific thread on the medium-term road map that applies.  A
few suggestions have been made to improve updates the source-only build
systems we have (Rust and Go). I would like to suggest that we do make
changes to these and put them on the road map.

Can we put together some complaints and proposals for the rust and go
build systems? It would be nice to first get some informal ideas and
then see if we can't mostly agree on a final set of items to work on.

I have the following issues:

* The loop-breaking procedure is widely applicable: most other
  transitive dependencies should have loops in their dependency graphs
  broken. So far, only the cargo-build-system has such a loop-breaking
  procedure.

* It will be hard to track down breaking changes when a source-only
  library package is updated.  guix refresh --list-dependents usually
  shows how many packages would be effected by changing a package.  Rust
  packages, at least, do not show any dependent packages for libraries.

In the past, I have seen other complaints:

* Outputs from the cargo-build-system don't use dynamic linking.

* Namespacing of cargo packages is not good.

My suggestions:

* Move the dependency loop-breaking procedure from the rust build system
  to a utils location.  Use the procedure in more (if not most other)
  build system's transitive dependency resolution.

* Figure out a mechanism whereby source-only packages are registered by
  guix refresh --list-dependents. I had suggested moving
  #:cargo-dependencies to inputs, for instance.

I hope to hear from you soon!

- John


                 reply	other threads:[~2020-05-07 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnbf4qcx.fsf@asu.edu \
    --to=jsoo1@asu.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).