Opened 2 years ago

Closed 2 years ago

#63711 closed defect (fixed)

w3m fails to build on macOS Monterey

Reported by: eamarten Owned by: kimura wataru <kimuraw@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc:
Port: w3m

Description (last modified by jmroot (Joshua Root))

Happened when trying to install neomutt.

--->  Fetching archive for w3m
--->  Attempting to fetch w3m-0.5.3-38_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/w3m
--->  Attempting to fetch w3m-0.5.3-38_0.darwin_21.x86_64.tbz2 from https://kmq.jp.packages.macports.org/w3m
--->  Attempting to fetch w3m-0.5.3-38_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/w3m
--->  Building w3m
Error: Failed to build w3m: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_w3m/w3m/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port neomutt failed

Attachments (1)

aaa.txt (312.3 KB) - added by eamarten 2 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_w3m/w3m/main.log

Download all attachments as: .zip

Change History (4)

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

Description: modified (diff)
Keywords: monterey added
Port: w3m added

Please attach the log.

Changed 2 years ago by eamarten

Attachment: aaa.txt added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_w3m/w3m/main.log

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

See #61356 in which numerous w3m build issues were previously reported. A workaround to use an older compiler was proposed there and implemented but only for macOS 11. Perhaps that same workaround would work for macOS 12 too.

comment:3 Changed 2 years ago by kimura wataru <kimuraw@…>

Owner: set to kimura wataru <kimuraw@…>
Resolution: fixed
Status: newclosed

In a44aa4d27a074e8f359041e90f36b171ea0ab5d9/macports-ports (master):

www/w3m, w3m-devel: fix build errors on macOS 12 Monterey/macOS 11 BigSur

closes: #63711
closes: #61356

  • w3m => @0.5.3_38_1
    • patch-configure.diff: fix wrong HAVE_feature detection with [-Werror,-Wimplicit-function-declaration]
    • patch-config.h.in.diff: fix "too few arguments to function call" at LONGJMP()
  • w3m-devel => @20211027_0
    • update to recent upstream version
  • now, we can build with Xcode's clang on macOS 11/12

tested platforms:

  • macOS 12.0.1 (x64)
  • macOS 11.6.1 (x64)
  • Mac OS X 10.7.5 (x64)
Note: See TracTickets for help on using tickets.