| 20 Sep 2025 |
Grimmauld (any/all) | personally i'd vote patch, because patches will start failing to apply and then are easier to spot when they should be removed, but i see emily did the cmake flag in mariadb so i wondered | 21:02:20 |
emily | upstream patch | 21:11:57 |
emily | then substituteInPlace | 21:11:59 |
emily | then -D | 21:12:01 |
emily | I did it for MariaDB because it's in a nested submodule with multiple relveant files etc. that they didn't backport commits for | 21:12:14 |
emily | and only for old versions | 21:12:18 |
emily | almost everywhere I did fetchpatch or substituteInPlace | 21:12:25 |
Grimmauld (any/all) | Some don't specify a cmake version policy at all... | 21:15:04 |
Grimmauld (any/all) | then you can't substitute | 21:15:10 |
Grimmauld (any/all) | but fair enough | 21:15:20 |
Grimmauld (any/all) | i got cmake 4 fails on the way to libreoffice from my xml branch, so i was wondering | 21:16:10 |
Grimmauld (any/all) | the fallout is definitely there, but i imagined it'd be worse | 21:17:16 |
Grimmauld (any/all) | clucene-core needs cmake fix, and the other three fails i got might actually have been libxml | 21:17:55 |
emily | did not see this a single time fwiw | 21:18:19 |
emily | but is that actually a hard error now? | 21:18:23 |
emily | when it wasn't before? | 21:18:26 |
Grimmauld (any/all) | yes | 21:18:33 |
emily | I don't think I experienced it doing a hard error when trying that | 21:18:47 |
Grimmauld (any/all) | was the case for cdrkit, a dep to diffoscope | 21:18:50 |
emily | yeah, cannot reproduce at all | 21:19:04 |
emily | shion:/v/f/1/j/T/tmp.WqZxnXmPb0
❭ touch CMakeLists.txt
shion:/v/f/1/j/T/tmp.WqZxnXmPb0
❭ nix run nixpkgs#cmake .
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is AppleClang 17.0.0.17000319
-- The CXX compiler identification is AppleClang 17.0.0.17000319
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /var/folders/1v/jtp_4pzx7xq371f8j_xdnrvm0000gn/T/tmp.WqZxnXmPb0
| 21:19:10 |
Grimmauld (any/all) | huh | 21:19:09 |
emily | are you sure you weren't looking at the wrong file? | 21:19:22 |
emily | and that another file did have a minimum? | 21:19:22 |
Grimmauld (any/all) | maybe i was stupid, idk | 21:20:29 |
Grimmauld (any/all) | OH NO, clucene-core is dead software from 2013 going into libreoffice | 21:28:11 |
emily | that's like half of LibreOffice deps. | 21:29:55 |
Grimmauld (any/all) | eh there is a gentoo patch for cmake 4, i guess we'll extend the patch frankenstein | 21:32:25 |
emily | Grimmauld (any/all): maybe retarget to staging to avoid rebuilding a bunch of LibreOffices? | 22:36:18 |
| 21 Sep 2025 |
Vladimír Čunát | I'd say that staging-next is imminent now, ideally within a couple hours. | 04:35:14 |