Opened 4 months ago
Closed 4 months ago
#70449 closed defect (fixed)
gcli @2.4.0: patch fails to apply
Reported by: | barracuda156 | Owned by: | thaewrapt (Alexey Ugnichev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | herbygillot (Herby Gillot) | |
Port: | gcli |
Description
---> Fetching distfiles for gcli ---> gcli-2.4.0.tar.gz does not exist in /opt/local/var/macports/distfiles/gcli ---> Attempting to fetch gcli-2.4.0.tar.gz from https://github.com/herrhotzenplotz/gcli/archive/v2.4.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 410k 0 410k 0 0 281k 0 --:--:-- 0:00:01 --:--:-- 281k ---> Verifying checksums for gcli ---> Checksumming gcli-2.4.0.tar.gz ---> Extracting gcli ---> Extracting gcli-2.4.0.tar.gz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gcli/gcli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gcli/gcli-2.4.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - ---> Applying patches to gcli ---> Applying patch-Xcode-gcc.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gcli/gcli/work/gcli-2.4.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gcli/files/patch-Xcode-gcc.diff' can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.am 2024-03-27 03:45:14.000000000 +0800 |+++ Makefile.am 2024-06-21 21:18:46.000000000 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gcli/gcli/work/gcli-2.4.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gcli/files/patch-Xcode-gcc.diff' Exit code: 1 Error: Failed to patch gcli: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gcli/gcli/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Attachments (1)
Change History (7)
comment:1 Changed 4 months ago by thaewrapt (Alexey Ugnichev)
Changed 4 months ago by thaewrapt (Alexey Ugnichev)
Attachment: | patch-Xcode-gcc.diff added |
---|
Possible new version of the patch
comment:2 Changed 4 months ago by thaewrapt (Alexey Ugnichev)
I uploaded a new version of the patch but I don't have the environment to test it for now, can you try to build with it?
comment:3 follow-ups: 4 5 Changed 4 months ago by thaewrapt (Alexey Ugnichev)
Or even better, can you try to build without applying the patch? I see different flags for different compilers in Makefile.in
now.
comment:4 Changed 4 months ago by barracuda156
Replying to thaewrapt:
Or even better, can you try to build without applying the patch? I see different flags for different compilers in
Makefile.in
now.
I will try that and let you know.
comment:5 Changed 4 months ago by barracuda156
Replying to thaewrapt:
Or even better, can you try to build without applying the patch? I see different flags for different compilers in
Makefile.in
now.
Yeah, that works fine. Just remove the patch.
comment:6 Changed 4 months ago by thaewrapt (Alexey Ugnichev)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Upstream reworked a build process in the new version (has to do with both
configure
and Makefile(s)), that's probably a root of an issue.