* Shepherd in Debian
@ 2024-12-12 16:10 Simon Josefsson via Development of GNU Guix and the GNU System distribution.
2024-12-12 17:25 ` Tobias Alexandra Platen
2024-12-15 0:01 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Simon Josefsson via Development of GNU Guix and the GNU System distribution. @ 2024-12-12 16:10 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]
Hi
I've packaged Shepherd 1.0.0 and guile-fibers 1.3.1 for Debian, and they
are in the NEW queue pending copyright review. Meanwhile you can test
the Salsa amd64 and i386 builds like this:
echo 'deb [trusted=yes] https://salsa.debian.org/debian/guile-fibers/-/jobs/6733535/artifacts/raw/aptly unstable main' | sudo tee --append /etc/apt/sources.list.d/add.list
echo 'deb [trusted=yes] https://salsa.debian.org/debian/shepherd/-/jobs/6737847/artifacts/raw/aptly unstable main' | sudo tee --append /etc/apt/sources.list.d/add.list
sudo apt-get update
sudo apt-get install shepherd
It was possible to install it on my Trisquel aramo laptop, so I suspect
it will work on a varied mix of not-necessarily latest Debian, Ubuntu,
PureOS, Trisquel, Devuan, Gnuinos etc. Feel free to build the packages
yourself if you don't trust the pre-built binaries, sources are here:
https://salsa.debian.org/debian/guile-fibers
https://salsa.debian.org/debian/shepherd
The package provides /usr/bin/herd and /usr/bin/shepherd, bash
completion, translations, info manual and man pages.
The halt, reboot and shutdown tools are not installed as that felt like
a bad idea.
There is no integration into any system services, the packaging is
minimal.
I've not tested it beyond running 'herd --help' and 'shepherd --help',
which is the reason for this e-mail: could someone test and give some
example of a useful thing to use this for on Debian?
Patches, merge requests, and co-maintainers on the packaging are
welcome.
Btw, running 'herd --help' prints a lot of warnings like below. Any
ideas where these come from and/or how to silence them? Salsa used
Guile 3.0.9 and my laptop has Guile 3.0.7, if that matters.
;;; WARNING: loading compiled file /usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache/shepherd/scripts/herd.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
/Simon
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shepherd in Debian
2024-12-12 16:10 Shepherd in Debian Simon Josefsson via Development of GNU Guix and the GNU System distribution.
@ 2024-12-12 17:25 ` Tobias Alexandra Platen
2024-12-15 0:01 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Tobias Alexandra Platen @ 2024-12-12 17:25 UTC (permalink / raw)
To: Simon Josefsson, guix-devel
This is definitively interesting. Currenltly my plan is to use Shepherd
on my smartphone which has both Debian and Android installed. On top of
Debian I have a working guix install and guix is also shared on
Android. I also plan to use guix-android:
https://framagit.org/tyreunom/guix-android
On Thu, 2024-12-12 at 17:10 +0100, Simon Josefsson via Development of
GNU Guix and the GNU System distribution. wrote:
> Hi
>
> I've packaged Shepherd 1.0.0 and guile-fibers 1.3.1 for Debian, and
> they
> are in the NEW queue pending copyright review. Meanwhile you can
> test
> the Salsa amd64 and i386 builds like this:
>
> echo 'deb [trusted=yes]
> https://salsa.debian.org/debian/guile-fibers/-/jobs/6733535/artifacts/raw/aptly
> unstable main' | sudo tee --append /etc/apt/sources.list.d/add.list
> echo 'deb [trusted=yes]
> https://salsa.debian.org/debian/shepherd/-/jobs/6737847/artifacts/raw/aptly
> unstable main' | sudo tee --append /etc/apt/sources.list.d/add.list
> sudo apt-get update
> sudo apt-get install shepherd
>
> It was possible to install it on my Trisquel aramo laptop, so I
> suspect
> it will work on a varied mix of not-necessarily latest Debian,
> Ubuntu,
> PureOS, Trisquel, Devuan, Gnuinos etc. Feel free to build the
> packages
> yourself if you don't trust the pre-built binaries, sources are here:
>
> https://salsa.debian.org/debian/guile-fibers
> https://salsa.debian.org/debian/shepherd
>
> The package provides /usr/bin/herd and /usr/bin/shepherd, bash
> completion, translations, info manual and man pages.
>
> The halt, reboot and shutdown tools are not installed as that felt
> like
> a bad idea.
>
> There is no integration into any system services, the packaging is
> minimal.
>
> I've not tested it beyond running 'herd --help' and 'shepherd --
> help',
> which is the reason for this e-mail: could someone test and give some
> example of a useful thing to use this for on Debian?
>
> Patches, merge requests, and co-maintainers on the packaging are
> welcome.
>
> Btw, running 'herd --help' prints a lot of warnings like below. Any
> ideas where these come from and/or how to silence them? Salsa used
> Guile 3.0.9 and my laptop has Guile 3.0.7, if that matters.
>
> ;;; WARNING: loading compiled file /usr/lib/x86_64-linux-
> gnu/guile/3.0/site-ccache/shepherd/scripts/herd.go failed:
> ;;; In procedure load-thunk-from-memory: incompatible bytecode
> version
>
> /Simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shepherd in Debian
2024-12-12 16:10 Shepherd in Debian Simon Josefsson via Development of GNU Guix and the GNU System distribution.
2024-12-12 17:25 ` Tobias Alexandra Platen
@ 2024-12-15 0:01 ` Ludovic Courtès
2024-12-15 1:06 ` Simon Josefsson via Development of GNU Guix and the GNU System distribution.
1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2024-12-15 0:01 UTC (permalink / raw)
To: Simon Josefsson via Development of GNU Guix and the GNU System distribution.
Cc: Simon Josefsson, Vagrant Cascadian
Hi Simon,
Simon Josefsson via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> skribis:
> I've packaged Shepherd 1.0.0 and guile-fibers 1.3.1 for Debian, and they
> are in the NEW queue pending copyright review. Meanwhile you can test
> the Salsa amd64 and i386 builds like this:
Nice!
> The halt, reboot and shutdown tools are not installed as that felt like
> a bad idea.
That would have been fun. :-)
> Btw, running 'herd --help' prints a lot of warnings like below. Any
> ideas where these come from and/or how to silence them? Salsa used
> Guile 3.0.9 and my laptop has Guile 3.0.7, if that matters.
>
> ;;; WARNING: loading compiled file /usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache/shepherd/scripts/herd.go failed:
> ;;; In procedure load-thunk-from-memory: incompatible bytecode version
That indicates a discrepancy between the Guile used to build the
Shepherd and the one used at run time. Object files built by 3.0.9 (as
is the case here) cannot be understood by 3.0.7.
How’s that handled for other Guile packages in Debian? Vagrant must
know. :-)
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shepherd in Debian
2024-12-15 0:01 ` Ludovic Courtès
@ 2024-12-15 1:06 ` Simon Josefsson via Development of GNU Guix and the GNU System distribution.
0 siblings, 0 replies; 4+ messages in thread
From: Simon Josefsson via Development of GNU Guix and the GNU System distribution. @ 2024-12-15 1:06 UTC (permalink / raw)
To: Ludovic Courtès
Cc: Simon Josefsson via Development of GNU Guix and the GNU System distribution.,
Vagrant Cascadian
[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
>> Btw, running 'herd --help' prints a lot of warnings like below. Any
>> ideas where these come from and/or how to silence them? Salsa used
>> Guile 3.0.9 and my laptop has Guile 3.0.7, if that matters.
>>
>> ;;; WARNING: loading compiled file /usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache/shepherd/scripts/herd.go failed:
>> ;;; In procedure load-thunk-from-memory: incompatible bytecode version
>
> That indicates a discrepancy between the Guile used to build the
> Shepherd and the one used at run time. Object files built by 3.0.9 (as
> is the case here) cannot be understood by 3.0.7.
>
> How’s that handled for other Guile packages in Debian? Vagrant must
> know. :-)
Maybe that's just my local problem: I was taking those packages from a
Debian unstable build and running them on a Trisquel aramo machine.
Still, if there is some common magic that Debian Guile packages could do
to improve things, I want to learn. Build them using an old Guile
perhaps? Assuming object files built by 3.0.7 work fine with 3.0.9.
Btw, is there a Debian Guile packaging wiki page or group? I looked at
a couple of different guile packages in Debian and they all seem to do
some similar things wrt dwz, shlibs, etc; having this documented
somewhere would have helped me.
/Simon
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-15 1:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12 16:10 Shepherd in Debian Simon Josefsson via Development of GNU Guix and the GNU System distribution.
2024-12-12 17:25 ` Tobias Alexandra Platen
2024-12-15 0:01 ` Ludovic Courtès
2024-12-15 1:06 ` Simon Josefsson via Development of GNU Guix and the GNU System distribution.
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).