Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920482 - dev-python/pivy-0.6.8[-soqt] still automagically detects SoQt, failing with: /.../SoQtViewer.h:52: Error: Unable to find cmath
Summary: dev-python/pivy-0.6.8[-soqt] still automagically detects SoQt, failing with: ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 16:07 UTC by Toralf Förster
Modified: 2024-11-08 13:54 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.90 KB, text/plain)
2023-12-21 16:07 UTC, Toralf Förster
Details
dev-python:pivy-0.6.8:20231221-153601.log (dev-python:pivy-0.6.8:20231221-153601.log,12.88 KB, text/plain)
2023-12-21 16:07 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,74.36 KB, application/x-xz)
2023-12-21 16:07 UTC, Toralf Förster
Details
environment (environment,155.11 KB, text/plain)
2023-12-21 16:07 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-21 16:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.91 KB, application/x-xz)
2023-12-21 16:07 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,81.68 KB, application/x-xz)
2023-12-21 16:07 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.59 KB, application/x-xz)
2023-12-21 16:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-21 16:07:36 UTC
too long lines were shrinked:

SOQT_INCLUDE_DIR: /usr/include" -I"/usr/include
SOQT_LIB_DIR: /usr/lib64

coin-features are not supported in this version
Preparing Inventor headers: Inventor/SbBox2d.h Inventor/SbBox2f.h Inventor/SbBox2s.h Inventor/SbBox3f.h Inventor/SbBox3s.h Inventor/SbColor.h Inventor/SbColor4f.h Inventor/SbDPMatrix.h Inventor/SbDPPlane.h Inventor/SbDPRotation.h Inventor/SbDict.h Inventor/SbImage.h Inventor/SbMatrix.h Inventor/SbNa
Deprecated command line option: -py3. Ignored, this option is no longer supported.
/usr/include/Inventor/Qt/viewers/SoQtViewer.h:52: Error: Unable to find 'cmath'
 Inventor/fields/SoMFUShort.h Inventor/fields/SoMFVec2f.h Inventor/fields/SoMFVec3d.h Inventor/fields/SoMFVec3f.h Inventor/fields/SoMFVec4f.h Inventor/fields/SoMField.h Inventor/fields/SoSFBool.h Inventor/fields/SoSFColor.h Inventor/fields/SoSFEngine.h Inventor/fields/SoSFEnum.h Inventor/fields/SoSF


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231214-162026

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit c9cd5aea2b9438dd4c0704230fd40b2d28da5777
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 21 15:03:51 2023 +0000

    2023-12-21 15:03:51 UTC

emerge -qpvO dev-python/pivy
[ebuild  N    ] dev-python/pivy-0.6.8  USE="quarter -debug -soqt -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-21 16:07:37 UTC
Created attachment 880174 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-21 16:07:38 UTC
Created attachment 880175 [details]
dev-python:pivy-0.6.8:20231221-153601.log
Comment 3 Toralf Förster gentoo-dev 2023-12-21 16:07:40 UTC
Created attachment 880176 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-21 16:07:41 UTC
Created attachment 880177 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-21 16:07:42 UTC
Created attachment 880178 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-21 16:07:43 UTC
Created attachment 880179 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-21 16:07:44 UTC
Created attachment 880180 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-21 16:07:45 UTC
Created attachment 880181 [details]
temp.tar.xz
Comment 9 maurerpe 2024-01-13 00:45:18 UTC
I ran into this as well.  I was able to get pivy to compile and install by first uninstalling SoQt with the command:
emerge --unmerge SoQt

It seems that all the quarter/soqt use flags do is select dependencies.  There is no  attempt to pass the use flags to the pivy build system.
Comment 10 Leonid Kopylov 2024-10-24 16:02:19 UTC
still unable to install it
Comment 11 Larry the Git Cow gentoo-dev 2024-11-08 13:54:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3adbf3f0555f461325df2b64cc3398b66bf02b

commit 1b3adbf3f0555f461325df2b64cc3398b66bf02b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-08 13:52:58 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-08 13:53:54 +0000

    dev-python/pivy: Fix build if media-libs/SoQt is installed
    
    This is at least dealing with the immediate issue.
    
    Bug: https://bugs.gentoo.org/920482
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-python/pivy/files/pivy-0.6.8-SoQtViewer-w-cmath.patch | 14 ++++++++++++++
 dev-python/pivy/pivy-0.6.8.ebuild                         |  8 ++++----
 2 files changed, 18 insertions(+), 4 deletions(-)