Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417769 - media-sound/csound-5.17.6 USE=portmidi - CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PORTTIME_LIBRARY
Summary: media-sound/csound-5.17.6 USE=portmidi - CMake Error: The following variables...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 13:48 UTC by Niko Humalamäki
Modified: 2012-05-29 11:01 UTC (History)
2 users (show)

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


Attachments
emerge build.log (csound-build.log,11.04 KB, text/plain)
2012-05-27 13:49 UTC, Niko Humalamäki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niko Humalamäki 2012-05-27 13:48:45 UTC
The build fails when using portmidi.

Reproducible: Always

Steps to Reproduce:
1. echo "media-sound/csound" >> package.accept_keywords
2. echo "pro-audio/media-sound/csound" >> package.accept_keywords
3. echo "media-sound/csound  vim-syntax jack beats chua examples fltk  fluidsynth osc threads  utils portmidi portaudi" >> package.use
4. emerge csound
 
Actual Results:  
build failed: 
Calculating dependencies... done!
[ebuild   R   ~] media-sound/csound-5.17.6  USE="alsa beats chua cxx examples fltk fluidsynth image jack java nls openmp osc portaudio* portmidi* threads utils vim-syntax -csoundac -debug -double-precision -dssi -keyboard -linear -lua -luajit -pulseaudio -python -samples -static-libs -stk -tcl -test -vst" LINGUAS="-de -en_GB -en_US -es_CO -fr -it -ro -ru" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/csound-5.17.6
 * Csound5.17.6.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking Csound5.17.6.tar.gz to /var/tmp/portage/media-sound/csound-5.17.6/work
>>> Source unpacked in /var/tmp/portage/media-sound/csound-5.17.6/work
>>> Preparing source in /var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6 ...
 * Applying csound-5.16.6-tests.patch ...                                                                                                                                                           [ ok ]
 * Applying csound-5.17.6-fltk.patch ...                                                                                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/csound-5.17.6/work/csound-5.17.6_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/media-sound/csound-5.17.6/work/csound-5.17.6_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_NEW_PARSER=ON -DUSE_ALSA=ON -DBUILD_CSBEATS=ON -DBUILD_CHUA_OPCODES=ON -DBUILD_CSOUND_AC=OFF -DBUILD_CXX_INTERFACE=ON -DNEW_PARSER_DEBUG=OFF -DUSE_DOUBLE=OFF -DBUILD_DSSI_OPCODES=OFF -DBUILD_FLUID_OPCODES=ON -DUSE_FLTK=ON -DBUILD_IMAGE_OPCODES=ON -DUSE_JACK=ON -DBUILD_JACK_OPCODES=ON -DBUILD_JAVA_INTERFACE=ON -DBUILD_VIRTUAL_KEYBOARD=OFF -DBUILD_LINEAR_ALGEBRA_OPCODES=OFF -DBUILD_LUA_OPCODES=OFF -DBUILD_LUA_INTERFACE=OFF -DUSE_GETTEXT=ON -DBUILD_OSC_OPCODES=ON -DUSE_OPEN_MP=ON -DUSE_PORTAUDIO=ON -DUSE_PORTMIDI=ON -DUSE_PULSEAUDIO=OFF -DBUILD_PYTHON_OPCODES=OFF -DBUILD_PYTHON_INTERFACE=OFF -DBUILD_STATIC_LIBRARY=OFF -DBUILD_STK_OPCODES=OFF -DBUILD_TCLCSOUND=OFF -DBUILD_MULTI_CORE=ON -DBUILD_UTILITIES=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-sound/csound-5.17.6/work/csound-5.17.6_build/gentoo_rules.cmake  /var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/media-sound/csound-5.17.6/work/csound-5.17.6_build/gentoo_common_config.cmake
-- The C compiler identification is GNU
Module           -Wl,-O1 -Wl,--as-needed -fopenmp
Shared           -Wl,-O1 -Wl,--as-needed -fvisibility=hidden -fopenmp

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PORTTIME_LIBRARY
    linked by target "pmidi" in directory /var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6/InOut

-- Configuring incomplete, errors occurred!
 * ERROR: media-sound/csound-5.17.6 failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 6902:  Called cmake-utils_src_configure
 *   environment, line 1302:  Called _execute_optionaly 'src_configure'
 *   environment, line  422:  Called enable_cmake-utils_src_configure
 *   environment, line 1781:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of 'emerge --info =media-sound/csound-5.17.6',
 * the complete build log and the output of 'emerge -pqv =media-sound/csound-5.17.6'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/media-sound/csound-5.17.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/csound-5.17.6/temp/environment'.
 * S: '/var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6'

>>> Failed to emerge media-sound/csound-5.17.6, Log file:

>>>  '/var/tmp/portage/media-sound/csound-5.17.6/temp/build.log'

 * Messages for package media-sound/csound-5.17.6:

 * ERROR: media-sound/csound-5.17.6 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 6902:  Called cmake-utils_src_configure
 *   environment, line 1302:  Called _execute_optionaly 'src_configure'
 *   environment, line  422:  Called enable_cmake-utils_src_configure
 *   environment, line 1781:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of 'emerge --info =media-sound/csound-5.17.6',
 * the complete build log and the output of 'emerge -pqv =media-sound/csound-5.17.6'.
 * The complete build log is located at '/var/tmp/portage/media-sound/csound-5.17.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/csound-5.17.6/temp/environment'.
 * S: '/var/tmp/portage/media-sound/csound-5.17.6/work/Csound5.17.6'


I have manually changed my environment from no-multilib to multilib, which may affect, though everything has been working fine. I also have /tmp/ loaded to ram, if that's important.
Comment 1 Niko Humalamäki 2012-05-27 13:49:39 UTC
Created attachment 313263 [details]
emerge build.log
Comment 2 Niko Humalamäki 2012-05-27 13:52:36 UTC
Oh and builds fine when I remove portmidi and portaudio from use flags. Cheers!
Comment 3 Tim Harder gentoo-dev 2012-05-29 11:01:09 UTC
Fixed in CVS.