Opened 9 months ago

Closed 8 months ago

#69205 closed defect (worksforme)

gnome-desktop @3.38.9_0 activation failure

Reported by: Jimepea Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc:
Port: gnome-desktop

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

This is my second attempt to install Geeqie. I did a full MacPorts uninstall using the instructions from your site. My process was as follows:

  1. install MacPorts using your installer.
  2. Install py312-setuptools which was an issue with my first install. (#69111)
  3. Run the Geeqie installer.

I showed all hidden files in Finder and was unable to find the folder references below...I even do some manual search but to no avail. So I have copied all Terminal Commands that I executed and they are attached.

Error: Failed to activate gnome-desktop: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-desktop/gnome-desktop/main.log for details.

Of note, on my first install, I was able to install Geeqie successfully, it is noted in my first ticket. However, the application never launched and since the ticket was closed after I was referred to the ticket to install "py312-setuptools." I added a brief screen video, but received no response so did did the uninstall/clearn reinstall today. That said, I would appreciate that ticket be kept open until I confirm that it is working. It may take a day or two, but I'm used to closing my own tickets with vendors who I work with during my job.

Thanks, Jim

Attachments (5)

py312-setuptools and Geeqie install log.rtf (88.6 KB) - added by Jimepea 9 months ago.
Log file
main.log (82.3 KB) - added by Jimepea 9 months ago.
Main log file
main.2.log (82.3 KB) - added by Jimepea 9 months ago.
Main Log file Feb 5
Screen Shot 2024-02-29 at 9.42.04 PM.png (85.6 KB) - added by Jimepea 8 months ago.
Graphic showing now log files exist in the folder.
Screenshot 2024-02-29 at 9.10.03 PM.png (1.7 MB) - added by kencu (Ken) 8 months ago.
geeqie +quartz working

Change History (18)

Changed 9 months ago by Jimepea

Log file

comment:1 Changed 9 months ago by jmroot (Joshua Root)

Owner: set to dbevans
Port: gnome-desktop added
Status: newassigned
Summary: Second Attempt to install Geeqie Not Successfulgnome-desktop @3.38.9_0 activation failure
--->  Activating gnome-desktop @3.38.9_0
Error: Failed to activate gnome-desktop: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-desktop/gnome-desktop/main.log for details.

Please attach the main.log for gnome-desktop.

comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

We close tickets when we fix them, and we only keep one ticket open for a given issue, so since your build failure was a duplicate of another ticket, we closed it in favor of the earlier one, and the earlier ticket closed when its fix was committed to the repository.

We use one ticket per issue, so when, after resolving the build failure, you encountered a new problem, that needed to go in a new ticket, so we'll use this ticket to track that issue now, although I guess there are two new issues: the failure to launch and now, after reinstallation, the failure to activate.

Normally, /opt/local/var/macports is hidden in the Finder. You can press Command-Shift-Period in the Finder (or use other means) to see hidden items, but you also don't need to do that. To attach the log you can also just copy the full logfile path to the clipboard, then click "Attach another file" and "Choose File", and in the file chooser, press Command-Shift-G to bring up the Go panel, paste in the logfile path you copied, press Return twice, and click "Add Attachment".

comment:3 in reply to:  description Changed 9 months ago by jmroot (Joshua Root)

Replying to Jimepea:

I showed all hidden files in Finder and was unable to find the folder references below...I even do some manual search but to no avail.

As well as being able to find files in the ways Ryan mentioned, you can also use the terminal to access log files. For example, this will open the log in the system default text editor:

open -t /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-desktop/gnome-desktop/main.log

Or you can use the -a option to choose a different application to open it with:

open -a BBEdit /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-desktop/gnome-desktop/main.log

You can also just use cp to put a copy of the file somewhere more convenient. This will copy it to your desktop:

cp /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-desktop/gnome-desktop/main.log ~/Desktop/

Changed 9 months ago by Jimepea

Attachment: main.log added

Main log file

comment:4 Changed 9 months ago by Jimepea

Hi Ryan and Joshua,

Thank you for your assistance. I was able to find the log file this morning and it is attached. I must have been more tired than I realized Friday night.

Also, thank you for clairify support process. I'm used to working in cloud systems and my vendors want customers to close out their own tickets.

Thanks again and looking forward to your feedback from the log file.

Jim

comment:5 Changed 9 months ago by jmroot (Joshua Root)

:debug:activate Executing proc-post-org.macports.activate-activate-0
:debug:activate system: /opt/local/bin/update-desktop-database /opt/local/share/applications
:info:activate The databases in [/opt/local/share/applications] could not be updated.
:info:activate Command failed: /opt/local/bin/update-desktop-database /opt/local/share/applications

I assume we would prefer that to succeed, but I wonder if the error shouldn't be caught and reduced to a warning so this doesn't block installation of dependents.

Changed 9 months ago by Jimepea

Attachment: main.2.log added

Main Log file Feb 5

comment:6 Changed 9 months ago by Jimepea

Hello,

I noticed that there is an updated version of MacPorts-2.9.1-12-Monterey so decided to try again. I can now installed Geeqie, but when I double click on it, it looks like it will launch but does not. The log file is attached.

Thanks, Jim

comment:7 Changed 8 months ago by Jimepea

Hello, Has there been any progress on this issue?

Please let me know. Thank you.

comment:8 Changed 8 months ago by kencu (Ken)

This works fine for me:

DEBUG: activating directory: /opt/local/share/locale/zu/LC_MESSAGES
DEBUG: activating file: /opt/local/share/locale/zu/LC_MESSAGES/gnome-desktop-3.0.mo
DEBUG: Executing proc-post-org.macports.activate-activate-0
DEBUG: system: /opt/local/bin/update-desktop-database /opt/local/share/applications
DEBUG: Executing portactivate::activate_finish
DEBUG: Executing org.macports.main (gnome-desktop)
DEBUG: load phase started at Thu Feb 29 17:40:40 PST 2024
DEBUG: Executing org.macports.load (gnome-desktop)
DEBUG: Executing org.macports.main (gnome-desktop)
DEBUG: clean phase started at Thu Feb 29 17:40:40 PST 2024
--->  Cleaning gnome-desktop
DEBUG: Executing org.macports.clean (gnome-desktop)
--->  Removing work directory for gnome-desktop
DEBUG: Removing directory: /opt/local/var/macports/build/_opt_macportsofficial_macports-ports_gnome_gnome-desktop/gnome-desktop
DEBUG: Removing symlink: /opt/macportsofficial/macports-ports/gnome/gnome-desktop/work
DEBUG: Removing directory: /opt/local/var/macports/logs/_opt_macportsofficial_macports-ports_gnome_gnome-desktop/gnome-desktop
--->  Scanning binaries for linking errors

what have you got in that directory?

% ls -la /opt/local/share/applications
total 16
drwxr-xr-x   4 root  admin   128 29 Feb 17:40 .
drwxr-xr-x  74 root  admin  2368 29 Feb 17:40 ..
-rw-r--r--   1 root  admin    95 29 Feb 17:40 mimeinfo.cache
-rw-r--r--   1 root  admin  1118  8 Jan 22:53 org.octave.Octave.desktop

Changed 8 months ago by Jimepea

Graphic showing now log files exist in the folder.

comment:9 Changed 8 months ago by Jimepea

I just tired to install Geeqie again and the directory content is below. However, like with past installs Geequie does not launch. I think this was my forth attempt. I'm following the same process that I used when I posted this ticket. And, this time I have no log file, but many more notes than I recall in the past. These are posted below the folder information. The attached screen shot show that no log file exists.

ls -la /opt/local/share/applications total 24

drwxr-xr-x 5 root wheel 160 Feb 29 21:21 . drwxr-xr-x 93 root wheel 2976 Feb 29 21:21 .. -rw-r--r-- 1 root wheel 329 Oct 8 10:47 geoclue-where-am-i.desktop -rw-r--r-- 1 root wheel 900 Feb 29 21:21 mimeinfo.cache -rw-r--r-- 1 root admin 2602 Feb 29 21:20 org.geeqie.Geeqie.desktop

NOTES from Install.

---> Some of the ports you installed have notes:

cabal has the following notes:

The Cabal User Guide is available at:

file:///opt/local/share/doc/cabal-3.10.2.0/users-guide/index.html

coreutils has the following notes:

The tools provided by GNU coreutils are prefixed with the character 'g' by default to distinguish them from the BSD commands. For example, cp becomes gcp and ls becomes gls.

If you want to use the GNU tools by default, add this directory to the front of your PATH environment variable:

/opt/local/libexec/gnubin/

db48 has the following notes:

The Java and Tcl bindings are now provided by the db48-java and db48-tcl subports.

dbus has the following notes:

Startup items (named 'dbus-system, dbus-session') have been generated that will aid in starting dbus with launchd. They are disabled by default. Execute the following command to start them, and to cause them to launch at startup:

sudo port load dbus

ffmpeg has the following notes:

Support for rav1e now disabled by default; enable via +rav1e This build of ffmpeg includes GPLed code and is therefore licensed under GPL v2 or later. The following modules are GPLed:

libvidstab libx264 libx265 libxvid postproc

To include all nonfree, GPLed and LGPL code use variant +nonfree. To remove nonfree and GPLed code leaving only LGPL code remove the +gpl2 variant.

geoclue2 has the following notes:

The demo agent is now disabled by default, but can be enabled via +demoagent.

ghc has the following notes:

The GHC User Manual is available at:

file:///opt/local/share/doc/ghc-9.6.4/html/index.html /opt/local/share/doc/ghc-9.6.4/users_guide.pdf

Copy/edit /opt/local/etc/ghci.conf to your directory ~/.ghc for a user-specific startup configuration.

grep has the following notes:

This port previously installed itself without a g* prefix, thus overshadowing system binaries such as grep, fgrep, and egrep. The port is now changed so that it does install with a g* prefix, like other GNU ports. This means that you'll now find GNU grep at /opt/local/bin/ggrep. If you dislike typing ggrep, you can create a shell alias or you can add /opt/local/libexec/gnubin to your PATH, wherein non-g* prefixed symlinks are installed. In other words, /opt/local/libexec/gnubin contains GNU binaries without any prefix to the file names, so you can type grep and get GNU grep just as before.

libavif has the following notes:

Support for rav1e now disabled by default; enable via +rav1e

libgsm has the following notes:

tcat has been installed as gsm-tcat

libheif has the following notes:

Support for rav1e now disabled by default; enable via +rav1e

libidn has the following notes:

GNU libidn2 is the successor of GNU libidn. It comes with IDNA 2008 and TR46 implementations and also provides a compatibility layer for GNU libidn.

libpsl has the following notes:

libpsl API documentation is provided by the port 'libpsl-docs'.

lzma has the following notes:

The LZMA SDK program is installed as "lzma_alone", to avoid conflict with LZMA Utils

openldap has the following notes:

A startup item has been generated that will aid in starting openldap with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load openldap

openssl11 has the following notes:

This is the last release of OpenSSL 1.1. No further public security updates will be provided. Please migrate to the openssl3 port.

pandoc has the following notes:

For PDF support, please install the texlive-latex and texlive-fonts-recommended packages.

py312-pygments has the following notes:

To make the Python 3.12 version of Pygments the one that is run when you execute the commands without a version suffix, e.g. 'pygmentize', run:

port select --set pygments py312-pygments

python27 has the following notes:

To make this the default Python or Python 2 (i.e., the version run by the 'python' or 'python2' commands), run one or both of:

sudo port select --set python python27 sudo port select --set python2 python27

shared-mime-info has the following notes:

A startup item has been generated that will start shared-mime-info with launchd, and will be enabled automatically on activation. Execute the following command to manually _disable_ it:

sudo port unload shared-mime-info

webkit2-gtk has the following notes:

If you are porting new software to use webkit2gtk on Apple systems, you will likely need to define BUILDING_GTK to get the correct behaviour from WebKitAvailability.h.

wget has the following notes:

To customize wget, you can copy /opt/local/etc/wgetrc.sample to /opt/local/etc/wgetrc and then make changes.

comment:10 Changed 8 months ago by kencu (Ken)

In cbd69330268291245fe8f22eaddf6bc11b6d4fcb/macports-ports (master):

geeqie: make x11 and quartz variants

see: #69205

comment:11 Changed 8 months ago by kencu (Ken)

so geeqie works for me as an x11 build, but works badly.

For the x11 build to work, you need to install xorg-server, and then log out and back in again. Sorry, that is just the hosed-up way it works.

Because the x11 version of geeqie works so badly for me, I fixed the quartz version.

The quartz version works GREAT. I am running it right now.

Version 0, edited 8 months ago by kencu (Ken) (next)

Changed 8 months ago by kencu (Ken)

geeqie +quartz working

comment:12 in reply to:  9 Changed 8 months ago by kencu (Ken)

Replying to Jimepea:

I just tired to install Geeqie again and the directory content is below.

So I take it your original error:

Error: Failed to activate gnome-desktop: command execution failed

is gone now? Looks like it. At least whatever weirdness that was is no longer happening.

comment:13 Changed 8 months ago by kencu (Ken)

Resolution: worksforme
Status: assignedclosed

I'm going to close this ticket as there is no longer an activation failure.

geeqie works both x11 and quartz for me, but x11 is essentially unusable due to some x11 weirdness that I believe has nothing to do with geeqie.

Note: See TracTickets for help on using tickets.