[MacPorts] #61858: libunistring: build fails due to failing configure checks

MacPorts noreply at macports.org
Wed Jan 6 17:32:57 UTC 2021


#61858: libunistring: build fails due to failing configure checks
---------------------------+----------------------
  Reporter:  chhil         |      Owner:  ci42
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:
      Port:  libunistring  |
---------------------------+----------------------

Comment (by frgazor):

 Hi,

 I'm also trying to install darktable on my m1 air. Off course as a total
 n00b with mac and macports I'm not very successful.

 First I did this and removed libvpx from libs and configure part:
 {{{
 sudo port edit --editor nano ffmpeg
 }}}

 Now ffmpeg builds and install just fine.

 Next I do this:

 {{{
 sudo port -v install darktable
 }}}

 Many dependencies are successfully installed and then it fails trying to
 build ossp-uuid:


 {{{
 --->  Computing dependencies for ossp-uuid.
 --->  Fetching archive for ossp-uuid
 --->  ossp-uuid-1.6.2_11+perl5_28+universal.darwin_20.arm64-x86_64.tbz2
 doesn't seem to exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch ossp-
 uuid-1.6.2_11+perl5_28+universal.darwin_20.arm64-x86_64.tbz2 from
 https://packages.macports.org/ossp-uuid
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
 0
 --->  Attempting to fetch ossp-
 uuid-1.6.2_11+perl5_28+universal.darwin_20.arm64-x86_64.tbz2 from
 https://lil.fr.packages.macports.org/ossp-uuid
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch ossp-
 uuid-1.6.2_11+perl5_28+universal.darwin_20.arm64-x86_64.tbz2 from
 https://cph.dk.packages.macports.org/ossp-uuid
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
 0
 --->  Configuring ossp-uuid
 --->  Configuring ossp-uuid for architecture arm64
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-
 uuid/work/uuid-1.6.2-arm64" && ./configure --prefix=/opt/local --without-
 php --without-pgsql --includedir=/opt/local/include/ossp --with-perl
 --with-perl-compat --host=aarch64-apple-darwin20.2.0
 configure: WARNING: If you wanted to set the --build type, don't use
 --host.
     If a cross compiler is detected then cross compile mode will be used.
 shtool:echo:Warning: unable to determine terminal sequence for bold mode
 Configuring OSSP uuid (Universally Unique Identifier), version 1.6.2
 (04-Jul-2008)
 checking whether make sets $(MAKE)... yes
 checking for aarch64-apple-darwin20.2.0-gcc... /usr/bin/clang
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/clang accepts -g... yes
 checking for /usr/bin/clang option to accept ISO C89... none needed
 checking for compilation debug mode... disabled
 checking how to run the C preprocessor... /usr/bin/clang -E
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking whether to build against external Dmalloc library... no
 checking build system type... arm-apple-darwin20.2.0
 checking host system type... Invalid configuration `aarch64-apple-
 darwin20.2.0': machine `aarch64-apple' not recognized
 configure: error: /bin/sh ./config.sub aarch64-apple-darwin20.2.0 failed
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-
 uuid/work/uuid-1.6.2-arm64" && ./configure --prefix=/opt/local --without-
 php --without-pgsql --includedir=/opt/local/include/ossp --with-perl
 --with-perl-compat --host=aarch64-apple-darwin20.2.0
 Exit code: 1
 Error: Failed to configure ossp-uuid, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-
 uuid/work/uuid-1.6.2-arm64/config.log
 Error: Failed to configure ossp-uuid: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_ossp-uuid/ossp-uuid/main.log
 for details.
 Error: Unable to execute port: upgrade cairo failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61858#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list