Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727594 - net-libs/libnetfilter_queue-1.0.4 should conditionally depend on app-doc/doxygen
Summary: net-libs/libnetfilter_queue-1.0.4 should conditionally depend on app-doc/doxygen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://git.netfilter.org/libnetfilte...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-08 22:24 UTC by Grzegorz Kulewski
Modified: 2020-06-14 09:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Kulewski 2020-06-08 22:24:31 UTC
net-libs/libnetfilter_queue-1.0.4 started depending unconditionally on app-doc/doxygen resulting in insane load of new dependencies, especially for small headless systems/routers. This is today's -u --deep -t:

# time emerge -u --deep --newuse libnetfilter_queue -pvt

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U  ] net-libs/libnetfilter_queue-1.0.4::gentoo [1.0.3::gentoo] USE="-static-libs" 306 KiB
[ebuild  N     ]  app-doc/doxygen-1.8.17::gentoo  USE="-clang -debug -doc -dot -doxysearch -qt5 (-sqlite)" 5019 KiB
[ebuild  N     ]   app-text/ghostscript-gpl-9.50::gentoo  USE="unicode -X -cups -dbus -gtk -static-libs -tiff" L10N="-de (-ja) -ko -zh-CN -zh-TW" 33806 KiB
[nomerge       ] app-text/ghostscript-gpl-9.50::gentoo  USE="unicode -X -cups -dbus -gtk -static-libs -tiff" L10N="-de (-ja) -ko -zh-CN -zh-TW" 
[nomerge       ]  media-libs/fontconfig-2.13.1-r2:1.0::gentoo  USE="-doc -static-libs" 
[ebuild  N     ]   app-eselect/eselect-fontconfig-1.1-r1::gentoo  2 KiB
[ebuild  N     ]    media-libs/fontconfig-2.13.1-r2:1.0::gentoo  USE="-doc -static-libs" 1684 KiB
[ebuild  N     ]  virtual/jpeg-100::gentoo  USE="-static-libs" 0 KiB
[ebuild  N     ]   media-libs/libjpeg-turbo-2.0.4::gentoo  USE="-java -static-libs" 2126 KiB
[ebuild  N     ]  media-libs/openjpeg-2.3.1-r1:2/7::gentoo  USE="-doc -static-libs -test" 2163 KiB
[ebuild  N     ]  media-libs/freetype-2.10.2-r1:2::gentoo  USE="bzip2 -X -adobe-cff -bindist -brotli -cleartype_hinting -debug -doc -fontforge -harfbuzz -infinality -png -static-libs -utils" 2349 KiB
[nomerge       ] media-libs/openjpeg-2.3.1-r1:2/7::gentoo  USE="-doc -static-libs -test" 
[ebuild  N     ]  media-libs/tiff-4.1.0::gentoo  USE="cxx lzma zlib zstd -jbig -jpeg -static-libs -test -webp" 2365 KiB
[nomerge       ] app-text/ghostscript-gpl-9.50::gentoo  USE="unicode -X -cups -dbus -gtk -static-libs -tiff" L10N="-de (-ja) -ko -zh-CN -zh-TW" 
[ebuild  N     ]  media-libs/jbig2dec-0.17-r1:0/0.17::gentoo  USE="-png -static-libs -test" 138 KiB
[ebuild  N     ]  app-text/libpaper-1.1.28::gentoo  42 KiB
[ebuild  N     ]  media-fonts/urw-fonts-2.4.9::gentoo  USE="-X" 3124 KiB
[ebuild  N     ]   app-arch/rpm2targz-9.0.0.5g-r2::gentoo  6 KiB
[ebuild  N     ]  media-libs/lcms-2.9:2::gentoo  USE="-doc -jpeg -static-libs -test -threads -tiff" 10698 KiB
[ebuild  N     ]  media-libs/libpng-1.6.37:0/16::gentoo  USE="apng (-neon) -static-libs" CPU_FLAGS_X86="sse" 999 KiB
[nomerge       ] media-libs/fontconfig-2.13.1-r2:1.0::gentoo  USE="-doc -static-libs" 
[ebuild  N     ]  virtual/ttf-fonts-1-r1::gentoo  0 KiB
[ebuild  N     ]   media-fonts/liberation-fonts-2.1.0::gentoo  USE="-X -fontforge" 2301 KiB
[nomerge       ] app-arch/rpm2targz-9.0.0.5g-r2::gentoo 
[ebuild  N     ]  app-arch/cpio-2.12-r1::gentoo  USE="(-nls)" 1230 KiB
[nomerge       ] app-text/ghostscript-gpl-9.50::gentoo  USE="unicode -X -cups -dbus -gtk -static-libs -tiff" L10N="-de (-ja) -ko -zh-CN -zh-TW" 
[ebuild  N     ]  app-text/poppler-data-0.4.9::gentoo  4099 KiB

Total: 20 packages (1 upgrade, 19 new), Size of downloads: 72448 KiB


I cerainly don't want to have whole PS/PDF and TIFF/JPG/PNG/fonts/LCMS/whatever stack on my router/headless VPS, even if it's build-time only.

Reproducible: Always

Steps to Reproduce:
Just try to install/upgrade net-libs/libnetfilter_queue-1.0.4.
Actual Results:  
Dependency hell.

Expected Results:  
1. "doc" USE flag should control building docs and deps for that.
2. Or sed-out building docs at all if 1. is hard or takes time. It's better to skip API docs for now than to have such garbage on a small system.
3. Or at least mask the updated package for now. I can (and probably will) mask it locally but I don't want to maintain old version forever if Gentoo is not doing to do anything about it. That's why I am submitting this bug.
4. And try to test core and/or embedded/router packages for dependencies before committing.

If at least 2. or 3. is done I think this bug can be downgraded to normal.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-09 07:24:49 UTC
(In reply to Grzegorz Kulewski from comment #0)
> I cerainly don't want to have whole PS/PDF and
> TIFF/JPG/PNG/fonts/LCMS/whatever stack on my router/headless VPS, even if
> it's build-time only.

Nothing is forcing you to compile packages on your router/headless VPS.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-09 08:30:12 UTC
The first two commits after tagging 1.0.4 make doxygen support a configure option (--with-doxygen). Disabling that will inhibit installing the development man pages on your router/headless VPS.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-14 09:57:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00cb566cc38859c2821b2deb9f6f8736a20198cd

commit 00cb566cc38859c2821b2deb9f6f8736a20198cd
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-06-14 09:52:38 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-06-14 09:57:44 +0000

    net-libs/libnetfilter_queue: Version 1.0.5
    
    - Add USE=doc now upstream made doxygen a configurable dependency
    - Remove .la files
    - Drop fixmanpages.sh now that it is distributed
    
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=727594
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/libnetfilter_queue/Manifest               |  1 +
 .../libnetfilter_queue-1.0.5.ebuild                | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)