Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues after pkg ugrade on helloSystem 0.7.0 [likely py38 -> py39 related?] #399

Open
darkoverlordofdata opened this issue Sep 8, 2022 · 9 comments

Comments

@darkoverlordofdata
Copy link

Just to refresh your memory, after recently installing 0.7.0, I found that I needed to run sudo pkg upgrade, due to the qt5 changes. But typically, there are other surprises with upgrades.

build notify fails to start. (resolved)

this was easy to fix:

sudo pkg install py39-dateutil
sudo pkg install py39-pytz

errors during upgrade (resolved)

I got a lot of errors during pkg upgrade, saying that it couldn't find files in /usr/local/include/...
I reinstalled the os, and this time I installed the developer.img before running the upgrade, and the error messages did not appear.

acpi glitch (open)

I use an external monitor, so one of the first things I do is set hw.acpi.lid_switch_state: NONE. This prevented my laptop from sleeping when I close the lid, so I could use System->restart and leave the lid alone. But now when I select restart on the system menu I have to open the lid and hit the power button to complete the restart. I had previously seen this issue in GhostBSD, and it started in helloSystem after the pkg upgrade, so I see this as a FreeBSD issue.

GNUstep gui not working (open)

GNUstep was installed by the upgrade. For me, this is good, I install it anyway.
However, when I openapp SystemPreferences (or any other gui app) it crashes with the error

Uncaught exception NSGenericException, reason: Glyph generation with no font.

Freshports shows that GNUstep is not currently maintained, but it works without this error in GhostBSD. I'm working on a gap analysis to see what is different.

@darkoverlordofdata
Copy link
Author

For the GNUstep issue, I was referrred to a debug flag:

openapp SystemPreferences --GNU-Debug=NSFont >out1 2>&1

What I finally discovered was that NSFont requires a fuly wualifed font name. That means that

defaults write NSGlobalDomain NSFont Nimbus

does not work.

defaults write NSGlobalDomain NSFont "Nimbus Sans"

does not work.

But this does:

defaults write NSGlobalDomain NSFont NimbusSans-Regular

So NGUstep is now working!
That just leaves my ACPI issue.

@probonopd
Copy link
Member

sudo pkg install py39-dateutil
sudo pkg install py39-pytz

Is this because helloSystem ISO comes with Python 3.8 and now pkg prefers 3.9? Stuff like this drives me nuts on FreeBSD. Why can't it handle that stuff more gracefully... Ideas how we could improve this?

GNUstep was installed by the upgrade

Wonder why. How come that pkg decides to install GNUstep "out of the blue"?

@probonopd
Copy link
Member

hw.acpi.lid_switch_state: NONE

Please open a separate issue for each topic.
Thanks!

@probonopd probonopd changed the title Issues after pkg ugrade (qt5 5.15.2 => 5.15.5) Issues after pkg ugrade on helloSystem 0.7.0 [likely py38 -> py39 related?] Sep 10, 2022
@darkoverlordofdata
Copy link
Author

Well, success was short-lived... I tried to install another package yesterday, and got a message from pkg that I needed to upgrade again, so I entered yes. Big mistake - when it was done, the desktop was again not working.

