Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1977579 - asterisk-18.4.0-1.fc35.1 FTBFS: asterisk-18.4.0/include/asterisk/astmm.h:160:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token [NEEDINFO]
Summary: asterisk-18.4.0-1.fc35.1 FTBFS: asterisk-18.4.0/include/asterisk/astmm.h:160:...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: asterisk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jared Smith
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-06-30 06:33 UTC by Petr Pisar
Modified: 2021-07-11 04:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug
releng: needinfo? (jsmith.fedora)

Attachments (Terms of Use)

Description Petr Pisar 2021-06-30 06:33:48 UTC
asterisk-18.4.0-1.fc35.1 fails to build in Fedora 35:

make[1]: Entering directory '/builddir/build/BUILD/asterisk-18.4.0/channels'
gcc -o console_board.o -c console_board.c -MD -MT console_board.o -MF .console_board.o.d -MP -pthread -I/builddir/build/BUILD/asterisk-18.4.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -fPIC  -I/usr/include/libxml2 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations     -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -DAST_MODULE=\"chan_oss\" -DAST_MODULE_SELF_SYM=__internal_chan_oss_self  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT     
In file included from /builddir/build/BUILD/asterisk-18.4.0/include/asterisk.h:23,
                 from console_board.c:44:
/builddir/build/BUILD/asterisk-18.4.0/include/asterisk/astmm.h:160:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
  160 |         Do_not_use_malloc__use_ast_malloc->fail(a)
      |                                          ^~
/builddir/build/BUILD/asterisk-18.4.0/include/asterisk/astmm.h:158:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
  158 |         Do_not_use_calloc__use_ast_calloc->fail(a, b)
      |                                          ^~
/builddir/build/BUILD/asterisk-18.4.0/include/asterisk/astmm.h:164:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
  164 |         Do_not_use_realloc__use_ast_realloc->fail(a, b)
      |                                            ^~
/builddir/build/BUILD/asterisk-18.4.0/include/asterisk/astmm.h:162:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
  162 |         Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
      |                                                                                    ^~
make[1]: *** [/builddir/build/BUILD/asterisk-18.4.0/Makefile.rules:165: console_board.o] Error 1

A difference between passing and failing build root is at <>.

Comment 1 Fedora Release Engineering 2021-07-11 04:23:07 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-08-25).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.


Note You need to log in before you can comment on or make changes to this bug.