unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 36800@debbugs.gnu.org
Subject: [bug#36800] [PATCH 11/11] gnu: Add r-depecher.
Date: Thu, 25 Jul 2019 14:45:46 +0200	[thread overview]
Message-ID: <878ssm9tad.fsf@elephly.net> (raw)
In-Reply-To: <CAJ3okZ0Pudgzd9BQW0RBS80PfgDb9ZJX4Ue7G0MiyKyg6tSWNg@mail.gmail.com>


Hi,

> On Wed, 24 Jul 2019 at 22:50, Ricardo Wurmus <rekado@elephly.net> wrote:
>>
>> zimoun <zimon.toutoune@gmail.com> writes:
>>
>> > * gnu/packages/bioconductor.scm (r-depecher): New variable.
>>
>> This package cannot actually be built:
>
> Sorry for the annoyance.
> I missed `--pure` when I built the package.

You don’t need “--pure” because /usr won’t be available in the build
environment either way.

>> --8<---------------cut here---------------start------------->8---
>> …
>> if test -e "/usr/bin/strip" & test -e "/bin/uname" & [[ `uname` == "Linux" ]] ; then /usr/bin/strip --strip-debug DepecheR.so; fi
>> /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: /usr/bin/strip: No such file or directory
>> make: *** [Makevars:6: strippedLib] Error 127
>> ERROR: compilation failed for package ‘DepecheR’
>> * removing ‘/gnu/store/pgjzdxwn0nyanx9lvp6i9rxflabh3k21-r-depecher-1.0.3/site-library/DepecheR’
>> Backtrace:
>>            4 (primitive-load "/gnu/store/f1ky8a22c7s5p053nci05a536j7…")
>> In ice-9/eval.scm:
>>    191:35  3 (_ #f)
>> In srfi/srfi-1.scm:
>>    863:16  2 (every1 #<procedure 725d80 at /gnu/store/4p2vk30zhkwxq…> …)
>> In /gnu/store/4p2vk30zhkwxqdkydn1572qz70jgvl55-module-import/guix/build/gnu-build-system.scm:
>>    799:28  1 (_ _)
>> In /gnu/store/4p2vk30zhkwxqdkydn1572qz70jgvl55-module-import/guix/build/utils.scm:
>>     616:6  0 (invoke _ . _)
>>
>> /gnu/store/4p2vk30zhkwxqdkydn1572qz70jgvl55-module-import/guix/build/utils.scm:616:6: In procedure invoke:
>> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "R" arguments: ("CMD" "INSTALL" "--install-tests" "--library=/gnu/store/pgjzdxwn0nyanx9lvp6i9rxflabh3k21-r-depecher-1.0.3/site-library/" "--built-timestamp=1970-01-01" ".") exit-status: 1 term-signal: #f stop-signal: #f] 7c4ec0>)'.
>> builder for `/gnu/store/mwcdvlm6f17i81m16w131042cmvlfh5m-r-depecher-1.0.3.drv' failed with exit code 1
>> build of /gnu/store/mwcdvlm6f17i81m16w131042cmvlfh5m-r-depecher-1.0.3.drv failed
>> View build log at '/var/log/guix/drvs/mw/cdvlm6f17i81m16w131042cmvlfh5m-r-depecher-1.0.3.drv.bz2'.
>> guix build: error: build of `/gnu/store/mwcdvlm6f17i81m16w131042cmvlfh5m-r-depecher-1.0.3.drv' failed
>> --8<---------------cut here---------------end--------------->8---
>>
>> I’ll modify the build phases to patch out this call to /usr/bin/strip.
>
> Just to understand, you mean patch the file `DepecheR/src/Makevars` to
> remove the absolute path `/usr/bin/strip` to simply `strip`. Right?

The Makevars file contains a syntax error.  Instead of joining the
checks with “&&” they used “&” which is for background execution.  So
instead of checking things and proceeding only if the checks passed they
would attempt to execute /usr/bin/strip unconditionally.

I only replaced the & with the intended &&, so now the check for
/usr/bin/strip fails and it’s not executed, which is just fine.

-- 
Ricardo

      reply	other threads:[~2019-07-25 12:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24 18:21 [bug#36789] [PATCH 00/11] Add r packages to process flow cytometry data zimoun
2019-07-24 18:21 ` [bug#36790] [PATCH 01/11] gnu: Add r-umap zimoun
2019-07-24 19:17   ` [bug#36790] Merge 36789 36790 zimoun
2019-07-24 18:21 ` [bug#36791] [PATCH 02/11] gnu: Add r-kableextra zimoun
2019-07-24 18:21 ` [bug#36792] [PATCH 03/11] gnu: Add r-all zimoun
2019-07-24 18:21 ` [bug#36793] [PATCH 04/11] gnu: Add r-flowcore zimoun
2019-07-24 18:21 ` [bug#36794] [PATCH 05/11] gnu: Add r-flowutils zimoun
2019-07-24 18:21 ` [bug#36795] [PATCH 06/11] gnu: Add r-consensusclusterplus zimoun
2019-07-24 18:22 ` [bug#36796] [PATCH 07/11] gnu: Add r-flowmeans zimoun
2019-07-24 18:22 ` [bug#36797] [PATCH 08/11] gnu: Add r-flowpeaks zimoun
2019-07-24 20:51   ` Ricardo Wurmus
2020-02-21 17:07   ` bug#36797: patches merged zimoun
2019-07-24 18:22 ` [bug#36798] [PATCH 09/11] gnu: Add r-flowsom zimoun
2019-07-24 18:22 ` [bug#36799] [PATCH 10/11] gnu: Add r-mixomics zimoun
2019-07-24 18:22 ` [bug#36800] [PATCH 11/11] gnu: Add r-depecher zimoun
2019-07-24 20:49   ` Ricardo Wurmus
2019-07-25  9:54     ` zimoun
2019-07-25 12:45       ` Ricardo Wurmus [this message]

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=878ssm9tad.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=36800@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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).