View previous topic :: View next topic |
Author |
Message |
Jamin n00b
Joined: 30 Dec 2020 Posts: 6
|
Posted: Sat Jun 01, 2024 2:11 pm Post subject: [Resolved] sci-libs/VTK use flag issue |
|
|
TL/DR: after unmasking Plasma 6, sci-libs/vtk now no longer recognizes any use flags.
In an effort to fix an issue I'm having, I decided to upgrade from Plasma 5 to Plasma 6.
Before the upgrade I ran a Quote: | emerge -uDUa --keep-going --with-bdeps=y --backtrack=100 @world | Everything upgraded fine.
Then I added all the masked packages for Plasma 6 to /etc/portage/profile/package.unmask
When trying to update Plasma, portage complained about sci-libs/vtk not having the needed use flags.
This is when I noticed it was trying to recompile with no use flags enabled.
I removed the flag that was pulling vtk into my system, reran the above update @world then did a depclean
Plasma 6 installed without issue (was version 6.0.5 at the time)
Two weeks have gone by and vtk still doesn't recognize use flags, even after I upgraded Plasma 6.0.5 to the 6.1 Beta (6.0.90).
This isn't a big deal as VTK was an addon to a dependency of a piece of software and I'm not sure I ever used it.
But I would like to know if this is a problem with my system or a bug that should be reported to someone before Plasma 6 becomes unmasked.
My system has a global ACCEPT_KEYWORDS="~amd64" set with the following environment: Quote: |
Portage 3.0.64 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.39-r6, 6.9.2-gentoo x86_64) |
Here is what I see when I try to emerge vtk:
Code: | emerge -pv vtk
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.18 s (backtrack: 0/20).
[ebuild N ] dev-libs/libzip-1.9.2:0/5::gentoo USE="bzip2 lzma ssl tools zstd -gnutls -mbedtls -static-libs -test" 747 KiB
[ebuild N ] dev-cpp/cli11-2.4.2::gentoo USE="-doc -test" 0 KiB
[ebuild N ] dev-cpp/nlohmann_json-3.11.3::gentoo USE="-test" 7,865 KiB
[ebuild N ] dev-libs/pegtl-3.2.7::gentoo 244 KiB
[ebuild N ] dev-libs/utfcpp-3.2.1::gentoo USE="-test" 27 KiB
[ebuild N ] sci-libs/cgnslib-4.4.0-r1:0/4.4::gentoo USE="hdf5 tools -base-scope -debug -examples -fortran -legacy -mpi -scoping -szip -test" 1,934 KiB
[ebuild N ] sci-libs/netcdf-4.9.2-r1:0/19::gentoo USE="bzip2 dap hdf5 zstd -blosc -doc -examples -hdf -mpi -szip -test" 6,976 KiB
[ebuild N ] sci-libs/vtk-9.3.0:0/9.3::gentoo USE="-all-modules -boost -cuda (-debug) -doc -examples -ffmpeg -freetype -gdal -gles2-only -imaging -java -las -logging -mpi -mysql -odbc -opencascade -openmp -openvdb -pdal -postgres -python -qt5 -qt6 -rendering -sdl -tbb -test -threads -tk -views -vtkm -web" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" VIDEO_CARDS="-nvidia" 1,309,539 KiB
Total: 8 packages (8 new), Size of downloads: 1,327,329 KiB
|
Here is the local use flag declaration in my /etc/portage/package.use/ directory (this is unchanged from what was working before unmasking Plasma 6):
Code: | sci-libs/vtk boost R xdmf2 imaging gdal views rendering freetype vtkm -qt5 PYTHON_SINGLE_TARGET=" -* python3_11" |
And here is my global use gathered from an emerge --info command:
Code: | USE="X a52 aac acl acpi activities alsa amd64 branding bzip2 cairo caps cdda cdr cet crypt cups curl dav1d dbus declarative dri dts dvd dvdr elogind encode exif fdk ffmpeg flac fuse gdbm gif gpg gpm gsm gssapi gstreamer gtk gui heif iconv icu idn ipv6 jpeg jpeg2k json kde kerberos kf6compat kwallet lcms ldap libass libedit libnotify libtirpc lm-sensors lto lzma mad mng mp3 mp4 mpeg mtp multilib multimedia ncurses networkmanager nfs nls numa ogg openal opencl openexr opengl openmp opus osmesa pam pango pcre pdf perl pgo pipewire plasma png policykit postproc ppds pulseaudio python qml qt5 qt6 rar raw readline samba sasl screencast sdl seccomp semantic-desktop snappy sound spell ssl startup-notification svg test-rust theora tiff tk tools truetype udev udisks unicode unwind upower usb utils vaapi vdpau vorbis vpx vulkan wayland webp widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU X86" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12 python3_13" RUBY_TARGETS="ruby31 ruby33" VIDEO_CARDS="amdgpu radeonsi radeon d3d12" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
|
Last edited by Jamin on Sat Jun 01, 2024 4:10 pm; edited 1 time in total |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 423
|
Posted: Sat Jun 01, 2024 2:29 pm Post subject: |
|
|
Just an FYI, i tried your package.use line. I got the same results as you when trying to merge VTK. Removing the end segment (referring to Python Single Target), I get:
Code: | [ebuild N ] sci-libs/vtk-9.3.0:0/9.3::gentoo USE="boost ffmpeg freetype gdal imaging logging openmp rendering sdl threads views vtkm -all-modules (-cuda) (-debug) -doc -examples -gles2-only -java -las -mpi -mysql -odbc -opencascade -openvdb -pdal -postgres -python -qt5 -qt6 -tbb -test -tk -web" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="nvidia" 1,309,539 KiB |
The package.use:
Code: | sci-libs/vtk boost R xdmf2 imaging gdal views rendering freetype vtkm -qt5 |
Looking at the ebuild for that version of VTK it looks like some of those use flags are incorrect or obsolete. Maybe revamp your package.use entry and try again? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Sat Jun 01, 2024 2:37 pm Post subject: |
|
|
Whatever you're doing, Plasma 6 has nothing to do with it. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22657
|
Posted: Sat Jun 01, 2024 3:19 pm Post subject: Re: Plasma 6 and sci-libs/VTK use flag issue |
|
|
Jamin wrote: | When trying to update Plasma, portage complained about sci-libs/vtk not having the needed use flags. | Exactly what did Portage print? Per Guidelines item #4, you should show the exact command you ran, and the output it produced. Jamin wrote: | This is when I noticed it was trying to recompile with no use flags enabled.
Two weeks have gone by and vtk still doesn't recognize use flags, even after I upgraded Plasma 6.0.5 to the 6.1 Beta (6.0.90).
Here is what I see when I try to emerge vtk: Code: | emerge -pv vtk
[ebuild N ] sci-libs/vtk-9.3.0:0/9.3::gentoo USE="-all-modules -boost -cuda (-debug) -doc -examples -ffmpeg -freetype -gdal -gles2-only -imaging -java -las -logging -mpi -mysql -odbc -opencascade -openmp -openvdb -pdal -postgres -python -qt5 -qt6 -rendering -sdl -tbb -test -threads -tk -views -vtkm -web" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" VIDEO_CARDS="-nvidia" 1,309,539 KiB
Total: 8 packages (8 new), Size of downloads: 1,327,329 KiB | Here is the local use flag declaration in my /etc/portage/package.use/ directory (this is unchanged from what was working before unmasking Plasma 6): Code: | sci-libs/vtk boost R xdmf2 imaging gdal views rendering freetype vtkm -qt5 PYTHON_SINGLE_TARGET=" -* python3_11" |
| I see the problem. I think that you set, among other options, USE=-* on vtk. The only USE flag enabled after that -* is python3_11" (which, with the trailing quote, is unlikely to match anything). I think you meant to use: Code: | sci-libs/vtk boost R xdmf2 imaging gdal views rendering freetype vtkm -qt5 PYTHON_SINGLE_TARGET: -* python3_11 | Yes, the syntax for setting USE_EXPAND flags is a bit strange. |
|
Back to top |
|
|
Jamin n00b
Joined: 30 Dec 2020 Posts: 6
|
Posted: Sat Jun 01, 2024 4:09 pm Post subject: |
|
|
Changing the = to a : and removed the quotes fixed it (Even leaving the -*)
Not sure why it was working before the unmasking, my other python single target overrides had been properly created with a :
glad it was just something wrong with my use declaration.
Thank you all for your help. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|