From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cBGfOeVaP2HkOwAAgWs5BA (envelope-from ) for ; Mon, 13 Sep 2021 16:06:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8BsZNeVaP2FiCgAAbx9fmQ (envelope-from ) for ; Mon, 13 Sep 2021 14:06:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5DE121A904 for ; Mon, 13 Sep 2021 16:06:29 +0200 (CEST) Received: from localhost ([::1]:47846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPmbM-0000p7-HE for larch@yhetil.org; Mon, 13 Sep 2021 10:06:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPlle-0007Q9-BC for bug-guix@gnu.org; Mon, 13 Sep 2021 09:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPlle-0007LI-3V for bug-guix@gnu.org; Mon, 13 Sep 2021 09:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPlld-00042P-VF for bug-guix@gnu.org; Mon, 13 Sep 2021 09:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Sep 2021 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50567@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163153876615491 (code B ref -1); Mon, 13 Sep 2021 13:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2021 13:12:46 +0000 Received: from localhost ([127.0.0.1]:44674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllO-00041n-CG for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:36604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllM-00041f-HA for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllM-0006Vi-AQ for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllJ-0006yU-SI for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 10E60240104 for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631538758; bh=an0KEJQuUxVL29QdfWRFCjslefY4OSKyCNXistcpUGc=; h=From:To:Subject:Date:From; b=iKMGW1EdX7FlIsyql+1CXUermzFEJgGMnQe9ylrOuhURAinvH97Ii305NNw6Cfvr+ HwDxVeZvWJbkJyj6u96wqDfQSmQ5//9lUJ46dVvIJ7pa6V4+CyDvF3k5rqtpEUdWwr X0OwSDMV0uZL+Xgf/YkDWkwsAjEASLLmj4b4244gws0slAfaNq3Wccj0lbT2WCY7oP ZlmZa1klktFPqsiTOS2X0EV+J+rfxfZGJ0vCvAALDdPYbW6csJ2pvv08gDZu5dk2CS S3Qb+ZcNlNdQX4EfYSSOjf9g2DnHWIfb9BDFwrrSTC/lIrfc34cfXm+yO6ICI98fxz tUSLx4QovjM4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H7RjK2ZMtz9rxD for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) From: Guillaume Le Vaillant Date: Mon, 13 Sep 2021 13:01:55 +0000 Message-ID: <875yv44o1o.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631541989; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=lN95bOCrCrh3rJCbaobq9lWTIxu517JjPiNqBBcAIMs=; b=R136HIudpGAGxRuC9o5W52uxRTzuhH9F9wtY+hUJNZeQcFFgxQ1TvDpk1XsQucweLJRlZ9 anXuEVv5DhEZbfetwTjVaYr4Hp9y1hWF4HXRyDp9rEGp1wRoVNeMw00xyivRAzQqx4STae buIXJk0wmI7ZO8WCsriusLpLtX4oFyQeLnYsgqbiuv19NhsyIGkwxn1J04Pwq2OIaZszpe QvZuJxSeMy9KxkVGWoyvtraww345+yORU1rb74qiUBqXWs4Oskdqd5t4OhMiNVsFMYyunw ZsQTaTBAtappjnLWrO8ivQj46MsXM3EYvwxFeub4qGyjCgvBx9SCz6DFAG67XQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631541989; a=rsa-sha256; cv=none; b=UQBEweOFPADUiMMMHUS1NbS4Zg0xOITANE3csBsRl7RLtMvJhUFWcz1oKccVbGFUiB1w8t gq5mRHdeJjFwqxBi6upIHMHvueDKsX+ijWczL44Cmg+BfHajhoC6yl77LoeU0C3t8G/fgh pBhcCOFvAL6ta1tRXnD18NVRnxL2pG0qkRJ4g+vsYu1D5yvfRTZOAXFEJdJ0JaovlLpDIF BA38qyAXvVufi+8As27jlz7oMX6sphPBut20ut14hxMFK4iu0UL8oFUcE8+mtjA65AsqdP EyBE/STFN9ABw8ES3HC+nufZYckPAuuXiYgGkZc3BWHM5guPfNJvv2DWvE/2PQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=iKMGW1Ed; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=iKMGW1Ed; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5DE121A904 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: y26aZHGEoCOi --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I'm trying to get icedtea-6 to build on the core-updates-frozen branch. I fixed a few C/C++ related issues, but then I get this error: --8<---------------cut here---------------start------------->8--- Preload failed: checksum of class list was incorrect. make: *** [Makefile:2746: stamps/add-archive-ecj.stamp] Error 1 --8<---------------cut here---------------end--------------->8--- Does someone know how to solve that? Here's the patch I'm using to get to this point: --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-WIP-gnu-icedtea-6-Fix-build.patch Content-Transfer-Encoding: quoted-printable From=206767793eccffea3bfddca5c4a0c0cff21abb965b Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 13 Sep 2021 14:37:40 +0200 Subject: [PATCH] WIP: gnu: icedtea-6: Fix build. * gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase. =2D-- gnu/packages/java.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 51fc5c60a1..374a9d9cba 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2021 Vincent Legoll ;;; Copyright =C2=A9 2021 Mike Gerwitz ;;; Copyright =C2=A9 2021 Pierre Langlois +;;; Copyright =C2=A9 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -907,6 +908,19 @@ machine."))) "patches/hotspot/hs23/drop_unlicensed_test.pat= ch") (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)) + (add-after 'unpack 'fix-openjdk + (lambda _ + (substitute* "openjdk/jdk/make/common/Defs-linux.gmk" + (("CFLAGS_COMMON =3D -fno-strict-aliasing" all) + (string-append all " -fcommon"))) + (substitute* "openjdk/hotspot/src/share/vm/code/relocInfo.hpp" + (("inline friend relocInfo prefix_relocInfo\\(int datalen = =3D 0\\);") + "inline friend relocInfo prefix_relocInfo(int datalen);")) + (substitute* + '("openjdk/jdk/src/solaris/native/java/net/PlainSocketImp= l.c" + "openjdk/jdk/src/solaris/native/java/net/PlainDatagramS= ocketImpl.c") + (("#include ") + "#include ")))) (add-after 'unpack 'patch-paths (lambda* (#:key inputs #:allow-other-keys) ;; buildtree.make generates shell scripts, so we need to repl= ace =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYT9OQw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+RKgD+Kkaqbscix9kOL6bYAQRR59EGM0pk+lRwFocX fnpkzQ8A/32WecIGImGvhCJlrnKKuvGT0WGPgkqeckEkyOfIFpI6 =NbF3 -----END PGP SIGNATURE----- --==-=-=--