Opened 3 years ago

Closed 3 years ago

#62318 closed defect (fixed)

urlview @0.9-20 fails to build with Xcode 12

Reported by: raw-bin (Robin Randhawa) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: bigsur catalina Cc:
Port: urlview

Description

Hi.

I get the following:

> sudo port install urlview
Password:
--->  Computing dependencies for urlview
--->  Fetching archive for urlview
--->  Attempting to fetch urlview-0.9-20_0.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/urlview
--->  Attempting to fetch urlview-0.9-20_0.darwin_20.arm64.tbz2 from https://lil.fr.packages.macports.org/urlview
--->  Attempting to fetch urlview-0.9-20_0.darwin_20.arm64.tbz2 from https://packages.macports.org/urlview
--->  Building urlview
Error: Failed to build urlview: command execution failed
Error: See /opt/local/var/macports/logs/_opt_mports_macports-ports_www_urlview/urlview/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port urlview failed

This is a Git installed MacPorts installation on BigSur:

> uname -a
Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64 arm64 MacBookPro17,1 Darwin

> xcodebuild -version
Xcode 12.4
Build version 12D4e

The incriminating bit appears to be:

:info:build urlview.c:612:15: error: implicit declaration of function 'quote' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build               quote (scratch, sizeof (scratch), url[current]);
:info:build               ^

Complete main.log attached.

Thanks.

Attachments (1)

main.log (43.4 KB) - added by raw-bin (Robin Randhawa) 3 years ago.
Failed build log for urlview

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by raw-bin (Robin Randhawa)

Attachment: main.log added

Failed build log for urlview

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

Keywords: catalina added; arm64 removed
Summary: urlview fails to install on MacBook Pro 13 with Apple M1 siliconurlview @0.9-20 fails to build with Xcode 12

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In e800645117c5858ec582639cd072ed6b6bbcc7f3/macports-ports (master):

urlview: fix implicit declaration

Closes: #62318

Note: See TracTickets for help on using tickets.