Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857168 - sys-boot/syslinux should depend on upx || upx-bin
Summary: sys-boot/syslinux should depend on upx || upx-bin
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on: 888429 888431
Blocks: 888211
  Show dependency tree
 
Reported: 2022-07-09 13:07 UTC by Christian Schmidt
Modified: 2022-12-25 18:04 UTC (History)
3 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 Christian Schmidt 2022-07-09 13:07:38 UTC
sys-boot/syslinux-6.04_pre1-r3 hard depends on the open source variant of upx:
        bios? (
                app-arch/upx
                app-text/asciidoc
                dev-lang/nasm
        )
while gentoo has upx-bin with a slightly different feature set available. This clashes with tsmuxer, which due to an outdated useflag currently hard depends on upx-bin, so a side by side installation of both packages is impossible.

A useful alternative might be
        bios? (
                || (
                        app-arch/upx
                        app-arch/upx-bin
                )
                app-text/asciidoc
                dev-lang/nasm
        )


Reproducible: Always

Steps to Reproduce:
emerge -p tsmuxer syslinux
Actual Results:  
[ebuild  N     ] app-arch/upx-bin-3.96 
[ebuild  N     ] media-video/tsmuxer-2.6.11-r1 
[ebuild   R    ] sys-boot/syslinux-6.04_pre1-r3 
[blocks B      ] app-arch/upx ("app-arch/upx" is soft blocking app-arch/upx-bin-3.96)
[blocks B      ] app-arch/upx-bin ("app-arch/upx-bin" is soft blocking app-arch/upx-3.96-r2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-arch/upx-3.96-r2:0/0::gentoo, installed) pulled in by
    app-arch/upx required by (sys-boot/syslinux-6.04_pre1-r3:0/0::gentoo, ebuild scheduled for merge) USE="bios efi" ABI_X86="32 (64)"

  (app-arch/upx-bin-3.96:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=app-arch/upx-bin-3.01 required by (media-video/tsmuxer-2.6.11-r1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)"


Expected Results:  
successful dep resolution
Comment 1 Matthew Smith gentoo-dev 2022-07-10 04:54:19 UTC
Maybe a virtual/upx would be helpful too? :)
Comment 2 Azamat H. Hackimov 2022-07-10 11:38:55 UTC
Related to https://bugs.gentoo.org/691814.

While "|| ( app-arch/upx app-arch/upx-bin )" is a viable solution, in fact, tsmuxer should be updated to 2.6.16, where there no upx{,-bin} dependency at all.
Comment 3 Christian Schmidt 2022-07-10 17:49:21 UTC
(In reply to Azamat H. Hackimov from comment #2)

If anything, to a nightly, see https://bugs.gentoo.org/783519

I think the dep should still be there for either flavor of upx, as while a quick grep shows only syslinux and tsmuxer as consumers, there might be more reasons to have both. The only other potential consumer seems app-backup/dar, which just hard disables upx support.