GNU bug report logs - #63530
procps 4.0 upstream API change breaks packages

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Gabriel Wicki <gabriel@HIDDEN>; dated Mon, 15 May 2023 22:14:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'procps 4.0 upstream API change breaks packages' from 'Missing library in package procps' Request was from Gabriel Wicki <gabriel@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 63530 <at> debbugs.gnu.org:


Received: (at 63530) by debbugs.gnu.org; 16 May 2023 08:06:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 16 04:06:11 2023
Received: from localhost ([127.0.0.1]:45111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pyphD-0000rA-2j
	for submit <at> debbugs.gnu.org; Tue, 16 May 2023 04:06:11 -0400
Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:50529)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel@HIDDEN>) id 1pyph8-0000qY-OL
 for 63530 <at> debbugs.gnu.org; Tue, 16 May 2023 04:06:09 -0400
Received: from localhost (antispam.ee.ethz.ch [129.132.2.16])
 by chimborazo.ee.ethz.ch (Postfix) with ESMTP id 91D4A400ED
 for <63530 <at> debbugs.gnu.org>; Tue, 16 May 2023 10:05:59 +0200 (CEST)
X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch
Received: from chimborazo.ee.ethz.ch ([129.132.2.15])
 by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10026)
 with ESMTP id IU2qCUxDGoAn for <63530 <at> debbugs.gnu.org>;
 Tue, 16 May 2023 10:05:58 +0200 (CEST)
Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA
 for <63530 <at> debbugs.gnu.org>; Tue, 16 May 2023 10:05:58 +0200 (CEST)
From: Gabriel Wicki <gabriel@HIDDEN>
To: 63530 <at> debbugs.gnu.org
Subject: Re: bug#63530: Missing library in package procps
References: <87wn192qh8.fsf@HIDDEN> <87o7mlkyq8.fsf@HIDDEN>
Date: Tue, 16 May 2023 10:05:54 +0200
In-Reply-To: <87o7mlkyq8.fsf@HIDDEN> (Csepp's message of "Tue, 16 May 2023
 00:36:37 +0200")
Message-ID: <87mt243dlp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 63530
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

A little more hacking leads me to the conclusion that (probably with
version 4 but it's not exactly clear from the changelog) procps has made
some significant changes to it's API.  So, unless igt-gpu-tools (and
probably others) are fixed upstream they remain broken.  Fixes through
simple regex-magic in our build-phases might be possible, but I am not
confident enough in the matter to guarantee that the package would not
just build but be broken in a more specific manner.

Is there an easy way to check which dependents of procps are actually
broken currently?  Or is it really just igt-gpu-tools?

There's two ways to go (I'd be happy for some input and volunteer to do
the actual leg-work):
 1. Add an additional procps-3 package with the older API to fix the
 broken packages.
 2. Leave it as-is and wait for an upstream change of the currently
 broken packages.




Information forwarded to bug-guix@HIDDEN:
bug#63530; Package guix. Full text available.

Message received at 63530 <at> debbugs.gnu.org:


