Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spidermonkey? More like King Kong!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Thu Jul 04, 2019 7:21 pm    Post subject: Spidermonkey? More like King Kong! Reply with quote

I've just had the privilege of upgrading spidermonkey, mainly for polkit. As the merge fell over first time (by default I use tmpfs for work, and it ate it all), I actually read the output for once. Wow, in their desire to get a full function scripting language (other than bash, which would be too easy), the polkit devs have stuffed my system with half a gigabyte of spidermonkey. Is this someone's idea of a practical joke?

I suppose they had to use Javascript, 'cos it's not like linux has any other scripting languages. Sheesh!
Code:
Package:    dev-lang/spidermonkey-60.5.2_p0-r2
Repository: gentoo
Maintainer: mozilla@gentoo.org
USE:        abi_x86_64 amd64 elibc_glibc jit kernel_linux system-icu userland_GNU
FEATURES:   network-sandbox nostrip preserve-libs sandbox userpriv usersandbox
INFO (prepare)

Applying patches from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r2/work/spidermonkey ...
  0001-Bug-1488552-Ensure-proper-running-on-64-bit-and-32-b.patch ...
  0002-build-Fix-library-install-name-on-macOS.patch ...
  0003-build-Include-configure-script-be-nicer-about-option.patch ...
  0004-We-must-drop-build-id-as-it-causes-conflicts-when-me.patch ...
  0005-CFLAGS-must-contain-fPIC-when-checking-the-linker.patch ...
  0006-Ensure-we-fortify-properly-features.h-is-pulled-in-v.patch ...
  0007-set-pthread-name-for-non-glibc-systems.patch ...
Running autoconf old-configure.in ...
Running autoconf ...
INFO (install)

Final size of build directory: 2287972 KiB (  2.1 GiB)
Final size of installed tree:   560068 KiB (546.9 MiB)

_________________
Greybeard
Back to top
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 993

PostPosted: Thu Jul 04, 2019 8:36 pm    Post subject: Reply with quote

My thought exactly :lol:

Code:
equery d spidermonkey
 * These packages depend on spidermonkey:
sys-auth/polkit-0.115-r4 (dev-lang/spidermonkey:60[-debug])
~ $
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Thu Jul 04, 2019 9:06 pm    Post subject: Reply with quote

I too discovered this horror few days ago.

Now I'm considering getting rid of polkit.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 272

PostPosted: Fri Jul 05, 2019 6:27 am    Post subject: Reply with quote

I'm interested in this too.

Seriously, what kind of system needs sys-auth/polkit as a necessary component?
Is it only useful on enterprise scenario?
Any use case example?

I have never touched sys-auth/polkit myself.
Is it really doing any non-trivial task from time to time so that my system is silently protected?
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Fri Jul 05, 2019 11:02 am    Post subject: Reply with quote

USE="-policykit" might do the job.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Fri Jul 05, 2019 11:30 am    Post subject: Reply with quote

https://news.ycombinator.com/item?id=13470648 wrote:
Did you know that polkit, the systemd replacement of sudo, uses JavaScript to validate permissions?

This was the response: https://lists.freedesktop.org/archives/systemd-devel/2016-December/038025.html

systemd is a bomb waiting to go off, IMHO.
And just as I started to think systemd may be mature enough so that I could give it a second try.

That aside, under the ycombinator link, there are several views of polkit. Maybe worth a read?
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1775
Location: Here and Away Again

PostPosted: Fri Jul 05, 2019 12:38 pm    Post subject: ><)))°€ Reply with quote

I've been running without PolKit and friends since... 2010 or thereabouts.

It can be challenging when using KDE and the likes, and may require more or/and less hackery while also losing support from upstream. The absence of USE-flags for them is usually due to that same upstream reasoning.

Without them, one will usually lose things such as automount, and the ability for a regular user to poweroff/reboot.
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Fri Jul 05, 2019 1:34 pm    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
...and may require more or/and less hackery...

Well. I'm running sway and I don't mind if only users who are in wheel group can do poweroffs.
Anyways, hackery is my second nature. Some people call me MacGyver. :P
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Fri Jul 05, 2019 6:56 pm    Post subject: Reply with quote

Well... I think I changed my mind. :P polkit is needed for swayidle to work. Dang it.

I'll then try to relearn some javascript if needed. :|
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Sat Jul 06, 2019 10:04 am    Post subject: Reply with quote

