Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691470 - media-sound/mixxx-9999 does not compile with dev-util/scons-3.1.0 - changed_since_last_build_node() takes exactly 3 arguments (4 given)
Summary: media-sound/mixxx-9999 does not compile with dev-util/scons-3.1.0 - changed_s...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-04 21:50 UTC by jospezial
Modified: 2019-08-09 19:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2019-08-04 21:50:31 UTC
Building with flags: asan=0 battery=1 buildtime=1 bulk=1 color=0 coreaudio=0 faad=1 ffmpeg=1 hid=1 hss1394=0 lilv=1 localecompare=1 macappstore=0 mad=1 mediafoundation=0 modplug=0 optimize=native opus=1 perftools=0 perftools_profiler=0 profiling=0 qt_sqlite_plugin=0 qtkeychain=0 shoutcast=1 test=False tsan=0 ubsan=0 verbose=1 vinylcontrol=1 wv=1
Building with CC: x86_64-pc-linux-gnu-gcc
Building with CXX: x86_64-pc-linux-gnu-g++
Building with CCFLAGS: ['-O2', '-pipe', '-Wall', '-Wextra', '-g', '-fPIC', '-O3', '-ffast-math', '-funroll-loops', '-fomit-frame-pointer', '-march=native', '-pthread', '-D__STDC_CONSTANT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS']
Building with CPPDEFINES: -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\" -DQT_TABLET_SUPPORT -DQT_SHARED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -D__SNDFILE__ -DSFC_SUPPORTS_SET_COMPRESSION_LEVEL -Dkiss_fft_scalar=double -DUSE_PTHREADS -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__BROADCAST__ -D__OPUS__ -D__FAAD__ -D__MP4V2__ -D__WV__ -D__SQLITE3__ -D__LILV__ -D__BATTERY__ -D__FFMPEGFILE__
Building with CXXFLAGS: -march=native -O2 -pipe -std=c++11 -march=native -O2 -pipe -std=c++11 -Wno-deprecated-copy -std=c++14
Building with LINKFLAGS: ['-Wl,-O1', '-Wl,--as-needed', u'-Wl,-rpath,/usr/lib64', u'-L/usr/lib64', '-pthread']
Building with LIBS: X11 SoundTouch portaudio asound m portmidi Qt5X11Extras Qt5Concurrent Qt5Network Qt5OpenGL Qt5Script Qt5ScriptTools Qt5Sql Qt5Svg Qt5Test Qt5Widgets Qt5Gui Qt5Xml Qt5DBus Qt5Core sndfile libFLAC libvorbisfile libvorbis libogg libvorbisenc GL GLU tag libprotobuf-lite chromaprint rubberband libmp3lame libmad libid3tag hidapi-libusb pthread rt usb-1.0 libusb-1.0 libshout opusfile opus mp4v2 wavpack sqlite3 lilv-0 upower-glib gobject-2.0 glib-2.0 avcodec avformat avutil
Building with PATH: /usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib64/subversion/bin
================
WE ARE IN: /var/tmp/portage/media-sound/mixxx-9999/work/mixxx-9999/lin64_build
Building  (no branch)  - rev. 6897
Install root: /usr
scons: done reading SConscript files.
scons: Building targets ...
Building compilation database compile_commands.json
scons: done building targets.
TypeError: changed_since_last_build_node() takes exactly 3 arguments (4 given):
  File "/usr/lib64/python2.7/site-packages/SCons/Script/Main.py", line 1374:
    _exec_main(parser, values)
  File "/usr/lib64/python2.7/site-packages/SCons/Script/Main.py", line 1337:
    _main(parser)
  File "/usr/lib64/python2.7/site-packages/SCons/Script/Main.py", line 1112:
    nodes = _build_targets(fs, options, targets, target_top)
  File "/usr/lib64/python2.7/site-packages/SCons/Script/Main.py", line 1311:
    jobs.run(postfunc = jobs_postfunc)
  File "/usr/lib64/python2.7/site-packages/SCons/Job.py", line 111:
    self.job.start()
  File "/usr/lib64/python2.7/site-packages/SCons/Job.py", line 216:
    task.executed()
  File "/usr/lib64/python2.7/site-packages/SCons/Script/Main.py", line 252:
    SCons.Taskmaster.OutOfDateTask.executed(self)
  File "/usr/lib64/python2.7/site-packages/SCons/Taskmaster.py", line 317:
    t.release_target_info()
  File "/usr/lib64/python2.7/site-packages/SCons/Node/FS.py", line 3037:
    self.changed(allowcache=True)
  File "/usr/lib64/python2.7/site-packages/SCons/Node/FS.py", line 3280:
    has_changed = SCons.Node.Node.changed(self, node)
  File "/usr/lib64/python2.7/site-packages/SCons/Node/__init__.py", line 1493:
    if _decider_map[child.changed_since_last_build](child, self, prev_ni, node):
 * ERROR: media-sound/mixxx-9999::gentoo failed (compile phase):
 *   escons failed.
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3093:  Called escons 'prefix=/usr' 'qtdir=/usr/lib64/qt5' 'faad=1' 'ffmpeg=1' 'hid=1' 'hifieq=1' 'lilv=1' 'm4a=1' 'mad=1' 'optimize=native' 'opus=1' 'qt5=1' 'shoutcast=1' 'vinylcontrol=1' 'wv=1'
 *   environment, line 1364:  Called die
 * The specific snippet of code:
 *                   die -n "escons failed."
 * 

Why does it use Python 3.6 and 2.7?
No problem with mixxx-2.2.1 or lower version of scons.
Comment 1 jospezial 2019-08-09 19:29:32 UTC
https://github.com/mixxxdj/mixxx/commit/21a3f262c299954a6e9c57a286b6da8edb99de39

" Fix signature of changed_since_last_build_node() for SCons 3.1.x

  Add a 4th parameter with default value"


Bug is fixed upstream, tested with scons-3.1.0 and scons-3.1.1