Received: (at 63530) by debbugs.gnu.org; 15 May 2023 22:38:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 15 18:38:01 2023
Received: from localhost ([127.0.0.1]:44692 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pygpM-0000xm-Ja
	for submit <at> debbugs.gnu.org; Mon, 15 May 2023 18:38:00 -0400
Received: from mx1.riseup.net ([198.252.153.129]:44492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1pygpH-0000xI-El
 for 63530 <at> debbugs.gnu.org; Mon, 15 May 2023 18:37:59 -0400
Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4QKvQP6zTkzDqP6;
 Mon, 15 May 2023 22:37:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1684190270; bh=L4Ot0X4LacL21hvHW7i47jtX9Jxxkw3FmrqBeatAhtE=;
 h=References:From:To:Cc:Subject:Date:In-reply-to:From;
 b=COdioPbIGHrPwZYz7mcjHIg4uKl/y3jrwY7RdQGRL4RAp+c63epgHjzZ66RNvKa9e
 q3ZnQU1JXT0Ebv5uMyZB3e3Tz2v4NCq1Xh36mzGeHhMLpSKQIPC/pCslIwQUaYVx36
 5u36ulwggzQdYGUy+srI7ewD3ULtdnu3HTxZ6xQg=
X-Riseup-User-ID: D19FFE7F0764034B60883FF3C2BE175C2FF8BAFBB17B4D8AAEDA2C05F0BAF8C7
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QKvQP22sQzFqhs;
 Mon, 15 May 2023 22:37:49 +0000 (UTC)
References: <87wn192qh8.fsf@HIDDEN>
From: Csepp <raingloom@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: Re: bug#63530: Missing library in package procps
Date: Tue, 16 May 2023 00:36:37 +0200
In-reply-to: <87wn192qh8.fsf@HIDDEN>
Message-ID: <87o7mlkyq8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 63530
Cc: bug-guix@HIDDEN, 63530 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Gabriel Wicki <gabriel@HIDDEN> writes:

> Hi
>
> Trying to upgrade a somewhat outdated system (from March 23) I noticed
> igt-gpu-tools failed to build.  Investigating a bit the build fails due
> to some "proc/readproc.h" include missing.  I think i managed to fix the
> failure in procps's Makefile, but testing the patched build results in a
> rather huge rebuild.  `guix refresh -l procps` results in 5328
> packages.  Are there any other approaches one could take to a) fix the
> broken package without b) triggering a world-rebuild?
>
> I'm not sure if this is an upstream bug and whether other packages are
> affected, neither do I know whether the other header files that aren't
> being copied to the install dir should be.
>
>
> Thanks for your input in advance!  I'll update this issue with a patch
> as soon as I manage to verify that my attempt actually works.
>
> gabber

You could test it as a graft, then dependents won't get rebuilt.  If the
public ABI exported by the package doesn't change, it Should Be Fine TM.




Information forwarded to bug-guix@HIDDEN:
bug#63530; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 May 2023 22:37:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 15 18:37:57 2023
Received: from localhost ([127.0.0.1]:44690 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pygpJ-0000xW-8A
	for submit <at> debbugs.gnu.org; Mon, 15 May 2023 18:37:57 -0400
Received: from lists.gnu.org ([209.51.188.17]:48738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1pygpG-0000xO-Jd
 for submit <at> debbugs.gnu.org; Mon, 15 May 2023 18:37:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1pygpG-0007q8-BR
 for bug-guix@HIDDEN; Mon, 15 May 2023 18:37:54 -0400
Received: from mx1.riseup.net ([198.252.153.129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1pygpE-0002iB-Ck
 for bug-guix@HIDDEN; Mon, 15 May 2023 18:37:54 -0400
Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by mx1.riseup.net (Postfix) with ESMTPS id 4QKvQP6zTkzDqP6;
 Mon, 15 May 2023 22:37:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1684190270; bh=L4Ot0X4LacL21hvHW7i47jtX9Jxxkw3FmrqBeatAhtE=;
 h=References:From:To:Cc:Subject:Date:In-reply-to:From;
 b=COdioPbIGHrPwZYz7mcjHIg4uKl/y3jrwY7RdQGRL4RAp+c63epgHjzZ66RNvKa9e
 q3ZnQU1JXT0Ebv5uMyZB3e3Tz2v4NCq1Xh36mzGeHhMLpSKQIPC/pCslIwQUaYVx36
 5u36ulwggzQdYGUy+srI7ewD3ULtdnu3HTxZ6xQg=
X-Riseup-User-ID: D19FFE7F0764034B60883FF3C2BE175C2FF8BAFBB17B4D8AAEDA2C05F0BAF8C7
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QKvQP22sQzFqhs;
 Mon, 15 May 2023 22:37:49 +0000 (UTC)
References: <87wn192qh8.fsf@HIDDEN>
From: Csepp <raingloom@HIDDEN>
To: Gabriel Wicki <gabriel@HIDDEN>
Subject: Re: bug#63530: Missing library in package procps
Date: Tue, 16 May 2023 00:36:37 +0200
In-reply-to: <87wn192qh8.fsf@HIDDEN>
Message-ID: <87o7mlkyq8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=198.252.153.129;
 envelope-from=raingloom@HIDDEN; helo=mx1.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 63530 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


Gabriel Wicki <gabriel@HIDDEN> writes:

> Hi
>
> Trying to upgrade a somewhat outdated system (from March 23) I noticed
> igt-gpu-tools failed to build.  Investigating a bit the build fails due
> to some "proc/readproc.h" include missing.  I think i managed to fix the
> failure in procps's Makefile, but testing the patched build results in a
> rather huge rebuild.  `guix refresh -l procps` results in 5328
> packages.  Are there any other approaches one could take to a) fix the
> broken package without b) triggering a world-rebuild?
>
> I'm not sure if this is an upstream bug and whether other packages are
> affected, neither do I know whether the other header files that aren't
> being copied to the install dir should be.
>
>
> Thanks for your input in advance!  I'll update this issue with a patch
> as soon as I manage to verify that my attempt actually works.
>
> gabber

You could test it as a graft, then dependents won't get rebuilt.  If the
public ABI exported by the package doesn't change, it Should Be Fine TM.




Information forwarded to bug-guix@HIDDEN:
bug#63530; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 May 2023 22:13:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 15 18:13:34 2023
Received: from localhost ([127.0.0.1]:44668 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pygRi-0000Jx-8a
	for submit <at> debbugs.gnu.org; Mon, 15 May 2023 18:13:34 -0400
Received: from lists.gnu.org ([209.51.188.17]:56316)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel@HIDDEN>) id 1pygRf-0000Jo-Ol
 for submit <at> debbugs.gnu.org; Mon, 15 May 2023 18:13:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gabriel@HIDDEN>)
 id 1pygRf-0000zp-GT
 for bug-guix@HIDDEN; Mon, 15 May 2023 18:13:31 -0400
Received: from chimborazo.ee.ethz.ch ([129.132.2.15])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gabriel@HIDDEN>)
 id 1pygRd-000691-Fz
 for bug-guix@HIDDEN; Mon, 15 May 2023 18:13:31 -0400
