=>> Building graphics/evince build started at Fri Sep 22 08:13:27 CEST 2023 port directory: /usr/ports/graphics/evince package name: evince-43.1_6 building for: FreeBSD 140-CURRENT-ports20230806-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400094 amd64 maintained by: gnome@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2618 Aug 6 17:50 /usr/ports/graphics/evince/Makefile Ports top last git commit: 1a898a009 Ports top unclean checkout: no Port dir last git commit: c84214246 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20220831 ... Dependency libsecret-1 skipped: feature keyring disabled Run-time dependency gtk+-unix-print-3.0 found: YES 3.24.34 Run-time dependency gio-unix-2.0 found: YES 2.76.5 Run-time dependency gobject-introspection-1.0 found: YES 1.76.1 Run-time dependency gnome-desktop-3.0 found: NO (tried pkgconfig) meson.build:243:20: ERROR: Dependency "gnome-desktop-3.0" not found, tried pkgconfig ...
Created attachment 245158 [details] patch-to-45.0 This updates the port to 45.0 -- it builds on 14.0-BETA2. I'm not sure if this helps.
I've applied the patch with 'git apply evince.patch'. poudriere fails with the same problem that some gnome-3 dependencies can not be found: =>> Building graphics/evince build started at Sat Sep 23 18:04:51 CEST 2023 port directory: /usr/ports/graphics/evince package name: evince-45.0 building for: FreeBSD 140-CURRENT-ports20230806-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400094 amd64 maintained by: gnome@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2602 Sep 23 16:02 /usr/ports/graphics/evince/Makefile Ports top last git commit: 1a898a009 Ports top unclean checkout: yes Port dir last git commit: c84214246 Port dir unclean checkout: yes Poudriere version: poudriere-git-3.3.99.20220831 Host OSVERSION: 1400094 Jail OSVERSION: 1400094 ... Run-time dependency gobject-introspection-1.0 found: YES 1.76.1 Did not find CMake 'cmake' Found CMake: NO Run-time dependency gnome-desktop-3.0 found: NO (tried pkgconfig) meson.build:237:20: ERROR: Dependency "gnome-desktop-3.0" not found, tried pkgconfig ...
I got an idea and removed all old ports option for graphics/evince rm -r /usr/local/etc/poudriere.d/140-CURRENT-options/graphics_evince then it compiled 31 new ports and at the end also graphics/evince
(In reply to Matthias Apitz from comment #3) Did you compile the orginal or the patched version ? And you run-tested it and it worked fine ?
(In reply to Kurt Jaeger from comment #4) I compiled the patched version and will report the test here after installation of all the ~2100 ports in my Acer C720, perhaps today.
I installed it in uname -a FreeBSD c720-1400094 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #2 main-n264568-1d7ffb373c9d-dirty: Wed Sep 6 07:13:22 CEST 2023 guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 pkg info evince evince-45.0 Name : evince Version : 45.0 Installed on : Sun Sep 24 13:57:34 2023 CEST Origin : graphics/evince Architecture : FreeBSD:14:amd64 Prefix : /usr/local and it runs fine (tested with a PDF file). Thanks for the patch.
[setting maintainer-feedback solely to prevent timeout, proposed actions are not approved] The rest of GNOME 45 has not been ported over yet, particularly all the supporting libraries. I'm sure there is something else involved here, including but not limited to pilot error.
(In reply to Charlie Li from comment #7) When I looked into the provided patch, I was thinking also that this is not addressing the problem of missing gnome3 things in the moment of configure, and applying the patch the problem didn't went away. I'm thinking that something of my older port options for this port in question have been caused it. With time I will revoke the patch and compile again without my older options.
I revoked the patch and graphics/evince evince-43.1_6.pkg builds also fine. The culprit must have been my older (12/2020) ports options which I removed now for the build: cat graphics_evince/options # This file is auto-generated by 'make config'. # Options for evince-2.32.0_14 _OPTIONS_READ=evince-2.32.0_14 _FILE_COMPLETE_OPTIONS_LIST=COMICS DJVU DVI IMPRESS KEYRING NAUTILUS T1LIB OPTIONS_FILE_UNSET+=COMICS OPTIONS_FILE_UNSET+=DJVU OPTIONS_FILE_UNSET+=DVI OPTIONS_FILE_UNSET+=IMPRESS OPTIONS_FILE_UNSET+=KEYRING OPTIONS_FILE_UNSET+=NAUTILUS OPTIONS_FILE_UNSET+=T1LIB root@jet:/usr/local/etc/poudriere.d/freebsd-r368166-options #
Created attachment 246892 [details] meson-log.txt I have the same problem today with the (unmodified) port (evince-43.1): ... Dependency libsecret-1 skipped: feature keyring disabled Run-time dependency gtk+-unix-print-3.0 found: YES 3.24.34 Run-time dependency gio-unix-2.0 found: YES 2.78.1 Run-time dependency gobject-introspection-1.0 found: YES 1.78.1 Found CMake: /opt/bin/cmake (3.27.9) Run-time dependency gnome-desktop-3.0 found: NO (tried pkgconfig and cmake) meson.build:243:20: ERROR: Dependency "gnome-desktop-3.0" not found, tried pkgconfig and cmake ... Attaching the meson-log.txt. > The culprit must have been my older (12/2020) ports options which I removed now for the build: If a certain combination of options causes such a failure, that's still a bug, is not it?
Building the "lite" FLAVOR succeeds, but the full-blown version seems to require gnome-desktop. I suspect, it is the "thumbnail" functionality, that triggers the need for gnome-desktop. The thumbnailing is disabled in "lite" flavor. (In reply to Kurt Jaeger from comment #1) > This updates the port to 45.0 -- it builds on 14.0-BETA2. Looks like you forgot to update the pkg-plist-lite -- seems like the same changes, that were made to the regular pkg-plist, need to be applied to the -lite variant as well...