Opened 6 months ago

Closed 6 months ago

#70078 closed defect (fixed)

gstreamer1-gst-plugins-base @1.24.1_1 - Fatal error: 'stdatomic.h' file not found

Reported by: RobK88 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: lion, mountainlion Cc: RobK88
Port: gstreamer1-gst-plugins-base

Description (last modified by RobK88)

gstreamer1-gst-plugins-base @1.24.1_1 fails to build on lion and mountain lion with the following error message -- fatal error: 'stdatomic.h' file not found.

See the attached main.log.

The workaround is to build with a compiler that has atomic support such as clang-11. (Thanks @kencu)

iMac-2:~ grinch$ sudo port clean gstreamer1-gst-plugins-base
--->  Cleaning gstreamer1-gst-plugins-base
iMac-2:~ grinch$ 
iMac-2:~ grinch$ sudo port upgrade gstreamer1-gst-plugins-base configure.compiler=macports-clang-11
--->  Computing dependencies for gstreamer1-gst-plugins-base
--->  Fetching archive for gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.24.1_1+ogg+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.24.1_1+ogg+x11.darwin_12.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.24.1_1+ogg+x11.darwin_12.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/gstreamer1-gst-plugins-base
--->  Fetching distfiles for gstreamer1-gst-plugins-base
--->  Verifying checksums for gstreamer1-gst-plugins-base
--->  Extracting gstreamer1-gst-plugins-base
--->  Configuring gstreamer1-gst-plugins-base
--->  Building gstreamer1-gst-plugins-base               
--->  Staging gstreamer1-gst-plugins-base into destroot  
--->  Installing gstreamer1-gst-plugins-base @1.24.1_1+ogg+x11
--->  Cleaning gstreamer1-gst-plugins-base
--->  Computing dependencies for gstreamer1-gst-plugins-base
--->  Deactivating gstreamer1-gst-plugins-base @1.24.1_0+ogg+x11
--->  Cleaning gstreamer1-gst-plugins-base
--->  Activating gstreamer1-gst-plugins-base @1.24.1_1+ogg+x11
--->  Cleaning gstreamer1-gst-plugins-base
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.

Attachments (1)

main.log (61.5 KB) - added by RobK88 6 months ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 6 months ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 6 months ago by RobK88

Description: modified (diff)

comment:2 Changed 6 months ago by RobK88

Cc: RobK88 added

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 339e7b43c01551a9a95183e3558092c353f14763/macports-ports (master):

gstreamer1-gst-plugins-base: Requires stdatomic.h

Closes: #70078

Note: See TracTickets for help on using tickets.