Opened 3 years ago

Closed 3 years ago

#63781 closed defect (duplicate)

quartz-wm @1.3.2_1: error: typedef redefinition with different types ('XID' (aka 'unsigned long') vs 'struct Picture')

Reported by: xhale (Alex Heyes) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey arm64 Cc: cjones051073 (Chris Jones)
Port: quartz-wm xorg-xorgproto

Description

File not found when attempting to retrieve tarball.

more /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_quartz-wm/quartz-wm/main.log
version:1
:debug:main Starting logging for quartz-wm @1.3.2_1
:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch arm
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 13.1
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:debug:main dropping privileges: euid changed to 502, egid changed to 101.
:debug:main Executing org.macports.main (quartz-wm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Wed Nov  3 07:59:02 GMT 2021
:msg:archivefetch --->  Fetching archive for quartz-wm
:debug:archivefetch Executing org.macports.archivefetch (quartz-wm)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/101
:info:archivefetch --->  quartz-wm-1.3.2_1.darwin_21.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch quartz-wm-1.3.2_1.darwin_21.arm64.tbz2 from https://packages.macports.org/quartz-wm
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch quartz-wm-1.3.2_1.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/quartz-wm
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch quartz-wm-1.3.2_1.darwin_21.arm64.tbz2 from https://ema.uk.packages.macports.org/quartz-wm
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

Attachments (1)

main.log (60.8 KB) - added by xhale (Alex Heyes) 3 years ago.
Log from run at Wed Nov 3 11:49:25 GMT 2021

Download all attachments as: .zip

Change History (6)

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

Keywords: monterey added

We have only just begun to build archives for Darwin 21 / macOS 12, so the fact that these archives do not yet exist is neither unexpected nor a bug. In the absence of such archives, MacPorts builds from source on your system. If that fails, that may be a bug. Attach the main.log so that we can see what happened.

Changed 3 years ago by xhale (Alex Heyes)

Attachment: main.log added

Log from run at Wed Nov 3 11:49:25 GMT 2021

comment:2 Changed 3 years ago by xhale (Alex Heyes)

Cleaned up then re-ran as per below commands. Full main.log attached

rm /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_quartz-wm/quartz-wm/main.log
sudo port clean quartz-vm
sudo port install xorg-server

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

Cc: cjones051073 added
Keywords: arm64 added
Owner: set to jeremyhu
Port: xorg-xorgproto added
Status: newassigned
Summary: quartz-wm @1.3.2_1.darwin_21.arm64: file not found on UK mirrorquartz-wm @1.3.2_1: error: typedef redefinition with different types ('XID' (aka 'unsigned long') vs 'struct Picture')

Log says:

:info:build /opt/local/include/X11/extensions/render.h:31:14: error: typedef redefinition with different types ('XID' (aka 'unsigned long') vs 'struct Picture')
:info:build typedef XID             Picture;
:info:build                         ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:191:41: note: previous definition is here
:info:build typedef struct Picture                  Picture;
:info:build                                         ^

/opt/local/include/X11/extensions/render.h is provided by xorg-xorgproto so maybe the bug is in that port.

comment:4 Changed 3 years ago by cjones051073 (Chris Jones)

Please make sure your ports tree is up to date, as quartz-wm was fixed on macOS12 in https://github.com/macports/macports-ports/commit/ca68c9fabf615a629f5737a1d5d6dd7614b159e3

comment:5 Changed 3 years ago by cjones051073 (Chris Jones)

Resolution: duplicate
Status: assignedclosed

Closing as duplicate of https://trac.macports.org/ticket/63355 Please post any follow ups there.

Note: See TracTickets for help on using tickets.