[MacPorts] #66983: Error while trying to install Kicad 6.0.11

MacPorts noreply at macports.org
Thu Feb 23 10:41:50 UTC 2023


#66983: Error while trying to install Kicad 6.0.11
---------------------------+--------------------
 Reporter:  f1gwr          |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.8.1
 Keywords:  libjpeg-turbo  |       Port:  kicad
---------------------------+--------------------
 == >>>>>>>>>> Installed fresh "MacPorts-2.8.1-10.14-Mojave"
 == >>>>>>>>>> and then typed "sudo port install kicad" in Terminal
 == >>>>>>>>>> Got the following error message

 --->  Fetching archive for libjpeg-turbo
 --->  Attempting to fetch libjpeg-turbo-2.1.5.1_0.darwin_18.x86_64.tbz2
 from http://packages.macports.org/libjpeg-turbo
 --->  Attempting to fetch libjpeg-
 turbo-2.1.5.1_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/libjpeg-turbo
 --->  Installing libjpeg-turbo @2.1.5.1_0
 --->  Activating libjpeg-turbo @2.1.5.1_0
 Error: Failed to activate libjpeg-turbo: Image error: /opt/local/bin/cjpeg
 is being used by the active jpeg port.  Please deactivate this port first,
 or use 'port -f activate libjpeg-turbo' 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..."
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-
 turbo/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port kicad failed
 --->  Some of the ports you installed have notes:
   hwloc has the following notes:
     * GUI support is now disabled by default. It can be enabled via
 variant gui.
     * OpenCL and CUDA support is now disabled by default. It can be
 enabled by variants opencl and cuda, respectively.
   libpsl has the following notes:
     libpsl API documentation is provided by the port 'libpsl-docs'.
   lzma has the following notes:
     The LZMA SDK program is installed as "lzma_alone", to avoid conflict
 with LZMA Utils
   python310 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one or both of:

         sudo port select --set python python310
         sudo port select --set python3 python310
   tcl has the following notes:
     The Sqlite3 Tcl package is now being provided by the sqlite3-tcl port:
     sudo port install sqlite3-tcl



 == >>>>>>>>>> OK, used 'port -f activate libjpeg-turbo' to force the
 activation and got this:

 $ sudo port install kicad
 --->  Fetching archive for expat
 --->  Attempting to fetch expat-2.5.0_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/expat
 --->  Attempting to fetch expat-2.5.0_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/expat
 --->  Installing expat @2.5.0_0
 --->  Cleaning expat
 --->  Deactivating expat @2.2.6_1
 --->  Cleaning expat
 --->  Activating expat @2.5.0_0
 --->  Cleaning expat
 --->  Fetching archive for libiconv
 --->  Attempting to fetch libiconv-1.17_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/libiconv
 --->  Attempting to fetch libiconv-1.17_0.darwin_18.x86_64.tbz2.rmd160
 from http://packages.macports.org/libiconv
 --->  Installing libiconv @1.17_0
 --->  Cleaning libiconv
 --->  Deactivating libiconv @1.16_0
 --->  Cleaning libiconv
 --->  Activating libiconv @1.17_0
 --->  Cleaning libiconv
 --->  Fetching archive for ncurses
 --->  Attempting to fetch ncurses-6.4_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/ncurses
 --->  Attempting to fetch ncurses-6.4_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/ncurses
 --->  Installing ncurses @6.4_0
 --->  Cleaning ncurses
 --->  Deactivating ncurses @6.1_0
 --->  Cleaning ncurses
 --->  Activating ncurses @6.4_0
 --->  Cleaning ncurses
 --->  Computing dependencies for openssl3
 --->  Fetching archive for openssl3
 --->  Attempting to fetch openssl3-3.0.8_1+legacy.darwin_18.x86_64.tbz2
 from http://packages.macports.org/openssl3
 --->  Attempting to fetch
 openssl3-3.0.8_1+legacy.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/openssl3
 --->  Installing openssl3 @3.0.8_1+legacy
 --->  Activating openssl3 @3.0.8_1+legacy
 --->  Cleaning openssl3
 --->  Computing dependencies for openssl
 --->  Fetching archive for openssl
 --->  Attempting to fetch openssl-3_9.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/openssl
 --->  Attempting to fetch openssl-3_9.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/openssl
 --->  Installing openssl @3_9
 --->  Cleaning openssl
 --->  Computing dependencies for openssl
 --->  Deactivating openssl @1.0.2s_0
 --->  Cleaning openssl
 --->  Activating openssl @3_9
 --->  Cleaning openssl
 --->  Computing dependencies for xz
 --->  Fetching archive for xz
 --->  Attempting to fetch xz-5.2.10_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/xz
 --->  Attempting to fetch xz-5.2.10_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/xz
 --->  Installing xz @5.2.10_0
 --->  Cleaning xz
 --->  Computing dependencies for xz
 --->  Deactivating xz @5.2.4_0
 --->  Cleaning xz
 --->  Activating xz @5.2.10_0
 --->  Cleaning xz
 --->  Fetching archive for lz4
 --->  Attempting to fetch lz4-1.9.4_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/lz4
 --->  Attempting to fetch lz4-1.9.4_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/lz4
 --->  Installing lz4 @1.9.4_0
 --->  Cleaning lz4
 --->  Deactivating lz4 @1.9.1_0
 --->  Cleaning lz4
 --->  Activating lz4 @1.9.4_0
 --->  Cleaning lz4
 --->  Computing dependencies for zstd
 --->  Fetching archive for zstd
 --->  Attempting to fetch zstd-1.5.4_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/zstd
 --->  Attempting to fetch zstd-1.5.4_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/zstd
 --->  Installing zstd @1.5.4_0
 --->  Cleaning zstd
 --->  Computing dependencies for zstd
 --->  Deactivating zstd @1.4.0_0
 --->  Cleaning zstd
 --->  Activating zstd @1.5.4_0
 --->  Cleaning zstd
 --->  Computing dependencies for libtextstyle
 --->  Fetching archive for libtextstyle
 --->  Attempting to fetch libtextstyle-0.21_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/libtextstyle
 --->  Attempting to fetch libtextstyle-0.21_0.darwin_18.x86_64.tbz2.rmd160
 from http://packages.macports.org/libtextstyle
 --->  Installing libtextstyle @0.21_0
 --->  Activating libtextstyle @0.21_0
 --->  Cleaning libtextstyle
 --->  Computing dependencies for gettext-tools-libs
 --->  Fetching archive for gettext-tools-libs
 --->  Attempting to fetch gettext-tools-libs-0.21_0.darwin_18.x86_64.tbz2
 from http://packages.macports.org/gettext-tools-libs
 --->  Attempting to fetch gettext-tools-
 libs-0.21_0.darwin_18.x86_64.tbz2.rmd160 from http://packages.macports.org
 /gettext-tools-libs
 --->  Installing gettext-tools-libs @0.21_0
 --->  Activating gettext-tools-libs @0.21_0
 --->  Cleaning gettext-tools-libs
 --->  Computing dependencies for gettext
 --->  Fetching archive for gettext
 --->  Attempting to fetch gettext-0.21_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/gettext
 --->  Attempting to fetch gettext-0.21_0.darwin_18.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gettext
 --->  Installing gettext @0.21_0
 --->  Cleaning gettext
 --->  Computing dependencies for gettext
 --->  Activating gettext @0.21_0
 --->  Cleaning gettext
 --->  Computing dependencies for libpng
 --->  Fetching archive for libpng
 --->  Attempting to fetch libpng-1.6.39_0.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/libpng
 --->  Attempting to fetch libpng-1.6.39_0.darwin_18.x86_64.tbz2.rmd160
 from http://packages.macports.org/libpng
 --->  Installing libpng @1.6.39_0
 --->  Cleaning libpng
 --->  Computing dependencies for libpng
 --->  Deactivating libpng @1.6.37_0
 --->  Cleaning libpng
 --->  Activating libpng @1.6.39_0
 --->  Cleaning libpng
 --->  Computing dependencies for kicad
 The following dependencies will be installed:
  OpenBLAS
  cython_select
  giflib
  jbigkit
  libjpeg-turbo
  openjpeg
  py310-Pillow
  py310-cython
  py310-numpy
  py310-olefile
  py310-pathlib2
  py310-setuptools
  py310-sip4
  py310-six
  py310-tkinter
  py310-wxpython-4.0
  webp
 Continue? [Y/n]: y
 --->  Activating libjpeg-turbo @2.1.5.1_0
 Error: Failed to activate libjpeg-turbo: Image error: /opt/local/bin/cjpeg
 is being used by the active jpeg port.  Please deactivate this port first,
 or use 'port -f activate libjpeg-turbo' 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..."
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-
 turbo/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port kicad failed


 == >>>>>>>>> Before submitting this ticket read the guidelines and tryed
 this :
 sudo port clean
 Password:
 Can't map the URL 'file://.' to a port description file ("Could not find
 Portfile in /Users/mp12c").
 Please verify that the directory and portfile syntax are correct.
 To use the current port, you must be in a port's directory.


 == >>>>>>>>> Where can I find this Port's directory? Now I'm blocked
 there. Help!

-- 
Ticket URL: <https://trac.macports.org/ticket/66983>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list