Opened 10 months ago

Last modified 10 months ago

#69075 assigned defect

shared-mime-info @2.3 configure failure on 10.7

Reported by: isaacsnewaccount Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: shared-mime-info

Description

On a new install of Mac OS X 10.7.5, I tried sudo port install webkit-gtk. I do not know the version of the port. I eventually got an error with shared-mime-info:

--->  Fetching archive for shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/shared-mime-info
--->  Fetching distfiles for shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3.tar.bz2 from http://distfiles.macports.org/shared-mime-info
--->  Verifying checksums for shared-mime-info                                      
--->  Extracting shared-mime-info
--->  Applying patches to shared-mime-info
--->  Configuring shared-mime-info
Error: Failed to configure shared-mime-info: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/work/build/meson-logs/meson-log.txt
Error: Failed to configure shared-mime-info: 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_shared-mime-info/shared-mime-info/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a
bug.
Error: Processing of port webkit-gtk failed

The meson-log.txt and the main.log are attached to this ticket.

Attachments (2)

main.log (15.2 KB) - added by isaacsnewaccount 10 months ago.
main.log from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/main.log
meson-log.txt (1.1 KB) - added by isaacsnewaccount 10 months ago.
meson-log.txt from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/work/build/meson-logs/meson-log.txt

Download all attachments as: .zip

Change History (8)

Changed 10 months ago by isaacsnewaccount

Attachment: main.log added

main.log from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/main.log

Changed 10 months ago by isaacsnewaccount

Attachment: meson-log.txt added

meson-log.txt from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/work/build/meson-logs/meson-log.txt

comment:1 Changed 10 months ago by isaacsnewaccount

I already tried sudo port clean webkit-gtk and retried the install, but without success.

comment:2 Changed 10 months ago by isaacsnewaccount

Version: 2.8.1

comment:3 Changed 10 months ago by jmroot (Joshua Root)

Owner: set to mascguy
Port: webkit-gtk removed
Status: newassigned
Summary: webkit-gtk: Processing of port failed due to shared-mime-infoshared-mime-info @2.3 configure failure on 10.7

comment:4 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Hmm, main.log says:

:debug:configure Using compiler 'MacPorts Clang 16'

and:

meson.build:2:0: ERROR: Unknown compiler(s): [['/opt/local/bin/clang-mp-16']]

and meson-log.txt says:

xcodebuild: error: '/opt/local/libexec/llvm-16/bin/clang' not found.

If MacPorts has selected clang 16 for this port, it should have added clang-16 as a dependency, so it should be installed and it should have those files. So let's sanity-check. Is clang-16 installed? Run:

port -v installed clang-16

Are those files installed? Run:

ls -l /opt/local/bin/clang-mp-16 /opt/local/libexec/llvm-16/bin/clang

comment:5 in reply to:  4 Changed 10 months ago by isaacsnewaccount

Replying to ryandesign:

Hmm, main.log says...

Here are the command outputs:

$ sudo port -v installed clang-16
The following ports are currently installed:
  clang-16 @16.0.6_2+analyzer (active) requested_variants='' platform='darwin 11' archs='x86_64' date='2024-01-08T15:33:27-0500'

$ ls -l /opt/local/bin/clang-mp-16 /opt/local/libexec/llvm-16/bin/clang
-rwxr-xr-x  1 root  admin     174 Aug 21 09:05 /opt/local/bin/clang-mp-16
-rwxr-xr-x  1 root  admin  162200 Aug 21 07:12 /opt/local/libexec/llvm-16/bin/clang

comment:6 Changed 10 months ago by isaacsnewaccount

I attempted it again, and this is the terminal output:

$ sudo port install shared-mime-info
Password:
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for shared-mime-info
--->  Fetching archive for shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/shared-mime-info
--->  Attempting to fetch shared-mime-info-2.3_0.darwin_11.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/shared-mime-info
--->  Configuring shared-mime-info
Error: Failed to configure shared-mime-info: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-info/work/build/meson-logs/meson-log.txt
Error: Failed to configure shared-mime-info: 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_shared-mime-info/shared-mime-info/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port shared-mime-info failed
Note: See TracTickets for help on using tickets.