KDE has polkit as a dependency of plasma-meta. There seem to be no code settings associated, and typically KDE seems to use whatever's available, so I might try just removing it and see what breaks. Presumably kde-plasma/polkit-kde-agent is the only bit that matters - perhaps it's possible to fork an epolkit-kde-agent that just applies normal Unix security.

IIUC polkit and the kde component(s) that talk to it are a way of overcomplicating access to programs that used to be controlled by group membership and setuid; have a pool of privileged processes taking commands over dbus, and polkit filtering the commands sent from the user. It sounds a bit of a recipe for security flaws, even before Javascript terminally muddied the waters.

One of my coding rules of thumb is "a object-oriented design containing a Manager object is broken". That's 'cos object should manage themselves. Similarly in this case, "kit" means a bunch of code and stuff that ought to be in other places. "Policy" wonks are just politicians, and who needs that in code. Dodgy naming usually means dodgy concepts, leading to dodgy code.
_________________
Greybeard
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Sat Jul 06, 2019 11:18 am    Post subject: Reply with quote

IMO we'd need a polkit replacement. A completely different in almost any other way but keeping the same dbus API. That way we could have a simple configuration syntax while being a replacement which does not require any additional support from the programs.

I think good configuration file is something like toml or ini and, of course, simple shell script with variable=value pairs.

Also. @Goverp: I wonder how did your installation got that half a gigabyte? O.o
Code:
$ qsize dev-lang/spidermonkey
dev-lang/spidermonkey-1.8.5-r6: 102 files, 10 non-files, 7.7M
dev-lang/spidermonkey-60.5.2_p0-r2: 172 files, 9 non-files, 20.7M
dev-lang/spidermonkey-52.9.1_pre1: 161 files, 8 non-files, 20.4M

_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1392

PostPosted: Sat Jul 06, 2019 2:18 pm    Post subject: Reply with quote

Holy crap. Reading this makes me really glad I abandoned all that (including KDE, in favor of just using fluxbox) a long time ago. Are they actually requiring spidermonkey just for configuration parsing? If so they're clearly smoking the same stuff as Microsoft...talk about gross over-engineering.

The trend toward bloat and over-engineering gets worse daily it seems, and almost without exception it seems to be coming from either the freedesktop.org and/or the Mozilla direction. All of that gets 10000x worse in a non-binary distribution, because you need all the programming languages...and you tend to realize, much more so than users of binary distros, just how bad things have gotten. Hell...I have to stick with mail-client/thunderbird-52.9 until I can find a decent replacement, because 60.x requires fucking clang and rust in addition to countless other crap I don't want. I almost couldn't believe the size of the rust source. Assuming I even had the resources (RAM etc) to compile it on my system I think it would take a week if I were lucky.

Sorry for the semi-OT rant, but this Microsoftification of the Linux world has really gotten to me. Worse yet I just got done ranting on an article about how Wayland is the "way of the future" and how X11 has to die.

Tom
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 802

PostPosted: Sat Jul 06, 2019 2:21 pm    Post subject: Reply with quote

Code:
~ $ equery s spidermonkey
 * dev-lang/spidermonkey-60.5.2_p0-r2
         Total files : 181
         Total size  : 21.31 MiB
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1104

PostPosted: Sat Jul 06, 2019 3:24 pm    Post subject: Reply with quote

Code:
 equery s spidermonkey
 * dev-lang/spidermonkey-60.5.2_p0-r2
         Total files : 180
         Total size  : 9.22 MiB
Code:
eix dev-lang/spidermonkey
[I] dev-lang/spidermonkey
     Available versions: 
     (60)   60.5.2_p0-r2^t
     Installed versions:  60.5.2_p0-r2(60)(09:12:35 01/07/2019)(minimal system-icu -custom-cflags -custom-optimization -debug -jit -test)
Thks 4 ur attention.
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Sat Jul 06, 2019 3:59 pm    Post subject: Reply with quote

Code:
paul@acer ~ $ qsize dev-lang/spidermonkey
dev-lang/spidermonkey-60.5.2_p0-r2: 172 files, 9 non-files, 546.6M


Specifically:
Code:
paul@acer ~ $ ls -lSh `qlist dev-lang/spidermonkey`
-rwxr-xr-x 1 root root 275M Jul  4 16:33 /usr/bin/js60
-rwxr-xr-x 1 root root 270M Jul  4 16:31 /usr/lib64/libmozjs-60.so
-rw-r--r-- 1 root root 252K Feb 21 19:22 /usr/include/mozjs-60/jsapi.h


