outpaddling / desktop-installer

Quickly configure a FreeBSD or NetBSD desktop system
BSD 2-Clause "Simplified" License
57 stars 9 forks source link

gnome3 and gnome3-lite: problem occured and cannot launch #14

Closed yzgyyang closed 3 years ago

yzgyyang commented 3 years ago

This occurs on fresh installations of FreeBSD 13.0-RELEASE, quarterly packages, on both my physical desktop and Virtualbox VM, at the "test X11" step as well as every reboot:

image

Happy to provide more info if requested ;)

outpaddling commented 3 years ago

The problem is the gnome3-lite port is gone, replaced with FLAVORS. desktop-installer should have terminated because of this, but it's not getting proper exit status from the package install. I added a hack to the WIP port to install gnome3-lite properly. I'll add proper support for FLAVORS to the next release. Your quick fix for now:

auto-freebsd-wip-checkout git
wip-reinstall-port auto-admin
wip-reinstall-port desktop-installer
outpaddling commented 3 years ago

Fix committed. Thanks for the report!

yzgyyang commented 3 years ago

I think we need to reopen this: I tried out gnome3 (no -lite) and it is showing the same error. Not sure if it is the script or the ports themselves though ;)

image

outpaddling commented 3 years ago

What version of desktop-installer are you running?

outpaddling commented 3 years ago

Here's the problem:

<<<ROOT@moray.acadix>>> /home/bacon/Prog/Src/desktop-installer 585 # pkg install gnome3
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'gnome3' have been found in the repositories

I'm updating auto-mark-package-critical to return non-zero if the specified package is not installed. This will cause desktop-installer to terminate when a critical package fails to install, but allow it to continue for others.

outpaddling commented 3 years ago

Add added an enhancement to wip/auto-admin so that auto-install-packages will attempt to install deps via pkg when building from source in fall-back mode. This will greatly reduce the wait for ports with many dependencies. Didn't help with gnome3, though, since something is actually broken (some dep of gnome-utils that scrolled away before I could see). Gnome users will just have to wait until the port is fixed.

linimon commented 3 years ago

Didn't help with gnome3, though, since something is actually broken

deskutils/gnome-todo:

In file included from ../src/plugins/all-tasks-panel/all-tasks-panel-plugin.c:24: ../src/gnome-todo.h:24:10: fatal error: 'gtd-enum-types.h' file not found

mcl

outpaddling commented 3 years ago

Seems rather non-essential. I'd be inclined to remove it from the depends until it's fixed so we have a gnome3 package available again ASAP.