Opened 3 years ago

Last modified 3 years ago

#63397 assigned defect

gnucash 4.6 cannot install, cmakefile patches fail

Reported by: wds15 Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: gnucash

Description

I am trying to install gnucash in its default variant and I am getting stopped like this:

[22:54:21][sebi@sebastians-macbook-pro:~/bin]$ sudo port install gnucash
--->  Computing dependencies for gnucash
--->  Fetching archive for gnucash
--->  Attempting to fetch gnucash-4.6_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/gnucash
--->  Attempting to fetch gnucash-4.6_0.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/gnucash
--->  Attempting to fetch gnucash-4.6_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/gnucash
--->  Fetching distfiles for gnucash
--->  Verifying checksums for gnucash
--->  Extracting gnucash
--->  Applying patches to gnucash
Warning: reinplace s|if (WIN32 OR APPLE)|if (WIN32)| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-4.6/CMakeLists.txt
Error: Failed to patch gnucash: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gnucash failed

I also tried the variant "+without_hbci +without_ofx", but no luck either.

The log file above states this:

:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-4.6/CMakeLists.txt
:debug:patch euid/egid changed to: 502/501
:info:patch xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/glib-2.0
:info:patch xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/glib-2.0/include
:debug:patch system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/work/glib-2.0/include: patch -p1 </opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/gnome/gnucash/files/patch-glibconfig.h.diff
:info:patch patching file glibconfig.h
:info:patch Hunk #1 FAILED at 48.
:info:patch Hunk #2 FAILED at 84.
:info:patch 2 out of 2 hunks FAILED -- saving rejects to file glibconfig.h.rej
:info:patch Command failed: patch -p1 </opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/gnome/gnucash/files/patch-glibconfig.h.diff
:info:patch Exit code: 1
:error:patch Failed to patch gnucash: command execution failed
:debug:patch Error code: NONE
:debug:patch Backtrace: command execution failed
:debug:patch     while executing
:debug:patch "$post $targetname"
:error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnucash/gnucash/main.log for details.

Change History (2)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to drkp
Port: gnucash added
Status: newassigned

For future reference, please make sure to add the maintainer to CC (port info --maintainer gnucash). Also, add the complete log file - even though in this case the problem appears quite clear in that the patchfile fails.

comment:2 Changed 3 years ago by drkp (Dan Ports)

This should be fixed by [fcb8c59d8d93e3d11db6be76784d0590b9d7ac2f/macports-ports]. Please selfupdate and try again.

Last edited 3 years ago by jmroot (Joshua Root) (previous) (diff)
Note: See TracTickets for help on using tickets.