From nobody Thu Sep 19 01:20:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1720192877; cv=none; d=zohomail.com; s=zohoarc; b=djsVeYveIG3bxTcIxVRX5VvVZamnWY/DuDJPeDhBh0T3Q+L71ggyvOlE5guWqBB3m1fELFKDmLneeC54plysoh4UcqesPiY5fxOgx82yAaxEre0nfyoz2ad1ngux5dHlkR19gIHkdQEEXf8M8oBCgK+ZF7ZYdNM6awao3Q7B1Ho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720192877; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=hDrEkFynCgXmYP6100i30F3LjhYaE8VtO5iNBg/lqOUUapIwLbG0KIn36Q7/VKa9ePu7Hh1GZxxrScMN8g0NAkAnKGocnsy5GSK24I6DQtSNZ5MuCWEocdmk8Np/6+WBcG9FR50gIoIXj/0AhS0JJmRJyK2dbbfs3oEBWATY9F8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1720192877452870.7282881672153; Fri, 5 Jul 2024 08:21:17 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.754382.1162829 (Exim 4.92) (envelope-from ) id 1sPkkA-0001FN-CK; Fri, 05 Jul 2024 15:21:02 +0000 Received: by outflank-mailman (output) from mailman id 754382.1162829; Fri, 05 Jul 2024 15:21:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkkA-0001F5-8X; Fri, 05 Jul 2024 15:21:02 +0000 Received: by outflank-mailman (input) for mailman id 754382; Fri, 05 Jul 2024 15:21:00 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sPkk8-0000wu-8m for xen-devel@lists.xenproject.org; Fri, 05 Jul 2024 15:21:00 +0000 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [2a00:1450:4864:20::62f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2e964345-3ae2-11ef-bbfb-fd08da9f4363; Fri, 05 Jul 2024 17:20:59 +0200 (CEST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a77dc08db60so42852966b.1 for ; Fri, 05 Jul 2024 08:20:59 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77c8ad6c6esm78100366b.49.2024.07.05.08.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 08:20:55 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2e964345-3ae2-11ef-bbfb-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1720192857; x=1720797657; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=m1ZryXSD+ZNR0kckVErXDkNOX2+b9CRlopOUV6pLqG3VtuiQlaRdfe2NLQp95nfD1S WMs/c+yiFgzyirJNJgHX43dbdgAsyx1Nj5K4VYE2pTYjbj0GVzTkR3AzhFDrQcdgQwQ2 afaPHN82n1+jjAD48lpsxOp/lenjsC0UdKm/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720192857; x=1720797657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zYsj2Y7Nqyn4D2wCHalE/98+37692yqAWg1oGpLx1Eg=; b=OkswTzTQHYpPXf8Z1ZXCSn8qLA5BYSzoVYAlRiD27LenpEOlIu+t4xnvzoPoK1sEnB v7Y75lvEVVz7XMiU84BkkWvarbsoBc6JwpzLduNQUnu8Vz/2V2RRrB8IpgQMhIwGPnLw rlcmST7QY6DHBGR2xPSGF8FMOEeB3szZvQnLX8D2Jdpi61p2R5ttgkskLDJnNToj88vp 6+TZPexKHYGmpNoMfqt5LfwbmWeV5lUF+xk+8LEkXXvV8gAiDevy0v3WHlktuV4E0BT1 7GoCdroJBnM1sLscvtv2nhS/OZizOBJ+k5X6Jp1BLOPfz2pcM8qO9tbeIEw3cL7ct23A mfBA== X-Gm-Message-State: AOJu0Yxd9SLbnqfBAFCD3sPF/fRzJ85/UFq+G2efus7+Vz9Veid7bo6C +XKJl9KHUko+IhWIEnUAxDDdx05fdVksq7j7+IHf4VMBE0mqGlKtb5VNkeFVkrivfbPDtNLVxUK H X-Google-Smtp-Source: AGHT+IFRbOGurfv59zC9qn5TLJtpqb9RPgCgMax2itDGmMfsMfHQAwkabLK81IJttLIcrCvcd+h4gQ== X-Received: by 2002:a17:906:b352:b0:a72:6e13:a4b6 with SMTP id a640c23a62f3a-a77ba70d6d7mr348126466b.58.1720192857367; Fri, 05 Jul 2024 08:20:57 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Juergen Gross , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Jan Beulich , Stefano Stabellini , Julien Grall , Oleksii Kurochko Subject: [PATCH for-4.19 5/6] build: Drop libiconv as a build dependecy Date: Fri, 5 Jul 2024 16:20:36 +0100 Message-Id: <20240705152037.1920276-6-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705152037.1920276-1-andrew.cooper3@citrix.com> References: <20240705152037.1920276-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1720192878122100001 The final user was blktap2, removed in Xen 4.13. Strip out the ./configure check for it, and stop explicitly installing it in the FreeBSD testing. Fixes: 2a556b63a22d ("Drop blktap2") Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monn=C3=A9 --- CC: Anthony PERARD CC: Juergen Gross CC: Roger Pau Monn=C3=A9 CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall CC: Oleksii Kurochko --- .cirrus.yml | 2 +- config/Tools.mk.in | 1 - tools/configure | 44 -------------------------------------------- tools/configure.ac | 2 -- 4 files changed, 1 insertion(+), 48 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c431d8d2447d..72227916c736 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,7 @@ freebsd_template: &FREEBSD_TEMPLATE APPEND_INCLUDES: /usr/local/include =20 install_script: pkg install -y seabios gmake ninja bash - pkgconf python libiconv bison perl5 + pkgconf python bison perl5 yajl lzo2 pixman argp-standalone libxml2 glib git =20 diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 50fbef841f3f..37c071961e57 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -61,7 +61,6 @@ LINUX_BACKEND_MODULES :=3D @LINUX_BACKEND_MODULES@ #System options ZLIB_CFLAGS :=3D @ZLIB_CFLAGS@ ZLIB_LIBS :=3D @ZLIB_LIBS@ -CONFIG_LIBICONV :=3D @libiconv@ EXTFS_LIBS :=3D @EXTFS_LIBS@ CURSES_LIBS :=3D @CURSES_LIBS@ TINFO_LIBS :=3D @TINFO_LIBS@ diff --git a/tools/configure b/tools/configure index d160ca296202..d64818f258d0 100755 --- a/tools/configure +++ b/tools/configure @@ -659,7 +659,6 @@ libnl LIBNL3_LIBS LIBNL3_CFLAGS argp_ldflags -libiconv PTHREAD_LIBS PTHREAD_LDFLAGS PTHREAD_CFLAGS @@ -9741,49 +9740,6 @@ else $as_nop as_fn_error $? "Could not find zlib" "$LINENO" 5 fi =20 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv_open i= n -liconv" >&5 -printf %s "checking for libiconv_open in -liconv... " >&6; } -if test ${ac_cv_lib_iconv_libiconv_open+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=3D$LIBS -LIBS=3D"-liconv $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char libiconv_open (); -int -main (void) -{ -return libiconv_open (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - ac_cv_lib_iconv_libiconv_open=3Dyes -else $as_nop - ac_cv_lib_iconv_libiconv_open=3Dno -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -LIBS=3D$ac_check_lib_save_LIBS -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_lib= iconv_open" >&5 -printf "%s\n" "$ac_cv_lib_iconv_libiconv_open" >&6; } -if test "x$ac_cv_lib_iconv_libiconv_open" =3D xyes -then : - libiconv=3D"y" -else $as_nop - libiconv=3D"n" -fi - - ac_fn_c_check_header_compile "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac= _includes_default" if test "x$ac_cv_header_argp_h" =3D xyes then : diff --git a/tools/configure.ac b/tools/configure.ac index be58f06be450..0dd6d747abb5 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -444,8 +444,6 @@ AX_CHECK_PTHREAD AC_CHECK_LIB([yajl], [yajl_alloc], [], [AC_MSG_ERROR([Could not find yajl])]) AC_CHECK_LIB([z], [deflateCopy], [], [AC_MSG_ERROR([Could not find zlib])]) -AC_CHECK_LIB([iconv], [libiconv_open], [libiconv=3D"y"], [libiconv=3D"n"]) -AC_SUBST(libiconv) AC_CHECK_HEADER([argp.h], [ AC_CHECK_LIB([argp], [argp_usage], [argp_ldflags=3D"-largp"]) ], [AC_MSG_ERROR([Could not find argp])]) --=20 2.39.2