Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945482 - media-gfx/freecad-1.0.0 pcl dependency fails with missing qt5
Summary: media-gfx/freecad-1.0.0 pcl dependency fails with missing qt5
Status: RESOLVED OBSOLETE
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: 2024-11-30 17:04 UTC by CaptainBlood
Modified: 2024-12-01 20:40 UTC (History)
1 user (show)

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 CaptainBlood 2024-11-30 17:04:41 UTC
emerge -p -uDUv world

 * IMPORTANT: 4 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in reverse order:

Calculating dependencies .... done!
Dependency resolution took 26.63 s (backtrack: 0/20).

emerge: there are no ebuilds built with USE flags to satisfy "sci-libs/pcl[qt5]".
!!! One of the following packages is required to complete your request:
- sci-libs/pcl-1.14.1-r1::gentoo (Missing IUSE: qt5)
(dependency required by "media-gfx/freecad-1.0.0::gentoo[pcl,gui,qt5]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2024-11-30 19:15:52 UTC
media-gfx/freecad[qt5] is masked for a reason.
Comment 2 CaptainBlood 2024-12-01 15:53:20 UTC
acer ~ # emerge --info
Portage 3.0.66.1 (python 3.11.10-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.40-r5, 6.12.1-gentoo-std x86_64)
=================================================================
System uname: Linux-6.12.1-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.40
KiB Mem:     3930332 total,    185644 free
KiB Swap:  200772604 total, 200548304 free

Timestamp of repository gnu-elpa: Fri, 22 Nov 2024 02:03:23 +0000
Head commit of repository gnu-elpa: daff11fbf055578b265b6ce1d27d08fd32819f4

Timestamp of repository guru: Sat, 30 Nov 2024 09:33:38 +0000
Head commit of repository guru: 609d466be09a7c0e11b53126635de962e406cd65

Timestamp of repository melpa: Fri, 22 Nov 2024 18:50:35 +0000
Head commit of repository melpa: 4cbdac27da3684d12689af807c1d04f9d9c421c3

Timestamp of repository mv: Sat, 30 Nov 2024 07:37:23 +0000
Head commit of repository mv: a8a5bfb3683f84481a7d53517827f62a82578fbc

Timestamp of repository gentoo: Sun, 01 Dec 2024 14:45:00 +0000
Head commit of repository gentoo: bcca5763b643aa91a8d05f7529beaf98c34db11c

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.15_p2::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.79.0-r100::gentoo, 1.82.0-r100::gentoo
dev-lang/rust-bin:         1.71.1-r100::gentoo, 1.74.1-r100::gentoo, 1.75.0-r100::gentoo, 1.77.1-r100::gentoo, 1.79.0-r100::gentoo, 1.80.1-r100::gentoo, 1.81.0-r100::gentoo, 1.82.0-r100::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-devel/gcc:             13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.4::gentoo
sys-devel/llvm:            15.0.7-r7::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gnu-elpa
    location: /var/db/repos/gnu-elpa
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gnu-elpa.git
    masters: gentoo
    priority: -10001
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    priority: -10001
    volatile: False

melpa
    location: /var/db/repos/melpa
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/melpa.git
    masters: gnu-elpa gentoo
    priority: -10001
    volatile: False

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo
    priority: -10001
    volatile: False

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10000
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y --alphabetical --ask-enter-invalid --autounmask y --autounmask-only n --autounmask-unrestricted-atoms y --autounmask-write y --complete-graph y --misspell-suggestions n --noconfmem --nospinner --tree --with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries                                                                                                       "
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/      http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/      http://ftp.halifax.rwth-aachen.de/gentoo/      http://ftp.free.fr/mirrors/ftp.gentoo.org/      http://mirrors.soeasyto.com/distfiles.gentoo.org/      http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/      http://mirror.leaseweb.com/gentoo/      http://www.mirrorservice.org/sites/distfiles.gentoo.org/      http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/      http://mirror.bytemark.co.uk/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=mold "
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-Ctarget-cpu=native -Cllvm-args=-x86-branches-within-32B-boundaries "
SHELL="/bin/bash"
USE="acl amd64 bzip2 cet crypt gdbm iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
------------------------------------------------------------------------
acer ~ # equery u media-gfx/freecad-1.0.0 
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-gfx/freecad-1.0.0:
 U I
 + - addonmgr                        : Build the addon manager module for
                                       automatic handling of 3rd party addons 
 - - cloud                           : Build the Cloud workbench, to access
                                       cloud providers (mostly Amazon S3). 
 - - debug                           : Enable extra debug codepaths, like
                                       asserts and extra output. If you want to
                                       get meaningful backtraces see https://wi
                                       ki.gentoo.org/wiki/Project:Quality_Assur
                                       ance/Backtraces
 - - designer                        : Build and install the Qt designer
                                       plugin, so the FreeCAD widgets can be
                                       used from within designer. 
 + - fem                             : Build the FEM module and workbench which
                                       provides Finite Element Analysis (FEA)
                                       workflows 
 + - gui                             : Build FreeCAD with a Qt based GUI. If
                                       built without setting this USE flag,
                                       FreeCAD can be used in a headless mode,
                                       for server-side instances. The Python
                                       modules are available, without their GUI
                                       parts though, if this is unset. 
 + - idf                             : Build the IDF module to provide file
                                       exchange capabilities with IDF files 
 + - image                           : Build the image module and workbench for
                                       working with bitmap images 
 + - inspection                      : Build the inspection workbench which
                                       gives you specific tools for examination
                                       of shapes (experimental) 
 + - material                        : Build the material module and workbench
                                       to work with materials 
 + - netgen                          : Build support for the netgen mesher
                                       through media-gfx/netgen. 
 + - openscad                        : Build the OpenSCAD module for
                                       interoperability with OpenSCAD and
                                       repairing Constructive Solid Geometry
                                       (CSG) history 
 + - part-design                     : Build the part design module and
                                       workbench for build part shapes from
                                       sketches 
 + - path                            : Build the path module and workbench to
                                       procude G-Code instructions for CNC 
 + - pcl                             : Use external sci-libs/pcl for point
                                       clouds support. 
 + - points                          : Build the points module and workbench
                                       for working with point clouds 
 - - python_single_target_python3_10 : Build for Python 3.10 only
 + + python_single_target_python3_11 : Build for Python 3.11 only
 - - python_single_target_python3_12 : Build for Python 3.12 only
 + - raytracing                      : Build the raytracing module and
                                       workbench for raytracing and rendering 
 + - robot                           : Build the robot module and workbench for
                                       studying robot movements 
 + - show                            : Build the show module, a helper module
                                       for visibility automation 
 + - smesh                           : Build Salome SMESH 
 + - surface                         : Build the surface module and workbench 
 + - techdraw                        : Build the techdraw module and workbench,
                                       a more advanced and feature-rich
                                       successor of the drawing workbench 
 - - test                            : Enable dependencies and/or preparations
                                       necessary to run tests (usually
                                       controlled by FEATURES=test but can be
                                       toggled independently)
+ - tux                             : Build the Tux module
-------------------------------------------------------------------
acer ~ # emerge --noreplace -p =freecad-1.0.0

These are the packages that would be merged, in order:

[ebuild  N     ] media-gfx/freecad-1.0.0  USE="addonmgr -cloud -debug -designer fem gui idf image inspection material netgen openscad part-design path pcl points (-qt5) raytracing robot show smesh surface techdraw -test tux" PYTHON_SINGLE_TARGET="-python3_10 python3_11 -python3_12" 
-------------------------------------------------------------------
acer ~ # emerge -p =freecad-1.0.0

These are the packages that would be merged, in reverse order:

Calculating dependencies   .... done!
Dependency resolution took 3.48 s (backtrack: 0/20).

emerge: there are no ebuilds built with USE flags to satisfy "sci-libs/pcl[-qt5,qt6(-)]".
!!! One of the following packages is required to complete your request:
- sci-libs/pcl-1.14.1-r1::gentoo (Missing IUSE: qt5)
(dependency required by "media-gfx/freecad-1.0.0::gentoo[pcl,gui]" [ebuild])
(dependency required by "=freecad-1.0.0" [argument])
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-01 15:57:36 UTC
That pasted output doesn't make sense. The output shouldn't differ with or without --noreplace.

This looks like you've unmasked USE=qt5 and then seeing the breakage that's expected.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-01 16:02:44 UTC
One interesting thing is:
```
        gui? (
                >=media-libs/coin-4.0.0
                virtual/glu
                virtual/opengl
[...]
                !qt5? (
                        designer? ( dev-qt/qttools:6[designer] )
                        dev-qt/qt5compat:6
                        dev-qt/qttools:6[widgets]
                        dev-qt/qtbase:6[gui,opengl,widgets]
                        dev-qt/qtsvg:6
                        pcl? ( sci-libs/pcl[-qt5,qt6(-)] )
[...]
```

i.e. USE="gui -qt5 pcl" may barf on the -qt5 in the pcl dep. We can change it to -qt5(-) and I'll do that but really, -r1 has all of this cleaned up.

This is of course _not_ the original issue that OP reported because
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-01 16:02:58 UTC
(In reply to Sam James from comment #4)
> This is of course _not_ the original issue that OP reported because

their output had:

(dependency required by "media-gfx/freecad-1.0.0::gentoo[pcl,gui,qt5]" [installed])

(i.e. qt5 was enabled)
Comment 6 Larry the Git Cow gentoo-dev 2024-12-01 16:04:59 UTC
The bug has been referenced in the following commit(s):

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

commit a5061b281ebb9670ebd33c9d8cb02c59094db0c5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-01 16:03:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 16:03:57 +0000

    media-gfx/freecad: tweak pcl dep in 1.0.0(-r0)
    
    See https://bugs.gentoo.org/945482#c4.
    
    Bug: https://bugs.gentoo.org/945482
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/freecad/freecad-1.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 7 Andreas Sturmlechner gentoo-dev 2024-12-01 20:40:54 UTC
1.0.0-r0 was just cleaned up, so, obsolete now.