Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710484 - net-misc/asterisk-13.29.1 : cdr_mysql.c:184:2: error: unknown type name my_bool
Summary: net-misc/asterisk-13.29.1 : cdr_mysql.c:184:2: error: unknown type name my_bool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2020-02-22 14:26 UTC by Toralf Förster
Modified: 2020-03-20 09:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.63 KB, text/plain)
2020-02-22 14:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.39 KB, text/plain)
2020-02-22 14:26 UTC, Toralf Förster
Details
environment (environment,99.73 KB, text/plain)
2020-02-22 14:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.30 KB, application/x-bzip)
2020-02-22 14:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,42.73 KB, application/x-bzip)
2020-02-22 14:26 UTC, Toralf Förster
Details
net-misc:asterisk-13.29.1:20200222-120812.log (net-misc:asterisk-13.29.1:20200222-120812.log,432.48 KB, text/plain)
2020-02-22 14:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,48.37 KB, application/x-bzip)
2020-02-22 14:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-22 14:26:13 UTC
x86_64-pc-linux-gnu-gcc -o cdr_mysql.o -c cdr_mysql.c -MD -MT cdr_mysql.o -MF .cdr_mysql.o.d -MP -pthread -I/var/tmp/portage/net-misc/asterisk-13.29.1/work/asterisk-13.29.1/include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -g3 -O3 -fno-partial-inlining -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC -DAST_MODULE=\"cdr_mysql\"  -I/usr/include/mysql -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 
cdr_mysql.c: In function mysql_log:
cdr_mysql.c:184:2: error: unknown type name my_bool; did you mean bool?
  184 |  my_bool my_bool_true = 1;
      |  ^~~~~~~
      |  bool

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl-20200220-111615

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 22 Feb 2020 10:37:14 +0000

emerge -qpvO net-misc/asterisk
[ebuild  N    ] net-misc/asterisk-13.29.1  USE="caps iconv libressl mysql samples ssl -alsa -bluetooth -calendar -cluster -curl -dahdi -debug -doc -freetds -gtalk -http -ilbc -ldap -libedit -lua -newt -odbc -osplookup -oss -pjproject -portaudio -postgres -radius (-selinux) -snmp -span -speex -srtp -static -statsd -syslog -vorbis -xmpp" VOICEMAIL_STORAGE="file -imap -odbc"
Comment 1 Toralf Förster gentoo-dev 2020-02-22 14:26:16 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_systemd-libressl-20200220-111615 (see bug 692696)
Comment 2 Toralf Förster gentoo-dev 2020-02-22 14:26:18 UTC
Created attachment 615092 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-22 14:26:21 UTC
Created attachment 615094 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-22 14:26:24 UTC
Created attachment 615096 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-22 14:26:26 UTC
Created attachment 615098 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-22 14:26:29 UTC
Created attachment 615100 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-22 14:26:32 UTC
Created attachment 615102 [details]
net-misc:asterisk-13.29.1:20200222-120812.log
Comment 8 Toralf Förster gentoo-dev 2020-02-22 14:26:35 UTC
Created attachment 615104 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-03-20 09:09:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef6c9937500cd1ff103da2117d7e20f268cfa47

commit bef6c9937500cd1ff103da2117d7e20f268cfa47
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2020-03-15 18:45:40 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-20 09:09:29 +0000

    net-misc/asterisk: version bump 13.32.0
    
    Normal release.
    
    Issues reported to Gentoo fixed from upstream was mysql's my_bool that
    went away.
    
    Include patches for binutils 2.34 (also submitted upstream so expect
    removal in next release).
    
    Also includes various init script improvements I've been running with
    for a while now.
    
    Closes: https://bugs.gentoo.org/594964
    Closes: https://bugs.gentoo.org/624038
    Closes: https://bugs.gentoo.org/710484
    Closes: https://bugs.gentoo.org/711582
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/14986
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/asterisk/Manifest                         |   1 +
 net-misc/asterisk/asterisk-13.32.0.ebuild          | 332 ++++++++++++++++++
 .../files/asterisk-13.32.0-binutils-2.34.patch     |  17 +
 .../asterisk-historic-dahdiras-without-root.patch  |  23 ++
 .../asterisk-historic-dundi-null-dereference.patch |  40 +++
 ...terisk-historic-invert-gmine-search-order.patch |  12 +
 .../asterisk-historic-no-var-run-install.patch     |  14 +
 .../asterisk/files/asterisk-historic-uclibc.patch  |  23 ++
 net-misc/asterisk/files/confd-13.32.0              | 160 +++++++++
 net-misc/asterisk/files/initd-13.32.0              | 380 +++++++++++++++++++++
 10 files changed, 1002 insertions(+)