Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714482 - app-arch/engrampa-1.22.1-r1 emake failed
Summary: app-arch/engrampa-1.22.1-r1 emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo MATE Desktop
URL:
Whiteboard:
Keywords: PullRequest
: 719722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-24 19:49 UTC by Jean-Claude Aciman
Modified: 2020-05-01 19:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,37.87 KB, text/x-log)
2020-03-24 19:49 UTC, Jean-Claude Aciman
Details
environment (environment,123.07 KB, text/plain)
2020-03-24 19:50 UTC, Jean-Claude Aciman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Aciman 2020-03-24 19:49:41 UTC
Created attachment 625364 [details]
build log

Failed to emerge engrampa-1.22-1-r1 with compilation error.

engrampa.info : 

Portage 2.3.94 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop, gcc-9.2.0, glibc-2.30-r5, 5.5.9-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.9-gentoo-x86_64-x86_64-Intel-R-_Celeron-R-_CPU_N2840_@_2.16GHz-with-gentoo-2.6
KiB Mem:     8022960 total,   2328856 free
KiB Swap:     524284 total,    516604 free
Timestamp of repository gentoo: Tue, 17 Mar 2020 21:30:01 +0000
Head commit of repository gentoo: 24dc9ea5e7fda8ac045b3ded1e47e7841d68a2b5
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo, 3.8.2::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr us en-GB es es-ES pl"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode evdev exif flac fortran gdbm gif gpm gtk hpcups iconv icu intel ipv6 jpeg kde lcms ldap libav libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt4 qt5 readline scanner sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="cgi cgid" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput evdev keyboard synaptics mouse joystick wacom" KERNEL="linux" L10N="fr us en-GB es es-ES pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Pretend :
[ebuild  N    ] app-arch/engrampa-1.22.1-r1  USE="-caja -magic (-packagekit)"
Comment 1 Jean-Claude Aciman 2020-03-24 19:50:19 UTC
Created attachment 625366 [details]
environment
Comment 2 Kobboi 2020-03-25 20:21:16 UTC
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....
Comment 3 Kobboi 2020-03-25 20:29:57 UTC
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.
Comment 4 Adam Feldman gentoo-dev 2020-03-26 01:57:36 UTC
Should hopefully have the last of the 1.22 series and all of 1.24 series up in the next couple of days.
Comment 6 Jean-Claude Aciman 2020-04-04 19:43:11 UTC
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 #
Comment 7 Larry the Git Cow gentoo-dev 2020-04-05 14:26:56 UTC
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(+)
Comment 8 Adam Feldman gentoo-dev 2020-05-01 19:25:57 UTC
*** Bug 719722 has been marked as a duplicate of this bug. ***