Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759991 - app-text/xournalpp-1.0.18-r1 should (R)DEPEND on media-libs/portaudio[cxx]
Summary: app-text/xournalpp-1.0.18-r1 should (R)DEPEND on media-libs/portaudio[cxx]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 11:39 UTC by inasprecali
Modified: 2021-02-28 21:17 UTC (History)
2 users (show)

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


Attachments
emerge --info media-libs/portaudio (file_759991.txt,19.26 KB, text/plain)
2020-12-14 11:39 UTC, inasprecali
Details
emerge --info app-text/xournalpp (file_759991.txt,19.20 KB, text/plain)
2020-12-14 11:41 UTC, inasprecali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description inasprecali 2020-12-14 11:39:33 UTC
Created attachment 678280 [details]
emerge --info media-libs/portaudio

If media-libs/portaudio (media-libs/portaudio-19.06.00-r3 specifically, in my case) is built with the cxx USE flag disabled, I'm prompted to rebuild xournalpp from the @preserved-rebuild set. However, the build fails with the following build.log:

 * Package:    app-text/xournalpp-1.0.18-r1
 * Repository: gentoo
 * Maintainer: dilfridge@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking xournalpp-1.0.18.tgz to /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work
>>> Source unpacked in /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work
>>> Preparing source in /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18 ...
 * Applying xournalpp-1.0.18-nostrip.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build"
cmake -C /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build/gentoo_toolchain.cmake  /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18
loading initial cache file /var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build/gentoo_common_config.cmake
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The CXX compiler identification is GNU 10.2.0
-- The C compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.29.2") 
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.7.3") 
-- Performing Test GNUXX11
-- Performing Test GNUXX11 - Success
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Checking for module 'glib-2.0 >= 2.32.0'
--   Found glib-2.0 , version 2.66.3
-- Checking for module 'gtk+-3.0 >= 3.18.9'
--   Found gtk+-3.0 , version 3.24.24
-- Checking for module 'gthread-2.0 >= 2.4.0'
--   Found gthread-2.0 , version 2.66.3
-- Checking for module 'libxml-2.0 >= 2.0.0'
--   Found libxml-2.0 , version 2.9.10
-- Checking for module 'poppler-glib >= 0.41.0'
--   Found poppler-glib , version 20.12.1
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Checking for module 'libzip >= 1.0.1'
--   Found libzip , version 1.7.3
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Checking for module 'portaudiocpp >= 12'
--   Package 'portaudiocpp', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:553 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
  CMakeLists.txt:112 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build/CMakeFiles/CMakeError.log".
 * ERROR: app-text/xournalpp-1.0.18-r1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2132:  Called cmake-utils_src_configure
 *   environment, line  906:  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 '=app-text/xournalpp-1.0.18-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/xournalpp-1.0.18-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/xournalpp-1.0.18-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/xournalpp-1.0.18-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18_build'
 * S: '/var/tmp/portage/app-text/xournalpp-1.0.18-r1/work/xournalpp-1.0.18'

It seems that xournalpp needs portaudio to be built with C++ support in order to compile.
Comment 1 inasprecali 2020-12-14 11:41:01 UTC
Created attachment 678283 [details]
emerge --info app-text/xournalpp
Comment 2 Larry the Git Cow gentoo-dev 2021-02-28 21:17:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e01f3ba0f87b061c2e47e3927f7a35c39071bf

commit 90e01f3ba0f87b061c2e47e3927f7a35c39071bf
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-02-28 21:12:52 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-02-28 21:17:08 +0000

    app-text/xournalpp: Depend on portaudio[cxx]
    
    Closes: https://bugs.gentoo.org/759991
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 app-text/xournalpp/xournalpp-1.0.20.ebuild | 2 +-
 app-text/xournalpp/xournalpp-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)