| Summary: | media-sound/mixxx-2.0.0-r4 : /.../sqlite3.h:3712:16: error: using typedef-name ‘sqlite3_value’ after ‘struct’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | konstantin |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-sound:mixxx-2.0.0-r4:20170626-195229.log temp.tbz2 Patch |
||
Created attachment 478112 [details]
emerge-info.txt
Created attachment 478114 [details]
emerge-history.txt
Created attachment 478116 [details]
environment
Created attachment 478118 [details]
etc.portage.tbz2
Created attachment 478120 [details]
logs.tbz2
Created attachment 478122 [details]
media-sound:mixxx-2.0.0-r4:20170626-195229.log
Created attachment 478124 [details]
temp.tbz2
Same here on x86_64. 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.
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). |
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)