Bug#713670: supercollider: FTBFS: sndfile_backend_test.cpp:46:34: error: expected unqualified-id before numeric constant

Dan S danstowell+debmm at gmail.com
Sat Jun 22 18:23:53 UTC 2013


Hi -

Thanks for the report. The "testsuite" does not need to be built for
packaging, so actually we disable it in the most recent version in
debian-git and in experimental (which is supercollider 3.6.3). We can
do this for 3.5.3 as well, which will fix this issue.*

However, I'm not sure what the best way is to go about implementing
this fix. In the debian-git we've already moved forward to
supercollider 3.6.3. So, should I apply the fix I give below on a new
git branch from debian/1%3.5.3_repack-3, and then request upload to
sid (and jessie?)? Or, should we instead look at migrating 3.6.3 from
experimental to sid?

Best
Dan


*
diff --git a/debian/rules b/debian/rules
index 13c50e1..8d69335 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ DEB_INSTALL_MANPAGES_supercollider-supernova =
debian/supernova.1
 DEB_INSTALL_MANPAGES_supercollider         = debian/sclang.1
 DEB_INSTALL_MANPAGES_supercollider-vim     = debian/scvim.1
debian/sclangpipe_app.1

-DEB_CMAKE_EXTRA_FLAGS = -DDSO_VISIBILITY=on -DSUPERNOVA=on
-DSC_EL_BYTECOMPILE=OFF
+DEB_CMAKE_EXTRA_FLAGS = -DDSO_VISIBILITY=on -DSUPERNOVA=on
-DSC_EL_BYTECOMPILE=OFF -DENABLE_TESTSUITE=off

 # Exclude external libs from the source package if unused on linux or
using system-supplied
 DEB_UPSTREAM_REPACKAGE_EXCLUDES = \



2013/6/22 David Suárez <david.sephirot at gmail.com>:
> Source: supercollider
> Version: 1:3.5.3~repack-3
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20130620 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
>> make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
>> /usr/bin/cmake -E cmake_progress_report "/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles"
>> [100%] Building CXX object testsuite/supernova/CMakeFiles/sndfile_backend_test.dir/sndfile_backend_test.cpp.o
>> cd "/«PKGBUILDDIR»/obj-x86_64-linux-gnu/testsuite/supernova" && /usr/bin/g++   -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_LINUX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -I"/«PKGBUILDDIR»/include/common" -I"/«PKGBUILDDIR»/include/plugin_interface" -I"/«PKGBUILDDIR»/include/server" -I"/«PKGBUILDDIR»/server/supernova" -I"/«PKGBUILDDIR»/external_libraries/boost" -I"/«PKGBUILDDIR»/external_libraries/boost_endian" -I"/«PKGBUILDDIR»/external_libraries/boost_lockfree" -I"/«PKGBUILDDIR»/external_libraries/boost_move" -I"/«PKGBUILDDIR»/external_libraries/oscpack" -I"/«PKGBUILDDIR»/external_libraries" -I"/«PKGBUILDDIR»/external_libraries/nova-tt" -I"/«PKGBUILDDIR»/external_libraries/TLSF-2.4.6/src"    -fschedule-insns2 -fomit-frame-pointer -Wreturn-type -fvisibility=hidden -pthread -o CMakeFiles/sndfile_backend_test.dir/sndfile_backend_test.cpp.o -c "/«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp"
>> In file included from /usr/include/pthread.h:24:0,
>>                  from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
>>                  from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
>>                  from /usr/include/c++/4.8/ext/atomicity.h:33,
>>                  from /usr/include/c++/4.8/bits/ios_base.h:39,
>>                  from /usr/include/c++/4.8/ios:42,
>>                  from /usr/include/c++/4.8/istream:38,
>>                  from /usr/include/c++/4.8/sstream:38,
>>                  from /usr/include/boost/test/utils/wrap_stringstream.hpp:26,
>>                  from /usr/include/boost/test/predicate_result.hpp:20,
>>                  from /usr/include/boost/test/test_tools.hpp:19,
>>                  from /usr/include/boost/test/unit_test.hpp:19,
>>                  from /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp:1:
>> /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp: In member function 'void sndfile_backend_test_1::test_method()':
>> /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp:46:34: error: expected unqualified-id before numeric constant
>>      boost::xtime_get(&xt, boost::TIME_UTC);
>>                                   ^
>> In file included from /«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/semaphore.hpp:31:0,
>>                  from /«PKGBUILDDIR»/server/supernova/audio_backend/sndfile_backend.hpp:31,
>>                  from /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp:4:
>> /«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/semaphore_posix.hpp: In instantiation of 'void nova::nova_tt::semaphore<has_timed_wait>::post() [with bool has_timed_wait = false]':
>> /«PKGBUILDDIR»/server/supernova/audio_backend/sndfile_backend.hpp:142:30:   required from 'void nova::sndfile_backend<engine_functor, sample_type, blocking>::deactivate_audio() [with engine_functor = {anonymous}::engine_functor; sample_type = float; bool blocking = false]'
>> /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp:50:25:   required from here
>> /«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/semaphore_posix.hpp:53:13: warning: unused variable 'status' [-Wunused-variable]
>>          int status = sem_post(&sem);
>>              ^
>> /«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/semaphore_posix.hpp: In instantiation of 'void nova::nova_tt::semaphore<has_timed_wait>::wait() [with bool has_timed_wait = false]':
>> /«PKGBUILDDIR»/server/supernova/audio_backend/sndfile_backend.hpp:248:34:   required from 'void nova::sndfile_backend<engine_functor, sample_type, blocking>::sndfile_write_thread() [with engine_functor = {anonymous}::engine_functor; sample_type = float; bool blocking = false]'
>> /«PKGBUILDDIR»/server/supernova/audio_backend/sndfile_backend.hpp:128:51:   required from 'void nova::sndfile_backend<engine_functor, sample_type, blocking>::activate_audio() [with engine_functor = {anonymous}::engine_functor; sample_type = float; bool blocking = false]'
>> /«PKGBUILDDIR»/testsuite/supernova/sndfile_backend_test.cpp:41:23:   required from here
>> /«PKGBUILDDIR»/external_libraries/nova-tt/nova-tt/semaphore_posix.hpp:60:13: warning: unused variable 'status' [-Wunused-variable]
>>          int status = sem_wait(&sem);
>>              ^
>> make[3]: *** [testsuite/supernova/CMakeFiles/sndfile_backend_test.dir/sndfile_backend_test.cpp.o] Error 1
>
> The full build log is available from:
>    http://aws-logs.debian.net/ftbfs-logs/2013/06/20/supercollider_3.5.3~repack-3_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>
> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers



More information about the pkg-multimedia-maintainers mailing list