NetBSD Problem Report #58783

From www@netbsd.org  Mon Oct 28 22:40:13 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AAB7C1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Oct 2024 22:40:13 +0000 (UTC)
Message-Id: <20241028224012.8F7FB1A923B@mollari.NetBSD.org>
Date: Mon, 28 Oct 2024 22:40:12 +0000 (UTC)
From: bsduck@mailo.com
Reply-To: bsduck@mailo.com
To: gnats-bugs@NetBSD.org
Subject: LibreOffice package from pkgsrc 2024Q3 not installable: problem with gcc12-libs
X-Send-Pr-Version: www-1.0

>Number:         58783
>Category:       pkg
>Synopsis:       LibreOffice package from pkgsrc 2024Q3 not installable: problem with gcc12-libs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 28 22:45:00 +0000 2024
>Last-Modified:  Wed Oct 30 10:30:01 +0000 2024
>Originator:     bsduck
>Release:        pkgsrc 2024Q3
>Organization:
>Environment:
NetBSD 10.0 (GENERIC) amd64
>Description:
It is currently not possible to install LibreOffice from the default package repository on NetBSD 10.0 amd64.

Here's the error log:

---Oct 28 23:27:27: [1/2] installing gcc12-libs-12.4.0nb1...
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libgcc_s.so.1
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libquadmath.so.0
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libstdc++.so.7
pkg_add: 1 package addition failed
---Oct 28 23:27:28: [2/2] installing libreoffice-24.8.0.3...
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libgcc_s.so.1
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libquadmath.so.0
pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libstdc++.so.7
pkg_add: Can't install dependency gcc12-libs>=12.1.0
pkg_add: Expected dependency gcc12-libs>=12.1.0 still missing
pkg_add: 1 package addition failed
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Thomas Klausner <wiz@gatalith.at>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/58783: LibreOffice package from pkgsrc 2024Q3 not
 installable: problem with gcc12-libs
Date: Tue, 29 Oct 2024 21:26:42 +0100

 On Mon, Oct 28, 2024 at 10:45:00PM +0000, bsduck@mailo.com wrote:
 > It is currently not possible to install LibreOffice from the default package repository on NetBSD 10.0 amd64.
 > 
 > Here's the error log:
 > 
 > ---Oct 28 23:27:27: [1/2] installing gcc12-libs-12.4.0nb1...
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libgcc_s.so.1
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libquadmath.so.0
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libstdc++.so.7
 > pkg_add: 1 package addition failed
 > ---Oct 28 23:27:28: [2/2] installing libreoffice-24.8.0.3...
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libgcc_s.so.1
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libquadmath.so.0
 > pkg_add: Missing required library: /usr/pkg/gcc12//lib/./libstdc++.so.7
 > pkg_add: Can't install dependency gcc12-libs>=12.1.0
 > pkg_add: Expected dependency gcc12-libs>=12.1.0 still missing
 > pkg_add: 1 package addition failed

 This is a known problem, see the thread here:
 https://mail-index.netbsd.org/tech-pkg/2024/08/30/msg029859.html
 We're still looking for someone to fix it.

 Workaround: install the gcc12 package before trying to
 install the gcc12-libs package.
  Thomas

From: bsduck@mailo.com
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/58783: LibreOffice package from pkgsrc 2024Q3 not
 installable: problem with gcc12-libs
Date: Wed, 30 Oct 2024 00:03:45 +0100

 Thanks for the workaround, that works, indeed. The gcc12 package was already installed; I deinstalled and reinstalled it, after which I could install gcc12-libs successfully.


From: Jonathan Perkin <jperkin@mnx.io>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	bsduck@mailo.com
Subject: Re: pkg/58783: LibreOffice package from pkgsrc 2024Q3 not
 installable: problem with gcc12-libs
Date: Wed, 30 Oct 2024 10:29:17 +0000

 * On 2024-10-29 at 20:30 GMT, Thomas Klausner via gnats wrote:

 > This is a known problem, see the thread here:
 > https://mail-index.netbsd.org/tech-pkg/2024/08/30/msg029859.html
 > We're still looking for someone to fix it.

 I think fixing the patches that I pointed out here:

    https://mail-index.netbsd.org/tech-pkg/2024/10/30/msg030033.html

 should solve this.

 -- 
 Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
 Open Source Complete Cloud   www.tritondatacenter.com

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.