guix builds the old guix version

2022-11-09 Thread Adam Kandur
Hi guix!
I pulled the guix channel, reconfigured my system and cleaned my storage.
But when I am trying to "guix build guix", I am getting this version
guix-1.3.0-32.682639c which is old. What I need to do to build an
actual guix version? (for now it is b4e3e02)



Re: Tried to send a patch

2022-09-05 Thread Adam Kandur
Hi Tobias!
I attached my previous message as a file. Thanks for your help.

пн, 5 сент. 2022 г. в 15:03, Tobias Geerinckx-Rice :
>
> Hi Adam,
>
> Adam Kandur 写道:
> > Two days ago I tried to send a patch to guix-patches. But my
> > message didn’t
> > appear in mail archive? Did I send it wrong?
>
> Probably?  It's hard to say otherwise without more information.
>
> The Guix project has no direct control over the mail server or
> access to its logs.  All I can say is it never hit Mailman.
>
> Assuming you used this same address, what was the subject?  Do you
> still have a copy of the message?  I could ask the GNU sysadmins
> to see if they can find traces of it.
>
> Kind regards,
>
> T G-R
--- Begin Message ---
* gnu/packages/golang.scm (go-github-com-goccy-go-json): New variable.
---
 gnu/packages/golang.scm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 383d4d1..88bbd81 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2923,6 +2923,28 @@ (define-public go-github-com-burntsushi-toml
 is similar to Go's standard library @code{json} and @code{xml} package.")
 (license license:expat)))
 
