Opened 15 years ago

Closed 15 years ago

#24809 closed defect (fixed)

cannot install 'lv +with_xz' directly

Reported by: takanori@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: vinc17@…, afb@…
Port: lv texinfo lzmautils xz-devel

Description

On MacPorts 1.9.0-beta1, 'sudo port install lv +with_xz' fails to activate due to conflict between lzmautils and xz-devel.

$ port version
Version: 1.8.99

$ port installed
No ports are installed.

$ sudo port install lv +with_xz
--->  Computing dependencies for lv
--->  Dependencies to be installed: bzip2 gzip texinfo gettext expat libiconv gperf ncurses ncursesw lzmautils xz-devel
--->  Fetching bzip2
--->  Verifying checksum(s) for bzip2
--->  Extracting bzip2
--->  Applying patches to bzip2
--->  Configuring bzip2
--->  Building bzip2
--->  Staging bzip2 into destroot
--->  Installing bzip2 @1.0.5_3
--->  Activating bzip2 @1.0.5_3
--->  Cleaning bzip2
--->  Fetching expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13.1_0
--->  Activating libiconv @1.13.1_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0
--->  Activating ncursesw @5.7_0
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0
--->  Activating ncurses @5.7_0
--->  Cleaning ncurses
--->  Fetching gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.17_4
--->  Activating gettext @0.17_4
--->  Cleaning gettext
--->  Fetching lzmautils
--->  Verifying checksum(s) for lzmautils
--->  Extracting lzmautils
--->  Configuring lzmautils
--->  Building lzmautils
--->  Staging lzmautils into destroot
--->  Installing lzmautils @4.32.7_1
--->  Activating lzmautils @4.32.7_1
--->  Cleaning lzmautils
--->  Fetching texinfo
--->  Verifying checksum(s) for texinfo
--->  Extracting texinfo
--->  Configuring texinfo
--->  Building texinfo
--->  Staging texinfo into destroot
--->  Installing texinfo @4.13_0
--->  Activating texinfo @4.13_0
--->  Cleaning texinfo
--->  Fetching gzip
--->  Verifying checksum(s) for gzip
--->  Extracting gzip
--->  Applying patches to gzip
--->  Configuring gzip
--->  Building gzip
--->  Staging gzip into destroot
--->  Installing gzip @1.4_0
--->  Activating gzip @1.4_0
--->  Cleaning gzip
--->  Fetching xz-devel
--->  Verifying checksum(s) for xz-devel
--->  Extracting xz-devel
--->  Applying patches to xz-devel
--->  Configuring xz-devel
--->  Building xz-devel
--->  Staging xz-devel into destroot
--->  Installing xz-devel @4.999.9beta_0
--->  Activating xz-devel @4.999.9beta_0
Error: Target org.macports.activate returned: Image error: /opt/local/bin/lzcat is being used by the active lzmautils port.  Please deactivate this port first, or use 'port -f activate xz-devel' to force the activation.
Log for xz-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_xz-devel/main.log
Error: The following dependencies failed to build: xz-devel
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

To avoid this issue, I had to install xz-devel at first.

$ sudo port -f uninstall installed
$ sudo port install xz-devel
$ sudo port install lv +with_xz

Anyway, this issue doesn't occur if MacPorts is 1.8.2.

Change History (4)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Again, I don't see why this would be any different between MacPorts 1.9 and 1.8. The ports do conflict. All MacPorts can do is issue an error.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: vinc17@… afb@… added
Component: baseports
Port: lv texinfo lzmautils xz-devel added
Summary: MacPorts 1.9.0-beta1: cannot install 'lv +with_xz' directlycannot install 'lv +with_xz' directly

This is really a problem with the ports involved; the conflicting lzmautils port is required by a different dependency of lv.

comment:3 Changed 15 years ago by afb@…

If you have the beta version of XZ Utils installed, there is no need for LZMA Utils since it replaces those. If you don't want to extract .xz, but *only* want to extract .lzma, then it still "works". Which is why MacPorts base uses it:

use_lzma        yes
->  depends_extract-append bin:lzma:lzmautils

use_xz          yes
->  depends_extract-append bin:xz:xz-devel

For the ports mentioned above, as long as "xz-devel" is installed *before* "texinfo" it won't try to install lzmautils. I don't either see why there would be any difference between 1.8 and 1.9, in this regard.

comment:4 Changed 15 years ago by takanori@…

Resolution: fixed
Status: newclosed

Seems that r67384 fixes this problem, as well as #24808.

Note: See TracTickets for help on using tickets.