New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25200 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

kdelibs4 install fails when xz-devel is installed

Reported by: jjudin+macports@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc: sharky@…
Port: kdelibs4

Description

I have xz_devel port installed and when I try to install kdelibs4 that depends on liblzma the installation fails on conflict with xz-devel even when I try to install the no_liblzma variant with command

port install kdelibs4 +no_liblzma

I'm getting following error when running installation:

port install kdelibs4 +no_liblzma
...
DEBUG: Checking for conflicts against lzmautils
DEBUG: Searching for dependency: xz-devel
DEBUG: Found Dependency: receipt exists for xz-devel
DEBUG: Can't install lzmautils because conflicting ports are installed: xz-devel
    while executing
"mportdepends $subport "" $recurseDeps $skipSatisfied"
    (procedure "mportdepends" line 136)
    invoked from within
"mportdepends $mport $target"
    (procedure "mportexec" line 44)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: Can't install lzmautils because conflicting ports are installed: xz-devel

Full installation debug log is as an attachment.

Attachments

kdelibs4_lzmafail.log (68.0 KB) - added by jjudin+macports@… 3 years ago.
Build log of port -d install kdelibs4 +no_liblzma command

Change History

Changed 3 years ago by jjudin+macports@…

Build log of port -d install kdelibs4 +no_liblzma command

comment:1 Changed 3 years ago by macsforever2000@…

  • Cc sharky@… added
  • Owner changed from macports-tickets@… to snc@…
  • Port set to kdelibs4

comment:2 Changed 3 years ago by afb@…

There should be no reason for the port to require old lzmautils. If it requires bin:unlzma, that can be provided by xz-devel instead.

If it actually does use the old lzmadec library for some reason, that needs to be broken out from the lzmautils port and into a separate one.

comment:3 Changed 3 years ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

kdelibs4 finds what it needs only in the liblzma port. The rest (lzma lzmautils xz-devel) fail to fill its needs.

It looks for (excuse my horrible notation):

  • include/lzma.h
  • lib/lzma
  • lib/lzma_auto_decoder
  • lib/lzma_easy_encoder
  • lib/lzma_lzma_preset

There were two real errors from this ticket: I had -append instead of -delete in the variant, and the lzmautils dep. Fixed in r68853.

Note: See TracTickets for help on using tickets.