Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virtual für die shell
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Sat Sep 14, 2013 5:46 pm    Post subject: virtual für die shell Reply with quote

Es gibt ja für vieles ein virtual im Portage aber durch das Problem aus "emerge hängt beim Kernelcheck" ist mir aufgefallen das es für die shell keines gibt.
Wieso eigentlich, es sind doch sicher nicht alle Programme von bash abhängig?
Code:
app-admin/eselect-mesa-0.0.10 (>=app-shells/bash-4)
app-admin/perl-cleaner-2.7 (app-shells/bash)
dev-lang/mono-2.10.9-r2 (>=app-shells/bash-3.2)
games-util/steam-launcher-1.0.0.40 (app-shells/bash)
sys-apps/portage-2.2.1 (!build ? >=app-shells/bash-4.2_p37[readline])
                       (!build ? <app-shells/bash-4.2_p37)
                       (!build ? >=app-shells/bash-3.2_p17)
sys-power/upower-0.9.21 (systemd ? app-shells/bash)
sys-process/fcron-3.1.1 (app-shells/bash)

_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Sep 14, 2013 7:22 pm    Post subject: Reply with quote

Abhängigkeiten von einer Shell werden nicht angegeben, da die zu baselayout gehört.
Die genannten Pakete hängen vermutlich alle speziell von der bash ab, weil sie bashismen und #!/bin/bash benutzen.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Sun Sep 15, 2013 5:35 pm    Post subject: Reply with quote

Diese Pakete sind das Ergebnis von "equery d bash" und ich bezweifel das wirklich alle von der bash abhängig sind, einige würden sich vermutlich auch mit was anderem begnügen.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Sep 15, 2013 7:49 pm    Post subject: Reply with quote

schmidicom wrote:
Diese Pakete sind das Ergebnis von "equery d bash" und ich bezweifel das wirklich alle von der bash abhängig sind, einige würden sich vermutlich auch mit was anderem begnügen.

Nicht ohne Modifikationen. Portage ganz bestimmt nicht, und die meisten anderen dürften aufgrund der Bashismen zumindest irgendwelche #!/bin/bash enthalten.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Mon Sep 16, 2013 6:14 pm    Post subject: Reply with quote

Nun zum subthema wäre es vielleicht noch interessant zu sagen das sich libsdl2 nicht bauen lässt wenn /bin/sh auf /bin/zsh zeigt. Ob es am ebuild liegt oder am Makefile weis ich nicht aber meiner Meinung sollte so etwas nicht passieren. Solche Abhängigkeiten schädigen eben jene Freiheit die unter Linux so hochgehalten wird.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Sep 16, 2013 8:31 pm    Post subject: Reply with quote

schmidicom wrote:
Nun zum subthema wäre es vielleicht noch interessant zu sagen das sich libsdl2 nicht bauen lässt wenn /bin/sh auf /bin/zsh zeigt. Ob es am ebuild liegt oder am Makefile weis ich nicht aber meiner Meinung sollte so etwas nicht passieren. Solche Abhängigkeiten schädigen eben jene Freiheit die unter Linux so hochgehalten wird.

Leider passiert das oft unbemerkt. Zumindest Entwickler sollten verpflichtet werden, /bin/sh auf dash oder gar bb zu legen. :wink:
libsdl2 habe ich noch nicht gebaut, aber oft hilft in solchen Fällen
Code:
EXTRA_EMAKE='SHELL=/bin/bash'

Wenn Du portage-bashrc-mv benutzt, also beispielsweise
/etc/portage/package.cflags/patches wrote:
media-libs/libsdl2 "EXTRA_EMAKE+='SHELL=/bin/bash'"
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Tue Sep 17, 2013 10:08 am    Post subject: Reply with quote

Danke für den Tipp und x11-libs/libpciaccess ist auch so ein Fall wie ich gerade merke.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum