Opened 4 months ago

Last modified 4 months ago

#70078 closed defect

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

Reported by: RobK88 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: lion, mountainlion Cc:
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.

Change History (2)

Changed 4 months ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 4 months ago by RobK88

Description: modified (diff)
Note: See TracTickets for help on using tickets.