+(define-public go-github-com-goccy-go-json
+  (package
+(name "go-github-com-goccy-go-json")
+(version "0.9.10")
+(source
+ (origin
+   (method git-fetch)
+   (uri (git-reference
+ (url "https://github.com/goccy/go-json;)
+ (commit (string-append "v" version
+   (file-name (git-file-name name version))
+   (sha256
+(base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp"
+(build-system go-build-system)
+(arguments
+ '(#:import-path "github.com/goccy/go-json"))
+(home-page "https://github.com/goccy/go-json;)
+(synopsis "JSON encoder/decoder in Go")
+(description
+ "Fast JSON encoder/decoder compatible with encoding/json for Go.")
+(license license:expat)))
+
 (define-public go-github-com-getsentry-raven-go
   (let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
 (revision "0"))
-- 
2.37.2

--- End Message ---


Tried to send a patch

2022-09-05 Thread Adam Kandur
Hi guix!
Two days ago I tried to send a patch to guix-patches. But my message didn’t
appear in mail archive? Did I send it wrong?


info about (identifier-syntax)

2022-05-27 Thread Adam Kandur
Hi guix! where i can find documentation about (identifier-syntax)
(what it is and what it does)?



cannot build system from source during the installation

2022-04-01 Thread Adam Kandur
hi guix!
I decided to try to build a guix system from source instead of using
substitutes but ran into a problem:

"guix pull --no-substitutes" returns me this

Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   fc94e93
building 
/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv...
\builder for 
`/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv'
failed to produce output path
`/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz'
build of 
/gnu/store/0h7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv
failed
View build log at
'/var/log/guix/drvs/0h/7r1766n7brqlvzpnb0y3vank5faizz-linux-libre-5.4.20-gnu.tar.xz.drv.bz2'.
cannot build derivation
`/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv':
1 dependencies couldn't be built
building 
/gnu/store/7sy6lhff8l2ss3qgyg21b5cav0rdgycv-linux-libre-headers-stripped-4.14.67-i686-linux.tar.xz.drv...
cannot build derivation
`/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv': 1
dependencies couldn't be built
guix pull: error: build of
`/gnu/store/b7rgn9czp9qfdfrpyrz8ndj5dqfzrjw9-libtiff-4.2.0.drv' failed



So I looked in the log and found that:

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
download failed
"https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz;
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz...
Throw to key `ftp-error' with args `(# "RETR
linux-libre-5.4.20-gnu.tar.xz" 550 "Failed to open file.\r")'.

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>https://ftpmirror.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
following redirection to
`https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz'...
download failed
"https://mirror.tochlab.net/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz;
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
In procedure getaddrinfo: Name or service not known

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
Throw to key `ftp-error' with args `(# "CWD
5.4.20-gnu" 550 "Can't change directory to 5.4.20-gnu: No such file or
directory\r")'.

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz...
download failed
"http://ftp.gnu.org/pub/gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz;
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>https://ci.guix.gnu.org/file/linux-libre-5.4.20-gnu.tar.xz/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
In procedure connect*: Connection timed out

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47...
download failed
"https://tarballs.nixos.org/sha256/1qxhf6dmcwjblzx8fgn6vr10p38xw10iwh6d1y1v1mxb25y30b47;
404 "Not Found"

Starting download of
/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz
>From 
>https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/...
download failed
"https://archive.softwareheritage.org/api/1/content/sha256:872c307c11abd7b0830fcd401e41e01d8d0b42dec63e87faa74b72569b71b0e3/raw/;
404 "Not Found"
failed to download
"/gnu/store/0zcl1i3rbjc356138hx86b7yaz29g6fj-linux-libre-5.4.20-gnu.tar.xz"
from 
("https://linux-libre.fsfla.org/pub/linux-libre/releases/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz;
"ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-5.4.20-gnu.tar.xz;
"mirror://gnu/linux-libre/5.4.20-gnu/linux-libre-5.4.20-gnu.tar.xz")


I checked http links. Can confirm that the source of linux libre is
not there. Maybe I did something wrong and you can help me to resolve
this issue.



tor bridges in tor service

2022-02-23 Thread Adam Kandur
Hi guix! Is there a way to use tor bridges with tor service? As I know,
there is the obfs4 package on debian which used to do this. Found nothing
like this in guix packages. Maybe somebody has this issue or even uses tor
service with bridges and has an example of config.


git send-email

2021-12-30 Thread Adam Kandur
Hi, guix!
I'm trying to send patches with the git send-email But I get the
following error:
git: 'send-email' is not a git command. See 'git --help'.

Quick search showed that this problem can be solved on debian based
systems by installing git-email package. Which is not available in
guix. So, is there any other package which provides git send-email
command?



Re: guix as a hypervisor

2021-12-11 Thread Adam Kandur via
Hi Florian!
This soulution uses nat. Previously I worked with oracle virtualbox where 
(after creating vms) I could specify bridged network instead of nat. After this 
my vms got an andress in my local network (for example, my gw is 192.168.1.1, 
my laptop is 192.168.1.5, my vm0 is 192.168.1.4, vm1 is 192.168.1.7, etc).Maybe 
somebody had this case?


Dec 11, 2021, 17:10 by pelzflor...@pelzflorian.de:

> On Sat, Dec 11, 2021 at 01:07:57AM +0100, Adam Kandur via wrote:
>
>> Hi guix!
>> What is the best way to run a vm on a guix host which will be available to 
>> other members of a local network?
>>
>
> You can set up dnsmasq for NetworkManager on the host.
>
> For Guix System, see:
>
> info "(guix)Networking Services"
>
> I hope it is good enough.
>
> Regards,
> Florian
>




guix as a hypervisor

2021-12-10 Thread Adam Kandur via
Hi guix!
What is the best way to run a vm on a guix host which will be available to 
other members of a local network?



Re: using docker in guix

2021-06-05 Thread Adam Kandur via
Hi, Ricardo!
Actually, containerd is started on my system (at least herd status tells me 
that).




Jun 4, 2021, 23:27 by rek...@elephly.net:

>
> Adam Kandur via  writes:
>
>> that's what i have in docker log
>>
>>
>> -
>> time="2021-06-04T22:42:01.608529621+03:00" level=info msg="Starting up"
>> time="2021-06-04T22:42:01.617401481+03:00" level=info msg="parsed scheme: 
>> \"unix\"" module=grpc
>> time="2021-06-04T22:42:01.617505718+03:00" level=info msg="scheme \"unix\" 
>> not registered, fallback to default scheme" module=grpc
>> time="2021-06-04T22:42:01.617555322+03:00" level=info 
>> msg="ccResolverWrapper: sending update to cc: 
>> {[{unix:///run/containerd/containerd.sock 0  }] }" module=grpc
>> time="2021-06-04T22:42:01.617594849+03:00" level=info msg="ClientConn 
>> switching balancer to \"pick_first\"" module=grpc
>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": 
>> unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>> time="2021-06-04T22:42:45.808007474+03:00" level=info msg="Starting up"
>> time="2021-06-04T22:42:45.812465107+03:00" level=info msg="parsed scheme: 
>> \"unix\"" module=grpc
>> time="2021-06-04T22:42:45.812538632+03:00" level=info msg="scheme \"unix\" 
>> not registered, fallback to default scheme" module=grpc
>> time="2021-06-04T22:42:45.812584087+03:00" level=info 
>> msg="ccResolverWrapper: sending update to cc: 
>> {[{unix:///run/containerd/containerd.sock 0  }] }" module=grpc
>> time="2021-06-04T22:42:45.812624258+03:00" level=info msg="ClientConn 
>> switching balancer to \"pick_first\"" module=grpc
>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": 
>> unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>>
>
> You need to start containerd.
>
> -- 
> Ricardo
>




Re: using docker in guix

2021-06-04 Thread Adam Kandur via
that's what i have in docker log


-
time="2021-06-04T22:42:01.608529621+03:00" level=info msg="Starting up"
time="2021-06-04T22:42:01.617401481+03:00" level=info msg="parsed scheme: 
\"unix\"" module=grpc
time="2021-06-04T22:42:01.617505718+03:00" level=info msg="scheme \"unix\" not 
registered, fallback to default scheme" module=grpc
time="2021-06-04T22:42:01.617555322+03:00" level=info msg="ccResolverWrapper: 
sending update to cc: {[{unix:///run/containerd/containerd.sock 0  }] 
}" module=grpc
time="2021-06-04T22:42:01.617594849+03:00" level=info msg="ClientConn switching 
balancer to \"pick_first\"" module=grpc
failed to start daemon: failed to dial "/run/containerd/containerd.sock": 
unknown service containerd.services.namespaces.v1.Namespaces: not implemented
time="2021-06-04T22:42:45.808007474+03:00" level=info msg="Starting up"
time="2021-06-04T22:42:45.812465107+03:00" level=info msg="parsed scheme: 
\"unix\"" module=grpc
time="2021-06-04T22:42:45.812538632+03:00" level=info msg="scheme \"unix\" not 
registered, fallback to default scheme" module=grpc
time="2021-06-04T22:42:45.812584087+03:00" level=info msg="ccResolverWrapper: 
sending update to cc: {[{unix:///run/containerd/containerd.sock 0  }] 
}" module=grpc
time="2021-06-04T22:42:45.812624258+03:00" level=info msg="ClientConn switching 
balancer to \"pick_first\"" module=grpc
failed to start daemon: failed to dial "/run/containerd/containerd.sock": 
unknown service containerd.services.namespaces.v1.Namespaces: not implemented




Jun 3, 2021, 18:51 by bone.bab...@disroot.org:

>
> Adam Kandur writes:
>
>> Hi Bone,
>> thank you but this command didn't helped, i got 
>> ```
>> Service dockerd could not be started.
>> herd: failed to start service dockerd
>> ```
>> Jun 3, 2021, 17:19 by bone.bab...@disroot.org:
>>
>>> Adam Kandur via writes:
>>>
>>>> i'm sorry, i mean this error "Cannot connect to the Docker daemon at 
>>>> unix:///var/run/docker.sock. Is the docker daemon running?"
>>>>
>>>
>>> You could try `sudo herd restart dockerd`.
>>>
>
> Did you try running `sudo guix system reconfigure
> /path/to/system/configuration.scm` before running `sudo herd restart
> dockerd`?
>




Re: using docker in guix

2021-06-03 Thread Adam Kandur via
Hi Bone,
thank you but this command didn't helped, i got 
```
Service dockerd could not be started.
herd: failed to start service dockerd
```




Jun 3, 2021, 17:19 by bone.bab...@disroot.org:

> Adam Kandur via writes:
>
>> i'm sorry, i mean this error "Cannot connect to the Docker daemon at 
>> unix:///var/run/docker.sock. Is the docker daemon running?"
>>
>
> You could try `sudo herd restart dockerd`.
>




using docker in guix

2021-06-03 Thread Adam Kandur via
i'm sorry, i mean this error "Cannot connect to the Docker daemon at 
unix:///var/run/docker.sock. Is the docker daemon running?"




using docker in guix

2021-06-03 Thread Adam Kandur via
hi everyone! i've added docker-service-type but cannot user docker and get this 
error "930e243adc9721e53ace815c19ba216c58a8f6b2b1d40d8d970b16046fbba37a"




how to use gccgo?

2021-06-03 Thread Adam Kandur via
hi guix!
how i can compile .go files using gccgo in guix? i've installed gcc-toolchain 
and gccgo, but this does not work for me.




Re: newbe question

2021-05-11 Thread Adam Kandur via
o, thank you =)



May 11, 2021, 18:22 by g...@posteo.net:

> Adam Kandur via  skribis:
>
>> hi everyone!
>> is there any example of command line application written in common lisp and 
>> packed with guix?
>>
>
> There is uglify-js or tinmop I think.
> If what you want is examples of standalone Common Lisp programs, you
> could also look at stumpwm or nyxt.
>



newbe question

2021-05-11 Thread Adam Kandur via
hi everyone!
is there any example of command line application written in common lisp and 
packed with guix?



Re: cannot "guix pull"

2021-03-21 Thread Adam Kandur via
hi, here is my info

root@sys /home/user# guix describe 
  guix ec7fb66
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf
sys> guix describe
Generation 148  Mar 22 2021 03:40:11    (current)
  guix 17b408e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 17b408e6a219d64643717cfde16ce04eea0a4590


Mar 20, 2021, 22:10 by l...@famulari.name:

> To the people that are having this problem, can you share the results of
> `guix describe`, for both your root user and the user you typically use
> Guix with?
>
> For example:
>
> $ guix describe
> $ sudo --login guix describe
>
> On Sat, Mar 20, 2021 at 09:37:22PM +0100, Sergiu Ivanov wrote:
>
>> I am getting the same error consistently since yesterday.
>>
>> -
>> Sergiu
>>
>>
>> Thus quoth  Patricio Martínez  on Sat Mar 20 2021 at 20:00 (+0100):
>> > The same to me.
>> >
>> > It's not your conection, maybe a problems on the server. I don't know,
>> > but try later 
>> >
>> > Andreas Enge writes:
>> >
>> >> Hello Adam,
>> >>
>> >> Am Sat, Mar 20, 2021 at 06:14:06PM +0100 schrieb Adam Kandur via:
>> >>> hi everyone! i got this error trying to "guix pull" 
>> >>> http://paste.debian.net/1190170/
>> >>
>> >> I think this is a transient error of the network connection; I also see
>> >> it from time to time recently. Then issuing the same command again it 
>> >> usually
>> >> goes through the second time.
>> >>
>> >> Andreas
>>




cannot "guix pull"

2021-03-20 Thread Adam Kandur via
hi everyone! i got this error trying to "guix pull" 
http://paste.debian.net/1190170/




Re: help with emacs package

2020-12-10 Thread Adam Kandur via
oh,
thank you again for this information





Dec 10, 2020, 11:24 by arunis...@systemreboot.net:

>> could anybody describe in details what went wrong?
>>
>
> By default, the HOME environment variable in the build environment is
> set to /homeless-shelter, a non-existent directory. Some packages try to
> access HOME to put temporary files or for some other reason. When they
> find the HOME directory does not exist, they error out. Note the
> following error message in your build log.
>
 Creating directory: Permission denied, /homeless-shelter

>
> So, for such packages, we set HOME to /tmp, a directory that actually
> exists in the build environment.
>




Re: help with emacs package

2020-12-10 Thread Adam Kandur via
thank you!
adding
---
    (arguments
 `(#:phases
   (modify-phases %standard-phases
 (add-before 'check 'set-test-environment
   (lambda _
 (setenv "HOME" "/tmp")
 #t)---
solved this problem ^_^

could anybody describe in details what went wrong? 





Dec 10, 2020, 10:22 by arunis...@systemreboot.net:

>
> Hi Adam,
>
>> Creating directory: Permission denied, /homeless-shelter
>>
>
> Try setting the HOME environment variable to /tmp. Many package
> definitions do this. See, for example, the codec2 package in
> gnu/packages/audio.scm.
>
> Cheers!
>




help with emacs package

2020-12-09 Thread Adam Kandur via
hi everyone!
i'm trying to pack this https://melpa.org/#/roguel-ike
to do this, i wrote this package:
---
(define-public emacs-roguel-ike
  ;; tagged branch is outdated.
  (let ((revision "0")
    (commit "706dcb0687e8016d7d776f9d9e5ace9fdbbca43c"))
    (package
  (name "emacs-roguel-ike")
  (version (git-version "0.1.0" revision commit))
  (source
   (origin
 (method git-fetch)
 (uri (git-reference
       (url "https://github.com/stevenremot/roguel-ike;)
       (commit "master")))
 (file-name (git-file-name name version))
 (sha256
  (base32 "0rgv4y9aa5cc2ddz3y5z8d22xmr8kf5c60h0r3g8h91jmcw3rb4z"
  (build-system emacs-build-system)
  (home-page "https://github.com/stevenremot/roguel-ike.git;)
  (synopsis "Coffee-break roguelike for Emacs")
  (description "The goal of this project was to develop a coffee-break 
roguelike for Emacs.  
The complete game would allow the player to create various characters and to 
make them fulfill challenges like arena fight and short dungeon explorations.")
  (license license:gpl3
---

so, when i'm trying to build it i get this error:
---
starting phase `build'
Checking 
/gnu/store/fgzyhpkf1ysf7z4nynyqky8yp1idn5yc-emacs-roguel-ike-0.1.0-0.706dcb0/share/emacs/site-lisp/...
Compiling 
/gnu/store/fgzyhpkf1ysf7z4nynyqky8yp1idn5yc-emacs-roguel-ike-0.1.0-0.706dcb0/share/emacs/site-lisp/roguel-ike-autoloads.el...
Compiling 
/gnu/store/fgzyhpkf1ysf7z4nynyqky8yp1idn5yc-emacs-roguel-ike-0.1.0-0.706dcb0/share/emacs/site-lisp/roguel-ike.el...
../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.0-0.706dcb0.drv-0/source/roguel-ike/hero-data.el:
 Obsolete name arg "Hero data" to constructor rlk--hero-data
Creating directory: Permission denied, /homeless-shelter
command 
"/gnu/store/k826y34z8zzjj57jv2nldmpw6vsdd145-emacs-minimal-27.1/bin/emacs" 
"--quick" "--batch" "--eval=(eval '(progn (setq byte-compile-debug t) 
(byte-recompile-directory (file-name-as-directory 
\"/gnu/store/fgzyhpkf1ysf7z4nynyqky8yp1idn5yc-emacs-roguel-ike-0.1.0-0.706dcb0/share/emacs/site-lisp\")
 0 1)) t)" failed with status 255
builder for 
`/gnu/store/c44xk4nzrmif59xqiwxmnb6w3vds9zsi-emacs-roguel-ike-0.1.0-0.706dcb0.drv'
 failed with exit code 1
build of 
/gnu/store/c44xk4nzrmif59xqiwxmnb6w3vds9zsi-emacs-roguel-ike-0.1.0-0.706dcb0.drv
 failed
View build log at 
'/var/log/guix/drvs/c4/4xk4nzrmif59xqiwxmnb6w3vds9zsi-emacs-roguel-ike-0.1.0-0.706dcb0.drv.bz2'.
guix build: error: build of 
`/gnu/store/c44xk4nzrmif59xqiwxmnb6w3vds9zsi-emacs-roguel-ike-0.1.0-0.706dcb0.drv'
 failed---

maybe somebody had same problem?



Re: problem with common lisp

2020-10-24 Thread Adam Kandur via
Hi! thank you for this question. dont have to much knowledge about cpu. i 
attached lscpu output. if you find something interesting in it, let me know, 
please



Oct 24, 2020, 16:35 by g...@posteo.net:

>
> Adam Kandur via  skribis:
>
>> hi, i realized that i have this problem with sbcl itself, if i install sbcl 
>> in my main profile (without any of my packages, only sbcl from guix channel) 
>> i still got this error:
>>
>> fatal error encountered in SBCL pid 1954 tid 1954:
>> Unhandled SIGILL at 0x52000e9d.
>>
>
> Out of curiosity, what does the "lscpu" command return on your machine
> (the flags in particular)?
>



lscpu
Description: Binary data


Re: problem with common lisp

2020-10-24 Thread Adam Kandur via
hi, i realized that i have this problem with sbcl itself, if i install sbcl in 
my main profile (without any of my packages, only sbcl from guix channel) i 
still got this error:

fatal error encountered in SBCL pid 1954 tid 1954:
Unhandled SIGILL at 0x52000e9d.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> 


Oct 21, 2020, 22:51 by zimon.touto...@gmail.com:

> Please keep help-guix CC. :-)
>
> On Wed, 21 Oct 2020 at 23:53, Adam Kandur  wrote:
>
>> hi, i mean that my packages for common lisp are same as one week ago when 
>> everything worked. also i had same issues with packages from guix channel.
>> don't know about guix-deploy
>>
>
> I understand.
>
> First, since the package you are building is yours, more information
> is required to be able to find what is wrong.  Idem about your
> channel.
>
>
> The questions in my previous email are:
>
>  1. could you provide the last version of Guix where it "worked"?
>  2. could you provide the current version of Guix where it is "broken"?
>
> The #1 means that you have to:
>
>  a) "guix pull -l | grep guix".  This will display all the previous
> versions of Guix you had (hoping that you have not deleted by running
> "guix gc" with some well-chosen options).
> From these versions (hashes), you can run:
>
>  guix time-machine --commit= -- build -L paht/to/your/local/pkg sbcl-foo
>
> and see which worked and which not.  The easiest is to go
> anti-chronological (start by your current Guix version and go
> backward).
>
>  b) "guix describe" and probably attach the recipe of your broken
> package.  For example it seems that one of your package is named
> "sbcl-deploy" since you have one item in the store named
> "/gnu/store/fgfag09f1amsk82bs6jmg9h4rv6hqb94-sbcl-deploy-0.0.0-1.59fd497"
> and this package is not in "master", AFAICT.
>
>
> All the best,
> simon
>




help with cyrillic in games

2020-10-24 Thread Adam Kandur via
hi everyone! i cannot type cyrillic chars in games (for example in xonotic). it 
refuses to print out any chars when i change layout




problem with common lisp

2020-10-21 Thread Adam Kandur via
hi everyone! 
recently i started getting this error when i try to build any sbcl package:

starting phase `build'
Invoking sbcl: 
"/gnu/store/48v5srksa9nkp4hh527l6rb08pigy1bw-sbcl-2.0.9/bin/sbcl" 
"--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd 
(truename 
\"/gnu/store/fgfag09f1amsk82bs6jmg9h4rv6hqb94-sbcl-deploy-0.0.0-1.59fd497/share/common-lisp/sbcl-source/deploy/deploy.asd\")
 :name \"deploy\")" "--eval" "(asdf:operate (quote asdf:compile-bundle-op) 
\"deploy\")" 
This is SBCL 2.0.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at .

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
fatal error encountered in SBCL pid 15 tid 15:
Unhandled SIGILL at 0x52000e9d.

Error opening /dev/tty: No such device or address
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> command "/gnu/store/48v5srksa9nkp4hh527l6rb08pigy1bw-sbcl-2.0.9/bin/sbcl" 
"--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd 
(truename 
\"/gnu/store/fgfag09f1amsk82bs6jmg9h4rv6hqb94-sbcl-deploy-0.0.0-1.59fd497/share/common-lisp/sbcl-source/deploy/deploy.asd\")
 :name \"deploy\")" "--eval" "(asdf:operate (quote asdf:compile-bundle-op) 
\"deploy\")" failed with status 1

dont understand what went wrong, package definitions are unchanged



need help with cl packaging

2020-08-29 Thread Adam Kandur via


hi everyone! trying to pack this library https://gitlab.com/lockie/d2clone-kit 
as sbcl-d2clone-kit (here the definition 
https://git.sr.ht/~rndd/adamka-channel/tree/master/channel/adamka-libs/common-lisp.scm)

so, when i download source of this lib and load library in env - everything ok, 
asdf return T.
but when i'm trying to build this lib i'm getting this error:
---
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
; Package SB-SPROF does not exist.
;   
;   Line: 104, Column: 53, File-Position: 4349
;   
;   Stream: #

; compilation aborted after 0:00:00.053
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #:
  COMPILE-FILE-ERROR while compiling #
---
Maybe somebody had same issue with common lisp packaging?




Re: building emacs from tarball inside guix env

2020-08-20 Thread Adam Kandur via
hi it helped. after "guix environment emacs" configuration was ok. but there 
some additional questions i have:
1) where "guix environment emacs" look for env description?
2) i tried to recreate env using inputs described in gnu/packages/emacs.scm in 
emacs package but got error described in the first message. is there way for 
manual recreating environment that i didn't notice?
2) what is better way to build sources as they are (from tar, just for testing, 
not for packaging)?



Aug 20, 2020, 12:04 by js...@asu.edu:

> Hi Adam,
>
> The guix environment command by default gives an environment *required to 
> build* the given package. 
>
> In this case
>
> guix environment emacs
>
> Should get you close. Then you can combine with the ad-hoc flag to adjust if 
> the requirements of the tarball are different than the package definition in 
> guix. 
>
> Hope that helps,
>
> John
>




building emacs from tarball inside guix env

2020-08-20 Thread Adam Kandur via
hi everyone! tried to build emacs in guix env

here is my manifest:
--
(specifications->manifest
 '("make"
   "gcc-toolchain"
   "gnutls"
   "ncurses"
   "mailutils"
   "libx11"
   "gtk+"
   "libxft"
   "libtiff"
   "giflib"
   "libjpeg"
   "imagemagick"
   "acl"
   "libpng"
   "zlib"
   "librsvg"
   "libxpm"
   "libxml2"
   "libice"
   "libsm"
   "alsa-lib"
   "dbus"
   "libotf"
   "m17n-lib"))
during configuration i got this error:
---
checking for xaw3d... no
checking for libXaw... configure: error: No X toolkit could be found.
If you are sure you want Emacs compiled without an X toolkit, pass
  --with-x-toolkit=no
to configure.  Otherwise, install the development libraries for the toolkit
that you want to use (e.g. Gtk+) and re-run configure.
maybe somebody had same problem?




running gui aps in docker

2020-08-19 Thread Adam Kandur via
hi everyone! recently i tried to run a simple gui app in docker:
docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix aliustaoglu/firefox

but all i got is this error:
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
Error: cannot open display: :1

Did anybody have something like this?




what about custom licenses?

2020-08-01 Thread Adam Kandur via


hi everyone! i packed some cl libs. but they have custom (foss) licenses. how i 
can describe it in guix?



newbe question

2020-06-03 Thread Adam Kandur via


hi everyone! why when i "$ guix pull" i need to connect to ci.guix.gnu.org? 



zlib licence

2020-05-14 Thread Adam Kandur via

hi, it seems http://www.gzip.org/zlib/zlib_license.html returns 404.
i suggest this link https://zlib.net/zlib_license.html


patch
Description: Binary data


fix chessx

2020-05-14 Thread Adam Kandur via

hi everyone! recently i tried to install chessx on my laptop, there were 
errors. then i decided to test in my channel. and, i fixed link for downloading 
chessx. hope will be usefull.


patch
Description: Binary data


keyboard layout

2020-03-19 Thread Adam Kandur via


Hi guixers! i have a question. Sometimes i need to switch keyboard layout for 
writing messages. Currently i'm using this command 
setxkbmap -layout 'us,ru' -option 'grp:alt_shift_toggle,grp_led:scroll'

How i can do something similar with config.scm definition?



how to suspend guix system?

2020-03-14 Thread Adam Kandur via
Hi everyone, what is an alternative to "systemctl suspend" in guix?



Re: how to run docker?

2020-03-12 Thread Adam Kandur via
i really tried to find manual for this topic -_-



Mar 12, 2020, 21:42 by r...@tuta.io:

> hi, guixers!
> Sorry for newbe question. 
> How yo run docker service after installation docker package?
>
>



how to run docker?

2020-03-12 Thread Adam Kandur via
hi, guixers!
Sorry for newbe question. 
How yo run docker service after installation docker package?