NetBSD Problem Report #58591
From www@netbsd.org Tue Aug 13 17:36:32 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) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 121621A9242
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Aug 2024 17:36:32 +0000 (UTC)
Message-Id: <20240813173630.A68DA1A9243@mollari.NetBSD.org>
Date: Tue, 13 Aug 2024 17:36:30 +0000 (UTC)
From: vchaves@ymail.com
Reply-To: vchaves@ymail.com
To: gnats-bugs@NetBSD.org
Subject: AIX pkgsrc build fail with worng object format ELF
X-Send-Pr-Version: www-1.0
>Number: 58591
>Category: pkg
>Synopsis: AIX pkgsrc build fail with worng object format ELF
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: riastradh
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 13 17:40:00 +0000 2024
>Closed-Date: Wed Sep 25 14:44:13 +0000 2024
>Last-Modified: Wed Sep 25 14:44:13 +0000 2024
>Originator: Vicente Chaves de Melo
>Release: pkgsrc-2024Q2
>Organization:
>Environment:
AIX plsasmbtest 2 7 00F9EC384C00
>Description:
AIX build with follo error:
ERROR: [depends.mk] Installed package digest-20220214 has an
ERROR: object format ``XCOFF'' which differs from ``ELF''. Please
ERROR: update the digest-20220214 package to ELF.
*** Error code 1
>How-To-Repeat:
Install pkgsrc 2024Q2 on AIX 7.2 + GCC10 from IBM AIXTOOLBOX and try bootstrap
export CC=/opt/freeware/bin/gcc
export LIBS=-lpthread
./bootstrap --prefix=/opt/pkg --pkgdbdir=/var/opt/pkg
>Fix:
cvs diff
Index: AIX.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/platform/AIX.mk,v
retrieving revision 1.43
diff -u -r1.43 AIX.mk
--- AIX.mk 1 Nov 2017 15:29:09 -0000 1.43
+++ AIX.mk 13 Aug 2024 17:24:58 -0000
@@ -15,6 +15,8 @@
.endif
SU?= /usr/bin/su
TYPE?= type # Shell builtin
+OBJECT_FMT= XCOFF
+NATIVE_OBJECT_FMT= XCOFF
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 0022
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Tue, 13 Aug 2024 19:34:11 +0000
State-Changed-Why:
I believe this has been fixed in HEAD: https://gnats.netbsd.org/58315
Can you please try from pkgsrc-current? If so, we can pull this up to
pkgsrc-2024Q2 too.
From: Vicente Chaves de Melo <vchaves@ymail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/58591 (AIX pkgsrc build fail with worng object format ELF)
Date: Wed, 14 Aug 2024 13:55:15 -0300
I just confirm that was fixed in HEAD.
On 13-Aug-24 4:34 PM, riastradh@NetBSD.org wrote:
> Synopsis: AIX pkgsrc build fail with worng object format ELF
>
> State-Changed-From-To: open->feedback
> State-Changed-By: riastradh@NetBSD.org
> State-Changed-When: Tue, 13 Aug 2024 19:34:11 +0000
> State-Changed-Why:
> I believe this has been fixed in HEAD: https://gnats.netbsd.org/58315
> Can you please try from pkgsrc-current? If so, we can pull this up to
> pkgsrc-2024Q2 too.
>
>
>
Responsible-Changed-From-To: pkg-manager->riastradher
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 15 Aug 2024 12:38:22 +0000
Responsible-Changed-Why:
.
State-Changed-From-To: feedback->needs-pullups
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Thu, 15 Aug 2024 12:38:22 +0000
State-Changed-Why:
Confirmed fixed in HEAD, needs a pull-up to 2024Q2
Responsible-Changed-From-To: riastradher->riastradh
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 15 Aug 2024 12:38:52 +0000
Responsible-Changed-Why:
typo
State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 24 Aug 2024 20:17:09 +0000
State-Changed-Why:
pullup-pokgsrc #6891 https://releng.netbsd.org/cgi-bin/req-pkgsrc.cgi?show=6891
State-Changed-From-To: pending-pullups->closed
State-Changed-By: rin@NetBSD.org
State-Changed-When: Wed, 25 Sep 2024 14:44:13 +0000
State-Changed-Why:
[pullup-pkgsrc #6891] has been rejected.
Anyway, we will have this fix in pkgsrc-2024Q3.
>Unformatted:
(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.