Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635104 - net-analyzer/pmacct-1.7.0 : mysql_plugin.c:771:24: error: MYSQL_SERVER_VERSION undeclared (first use in this function)
Summary: net-analyzer/pmacct-1.7.0 : mysql_plugin.c:771:24: error: MYSQL_SERVER_VERSIO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 630404
  Show dependency tree
 
Reported: 2017-10-22 21:07 UTC by Toralf Förster
Modified: 2020-01-28 11:53 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2017-10-22 21:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.03 KB, text/plain)
2017-10-22 21:07 UTC, Toralf Förster
Details
environment (environment,45.36 KB, text/plain)
2017-10-22 21:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.95 KB, application/x-bzip)
2017-10-22 21:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.50 KB, application/x-bzip-compressed-tar)
2017-10-22 21:07 UTC, Toralf Förster
Details
net-analyzer:pmacct-1.7.0:20171022-210207.log (net-analyzer:pmacct-1.7.0:20171022-210207.log,917.55 KB, text/plain)
2017-10-22 21:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.24 KB, application/x-bzip)
2017-10-22 21:07 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 2017-10-22 21:07:24 UTC
                ^~~
mysql_plugin.c: In function 'MY_mysql_get_version':
mysql_plugin.c:771:24: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function)
   printf("MySQL %s\n", MYSQL_SERVER_VERSION);
                        ^~~~~~~~~~~~~~~~~~~~
mysql_plugin.c:771:24: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome_20171021-104702

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-analyzer/pmacct
[ebuild  N    ] net-analyzer/pmacct-1.7.0  USE="ipv6 mysql -64bit -debug -geoip -geoipv2 -jansson -kafka -mongodb -ndpi -nflog -postgres -rabbitmq -sqlite -threads -zmq"
Comment 1 Toralf Förster gentoo-dev 2017-10-22 21:07:27 UTC
Created attachment 499694 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-22 21:07:30 UTC
Created attachment 499696 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-10-22 21:07:33 UTC
Created attachment 499698 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-10-22 21:07:36 UTC
Created attachment 499700 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-10-22 21:07:39 UTC
Created attachment 499702 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2017-10-22 21:07:42 UTC
Created attachment 499704 [details]
net-analyzer:pmacct-1.7.0:20171022-210207.log
Comment 7 Toralf Förster gentoo-dev 2017-10-22 21:07:45 UTC
Created attachment 499706 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2017-10-23 01:24:31 UTC
Doesn't look like a TESTFAILURE to me.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-28 11:49:26 UTC
I never did figure out whether MYSQL_SERVER_VERSION was to be provided by dev-db/mysql-connecter-c.
Comment 10 Larry the Git Cow gentoo-dev 2020-01-28 11:53:16 UTC
The bug has been referenced in the following commit(s):

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

commit 301a1a9a8bf8c039fb1622d40b0931afdb45c1f4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-28 11:52:37 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-28 11:53:10 +0000

    net-analyzer/pmacct: Drop MYSQL_SERVER_VERSION hack
    
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Bug: https://bugs.gentoo.org/635104
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/pmacct/pmacct-1.7.4.ebuild  | 1 -
 net-analyzer/pmacct/pmacct-999999.ebuild | 1 -
 2 files changed, 2 deletions(-)