Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622776 - media-sound/mixxx-2.0.0-r4 : /.../sqlite3.h:3712:16: error: using typedef-name ‘sqlite3_value’ after ‘struct’
Summary: media-sound/mixxx-2.0.0-r4 : /.../sqlite3.h:3712:16: error: using typedef-nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 20:27 UTC by Toralf Förster
Modified: 2017-08-10 23:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.39 KB, text/plain)
2017-06-26 20:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.29 KB, text/plain)
2017-06-26 20:27 UTC, Toralf Förster
Details
environment (environment,98.41 KB, text/plain)
2017-06-26 20:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.78 KB, application/x-bzip)
2017-06-26 20:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.29 KB, application/x-bzip)
2017-06-26 20:27 UTC, Toralf Förster
Details
media-sound:mixxx-2.0.0-r4:20170626-195229.log (media-sound:mixxx-2.0.0-r4:20170626-195229.log,722.70 KB, text/plain)
2017-06-26 20:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.97 KB, application/x-bzip)
2017-06-26 20:27 UTC, Toralf Förster
Details
Patch (sqlite3.patch,463 bytes, patch)
2017-07-30 04:16 UTC, Andrew Udvare
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-26 20:27:34 UTC
x86_64-pc-linux-gnu-g++ -o lin64_build/library/trackcollection.o -c -Werror=terminate -O2 -pipe -march=native -std=c++11 -pipe -Wall -Wextra -g -fPIC -O3 -ffast-math -funroll-loops -fomit-frame-pointer -march=native -Dx86_64 -DMIXXX_BUILD_DEBUG -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib64/mixxx\" -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_DISABLE_DEPRECATED_BEFORE -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_WIDGETS_LIB -D__SNDFILE__ -D__MAD__ -D__BULK__ -D__VINYLCONTROL__ -DQT_NO_DEBUG_OUTPUT -DHAVE_FFTW3 -D__AUTODJCRATES__ -D__SQLITE3__ -Ilin64_build -Isrc -Ilib/soundtouch-1.8.0 -Ilib/replaygain -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5 -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtScript -I/usr/include/qt5/QtXmlPatterns -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtScriptTools -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtCore -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib src/library/trackcollection.cpp
In file included from src/library/trackcollection.cpp:7:0:
/usr/include/sqlite3.h:3712:16: error: using typedef-name ‘sqlite3_value’ after ‘struct’
 typedef struct sqlite3_value sqlite3_value;
                ^~~~~~~~~~~~~
In file included from src/library/trackcollection.cpp:4:0:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_20170625-191109

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
Comment 1 Toralf Förster gentoo-dev 2017-06-26 20:27:37 UTC
Created attachment 478112 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-26 20:27:40 UTC
Created attachment 478114 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-26 20:27:43 UTC
Created attachment 478116 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-06-26 20:27:46 UTC
Created attachment 478118 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-26 20:27:49 UTC
Created attachment 478120 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-26 20:27:52 UTC
Created attachment 478122 [details]
media-sound:mixxx-2.0.0-r4:20170626-195229.log
Comment 7 Toralf Förster gentoo-dev 2017-06-26 20:27:55 UTC
Created attachment 478124 [details]
temp.tbz2
Comment 8 Konstantin Münning 2017-07-27 23:37:58 UTC
Same here on x86_64.
Comment 9 Andrew Udvare 2017-07-30 04:16:18 UTC
Created attachment 487284 [details, diff]
Patch

This patch is based on looking at the history of the src/library/trackcollection.h. Upstream has changed this code a lot since this version and the database code was a bit refactored. Regardless, they replaced these lines with the following:

#include "util/db/dbconnection.h"

In that file, it has:

#ifdef __SQLITE3__
#include <sqlite3.h>
#endif // __SQLITE3__

Honestly not sure if this #include is required at all but it does make the project build.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-08-10 23:56:23 UTC
commit a97286de5285e5dcb4f707c5fa3b24c5a5ed8c21 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Fri Aug 11 01:55:26 2017

    media-sound/mixxx: Fixed build with recent sqlite versions (bug #622776).