this application requires at least version FBSD_1.7 of libc.so.7 to run
please update and try again
```'
But updating found nothing to update, and when I reboot, all I get is a white screen.

Should I still create these now, or wait and see if they appear in tne next release?

I went through the re-install process, but I got the same results. So 0.7.0 is now pretty much unusable.

Too bad - just a day of it working well at a full potential, has really convinced me that this is a fantastic desktop.

On Sat, Sep 10, 2022 at 2:51 AM probonopd <notifications@github.com> wrote:
hw.acpi.lid_switch_state: NONE

Please open a separate issue for each topic.
Thanks!

—
Reply to this email directly, [view it on GitHub](https://github.com/helloSystem/ISO/issues/399#issuecomment-1242687993), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAJUE4SMMAVJ65QFCCIAHBDV5RK2ZANCNFSM6AAAAAAQH24TWU).
You are receiving this because you authored the thread.


--

Bruce Davidson

@grahamperrin
Copy link
Contributor

grahamperrin commented Sep 13, 2022

Please share outputs from:

  • freebsd-version -kru ; uname -aKU
  • pkg -vv | grep -e url -e enabled -e priority
  • pkg prime-origins | sort

Big mistake - when it was done, the desktop was again not working.

helloSystem/Utilities#133 (comment) pictures an upgraded system with a working desktop.

@grahamperrin
Copy link
Contributor

How come that pkg decides to install GNUstep "out of the blue"?

Try asking questions as Q&A in discussions, https://github.com/helloSystem/hello/discussions/

@darkoverlordofdata
Copy link
Author

I was out of town for a few days, but I am able to repro my problem again today.

sudo pkg upgrade
Password:
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%    6 MiB   1.7MB/s    00:04    
Processing entries:   0%
Newer FreeBSD version for package zstd:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1301000
- running kernel: 1300139
Ignore the mismatch and continue? [y/N]: y

at this point, if I type N, I don't get anywhere, so I type Y.
after downloading 442 packages I get this prompt and again enter Y

Number of packages to be removed: 17
Number of packages to be installed: 174
Number of packages to be upgraded: 254
Number of packages to be reinstalled: 12

I now have gnustep installed!

Trying to start applications yields a popup:

This application requires at least version FBSD_1.7 of libc.so 7 to run. Please update and try again.

When I update, it says All repositories are up to date.

freebsd-version -kru ; uname -aKU
13.0-RELEASE
13.0-RELEASE
13.0-RELEASE
FreeBSD barsoomian 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64 1300139 1300139
pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    url             : "pkg+http://build.schmitz.computer/packages/FreeBSD:13:amd64-mozillapatched",
    enabled         : yes,
    priority        : 100,
pkg prime-origins | sort
accessibility/redshift
archivers/zip
audio/dsbmixer
audio/freedesktop-sound-theme
audio/gstreamer1-plugins-ogg
audio/gstreamer1-plugins-vorbis
comms/qt5-sensors
databases/py-sqlite3
deskutils/qlipper
devel/git
devel/gstreamer1-plugins-soup
devel/gvfs
devel/kf5-kconfig
devel/kf5-kcoreaddons
devel/kf5-kdbusaddons
devel/kf5-ki18n
devel/libappindicator
devel/libdbusmenu-qt
devel/py-dateutil
devel/py-pip
devel/py-pytz
devel/py-xdg
devel/py-xmltodict
devel/xdg-user-dirs
devel/xdg-utils
dns/nss_mdns
editors/featherpad
editors/nano
emulators/mtools
emulators/open-vm-tools
emulators/virtualbox-ose-additions
ftp/wget
graphics/drm-kmod
graphics/gpu-firmware-kmod
graphics/libexif
graphics/libqrencode
graphics/lximage-qt
graphics/mesa-dri
graphics/mesa-libs
graphics/qt5-graphicaleffects
graphics/qt5-wayland
helloSystem
lang/python3
local
local
local
local
local
misc/qt5-l10n
misc/usbids
misc/utouch-kmod
multimedia/gstreamer1-plugins-good
multimedia/libva-intel-driver
multimedia/mpv
multimedia/webcamd
net/avahi-app
net/bwi-firmware-kmod
net/bwn-firmware-kmod
net/openntpd
net/ssvnc
net/wpa_supplicant_gui
net/x11vnc
ports-mgmt/pkg
print/cups-pdf
print/hplip
print/qpdfview
print/system-config-printer
security/ca_root_nss
security/sudo
shells/zsh
sysutils/android-file-transfer-qt5
sysutils/archivemount
sysutils/asmctl
sysutils/b43-fwcutter
sysutils/cpdup
sysutils/dmidecode
sysutils/dsbdriverd
sysutils/dunst
sysutils/dvd+rw-tools
sysutils/eject
sysutils/exfat-utils
sysutils/fusefs-exfat
sysutils/fusefs-ext2
sysutils/fusefs-hfsfuse
sysutils/fusefs-ntfs
sysutils/fusefs-squashfuse
sysutils/fusefs-unionfs
sysutils/hw-probe
sysutils/lsblk
sysutils/pciutils
sysutils/pv
sysutils/py-psutil
sysutils/tmux
sysutils/usbutils
textproc/localize
www/falkon
www/py-beautifulsoup
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-libinput
x11-drivers/xf86-input-mouse
x11-drivers/xf86-input-vmmouse
x11-drivers/xf86-video-amdgpu
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-cirrus
x11-drivers/xf86-video-intel
x11-drivers/xf86-video-scfb
x11-drivers/xf86-video-vesa
x11-drivers/xf86-video-vmware
x11-fonts/font-awesome
x11-fonts/sourcecodepro-ttf
x11-fonts/wqy
x11-servers/xorg-server
x11-toolkits/qt5-quickcontrols2
x11-toolkits/qtermwidget
x11/arandr
x11/gtk-app-menu
x11/kf5-kglobalaccel
x11/libinput
x11/libsynaptics
x11/lxqt-globalkeys
x11/menu-cache
x11/metalock
x11/screenkey
x11/setxkbmap
x11/slim
x11/xauth
x11/xcb-util-cursor
x11/xdotool
x11/xinit
x11/xinput
x11/xkill
x11/xmodmap
x11/xrdb
x11/xsetroot
barsoomian% 

When I reboot, all I get is a white screen, it never works until I reinstall again.

@darkoverlordofdata
Copy link
Author

To compare I installed experimental-13.1 (hello-0.8.0_0H89-FreeBSD-13.1-amd64.iso) which just release 2 days ago. I ran upgrade, and there was no breakage. In addition it installed gnustep without being requested.

The only other difference is that build-notify is not installed.

sudo pkg update
Password:
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%    6 MiB   1.3MB/s    00:05    
Processing entries: 100%
FreeBSD repository update completed. 31575 packages processed.
All repositories are up to date.
barsoomian% sudo pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (4 candidates): 100%
Processing candidates (4 candidates): 100%
The following 7 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        flite: 2.1 [FreeBSD]
        gnustep-back: 0.28.0_1 [FreeBSD]
        gnustep-base: 1.27.0_6 [FreeBSD]
        gnustep-gui: 0.28.0_3 [FreeBSD]
        gnustep-make: 2.8.0 [FreeBSD]
        libobjc2: 2.1_3 [FreeBSD]

Installed packages to be UPGRADED:
        localize: 0 -> 0.0.1_11 [FreeBSD]

Number of packages to be installed: 6
Number of packages to be upgraded: 1

The process will require 94 MiB more space.
19 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/7] Fetching localize-0.0.1_11.pkg: 100%   33 KiB  34.1kB/s    00:01    
[2/7] Fetching gnustep-back-0.28.0_1.pkg: 100%  552 KiB 565.0kB/s    00:01    
[3/7] Fetching gnustep-make-2.8.0.pkg: 100%  174 KiB 178.1kB/s    00:01    
[4/7] Fetching flite-2.1.pkg: 100%   14 MiB   1.8MB/s    00:08    
[5/7] Fetching gnustep-gui-0.28.0_3.pkg: 100%    3 MiB   1.5MB/s    00:02    
[6/7] Fetching gnustep-base-1.27.0_6.pkg: 100%    2 MiB   1.1MB/s    00:02    
[7/7] Fetching libobjc2-2.1_3.pkg: 100%   78 KiB  80.2kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/7] Installing libobjc2-2.1_3...
[1/7] Extracting libobjc2-2.1_3: 100%
[2/7] Installing gnustep-make-2.8.0...
[2/7] Extracting gnustep-make-2.8.0: 100%
[3/7] Installing flite-2.1...
[3/7] Extracting flite-2.1: 100%
[4/7] Installing gnustep-base-1.27.0_6...
[4/7] Extracting gnustep-base-1.27.0_6: 100%
[5/7] Installing gnustep-gui-0.28.0_3...
[5/7] Extracting gnustep-gui-0.28.0_3: 100%
[6/7] Installing gnustep-back-0.28.0_1...
[6/7] Extracting gnustep-back-0.28.0_1: 100%
[7/7] Upgrading localize from 0 to 0.0.1_11...
[7/7] Extracting localize-0.0.1_11: 100%
=====
Message from libobjc2-2.1_3:

--
===>   NOTICE:

The libobjc2 port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from gnustep-make-2.8.0:

--
===>   NOTICE:

The gnustep-make port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from gnustep-base-1.27.0_6:

--
===>   NOTICE:

The gnustep-base port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from gnustep-gui-0.28.0_3:

--
===>   NOTICE:

The gnustep-gui port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from gnustep-back-0.28.0_1:

--
===>   NOTICE:

The gnustep-back port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from localize-0.0.1_11:

--
===>   NOTICE:

The localize port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
barsoomian% 

@grahamperrin
Copy link
Contributor

GNUstep was installed by the upgrade.

How come that pkg decides to install GNUstep "out of the blue"?

#404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants