Opened 3 months ago

Last modified 3 months ago

#73208 assigned defect

libopenmpt @0.7.11: error: use of undeclared identifier '__builtin_FILE'

Reported by: mrkapqa Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.11.6
Keywords: mojave Cc:
Port: libopenmpt

Description

Hello ,

wanted to install audacious audio player

got warning

Computing dependencies for audacious
SDL3 is known to fail. Try to install anyway? [y/N]: y

failed to build:

libopenmpt

Attachments (1)

libopenmpt.log (77.6 KB) - added by mrkapqa 3 months ago.

Download all attachments as: .zip

Change History (4)

Changed 3 months ago by mrkapqa

Attachment: libopenmpt.log added

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

Keywords: audacious libopenmpt removed
Owner: set to ryandesign
Port: libopenmpt added; audacious removed
Status: newassigned
Summary: (10.14)(audacious) Failed to build libopenmptlibopenmpt @0.7.11: error: use of undeclared identifier '__builtin_FILE'

One issue per ticket, please. This ticket can be about the libopenmpt build failure. Your log says that occurred because:

In file included from common/mptFileTemporary.cpp:10:
In file included from ./common/stdafx.h:83:
In file included from ./src/openmpt/logging/Logger.hpp:8:
./src/mpt/base/source_location.hpp:83:63: error: use of undeclared identifier '__builtin_FILE'
        static constexpr source_location current(const char * file = MPT_SOURCE_LOCATION_FILE, const char * function = MPT_SOURCE_LOCATION_FUNCTION, uint32 line = MPT_SOURCE_LOCATION_LINE, uint32 column = MPT_SOURCE_LOCATION_COLUMN) noexcept {
                                                                     ^
./src/mpt/base/source_location.hpp:46:38: note: expanded from macro 'MPT_SOURCE_LOCATION_FILE'
#define MPT_SOURCE_LOCATION_FILE     __builtin_FILE()
                                     ^

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

This is the same as: https://github.com/fink/fink-distributions/issues/1202

Fixed by: https://github.com/OpenMPT/openmpt/commit/c87bdcb229597f4b8a2109641ee4d01ab1ef7484

We should update libopenmpt to a newer version that includes that commit.

comment:3 in reply to:  description Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to mrkapqa:

SDL3 is known to fail. Try to install anyway? [y/N]: y

This is #72761.

Note: See TracTickets for help on using tickets.