Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920904 - sys-apps/util-linux-2.39.2-r1 fails to build tests on hppa: audit-arch.h:61:6: error: #error Unknown target architecture
Summary: sys-apps/util-linux-2.39.2-r1 fails to build tests on hppa: audit-arch.h:61:6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://github.com/util-linux/util-li...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 914791
  Show dependency tree
 
Reported: 2023-12-28 20:57 UTC by matoro
Modified: 2023-12-29 01:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,32.73 KB, application/gzip)
2023-12-28 21:00 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-28 20:57:59 UTC
Needs https://github.com/util-linux/util-linux/commit/1d4456dd81a64a73685df9e5f1232d566818e453

In file included from /var/tmp/portage/sys-apps/util-linux-2.39.2-r1/work/util-linux-2.39.2/tests/helpers/test_enosys.c:30:
/var/tmp/portage/sys-apps/util-linux-2.39.2-r1/work/util-linux-2.39.2/include/audit-arch.h:61:6: error: #error Unknown target architecture
   61 | #    error Unknown target architecture
      |      ^~~~~
make[3]: *** [Makefile:10078: tests/helpers/test_enosys.o] Error 1

Reproducible: Always
Comment 1 matoro archtester 2023-12-28 21:00:26 UTC
Created attachment 880872 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-28 23:44:36 UTC
Are you adding it or should I?
Comment 3 matoro archtester 2023-12-28 23:46:07 UTC
(In reply to Sam James from comment #2)
> Are you adding it or should I?

I can PR this, assuming no revbump since it affects tests only
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-29 00:04:06 UTC
(In reply to matoro from comment #3)
> (In reply to Sam James from comment #2)
> > Are you adding it or should I?
> 
> I can PR this, assuming no revbump since it affects tests only

yep, thanks!
Comment 5 Larry the Git Cow gentoo-dev 2023-12-29 01:03:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e215dd7507b012a4111610f2157b744dc1e385

commit 29e215dd7507b012a4111610f2157b744dc1e385
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-29 00:40:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-29 01:02:02 +0000

    sys-apps/util-linux: backport patch to build tests on hppa
    
    See: https://github.com/util-linux/util-linux/commit/1d4456dd81a64a73685df9e5f1232d566818e453
    Closes: https://bugs.gentoo.org/920904
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34526
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/util-linux-2.39.2-backport-1d4456d.patch | 33 ++++++++++++++++++++++
 sys-apps/util-linux/util-linux-2.39.2-r1.ebuild    |  1 +
 sys-apps/util-linux/util-linux-2.39.3-r1.ebuild    |  1 +
 3 files changed, 35 insertions(+)