Opened 16 months ago
Closed 15 months ago
#72502 closed update (fixed)
qgis3-ltr: Update to 3.40.7
| Reported by: | multiquadric | Owned by: | Veence (Vincent) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | nilason (Nicklas Larsson), agiudiceandrea (Andrea Giudiceandrea) | |
| Port: | qgis3-ltr |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
MacPorts 2.10.7
macOS Sequoia 15.5 (24F74)
New versions of QGIS3 and QGIS3-LTR were released Friday, May 16th. Both builds fail. Minor versions have previously updated without issues. The previous builds used MacPorts 2.10.5. It is not clear (to me) how many dependencies were also updated in the last four weeks or so.
QGIS3 and QGIS3-LTR error messages are similar (if not the same).
---> Building qgis3-ltr Error: Failed to build qgis3-ltr: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3-ltr failed
:info:build AutoMoc: Reading dependencies from "BIN:/src/gui/qgis_gui_autogen/include/moc_qgsvectorlayerproperties.cpp.d"
:info:build AutoMoc: Generating MOC compilation "BIN:/src/gui/qgis_gui_autogen/mocs_compilation.cpp"
:info:build AutoMoc: Merging MOC dependencies into "BIN:/src/gui/qgis_gui_autogen/deps"
:info:build AutoGen: Writing the parse cache file "BIN:/src/gui/CMakeFiles/qgis_gui_autogen.dir/ParseCache.txt"
:info:build AutoGen: Writing the settings file "BIN:/src/gui/CMakeFiles/qgis_gui_autogen.dir/AutogenUsed.txt"
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build/src/gui && /opt/local/bin/cmake -E touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build/src/gui/qgis_gui_autogen/timestamp
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build'
:info:build [ 69%] Built target qgis_gui_autogen
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/work/build" && /usr/bin/make -j24 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build qgis3-ltr: command execution failed
:debug:build Error code: CHILDSTATUS 42457 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3-ltr/main.log for details.
:$
Not certain where to look or how to help.
Attachments (2)
Change History (13)
comment:1 Changed 16 months ago by jmroot (Joshua Root)
| Cc: | nilason added |
|---|---|
| Owner: | set to Veence |
| Status: | new → assigned |
comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 16 months ago by reneeotten (Renee Otten)
it seems like you tried to update the port(s) yourself locally and that failed? At least MacPorts still contains version 3.40.6. I would not consider that a “defect”;we have no idea what you tried, it might just not be a simple version bump. If what you want to ask is for the maintainer to update the port that should be an “update” request.
comment:4 Changed 16 months ago by multiquadric
This report was posted as both an issue and a heads-up. Hoped others might know if changes to MacPorts might be an issue. The log was cryptic, to me, whereas past failures contained more information I was able to use.
Yes. Sought to update the port locally. Tried this for both QGIS3 and QGIS3-LTR. This is a straightforward process per trac.macports.org. Minor version updates have in the past built without issue.
Changes on my Mac from the last minor version update were: (1) MacPorts 2.10.5 to 2.10.7; (2) Sequoia 15.4.1 to 15.5.
An "update" request is an option. The QGIS3 livecheck shows a new version available on the QGIS3 "details" page. The QGIS3-LTR livecheck does not show a new version available on QGIS3-LTR "details" page.
QGIS3
% sudo port -d livecheck QGIS3 2>&1 >/dev/null | grep 'matched' | grep 3_42 | sort DEBUG: The regex matched "archive/refs/tags/final-3_42_0.tar.gz", extracted "3_42_0" DEBUG: The regex matched "archive/refs/tags/final-3_42_1.tar.gz", extracted "3_42_1" DEBUG: The regex matched "archive/refs/tags/final-3_42_2.tar.gz", extracted "3_42_2" DEBUG: The regex matched "archive/refs/tags/final-3_42_3.tar.gz", extracted "3_42_3"
QGIS3-LTR
% sudo port -d livecheck QGIS3 2>&1 >/dev/null | grep 'matched' | grep 3_40 | sort DEBUG: The regex matched "archive/refs/tags/final-3_40_3.tar.gz", extracted "3_40_3" DEBUG: The regex matched "archive/refs/tags/final-3_40_4.tar.gz", extracted "3_40_4" DEBUG: The regex matched "archive/refs/tags/final-3_40_5.tar.gz", extracted "3_40_5" DEBUG: The regex matched "archive/refs/tags/final-3_40_6.tar.gz", extracted "3_40_6" DEBUG: The regex matched "archive/refs/tags/final-3_40_7.tar.gz", extracted "3_40_7"
Point being, I think the maintainer knows of the updates. A Friday QGIS3/QGIS3-LTR release is something that might not see fold into MacPorts over a weekend.
Managed an update for 'coreutils' locally successfully so there is a chance that it is not a MacPorts upgrade issue. User error is always a possibility.
comment:5 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
| Summary: | QGIS3-LTR 3.40.6 to 3.40.7 - Locally → qgis3-ltr: Update to 3.40.7 |
|---|---|
| Type: | defect → update |
The best way to make progress on this would be for you to attach the diff of the changes you made to the Portfile, and the main.log file showing the build problems you encountered after making them.
Changed 16 months ago by multiquadric
| Attachment: | main.log.zip added |
|---|
QGIS3-LTR: main.log (compressed)
Changed 16 months ago by multiquadric
| Attachment: | qgis3-ltr.diff added |
|---|
Diff for Portfile for QGIS3-LTR local build
comment:6 Changed 16 months ago by multiquadric
| Summary: | qgis3-ltr: Update to 3.40.7 → qgis3-ltr: Minor Version Update Fails: 3.40.6 to 3.40.7 |
|---|
comment:7 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Summary: | qgis3-ltr: Minor Version Update Fails: 3.40.6 to 3.40.7 → qgis3-ltr: Update to 3.40.7 |
In both this ticket and the similar one about qgis3, I see this in the log:
make[2]: *** [python/core/build/_core/sip_corepart0.cpp] Error 1
I would expect to see another line somewhere before that explaining what the error was, but so far I have not been able to find such a line.
comment:8 Changed 16 months ago by multiquadric
QGIS3-LTR compiled as did QGIS3 (https://trac.macports.org/ticket/72531) per a change in the SIP version. Seems a SIP bug and not a MacPorts issue.
% port installed python313 The following ports are currently installed: python313 @3.13.1_0+lto+optimizations python313 @3.13.2_0+lto+optimizations python313 @3.13.3_0+lto+optimizations (active)
% sudo port activate py313-sip@6.10.0_0
Password:
---> Computing dependencies for py313-sip
---> Deactivating py313-sip @6.11.1_0
---> Cleaning py313-sip
---> Activating py313-sip @6.10.0_0
---> Cleaning py313-sip
---> Some of the ports you installed have notes:
py313-sip has the following notes:
py313-sip is available under a PSF license with one addition:
4. Licensee may not use SIP to generate Python bindings for any C or
C++ library for which bindings are already provided by Riverbank.
GPL-2 or GPL-3 licenses are also available. For details see
/opt/local/share/doc/py313-sip/LICENSE [-GPL2 -GPL3]
% port installed py313-sip The following ports are currently installed: py313-sip @6.10.0_0 (active) py313-sip @6.11.0_0 py313-sip @6.11.1_0
comment:9 Changed 16 months ago by agiudiceandrea (Andrea Giudiceandrea)
| Cc: | agiudiceandrea added |
|---|
comment:10 Changed 16 months ago by multiquadric
Noted in QGIS ticket: #72531 .
"Fix to QGIS source code for SIP >= 6.11 is in place. I see mention of 3.44 due out in two weeks with the fix. Not clear if there is a patch or backport for 3.42.3 or 3.40.7 (LTR version)."
comment:11 Changed 15 months ago by nilason (Nicklas Larsson)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Please attach the main.log file.