Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722134 - dev-lang/xsb-3.7.0-r1 : /.../mysql_driver.c: error: my_bool undeclared (first use in this function)
Summary: dev-lang/xsb-3.7.0-r1 : /.../mysql_driver.c: error: my_bool undeclared (first...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mysql-8
  Show dependency tree
 
Reported: 2020-05-10 13:35 UTC by Toralf Förster
Modified: 2020-07-18 09:39 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2020-05-10 13:35 UTC, Toralf Förster
Details
dev-lang:xsb-3.7.0-r1:20200510-120104.log (dev-lang:xsb-3.7.0-r1:20200510-120104.log,45.41 KB, text/plain)
2020-05-10 13:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,291.90 KB, text/plain)
2020-05-10 13:35 UTC, Toralf Förster
Details
environment (environment,161.06 KB, text/plain)
2020-05-10 13:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.06 KB, application/x-bzip)
2020-05-10 13:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.82 KB, application/x-bzip)
2020-05-10 13:35 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-05-10 13:35:36 UTC
[Compiling C file /var/tmp/portage/dev-lang/xsb-3.7.0-r1/work/XSB/packages/dbdrivers/mysql/cc//mysql_driver.c using x86_64-pc-linux-gnu-gcc]
/var/tmp/portage/dev-lang/xsb-3.7.0-r1/work/XSB/packages/dbdrivers/mysql/cc//mysql_driver.c: In function driverMySQL_execPrepareStmt:
/var/tmp/portage/dev-lang/xsb-3.7.0-r1/work/XSB/packages/dbdrivers/mysql/cc//mysql_driver.c:381:38: error: my_bool undeclared (first use in this function); did you mean bool?
  381 |    bind[i].is_null = calloc(1,sizeof(my_bool));
      |                                      ^~~~~~~
      |                                      bool

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200502-233152

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [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.43.0 *
  [2]   rust-bin-1.43.1
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun 10 May 2020 10:38:38 AM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO dev-lang/xsb
[ebuild  N    ] dev-lang/xsb-3.7.0-r1  USE="mysql pcre -curl -debug -iodbc -java -odbc -threads -xml"
Comment 1 Toralf Förster gentoo-dev 2020-05-10 13:35:39 UTC
Created attachment 637572 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-10 13:35:42 UTC
Created attachment 637574 [details]
dev-lang:xsb-3.7.0-r1:20200510-120104.log
Comment 3 Toralf Förster gentoo-dev 2020-05-10 13:35:44 UTC
Created attachment 637576 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-10 13:35:47 UTC
Created attachment 637578 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-10 13:35:52 UTC
Created attachment 637580 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-10 13:35:55 UTC
Created attachment 637582 [details]
logs.tbz2
Comment 7 Keri Harris gentoo-dev 2020-07-18 09:39:07 UTC
This is fixed in git with xsb-3.8.0. Thanks for reporting this bug.