* guix depends on openldap?
@ 2020-11-19 13:41 zimoun
2020-11-19 13:56 ` Efraim Flashner
0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2020-11-19 13:41 UTC (permalink / raw)
To: Guix Devel
Dear,
This morning I garbage-collected some old items and pulled. Well, I
was then surprised that "guix environment guix" fetches 'openldap'.
Is it expected?
--8<---------------cut here---------------start------------->8---
$ guix graph -t bag --path guix openldap
guix@1.1.0-29.4e3ed9b
guile-ssh@0.13.1
libssh@0.9.5
cmake-minimal@3.16.5
curl@7.69.1
openldap@2.4.49
--8<---------------cut here---------------end--------------->8---
Why does curl need an "Implementation of the Lightweight Directory
Access Protocol"?
All the best,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 13:41 guix depends on openldap? zimoun
@ 2020-11-19 13:56 ` Efraim Flashner
2020-11-19 14:18 ` Efraim Flashner
2020-11-19 16:11 ` Danny Milosavljevic
0 siblings, 2 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-11-19 13:56 UTC (permalink / raw)
To: zimoun; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 961 bytes --]
On Thu, Nov 19, 2020 at 02:41:51PM +0100, zimoun wrote:
> Dear,
>
> This morning I garbage-collected some old items and pulled. Well, I
> was then surprised that "guix environment guix" fetches 'openldap'.
> Is it expected?
>
> --8<---------------cut here---------------start------------->8---
> $ guix graph -t bag --path guix openldap
> guix@1.1.0-29.4e3ed9b
> guile-ssh@0.13.1
> libssh@0.9.5
> cmake-minimal@3.16.5
> curl@7.69.1
> openldap@2.4.49
> --8<---------------cut here---------------end--------------->8---
>
> Why does curl need an "Implementation of the Lightweight Directory
> Access Protocol"?
I think a better question is can cmake-minimal depend on a new
curl-minimal, or does it even need curl at all?
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 13:56 ` Efraim Flashner
@ 2020-11-19 14:18 ` Efraim Flashner
2020-11-19 14:32 ` Efraim Flashner
2020-11-19 16:11 ` Danny Milosavljevic
1 sibling, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2020-11-19 14:18 UTC (permalink / raw)
To: zimoun; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 2558 bytes --]
On Thu, Nov 19, 2020 at 03:56:34PM +0200, Efraim Flashner wrote:
> On Thu, Nov 19, 2020 at 02:41:51PM +0100, zimoun wrote:
> > Dear,
> >
> > This morning I garbage-collected some old items and pulled. Well, I
> > was then surprised that "guix environment guix" fetches 'openldap'.
> > Is it expected?
> >
> > --8<---------------cut here---------------start------------->8---
> > $ guix graph -t bag --path guix openldap
> > guix@1.1.0-29.4e3ed9b
> > guile-ssh@0.13.1
> > libssh@0.9.5
> > cmake-minimal@3.16.5
> > curl@7.69.1
> > openldap@2.4.49
> > --8<---------------cut here---------------end--------------->8---
> >
> > Why does curl need an "Implementation of the Lightweight Directory
> > Access Protocol"?
>
> I think a better question is can cmake-minimal depend on a new
> curl-minimal, or does it even need curl at all?
>
Looks like I was wrong, there is a curl-minimal afterall
guix size cmake-bootstrap 199.1 MiB
guix size cmake-minimal
with curl-minimal 198.7 MiB
guix size cmake-minimal 214.9 MiB
(ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/*
27M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin
15M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share
42M total
(ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/*
6.2M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/ccmake
6.6M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/cmake
6.7M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/cpack
7.7M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/ctest
27M total
(ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/*
8.0K /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/aclocal
15M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/cmake-3.16
68K /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/doc
15M total
We could probably remove ccmake and the share/cmake-<version> and drop
the size from 42M to about 21M.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 14:18 ` Efraim Flashner
@ 2020-11-19 14:32 ` Efraim Flashner
2020-11-19 15:33 ` zimoun
0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2020-11-19 14:32 UTC (permalink / raw)
To: zimoun; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 2949 bytes --]
On Thu, Nov 19, 2020 at 04:18:32PM +0200, Efraim Flashner wrote:
> On Thu, Nov 19, 2020 at 03:56:34PM +0200, Efraim Flashner wrote:
> > On Thu, Nov 19, 2020 at 02:41:51PM +0100, zimoun wrote:
> > > Dear,
> > >
> > > This morning I garbage-collected some old items and pulled. Well, I
> > > was then surprised that "guix environment guix" fetches 'openldap'.
> > > Is it expected?
> > >
> > > --8<---------------cut here---------------start------------->8---
> > > $ guix graph -t bag --path guix openldap
> > > guix@1.1.0-29.4e3ed9b
> > > guile-ssh@0.13.1
> > > libssh@0.9.5
> > > cmake-minimal@3.16.5
> > > curl@7.69.1
> > > openldap@2.4.49
> > > --8<---------------cut here---------------end--------------->8---
> > >
> > > Why does curl need an "Implementation of the Lightweight Directory
> > > Access Protocol"?
> >
> > I think a better question is can cmake-minimal depend on a new
> > curl-minimal, or does it even need curl at all?
> >
>
> Looks like I was wrong, there is a curl-minimal afterall
>
> guix size cmake-bootstrap 199.1 MiB
> guix size cmake-minimal
> with curl-minimal 198.7 MiB
> guix size cmake-minimal 214.9 MiB
HOWEVER, anything else that also depends on curl could depend on curl
and on curl-minimal, which would be worse than what we have now. So I'd
leave cmake-minimal with curl and remove the extra bits outlined below.
>
> (ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/*
> 27M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin
> 15M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share
> 42M total
> (ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/*
> 6.2M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/ccmake
> 6.6M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/cmake
> 6.7M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/cpack
> 7.7M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/bin/ctest
> 27M total
> (ins)efraim@bayfront ~/workspace/guix$ du -sch /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/*
> 8.0K /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/aclocal
> 15M /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/cmake-3.16
> 68K /gnu/store/rjplfbrlais3gs9p0667d2l7x3d2q44j-cmake-minimal-3.16.5/share/doc
> 15M total
>
> We could probably remove ccmake and the share/cmake-<version> and drop
> the size from 42M to about 21M.
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 14:32 ` Efraim Flashner
@ 2020-11-19 15:33 ` zimoun
2020-11-19 16:46 ` Julien Lepiller
0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2020-11-19 15:33 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Guix Devel
Hi,
On Thu, 19 Nov 2020 at 15:32, Efraim Flashner <efraim@flashner.co.il> wrote:
> > > > --8<---------------cut here---------------start------------->8---
> > > > $ guix graph -t bag --path guix openldap
> > > > guix@1.1.0-29.4e3ed9b
> > > > guile-ssh@0.13.1
> > > > libssh@0.9.5
> > > > cmake-minimal@3.16.5
> > > > curl@7.69.1
> > > > openldap@2.4.49
> > > > --8<---------------cut here---------------end--------------->8---
> > > >
> > > > Why does curl need an "Implementation of the Lightweight Directory
> > > > Access Protocol"?
> > >
> > > I think a better question is can cmake-minimal depend on a new
> > > curl-minimal, or does it even need curl at all?
> >
> > Looks like I was wrong, there is a curl-minimal afterall
> >
> > guix size cmake-bootstrap 199.1 MiB
> > guix size cmake-minimal
> > with curl-minimal 198.7 MiB
> > guix size cmake-minimal 214.9 MiB
>
> HOWEVER, anything else that also depends on curl could depend on curl
> and on curl-minimal, which would be worse than what we have now. So I'd
> leave cmake-minimal with curl and remove the extra bits outlined below.
I am still confused. Why cmake-minimal needs all the protocols that
curl supports? What I was expecting is that cmake-minimal depends on
curl-minimal and that both packages are minimal. :-)
Because all in all, we end with a chubby Guix; which matters when
packing it (Docker or system).
All the best,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 13:56 ` Efraim Flashner
2020-11-19 14:18 ` Efraim Flashner
@ 2020-11-19 16:11 ` Danny Milosavljevic
1 sibling, 0 replies; 8+ messages in thread
From: Danny Milosavljevic @ 2020-11-19 16:11 UTC (permalink / raw)
To: Efraim Flashner; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Hi Efraim,
On Thu, 19 Nov 2020 15:56:34 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:
> I think a better question is can cmake-minimal depend on a new
> curl-minimal, or does it even need curl at all?
In the course of debugging the "32 bit ARM on 64 bit host can't read directories"
problem ("json-c") and starting to fix it, I had also asked myself that question.
I've researched back then why cmake needs curl in the first place and it turned
out it is in order to contact a CI dashboard server when tests run in ctest.
They do not support removing the library, but they do support disabling the
(or setting another) dashboard server to contact.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 15:33 ` zimoun
@ 2020-11-19 16:46 ` Julien Lepiller
2020-11-19 16:59 ` zimoun
0 siblings, 1 reply; 8+ messages in thread
From: Julien Lepiller @ 2020-11-19 16:46 UTC (permalink / raw)
To: guix-devel, zimoun, Efraim Flashner; +Cc: Guix Devel
Le 19 novembre 2020 10:33:10 GMT-05:00, zimoun <zimon.toutoune@gmail.com> a écrit :
>Hi,
>
>On Thu, 19 Nov 2020 at 15:32, Efraim Flashner <efraim@flashner.co.il>
>wrote:
>
>> > > > --8<---------------cut
>here---------------start------------->8---
>> > > > $ guix graph -t bag --path guix openldap
>> > > > guix@1.1.0-29.4e3ed9b
>> > > > guile-ssh@0.13.1
>> > > > libssh@0.9.5
>> > > > cmake-minimal@3.16.5
>> > > > curl@7.69.1
>> > > > openldap@2.4.49
>> > > > --8<---------------cut
>here---------------end--------------->8---
>> > > >
>> > > > Why does curl need an "Implementation of the Lightweight
>Directory
>> > > > Access Protocol"?
>> > >
>> > > I think a better question is can cmake-minimal depend on a new
>> > > curl-minimal, or does it even need curl at all?
>> >
>> > Looks like I was wrong, there is a curl-minimal afterall
>> >
>> > guix size cmake-bootstrap 199.1 MiB
>> > guix size cmake-minimal
>> > with curl-minimal 198.7 MiB
>> > guix size cmake-minimal 214.9 MiB
>>
>> HOWEVER, anything else that also depends on curl could depend on curl
>> and on curl-minimal, which would be worse than what we have now. So
>I'd
>> leave cmake-minimal with curl and remove the extra bits outlined
>below.
>
>I am still confused. Why cmake-minimal needs all the protocols that
>curl supports? What I was expecting is that cmake-minimal depends on
>curl-minimal and that both packages are minimal. :-)
>Because all in all, we end with a chubby Guix; which matters when
>packing it (Docker or system).
I don't think it matters: no reference is retained from guix to openldap, so it won't be added to the pack or docker image. It's only required at build time.
>
>All the best,
>simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: guix depends on openldap?
2020-11-19 16:46 ` Julien Lepiller
@ 2020-11-19 16:59 ` zimoun
0 siblings, 0 replies; 8+ messages in thread
From: zimoun @ 2020-11-19 16:59 UTC (permalink / raw)
To: Julien Lepiller; +Cc: Guix Devel
Hi,
On Thu, 19 Nov 2020 at 17:46, Julien Lepiller <julien@lepiller.eu> wrote:
> >I am still confused. Why cmake-minimal needs all the protocols that
> >curl supports? What I was expecting is that cmake-minimal depends on
> >curl-minimal and that both packages are minimal. :-)
>
> >Because all in all, we end with a chubby Guix; which matters when
> >packing it (Docker or system).
>
> I don't think it matters: no reference is retained from guix to openldap, so it won't be added to the pack or docker image. It's only required at build time.
So each time I run "guix environment guix", I potentially download it.
It is annoying when it is not possible to keep the store (for example,
the storage for the store is small or some CI external automation
build, etc.) or when the substitutes of dependencies are not available
(burn CPU) or when the bandwidth is not cheap, etc.
Maybe "packing it" is not the good terminology, but remove unnecessary
dependencies matters. IMHO.
All the best,
simon
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-11-19 17:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-19 13:41 guix depends on openldap? zimoun
2020-11-19 13:56 ` Efraim Flashner
2020-11-19 14:18 ` Efraim Flashner
2020-11-19 14:32 ` Efraim Flashner
2020-11-19 15:33 ` zimoun
2020-11-19 16:46 ` Julien Lepiller
2020-11-19 16:59 ` zimoun
2020-11-19 16:11 ` Danny Milosavljevic
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).