Now I have:
Code:
paul@acer ~ $ emerge -pv dev-lang/spidermonkey
[ebuild   R    ] dev-lang/spidermonkey-60.5.2_p0-r2:60::gentoo  USE="jit system-icu -custom-cflags -custom-optimization -debug -minimal -test" 0 KiB
so I guess it's going to be down to jit or minimal or both. I have nothing specific set, just system defaults. "minimal" seems to delete the js60 executable, which halves the waste, the rest must be the jit. I'll try again with "minimal -jit".

<edit>
Nope, that's not it:
Code:
emerge -1a spidermonkey
[ebuild   R    ] dev-lang/spidermonkey-60.5.2_p0-r2  USE="minimal* -jit*"

Code:
paul@acer ~ $ ls -lSh `qlist dev-lang/spidermonkey`
-rwxr-xr-x 1 root root 228M Jul  6 17:11 /usr/lib64/libmozjs-60.so

Better by 50% from minimal, and about 50M from -jit, but still vast.
_________________
Greybeard
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Sat Jul 06, 2019 4:22 pm    Post subject: Reply with quote

I have
Code:
USE="jit system-icu -custom-cflags -custom-optimization -debug -minimal -test"
on my system.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1104

PostPosted: Sat Jul 06, 2019 4:30 pm    Post subject: Reply with quote

Code:
emerge --info
Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-9.1.0, glibc-2.29-r2, 4.14.87-rt x86_64)
=================================================================
System uname: Linux-4.14.87-rt-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-gentoo-2.6
KiB Mem:     3938256 total,    951440 free
KiB Swap:    8048528 total,   7568528 free
Timestamp of repository 4nykey: Thu, 04 Jul 2019 20:09:54 +0000
Head commit of repository 4nykey: 260b69bde3bc67f6826ded5985340c2eaa91d4bf

Timestamp of repository audio-overlay: Thu, 04 Jul 2019 20:09:57 +0000
Head commit of repository audio-overlay: 46f5f878361ae0343f8065ae7ccdb578bf596f5d

Timestamp of repository calculate: Thu, 04 Jul 2019 20:09:14 +0000
Head commit of repository calculate: 60d0f5718827146117c32e146963a427083ed956

Timestamp of repository mv: Thu, 04 Jul 2019 20:09:27 +0000
Head commit of repository mv: cf8862d4c8872c2f01391fdf6fd9341a93241763

Timestamp of repository rukruk: Thu, 04 Jul 2019 20:09:49 +0000
Head commit of repository rukruk: c8a861cafe366c2d8ae24dacdcb04876df858285

Timestamp of repository sorrow: Thu, 04 Jul 2019 20:10:10 +0000
Head commit of repository sorrow: 4e9937d4074483595f6b94c6da5dd638ae855f6c

Timestamp of repository seden: Thu, 04 Jul 2019 20:09:32 +0000
Head commit of repository seden: 20c261c41647b0ecccbdd4c9e1dc3abfc32cb0a2

Timestamp of repository gentoo: Sat, 06 Jul 2019 13:15:01 +0000
Head commit of repository gentoo: 3eb9beb0f6868ab9d0018c3c2eef4b9a894de6e1
Timestamp of repository eclipse: Sat, 11 May 2019 17:16:39 +0000
Head commit of repository eclipse: fcec2ecdd5098a170f5a39f299a21b1ba4c63037

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo
    priority: -10001

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo
    priority: -10001

calculate
    location: /var/db/repos/calculate
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/calculate.git
    masters: gentoo
    priority: -10001

crocket-overlay
    location: /var/lib/layman/crocket-overlay
    masters: gentoo haskell
    priority: -10001

das-labor
    location: /var/lib/layman/das-labor
    masters: gentoo
    priority: -10001

gnu-elpa
    location: /var/lib/layman/gnu-elpa
    masters: gentoo
    priority: -10001

leocp1-overlay
    location: /var/lib/layman/leocp1-overlay
    masters: gentoo
    priority: -10001

melpa
    location: /var/lib/layman/melpa
    masters: gnu-elpa gentoo
    priority: -10001

melpa-stable
    location: /var/lib/layman/melpa-stable
    masters: gnu-elpa gentoo
    priority: -10001

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo
    priority: -10001

rukruk
    location: /var/db/repos/rukruk
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rukruk.git
    masters: gentoo
    priority: -10001

smoverlay
    location: /var/lib/layman/smoverlay
    masters: gentoo
    priority: -10001

sorrow
    location: /var/db/repos/sorrow
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sorrow.git
    masters: gentoo
    priority: -10001

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    priority: -10000

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

