all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Building R Packages
@ 2020-03-24  4:47 Daniela Lura
  0 siblings, 0 replies; 6+ messages in thread
From: Daniela Lura @ 2020-03-24  4:47 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

Hello,

I hope you are well!

I've been trying to build an r package for two days now.

When I initially ran `guix build` I got an error message indicating that
there was no code for a specific guile module, which I managed to work
around by using %load-path.
After adding GUILE_LOAD_PATH and running `guix build ` again, I get this
message: guix build: error: r-oenb: unknown package,  and I can't seem to
grasp the reason because I have already added the package definition to
gnu/packages/cran.scm.

Any assistance you can provide would be greatly appreciated.

Regards,

Dan

[-- Attachment #2: Type: text/html, Size: 831 bytes --]

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

* Re: Building R Packages
  2020-03-25  0:27 Paul Garlick
@ 2020-03-24 12:34 ` Daniela Lura
  2020-03-25  2:44   ` sirgazil
  0 siblings, 1 reply; 6+ messages in thread
From: Daniela Lura @ 2020-03-24 12:34 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

Yes I have and the same thing happens.

When I use: `guix environment --pure guix --ad-hoc coreutils findutils
which`
I am sent to another shell and it can't recognize pre-inst-env.


On Wed, 25 Mar 2020 at 01:27, Paul Garlick <
pgarlick@tourbillion-technology.com> wrote:

> Hi Daniela,
>
> Have you tried './pre-inst-env guix build ...' instead of 'guix build
> ...'?
>
> The difference is that the former command will look for package
> definitions in your checked out, and modified, version of Guix.
>
> The latter command looks for package definitions in your installed
> version of Guix.  Your modifications will be seen by this command after
> you submit a patch, it is committed, then you update your installed
> version with a 'guix pull'.
>
> Best regards,
>
> Paul.
>
>

[-- Attachment #2: Type: text/html, Size: 1259 bytes --]

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

* Re: Building R Packages
@ 2020-03-25  0:27 Paul Garlick
  2020-03-24 12:34 ` Daniela Lura
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Garlick @ 2020-03-25  0:27 UTC (permalink / raw)
  To: danielaluraa, guix-devel

Hi Daniela,

Have you tried './pre-inst-env guix build ...' instead of 'guix build
...'?

The difference is that the former command will look for package
definitions in your checked out, and modified, version of Guix.  

The latter command looks for package definitions in your installed
version of Guix.  Your modifications will be seen by this command after
you submit a patch, it is committed, then you update your installed
version with a 'guix pull'.

Best regards,

Paul.

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

* Re: Building R Packages
  2020-03-24 12:34 ` Daniela Lura
@ 2020-03-25  2:44   ` sirgazil
  2020-03-25  3:13     ` sirgazil
  0 siblings, 1 reply; 6+ messages in thread
From: sirgazil @ 2020-03-25  2:44 UTC (permalink / raw)
  To: Daniela Lura; +Cc: guix-devel

Hi, Daniela

 ---- On Tue, 24 Mar 2020 07:34:37 -0500 Daniela Lura <danielaluraa@gmail.com> wrote ----
 > Yes I have and the same thing happens.
 > When I use: `guix environment --pure guix --ad-hoc coreutils findutils which`I am sent to another shell and it can't recognize pre-inst-env. 

Did you run the recommended commands shown in https://guix.gnu.org/videos/packaging,-part-one/index.html before running "./pre-inst-env"?

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

* Re: Building R Packages
  2020-03-25  2:44   ` sirgazil
@ 2020-03-25  3:13     ` sirgazil
  2020-03-25 21:12       ` sirgazil
  0 siblings, 1 reply; 6+ messages in thread
From: sirgazil @ 2020-03-25  3:13 UTC (permalink / raw)
  To: Daniela Lura; +Cc: guix-devel

 ---- On Tue, 24 Mar 2020 21:44:58 -0500 sirgazil <sirgazil@zoho.com> wrote ----
 > Hi, Daniela
 > 
 >  ---- On Tue, 24 Mar 2020 07:34:37 -0500 Daniela Lura <danielaluraa@gmail.com> wrote ----
 >  > Yes I have and the same thing happens.
 >  > When I use: `guix environment --pure guix --ad-hoc coreutils findutils which`I am sent to another shell and it can't recognize pre-inst-env. 
 > 
 > Did you run the recommended commands shown in https://guix.gnu.org/videos/packaging,-part-one/index.html before running "./pre-inst-env"?
 > 

Actually, I just pull the guix repository and make fails with the following error (other people on #guix see the same error):

$ make
  GEN      doc/os-config-bare-bones.texi
  GEN      doc/os-config-desktop.texi
  GEN      doc/os-config-lightweight-desktop.texi
  PO4A doc/contributing.de.texi
Your input po file po/doc/guix-manual.de.po seems outdated (The amount of entries differ between files: 8727 is not 298
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.de.texi
mv "doc/contributing.de.texi.tmp" "doc/contributing.de.texi"
  PO4A doc/guix.de.texi
Your input po file po/doc/guix-manual.de.po seems outdated (The amount of entries differ between files: 8727 is not 8512
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.de.texi" | sed 's|texi$|info|')|" "doc/guix.de.texi.tmp"
  POXREF doc/guix.de.texi
mv "doc/guix.de.texi.tmp" "doc/guix.de.texi"
  PO4A doc/contributing.es.texi
Your input po file po/doc/guix-manual.es.po seems outdated (The amount of entries differ between files: 8727 is not 298
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.es.texi
mv "doc/contributing.es.texi.tmp" "doc/contributing.es.texi"
  PO4A doc/guix.es.texi
Your input po file po/doc/guix-manual.es.po seems outdated (The amount of entries differ between files: 8727 is not 8512
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.es.texi" | sed 's|texi$|info|')|" "doc/guix.es.texi.tmp"
  POXREF doc/guix.es.texi
mv "doc/guix.es.texi.tmp" "doc/guix.es.texi"
  PO4A doc/contributing.fr.texi
Your input po file po/doc/guix-manual.fr.po seems outdated (The amount of entries differ between files: 7994 is not 298
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.fr.texi
mv "doc/contributing.fr.texi.tmp" "doc/contributing.fr.texi"
  PO4A doc/guix.fr.texi
Your input po file po/doc/guix-manual.fr.po seems outdated (The amount of entries differ between files: 7994 is not 8512
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.fr.texi" | sed 's|texi$|info|')|" "doc/guix.fr.texi.tmp"
  POXREF doc/guix.fr.texi
mv "doc/guix.fr.texi.tmp" "doc/guix.fr.texi"
  PO4A doc/contributing.ru.texi
Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between files: 8727 is not 298
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.ru.texi
mv "doc/contributing.ru.texi.tmp" "doc/contributing.ru.texi"
  PO4A doc/guix.ru.texi
Your input po file po/doc/guix-manual.ru.po seems outdated (The amount of entries differ between files: 8727 is not 8512
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.ru.texi" | sed 's|texi$|info|')|" "doc/guix.ru.texi.tmp"
  POXREF doc/guix.ru.texi
mv "doc/guix.ru.texi.tmp" "doc/guix.ru.texi"
  PO4A doc/contributing.zh_CN.texi
Your input po file po/doc/guix-manual.zh_CN.po seems outdated (The amount of entries differ between files: 7994 is not 298
). Please consider running po4a-updatepo to refresh it.
  POXREF doc/contributing.zh_CN.texi
mv "doc/contributing.zh_CN.texi.tmp" "doc/contributing.zh_CN.texi"
  PO4A doc/guix.zh_CN.texi
Your input po file po/doc/guix-manual.zh_CN.po seems outdated (The amount of entries differ between files: 7994 is not 8512
). Please consider running po4a-updatepo to refresh it.
sed -i "s|guix\.info|$(basename "doc/guix.zh_CN.texi" | sed 's|texi$|info|')|" "doc/guix.zh_CN.texi.tmp"
  POXREF doc/guix.zh_CN.texi
mv "doc/guix.zh_CN.texi.tmp" "doc/guix.zh_CN.texi"
  GEN      nix/libstore/schema.sql.hh
echo UNKNOWN > ".version-t" && mv ".version-t" ".version"
make  all-recursive
make[1]: Entering directory '/home/sirgazil/Documentos/guix'
Making all in po/guix
make[2]: Entering directory '/home/sirgazil/Documentos/guix/po/guix'
make guix.pot-update
make[3]: Entering directory '/home/sirgazil/Documentos/guix/po/guix'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU guix' ../../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
  package_gnu='GNU '; \
else \
  package_gnu=''; \
fi; \
if test -n 'ludo@gnu.org' || test 'bug-guix@gnu.org' = '@'PACKAGE_BUGREPORT'@'; then \
  msgid_bugs_address='ludo@gnu.org'; \
else \
  msgid_bugs_address='bug-guix@gnu.org'; \
fi; \
case `/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
    /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --default-domain=guix --directory=../.. \
      --add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=G_ --keyword=N_:1,2 --keyword=message --keyword=description --keyword=n_  \
      --files-from=./POTFILES.in \
      --copyright-holder='Ludovic Courtès' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
  *) \
    /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/xgettext --default-domain=guix --directory=../.. \
      --add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=G_ --keyword=N_:1,2 --keyword=message --keyword=description --keyword=n_  \
      --files-from=./POTFILES.in \
      --copyright-holder='Ludovic Courtès' \
      --package-name="${package_gnu}guix" \
      --package-version='UNKNOWN' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
esac
test ! -f guix.po || { \
  if test -f ./guix.pot; then \
    sed -f remove-potcdate.sed < ./guix.pot > guix.1po && \
    sed -f remove-potcdate.sed < guix.po > guix.2po && \
    if cmp guix.1po guix.2po >/dev/null 2>&1; then \
      rm -f guix.1po guix.2po guix.po; \
    else \
      rm -f guix.1po guix.2po ./guix.pot && \
      mv guix.po ./guix.pot; \
    fi; \
  else \
    mv guix.po ./guix.pot; \
  fi; \
}
make[3]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix'
test ! -f ./guix.pot || \
  test -z "cs.gmo da.gmo de.gmo en@boldquot.gmo en@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo" || make cs.gmo da.gmo de.gmo en@boldquot.gmo en@quot.gmo eo.gmo es.gmo fr.gmo hu.gmo pl.gmo pt_BR.gmo sr.gmo sv.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory '/home/sirgazil/Documentos/guix/po/guix'
/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update  --lang=cs cs.po guix.pot
............................................................................................................................................................................................................................................... done.
rm -f cs.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o cs.gmo cs.po
cs.po: 58 translated messages, 129 fuzzy translations, 751 untranslated messages.
/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update  --lang=da da.po guix.pot
........................................................................................................... done.
rm -f da.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o da.gmo da.po
da.po: 856 translated messages, 35 fuzzy translations, 47 untranslated messages.
/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgmerge --update  --lang=de de.po guix.pot
........................................................................................................... done.
rm -f de.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po: 927 translated messages, 7 fuzzy translations, 4 untranslated messages.
make[4]: Entering directory '/home/sirgazil/Documentos/guix/po/guix'
make en@boldquot.po-update
make[5]: Entering directory '/home/sirgazil/Documentos/guix/po/guix'
sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' ./insert-header.sin > en@boldquot.insert-header
en@boldquot:
en@boldquot:
msgmerge  --lang=en@boldquot en@boldquot.po guix.pot -o en@boldquot.new.po
................................................................................................. done.
make[5]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix'
make[4]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix'
rm -f en@boldquot.gmo && /gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt -c --statistics --verbose -o en@boldquot.gmo en@boldquot.po
en@boldquot.po:4591: format specifications in 'msgstr[0]' are not a subset of those in 'msgid_plural'
/gnu/store/fy7n7xf64z7qr7fdp2hdrirw43jdx95v-profile/bin/msgfmt: found 1 fatal error
en@boldquot.po: 938 translated messages.
make[3]: *** [Makefile:202: en@boldquot.gmo] Error 1
make[3]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix'
make[2]: *** [Makefile:239: stamp-po] Error 2
make[2]: Leaving directory '/home/sirgazil/Documentos/guix/po/guix'
make[1]: *** [Makefile:4904: all-recursive] Error 1
make[1]: Leaving directory '/home/sirgazil/Documentos/guix'
make: *** [Makefile:3325: all] Error 2



But when this gets fixed, you should be able to run guix commands prepended with "./pre-inst-env" to lint and build your package.

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

* Re: Building R Packages
  2020-03-25  3:13     ` sirgazil
@ 2020-03-25 21:12       ` sirgazil
  0 siblings, 0 replies; 6+ messages in thread
From: sirgazil @ 2020-03-25 21:12 UTC (permalink / raw)
  To: Daniela Lura; +Cc: guix-devel

 ---- On Tue, 24 Mar 2020 22:13:00 -0500 sirgazil <sirgazil@zoho.com> wrote ----
 >  ---- On Tue, 24 Mar 2020 21:44:58 -0500 sirgazil <sirgazil@zoho.com> wrote ----
 >  > Hi, Daniela
 >  > 
 >  >  ---- On Tue, 24 Mar 2020 07:34:37 -0500 Daniela Lura <danielaluraa@gmail.com> wrote ----
 >  >  > Yes I have and the same thing happens.
 >  >  > When I use: `guix environment --pure guix --ad-hoc coreutils findutils which`I am sent to another shell and it can't recognize pre-inst-env. 
 >  > 
 >  > Did you run the recommended commands shown in https://guix.gnu.org/videos/packaging,-part-one/index.html before running "./pre-inst-env"?
 >  > 
 > 
 > Actually, I just pull the guix repository and make fails with the following error (other people on #guix see the same error):

Daniela, just in case you are not subscribed to the guix-devel list, someone else reported the issue and there is a workaround in the following message:

https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00341.html

I saw several warnings during the process, but after "make" finished I could run guix commands prepending them with "./pre-inst-env".

Hope that helps.

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

end of thread, other threads:[~2020-03-25 21:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-24  4:47 Building R Packages Daniela Lura
  -- strict thread matches above, loose matches on Subject: below --
2020-03-25  0:27 Paul Garlick
2020-03-24 12:34 ` Daniela Lura
2020-03-25  2:44   ` sirgazil
2020-03-25  3:13     ` sirgazil
2020-03-25 21:12       ` sirgazil

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.