You are not logged in.

#1 2017-06-25 06:19:47

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

[SOLVED] 462 MiB download for shellcheck ??

┌─[sharad] (11:45 AM)-(Sun Jun 25) [~]
└───▶ sudo pacman -S shellcheck
resolving dependencies...
looking for conflicting packages...

Packages (13) ghc-8.0.2-1  haskell-json-0.9.1-7  haskell-mtl-2.2.1-7  haskell-parsec-3.1.11-4  haskell-primitive-0.6.2.0-2
              haskell-quickcheck-2.9.2-3  haskell-random-1.1-7  haskell-regex-base-0.93.2-27  haskell-regex-tdfa-1.2.2-5
              haskell-syb-0.6-5  haskell-text-1.2.2.2-2  haskell-tf-random-0.5-11  shellcheck-0.4.6-4

Total Installed Size:  462.70 MiB

:: Proceed with installation? [Y/n] n

462.7 MiB for shellcheck?? I know there was thread about haskell dependencies which is closed now, but why??

Last edited by Docbroke (2017-06-26 03:53:42)

Offline

#2 2017-06-25 06:23:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] 462 MiB download for shellcheck ??


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-25 06:58:04

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: [SOLVED] 462 MiB download for shellcheck ??

I have seen that all haskell makedepends have been moved to depend but why?

Offline

#4 2017-06-25 07:36:23

seth
Member
Registered: 2012-09-03
Posts: 59,764

Re: [SOLVED] 462 MiB download for shellcheck ??

I don't really know the strategy here, but it looks like support for static haskell libs is being removed, so all former make deps on haskell turn into runtime deps.
As mentioned: whether that's some interim state or a general direction, I do not know. But for the time being that's the status quo.

And I frankly agree with complaints on the the closed thread - nobody there has presented an actual reason (maintainance costs?) for this change (not! a reason for the failures causing the altered pandoc requirements, I can see that) and there's no upstream word to suggest such change. *shrug*

Online

#5 2017-06-25 15:03:43

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] 462 MiB download for shellcheck ??

Moving thread to pacman issues.

Offline

#6 2017-06-25 15:20:09

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: [SOLVED] 462 MiB download for shellcheck ??

And I frankly agree with complaints on the the closed thread - nobody there has presented an actual reason (maintainance costs?) for this change (not! a reason for the failures causing the altered pandoc requirements, I can see that) and there's no upstream word to suggest such change. *shrug*

Look at packages like pandoc, they have a pkgrel of 80.

https://git.archlinux.org/svntogit/comm … ges/pandoc


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#7 2017-06-25 15:24:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,171

Re: [SOLVED] 462 MiB download for shellcheck ??

Alad wrote:

Look at packages like pandoc, they have a pkgrel of 80.

https://git.archlinux.org/svntogit/comm … ges/pandoc

That won't change, unfortunately. It's haskell, so there's still no stable ABIs and packages will still need rebuilt every time a lib they use is updated.

Edited to add quote to make it clear what I was responding to.

Last edited by Scimmia (2017-06-25 18:25:34)

Offline

#8 2017-06-25 16:06:22

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: [SOLVED] 462 MiB download for shellcheck ??

Alad wrote:

Look at packages like pandoc, they have a pkgrel of 80.

https://git.archlinux.org/svntogit/comm … ges/pandoc

I see, there are even 2 pkgrel bumps in a single day, but shellcheck has only 5 pkgrel.

Scimmia wrote:

That won't change, unfortunately.

I will have to do with web vesion of shellcheck in that case.

Offline

#9 2017-06-25 16:23:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] 462 MiB download for shellcheck ??

What am I missing ... there is no "spellcheck" the the repos:
https://www.archlinux.org/packages/?sor … =&limit=50

I was going to suggest aspell as an alternative, but I wanted to see what spellcheck actually was to ensure aspell actually is an alternative ... but I can't find any such package in the repos or AUR.

EDIT: headdesk - nevermind, I need to learn to read.  Sorry for the noise.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2017-06-25 19:40:02

koala_man
Member
Registered: 2017-06-25
Posts: 2

Re: [SOLVED] 462 MiB download for shellcheck ??

Hi, I'm the upstream ShellCheck maintainer!

I generally recommend distro packages because the wonderful packaging volunteers are way better at these things than I am.

Haskell dependencies are unfortunately pretty hefty, and for the average user there are very few applications to amortize the cost over. Alternatives include a ~25 MB Docker container, and as of yesterday actually, statically linked binaries of similar size (info on github), for anyone who doesn't want GHC or anything else involved. Obviously this has all the code duplication and dependency update issues that the Arch package maintainers undoubtedly try hard to avoid.

Please let me know if there's anything I can do on the upstream side to make life easier.

Offline

#11 2017-06-25 19:54:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,257

Re: [SOLVED] 462 MiB download for shellcheck ??

koala_man, welcome to the forums -- and thank you.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2017-06-25 21:34:17

ckitching
Member
Registered: 2016-01-15
Posts: 2

Re: [SOLVED] 462 MiB download for shellcheck ??

koala_man wrote:

Hi, I'm the upstream ShellCheck maintainer!

I generally recommend distro packages because the wonderful packaging volunteers are way better at these things than I am.

Haskell dependencies are unfortunately pretty hefty, and for the average user there are very few applications to amortize the cost over. Alternatives include a ~25 MB Docker container, and as of yesterday actually, statically linked binaries of similar size (info on github), for anyone who doesn't want GHC or anything else involved. Obviously this has all the code duplication and dependency update issues that the Arch package maintainers undoubtedly try hard to avoid.

Please let me know if there's anything I can do on the upstream side to make life easier.


Any chance you could make those statically-linked binaries available from a URL that includes the release version number, too? I've put together an AUR package to repackage those builds you're providing, but its versioning is a bit... wibbly... while it's just grabbing "latest".

Thanks!

Offline

#13 2017-06-25 23:51:40

koala_man
Member
Registered: 2017-06-25
Posts: 2

Re: [SOLVED] 462 MiB download for shellcheck ??

Sure! "Latest" is the latest git commit, updated on each push. All future releases will of course be tagged appropriately, but I also went back and built the previous release: shellcheck-v0.4.6.linux.x86_64.tar.xz.

Offline

#14 2017-06-26 03:38:40

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: [SOLVED] 462 MiB download for shellcheck ??

Big thank-you, koala-man & ckitching, you gave me nice surprise in the morning! I did install shellcheck-static from aur it is working nice.

Offline

#15 2017-06-26 15:53:31

ckitching
Member
Registered: 2016-01-15
Posts: 2

Re: [SOLVED] 462 MiB download for shellcheck ??

koala_man wrote:

Sure! "Latest" is the latest git commit, updated on each push. All future releases will of course be tagged appropriately, but I also went back and built the previous release: shellcheck-v0.4.6.linux.x86_64.tar.xz.

Updated the AUR package to use these now. Should be smooth sailing from here. Thanks for the assist!

Offline

Board footer

Powered by FluxBB