Summary: | app-arch/engrampa-1.22.1-r1 emake failed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jean-Claude Aciman <jcl.aciman> |
Component: | Current packages | Assignee: | Gentoo MATE Desktop <mate> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jcl.aciman, jstein, samuelbernardo.mail |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/15115 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
environment |
Description
Jean-Claude Aciman
2020-03-24 19:49:41 UTC
Created attachment 625366 [details]
environment
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../copy-n-paste/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DUI_DIR=\"/usr/share/engrampa/ui\" -DFR_LIBDIR=\"/usr/lib64\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DPRIVEXECDIR=\"/usr/libexec/engrampa/\" -DSHDIR=\"/usr/libexec/engrampa/\" -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/json-glib-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -Wall -Wcast-align -Wtype-limits -Wclobbered -Wempty-body -Wignored-qualifiers -c -o dlg-ask-password.o dlg-ask-password.c In file included from dlg-ask-password.c:29: glib-utils.h:69:21: error: conflicting types for ‘g_ptr_array_copy’ 69 | GPtrArray * g_ptr_array_copy (GPtrArray *array); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:31, from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from dlg-ask-password.c:25: /usr/include/glib-2.0/glib/garray.h:147:12: note: previous declaration of ‘g_ptr_array_copy’ was here 147 | GPtrArray *g_ptr_array_copy (GPtrArray *array, | ^~~~~~~~~~~~~~~~ make[4]: *** [Makefile:864: dlg-ask-password.o] Error 1 make[4]: *** Waiting for unfinished jobs.... This is fixed in engrampa-1.22.2. From the release notes ( https://github.com/mate-desktop/engrampa/releases ) (...) Changes since the last release: v1.22.1...v1.22.2 engrampa 1.22.2 Translations update java-utils: Remove blank spaces before reading package name glib-utils: Remove unused function - g_ptr_array_copy caja extension: fix icon name for compress menu item fr-command-unarchiver: ask password if required (...) And I can confirm it builds properly. Will make a PR. Should hopefully have the last of the 1.22 series and all of 1.24 series up in the next couple of days. int the mean time : https://github.com/mate-desktop/engrampa/commit/64586d972c9820ffde019600586603e133ffeda6.patch The patch proposed faile as follow :
namica-10 /var/db/repos/gentoo/app-arch/engrampa # ebuild engrampa-1.22.1-r1.ebuild clean prepare
* engrampa-1.22.1.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking engrampa-1.22.1.tar.xz to /var/tmp/portage/app-arch/engrampa-1.22.1-r1/work
>>> Source unpacked in /var/tmp/portage/app-arch/engrampa-1.22.1-r1/work
>>> Preparing source in /var/tmp/portage/app-arch/engrampa-1.22.1-r1/work/engrampa-1.22.1 ...
* Applying engrampa-1.22.1-r1.patch ...
patching file src/glib-utils.c
Hunk #1 FAILED at 568.
1 out of 1 hunk FAILED -- saving rejects to file src/glib-utils.c.rej
patching file src/glib-utils.h
[ !! ]
* ERROR: app-arch/engrampa-1.22.1-r1::gentoo failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/app-arch/engrampa-1.22.1-r1/engrampa-1.22.1-r1.patch
*
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 3140: Called mate_src_prepare
* environment, line 2663: Called gnome2_src_prepare
* environment, line 2273: Called xdg_src_prepare
* environment, line 4215: Called default
* phase-functions.sh, line 855: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 302: Called eapply_user
* environment, line 917: Called eapply '/etc/portage/patches/app-arch/engrampa-1.22.1-r1/engrampa-1.22.1-r1.patch'
* environment, line 887: Called _eapply_patch '/etc/portage/patches/app-arch/engrampa-1.22.1-r1/engrampa-1.22.1-r1.patch'
* environment, line 825: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/app-arch/engrampa-1.22.1-r1/engrampa-1.22.1-r1.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=app-arch/engrampa-1.22.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-arch/engrampa-1.22.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-arch/engrampa-1.22.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/engrampa-1.22.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/app-arch/engrampa-1.22.1-r1/work/engrampa-1.22.1'
* S: '/var/tmp/portage/app-arch/engrampa-1.22.1-r1/work/engrampa-1.22.1'
namica-10 /var/db/repos/gentoo/app-arch/engrampa #
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d66bfc5b69fdbfb1d511831456766725839c90 commit 97d66bfc5b69fdbfb1d511831456766725839c90 Author: Christophe Lermytte <gentoo@lermytte.be> AuthorDate: 2020-03-25 20:38:44 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-04-05 14:26:44 +0000 app-arch/engrampa: bump to 1.22.2, fixing glib compatibility issue - Dropping keywords as 1.22.1-r1 is still working on stable arches (older glib) - Dropping non-existent blocker app-arch/mate-file-archiver - Replace use of readme.gentoo-r1.eclass with eutils (optfeature) - Update copyright Package-Manager: Portage-2.3.94, Repoman-2.3.21 Closes: https://bugs.gentoo.org/714482 Signed-off-by: Christophe Lermytte <gentoo@lermytte.be> Closes: https://github.com/gentoo/gentoo/pull/15115 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-arch/engrampa/Manifest | 1 + app-arch/engrampa/engrampa-1.22.2.ebuild | 64 ++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) *** Bug 719722 has been marked as a duplicate of this bug. *** |