Opened 14 years ago

Closed 14 years ago

#25200 closed defect (fixed)

kdelibs4 install fails when xz-devel is installed

Reported by: jjudin+macports@… Owned by: nerdling (Jeremy Lavergne)
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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by jjudin+macports@…

Attachment: kdelibs4_lzmafail.log added

Build log of port -d install kdelibs4 +no_liblzma command

comment:1 Changed 14 years ago by mf2k (Frank Schima)

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

comment:2 Changed 14 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 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

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.