Opened 16 months ago
Closed 12 months ago
#67865 closed defect (fixed)
libgsm @1.0.18_1 conflicts with tcat @0.1.2
Reported by: | cooljeanius (Eric Gallager) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | herbygillot (Herby Gillot) | |
Port: | libgsm tcat |
Description
They both attempt to install a tcat
binary:
x ./opt/local/bin/tcat Error: Failed to activate libgsm: Image error: /opt/local/bin/tcat is being used by the active tcat port. Please deactivate this port first, or use 'port -f activate libgsm' to force the activation. while executing "throw registry::image-error $msg" ("foreach" body line 47) invoked from within "foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to install links, we test if we can lst..." invoked from within "registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to instal..." DEBUG: Error code: registry::image-error DEBUG: Backtrace: Image error: /opt/local/bin/tcat is being used by the active tcat port. Please deactivate this port first, or use 'port -f activate libgsm' to force the activation. while executing "throw registry::image-error $msg" ("foreach" body line 47) invoked from within "foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to install links, we test if we can lst..." invoked from within "registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to instal..." while executing "throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]" (procedure "_activate_contents" line 200) invoked from within "_activate_contents $requested $rename_list" (procedure "portimage::activate" line 70) invoked from within "registry_activate $subport $_inregistry_version $_inregistry_revision $_inregistry_variants $optionlist" (procedure "portactivate::activate_main" line 20) invoked from within "$procedure $targetname" Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libgsm/libgsm/main.log for details. Error: Problem while installing libgsm DEBUG: Rebuilding port gstreamer1-gst-plugins-bad finished with status 1 DEBUG: rev-upgrade failed: Error rebuilding gstreamer1-gst-plugins-bad while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 460) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" Error: rev-upgrade failed: Error rebuilding gstreamer1-gst-plugins-bad
This conflict should either be marked, or fixed.
Change History (5)
comment:1 follow-up: 2 Changed 14 months ago by cooljeanius (Eric Gallager)
comment:2 Changed 14 months ago by cooljeanius (Eric Gallager)
Replying to cooljeanius:
(this is currently blocking the upgrade of gstreamer1-gst-plugins-bad for me, btw)
...which in turn affects a large number of other ports:
$ port echo depends:gstreamer1-gst-plugins-bad garagejam gingerblue gnome-radio gnome-voice totem tracker webkit2-gtk webkit2-gtk-devel clutter-gst gnome-internet-radio-locator gtk-internet-radio-locator farstream $ port echo rdepends:gstreamer1-gst-plugins-bad | wc -l 132 $
(edit: @jeremyhu added webkit2-gtk's dependency on gstreamer1-gst-plugins-bad in https://github.com/macports/macports-ports/commit/5dfba1de98b938f2bd13dc7203db8297b22b2d1c, for reference)
comment:3 Changed 14 months ago by cooljeanius (Eric Gallager)
So, I emailed the dev of libgsm, and got this response:
Hi Eric,
the pragmatic solution would be to just not install the tcat/toast binaries from the libgsm build (or to rename them away from the "toast" name and abbreviation). They're just command-line frontends and not needed for libgsm to function.
Sorry, but I can't help you with the details of how to make this happen in the various port systems and built dependencies--
comment:4 Changed 14 months ago by cooljeanius (Eric Gallager)
Also, I opened this issue against tcat upstream: https://github.com/marcomorain/tcat/issues/14
comment:5 Changed 12 months ago by herbygillot (Herby Gillot)
Owner: | set to herbygillot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
(this is currently blocking the upgrade of gstreamer1-gst-plugins-bad for me, btw)
(edit: dbevans added gstreamer1-gst-plugins-bad's dependency on libgsm in https://github.com/macports/macports-ports/commit/8370f7ec8e2446bf463a8b3e3bd06b2ff3b108d7, for reference)