Opened 4 years ago
Closed 4 years ago
#62061 closed defect (fixed)
mesa @19.0.8 build failure on 10.11: clock_gettime unavailable
Reported by: | dbl001 (dbl) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | mascguy (Christopher Nielsen), DaveStrickland (Dave Strickland), chrstphrchvz (Christopher Chavez) | |
Port: | mesa |
Description
OS X 10.11.6
$ port list mesa mesa @19.0.8 x11/mesa ../include/c11/threads_posix.h:391:23: error: use of undeclared identifier 'CLOCK_REALTIME' :info:build clock_gettime(CLOCK_REALTIME, ts);
Attachments (2)
Change History (12)
Changed 4 years ago by dbl001 (dbl)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Keywords: | Mesa removed |
---|---|
Owner: | set to jeremyhu |
Port: | mesa added; mesa-19.0.8_0 removed |
Status: | new → assigned |
Summary: | Error: Failed to build mesa: command execution failed → mesa @19.0.8 build failure on 10.11: clock_gettime unavailable |
comment:2 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
Changed 4 years ago by mascguy (Christopher Nielsen)
Attachment: | wireshark3-patch-fix-clock_realtime.diff added |
---|
comment:3 Changed 4 years ago by mascguy (Christopher Nielsen)
comment:4 Changed 4 years ago by DaveStrickland (Dave Strickland)
Cc: | DaveStrickland added |
---|
comment:5 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
This ticket was opened shortly after I submitted https://github.com/macports/macports-ports/pull/9715, which was merged: [aa73b0f964/macports-ports]. Should this ticket be closed?
comment:6 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:8 Changed 4 years ago by dbl001 (dbl)
It's working now:
port upgrade outdated (base) MacBook-Pro:clamav-devel davidlaxer$ sudo port upgrade outdated Portfile changed since last build; discarding previous state. ---> Computing dependencies for mesa ---> Fetching archive for mesa ---> Attempting to fetch mesa-19.0.8_0+osmesa+python27.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/mesa ---> Attempting to fetch mesa-19.0.8_0+osmesa+python27.darwin_15.x86_64.tbz2 from https://kmq.jp.packages.macports.org/mesa ---> Attempting to fetch mesa-19.0.8_0+osmesa+python27.darwin_15.x86_64.tbz2 from https://mse.uk.packages.macports.org/mesa ---> Fetching distfiles for mesa ---> Verifying checksums for mesa ---> Extracting mesa ---> Applying patches to mesa ---> Configuring mesa ---> Building mesa ---> Staging mesa into destroot ---> Installing mesa @19.0.8_0+osmesa+python27 ---> Cleaning mesa ---> Computing dependencies for mesa ---> Deactivating mesa @17.3.9_0+osmesa+python27 ---> Cleaning mesa ---> Activating mesa @19.0.8_0+osmesa+python27 ---> Cleaning mesa
comment:9 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Builders now report success on 10.7 and later: https://ports.macports.org/port/mesa/builds
comment:10 Changed 4 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This should be relatively simple to fix.
You can either adapt the wireshark3 patch I created (attached), or alternatively, the MacPorts
legacysupport
library might also work.