Re: PySide2 not found when installing from PyPI

2022-05-25 Thread Enrico Schwass via
Hi

You can try to disable the test stage. There are most errors coming from. 

See here for an example. It is not my page but might be of help to you

https://felsoci.sk/blog/installing-python-modules-on-guix.html

bye
Enno

> Am 2022/05/25 um 15:07 schrieb Matt :
> 
> I'm trying to package a Python application I'm writing.  It runs on Guix 
> from source with the python-pyside-2 package installed and runs on Debian 
> using a Python venv.  I've uploaded the application to PyPI.  Doing a guix 
> import pypi, I get this Guix definition:
> 
> (use-modules
> (guix packages)
> (guix download)
> (gnu packages python)
> (gnu packages qt)
> (guix build-system python)
> ((guix licenses) #:prefix license:))
> 
> 
> (define-public python-t-rex-typer
> (package
>  (name "python-t-rex-typer")
>  (version "0.1.5")
>  (source
>   (origin
> (method url-fetch)
> (uri (pypi-uri "t_rex_typer" version))
> (sha256
>  (base32 "0y08zacchwkx95dla1lbrqkxfnsknhm8ymr6ad08vijbwf5xircp"
>  (build-system python-build-system)
>  (propagated-inputs (list python-pyside-2))
>  (home-page "https://github.com/excalamus/t_rex_typer";)
>  (synopsis "Steno practice")
>  (description "Steno practice")
>  (license license:gpl3+)))
> 
> python-t-rex-typer
> 
> When I run guix package on this, it fails saying that the PySide2 dependency 
> doesn't exist:
> 
> starting phase `set-SOURCE-DATE-EPOCH'
> phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
> starting phase `set-paths'
> environment variable `PATH' set to 
> `/gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/bin:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/bin'
> environment variable `GUIX_PYTHONPATH' set to 
> `/gnu/store/562nb8gbfi0ba2li9wmj6ws38fk7swmy-python-pyside-2-5.15.2/lib/python3.9/site-packages:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/lib/python3.9/site-packages:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/lib/python3.9/site-packages'
> environment variable `PYTHONTZPATH' unset
> environment variable `BASH_LOADABLES_PATH' unset
> environment variable `C_INCLUDE_PATH' set to 
> `/gnu/store/562nb8gbfi0ba2li9wmj6ws38fk7swmy-python-pyside-2-5.15.2/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/include:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
> environment variable `CPLUS_INCLUDE_PATH' set to 
> `/gnu/store/562nb8gbfi0ba2li9wmj6ws38fk7swmy-python-pyside-2-5.15.2/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include/c++:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/include:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/include:/gnu/stor

Re: Who has had success installing a Guix system on arm?

2020-11-06 Thread Enrico Schwass via
Hello,

I am eager to try it on my Pinebook Pro, but last time I bricked it for several 
days. If I can manage the installation I will post working instructions  on the 
appropriate pinebook pro board. But I will not  start before december. 

Hints welcome
Enno

Re: Kernel panic while building VM

2017-06-21 Thread Enrico Schwass
Hello


>>> Could you try again and report (1) what you did, (2) the
 ‘operating-system’ configuration you used, and (3) the error messages
>>> you see and when you see them?
>>> 
 I will test the hardware with Guix 12 at the weekend
>>> 
>>> Please stick to 0.13.0.  0.12.0 is relatively old, so you’ll find that
>>> many pre-built binaries are missing, not to mention many security fixes.
>> 
>> I use the lightweight-desktop.scm just changed user name and partition 
>> setup. Here are some screenshots
> 
> It’s hard to tell much here.  Is this happening with 0.13.0?  One of the
> screenshots shows that Python was being built from source, which is
> suspicious.

I used the --fallback option due to network problems I had occasionally. I 
suspect my internal ethernet controller making problems so for testing I used 
an usb ethernet connector. For now everything is fine. This time installation 
finished.

BTW: I was not aware that Guix reboot is a scheme command. I did Ctrl-Alt-Del 
instead.
Booting with grub failed then ;)

Thank you for your help
Enno


Re: Kernel panic while building VM

2017-06-20 Thread Enrico Schwass
Hello

since Guix 13 I have kernel panics during guix system init, too. It happens  on 
my Intel J1900 fanless box. Dont know if its just overheating or if its a 
general problem with the libre kernel. I will test the hardware with Guix 12 at 
the weekend

Enno

> 
> Trying to build a VM I get a kernel panic.  Any idea why?
> 
> Thanks,
> Myles
> 
> guix system vm-image --image-size=1G --fallback pim-server.scm
> 
> `/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/gnutls-serv'
>  -> 
> `/fs/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/gnutls-serv'
> `/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/psktool'
>  -> 
> `/fs/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/psktool'
> `/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/ocsptool'
>  -> 
> `/fs/gnu/store/gh9pvc82l21g0hz5108wk2ggwv0a72yc-guile2.2-gnutls-3.5.9/bin/ocsptool'
> ERROR: In procedure copy-file:
> ERROR: In procedure copy-file: Success
> 
> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
> [  236.784010] Kernel panic - not syncing: Attempted to kill init! 
> exitcode=0x
> [  236.784010] 
> [  236.786038] CPU: 0 PID: 1 Comm: init Not tainted 4.11.6-gnu #1
> [  236.787333] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
> rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org 04/01/2014
> [  236.789913] Call Trace:
> [  236.790479]  dump_stack+0x63/0x90
> [  236.791228]  panic+0xe4/0x22d
> [  236.791908]  do_exit+0xb45/0xb50
> [  236.792637]  ? wake_up_state+0x10/0x20
> [  236.793466]  do_group_exit+0x43/0xb0
> [  236.794321]  SyS_exit_group+0x14/0x20
> [  236.795233]  entry_SYSCALL_64_fastpath+0x1e/0xad
> [  236.796355] RIP: 0033:0x5e6ed8
> [  236.797035] RSP: 002b:7ffe49d48f68 EFLAGS: 0246 ORIG_RAX: 
> 00e7
> [  236.798684] RAX: ffda RBX: 0001 RCX: 
> 005e6ed8
> [  236.800232] RDX:  RSI: 003c RDI: 
> 
> [  236.801780] RBP: 007ef7d0 R08: 00e7 R09: 
> ffc8
> [  236.803335] R10: 09d0 R11: 0246 R12: 
> 004cd850
> [  236.804907] R13: 00a80020 R14: 014f95f0 R15: 
> 0001
> [  236.806815] Kernel Offset: 0x500 from 0x8100 (relocation 
> range: 0x8000-0xbfff)
> [  236.809175] ---[ end Kernel panic - not syncing: Attempted to kill
> init! exitcode=0x
> 
> 
> 
>