all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Thorsten Wilms <t_w_@freenet.de>, 52823@debbugs.gnu.org
Subject: bug#52823: [PATCH 1/2] gnu: gx-vbass-preamp-lv2: Update to latest commit to fix build issue.
Date: Sat, 23 Jul 2022 15:29:31 +0200	[thread overview]
Message-ID: <f21875c9-f674-fa40-9df4-3d937805ff15@telenet.be> (raw)
In-Reply-To: <20220717180017.6850-1-t_w_@freenet.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 932 bytes --]


On 17-07-2022 20:00, Thorsten Wilms wrote:
> +      (arguments
> +       (substitute-keyword-arguments (package-arguments gx-guvnor-lv2)
> +         ((#:make-flags flags) `(cons (string-append "CC=" ,(cxx-for-target)) ,flags))))

This presumably works but is fragile -- if at some point in time, 
gx-guvnor-lv2 decides to change to a G-exp, this won't compile anymore. 
Instead, you can do #~(cons (string-append "CC=" #$(cxx-for-target)) 
#$flags), which works whether or not gx-guvnor-lv2 uses S-exps or G-exps.

Also, I don't understand why you are doing CC=g++. CC stands for 
c-compiler, not C++ compiler, so I would have expected "CC=" 
#$(cc-for-target) or "CXX=" #$(cxx-for-target) instead, unless 
gx-vbass-preamp-lv2 is not following these conventions.

Otherwise, these patches look reasonable to me, though TBC, I did not 
test them, I only looked at the patches theirselves.

Greetings,
Maxime.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  parent reply	other threads:[~2022-07-23 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 16:54 bug#52823: 3 gx*lv2 packages fail to build in the same manner Thorsten Wilms
2022-07-14  3:59 ` Maxim Cournoyer
2022-07-14 17:49   ` Thorsten Wilms
2022-07-17 17:56 ` bug#52823: [PATCH 0/2] gnu: update gx plugins that failed to build Thorsten Wilms
2022-07-17 18:00   ` bug#52823: [PATCH 1/2] gnu: gx-vbass-preamp-lv2: Update to latest commit to fix build issue Thorsten Wilms
2022-07-17 18:00     ` bug#52823: [PATCH 2/2] gnu: gx-saturator-lv2: " Thorsten Wilms
2022-07-23 13:29     ` Maxime Devos [this message]
2022-07-24 10:19       ` bug#52823: [PATCH 1/2] gnu: gx-vbass-preamp-lv2: " Thorsten Wilms
2022-07-24 10:57         ` Maxime Devos

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

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

  git send-email \
    --in-reply-to=f21875c9-f674-fa40-9df4-3d937805ff15@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=52823@debbugs.gnu.org \
    --cc=t_w_@freenet.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.