Received: from localhost (antispam.ee.ethz.ch [129.132.2.16])
 by chimborazo.ee.ethz.ch (Postfix) with ESMTP id D3C5D400ED
 for <bug-guix@HIDDEN>; Tue, 16 May 2023 00:13:11 +0200 (CEST)
X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch
Received: from chimborazo.ee.ethz.ch ([129.132.2.15])
 by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10026)
 with ESMTP id HJ5IxTAFPbjP for <bug-guix@HIDDEN>;
 Tue, 16 May 2023 00:13:10 +0200 (CEST)
Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (Client did not present a certificate)
 (Authenticated sender: gabriel)
 by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA
 for <bug-guix@HIDDEN>; Tue, 16 May 2023 00:13:10 +0200 (CEST)
From: Gabriel Wicki <gabriel@HIDDEN>
To: bug-guix@HIDDEN
Subject: Missing library in package procps
Date: Tue, 16 May 2023 00:13:07 +0200
Message-ID: <87wn192qh8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@HIDDEN;
 helo=chimborazo.ee.ethz.ch
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi

Trying to upgrade a somewhat outdated system (from March 23) I noticed
igt-gpu-tools failed to build.  Investigating a bit the build fails due
to some "proc/readproc.h" include missing.  I think i managed to fix the
failure in procps's Makefile, but testing the patched build results in a
rather huge rebuild.  `guix refresh -l procps` results in 5328
packages.  Are there any other approaches one could take to a) fix the
broken package without b) triggering a world-rebuild?

I'm not sure if this is an upstream bug and whether other packages are
affected, neither do I know whether the other header files that aren't
being copied to the install dir should be.


Thanks for your input in advance!  I'll update this issue with a patch
as soon as I manage to verify that my attempt actually works.

gabber




Acknowledgement sent to Gabriel Wicki <gabriel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#63530; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 16 May 2023 08:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.