Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867067 - app-office/libreoffice-bin-7.3.4.2 needs gcc, redundant?
Summary: app-office/libreoffice-bin-7.3.4.2 needs gcc, redundant?
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-28 10:09 UTC by mike
Modified: 2022-08-28 14:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.txt,5.51 KB, text/plain)
2022-08-28 10:10 UTC, mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2022-08-28 10:09:47 UTC
Hi,
libreoffice-bin is a binary package but pulls in heavy dependencies like gcc (and boost) which are usually only needed for compiling source code. Is that really needed? Maybe those can be dropped?


$ cat /usr/portage/app-office/libreoffice-bin/libreoffice-bin-7.3.4.2.ebuild 
... 
BIN_COMMON_DEPEND="
        app-text/hunspell:0/1.7
        =app-text/libexttextcat-3.4*
        =app-text/libmwaw-0.3*
        dev-cpp/abseil-cpp:0/20211102
        dev-libs/boost:0/1.79.0
        dev-libs/icu:0/71.1
        dev-libs/liborcus:0/0.17
        >=media-gfx/graphite2-1.3.10
        media-libs/harfbuzz:0/4.0.0[icu]
        media-libs/libjpeg-turbo:0/0.2
        media-libs/libpng:0/16
        media-libs/openjpeg:2/7
        media-libs/zxing-cpp:0/0
        >=sys-devel/gcc-11.3.0
        >=sys-libs/glibc-2.34
"
Comment 1 mike 2022-08-28 10:10:16 UTC
Created attachment 801655 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2022-08-28 13:42:24 UTC
Maybe, however please show me a system that has libreoffice but not boost or gcc anyway.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-28 13:52:40 UTC
We need libstdc++ and we're probably linked against Boost (and if we're not, likely to be in future). See bug
Comment 4 Stephan Hartmann (RETIRED) gentoo-dev 2022-08-28 14:36:39 UTC
gcc dep might be redundant when building libreoffice-bin with --static-libstdc++