amd64-local-repo
    location: /usr/local/portage
    masters: gentoo
    priority: 0

eclipse
    location: /var/db/repos/eclipse
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/eclipse.git
    masters: gentoo

crossdev
    location: /usr/local/portage-cross-aarch64-unknown-linux-gnu
    masters: gentoo
    priority: 10

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake  -O2             -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -mtune=skylake  -O2             -pipe    "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="   --alert y          --alphabetical          --ask-enter-invalid          --autounmask y     --autounmask-only n           --autounmask-unrestricted-atoms y           --autounmask-write y          --misspell-suggestions n          --noconfmem          --nospinner            --tree          --with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc-pump distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://gentoo.modulix.net/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.mirror.web4u.cz/ http://mirror.dkm.cz/gentoo/ http://mirror.mdfnet.se/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirrors.xservers.ro/gentoo/ http://ftp.romnet.org/gentoo/ http://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"
LANG="fr_FR.utf8"
LDFLAGS="  -Wl,-O1       -Wl,-fuse-ld=bfd  -Wl,--enable-new-dtags  -march=skylake -mtune=skylake  -O2             -pipe "
LINGUAS="fr"
MAKEOPTS="-j4 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 asm minimal" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" PHP_TARGETS="php7-3" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
My apologizes for long output.

Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Sat Jul 06, 2019 5:01 pm    Post subject: Reply with quote

@CaptainBlood, maybe you meant to run
Code:
emerge --info spidermonkey
..instead?
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
saellaven
Guru
Guru


Joined: 23 Jul 2006
Posts: 512

PostPosted: Sat Jul 06, 2019 7:34 pm    Post subject: Reply with quote

I just played around with this a little...

dev-lang/spidermonkey-60.5.2_p0-r2:60::gentoo USE="jit -minimal system-icu -custom-cflags -custom-optimization -debug -test" resulted in the 500 MB install
dev-lang/spidermonkey-60.5.2_p0-r2:60::gentoo USE="jit minimal system-icu -custom-cflags -custom-optimization -debug -test" resulted in a 270 MB install

After removing nostrip from my FEATURES in make.conf,
dev-lang/spidermonkey-60.5.2_p0-r2:60::gentoo USE="jit -minimal system-icu -custom-cflags -custom-optimization -debug -test" resulted in a 21 MB install
dev-lang/spidermonkey-60.5.2_p0-r2:60::gentoo USE="jit minimal system-icu -custom-cflags -custom-optimization -debug -test" resulted in a 11 MB install

so, it all comes down to debugging symbols and whether or not you strip them. I typically have them turned on by default, but it might make sense to disable it per package in this case.
Back to top
View user's profile Send private message
CasperVector
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 113

PostPosted: Sun Jul 07, 2019 3:02 pm    Post subject: Reply with quote

saellaven wrote:
so, it all comes down to debugging symbols and whether or not you strip them. I typically have them turned on by default, but it might make sense to disable it per package in this case.

Ah, the debugging symbols again. I was once also bitten by it...
_________________
My current OpenPGP key:
RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19)
7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C
Back to top
View user's profile Send private message
AJM
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2002
Posts: 99
Location: Aberdeen, Scotland

PostPosted: Wed Jul 10, 2019 9:57 pm    Post subject: Reply with quote

tld wrote:
I have to stick with mail-client/thunderbird-52.9 until I can find a decent replacement


What's wrong with Claws Mail?

I have never found any need for polkit and have been living happily without it where I have that choice (i.e. machines running Gentoo.) Same goes for all the other -kit rubbish.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1392

PostPosted: Thu Jul 11, 2019 12:37 pm    Post subject: Reply with quote

AJM wrote:
tld wrote:
I have to stick with mail-client/thunderbird-52.9 until I can find a decent replacement


What's wrong with Claws Mail?
Others have mentioned that and that's exactly what I'm likely to go with once I get a chance to switch over. I was just looking into that again and it looks pretty great. I see it works with gtk+-2 as well. Thanks!

Tom
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Fri Jul 12, 2019 5:39 pm    Post subject: Reply with quote

tld wrote:
AJM wrote:
tld wrote:
I have to stick with mail-client/thunderbird-52.9 until I can find a decent replacement


What's wrong with Claws Mail?
Others have mentioned that and that's exactly what I'm likely to go with once I get a chance to switch over. I was just looking into that again and it looks pretty great. I see it works with gtk+-2 as well. Thanks!

Tom
Don't forget Sylpheed too. ;)
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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