GNU bug report logs - #78244
Exit code 4 whilst installing util-linux-selinux on arch

Previous Next

Package: coreutils;

Reported by: Jdj asd <jdjasd4 <at> gmail.com>

Date: Sun, 4 May 2025 17:15:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

To reply to this bug, email your comments to 78244 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#78244; Package coreutils. (Sun, 04 May 2025 17:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jdj asd <jdjasd4 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 04 May 2025 17:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jdj asd <jdjasd4 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Exit code 4 whilst installing util-linux-selinux on arch
Date: Sun, 4 May 2025 11:49:24 +0200
[Message part 1 (text/plain, inline)]
Hello!
I was trying to install util-linux-selinux which would've replaced a core
package when I got exit code 4. I tried running it as root and with git
clone but I was always getting this error and this email to report the
issue to. Thanks for the help in advance!
-Matthew
[Message part 2 (text/html, inline)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#78244; Package coreutils. (Sun, 04 May 2025 18:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 78244 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jdj asd <jdjasd4 <at> gmail.com>, 78244 <at> debbugs.gnu.org
Subject: Re: bug#78244: Exit code 4 whilst installing util-linux-selinux on
 arch
Date: Sun, 4 May 2025 18:59:26 +0100
On 04/05/2025 10:49, Jdj asd wrote:
> Hello!
> I was trying to install util-linux-selinux which would've replaced a core
> package when I got exit code 4. I tried running it as root and with git
> clone but I was always getting this error and this email to report the
> issue to. Thanks for the help in advance!
> -Matthew

So in your environment isatty(STDIN_FILENO) returns ok,
but ttyname(STDIN_FILENO) returns NULL.
Can you give more details on your build environment?
How does util-linux-selinux relate to coreutils BTW?

cheers,
Pádraig





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Fri, 20 Jun 2025 19:17:01 GMT) Full text and rfc822 format available.

Notification sent to Jdj asd <jdjasd4 <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Jun 2025 19:17:02 GMT) Full text and rfc822 format available.

Message #13 received at 78244-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jdj asd <jdjasd4 <at> gmail.com>
Cc: 78244-done <at> debbugs.gnu.org
Subject: Re: bug#78244: Exit code 4 whilst installing util-linux-selinux on
 arch
Date: Fri, 20 Jun 2025 12:16:03 -0700
[Message part 1 (text/plain, inline)]
On 2025-05-04 02:49, Jdj asd wrote:
> I was trying to install util-linux-selinux which would've replaced a core
> package when I got exit code 4. I tried running it as root and with git
> clone but I was always getting this error and this email to report the
> issue to.

I installed the attached patch which should fix the test failure. Thanks 
for reporting it.
[0001-tty-better-fix-for-Bug-26371.patch (text/x-patch, attachment)]

This bug report was last modified 1 day ago.

Previous Next


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