{"id":2225887,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2225887/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260421183845.2456995-2-bernd@kuhls.net/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260421183845.2456995-2-bernd@kuhls.net>","list_archive_url":null,"date":"2026-04-21T18:38:44","name":"[2/3] package/neon: fix build with zlib","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"2be4a7329491973092d7327bacf2f86f21d297cf","submitter":{"id":86624,"url":"http://patchwork.ozlabs.org/api/1.2/people/86624/?format=json","name":"Bernd Kuhls","email":"bernd@kuhls.net"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260421183845.2456995-2-bernd@kuhls.net/mbox/","series":[{"id":500868,"url":"http://patchwork.ozlabs.org/api/1.2/series/500868/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=500868","date":"2026-04-21T18:38:44","name":"[1/3] package/davfs2: bump version to 1.7.3","version":1,"mbox":"http://patchwork.ozlabs.org/series/500868/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2225887/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2225887/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=UKyay+jm;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0WN25YVnz1yGs\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 22 Apr 2026 04:38:57 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 61816607AC;\n\tTue, 21 Apr 2026 18:38:54 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id LaPLpP5QBLRW; Tue, 21 Apr 2026 18:38:53 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 6090E607E0;\n\tTue, 21 Apr 2026 18:38:53 +0000 (UTC)","from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists1.osuosl.org (Postfix) with ESMTP id 35E4C257\n for <buildroot@buildroot.org>; Tue, 21 Apr 2026 18:38:51 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 1AB1C607E0\n for <buildroot@buildroot.org>; Tue, 21 Apr 2026 18:38:51 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id VUimzYQMUDje for <buildroot@buildroot.org>;\n Tue, 21 Apr 2026 18:38:50 +0000 (UTC)","from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 5E1B8607AC\n for <buildroot@buildroot.org>; Tue, 21 Apr 2026 18:38:48 +0000 (UTC)","from fli4l.lan.fli4l (p5b3a0177.dip0.t-ipconnect.de [91.58.1.119])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 3C2AAA4C063B\n for <buildroot@buildroot.org>; Tue, 21 Apr 2026 20:38:46 +0200 (CEST)","from bruckner.lan.fli4l ([192.168.1.1]:42168)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wFFzh-000000007x8-3r09\n for buildroot@buildroot.org; Tue, 21 Apr 2026 18:38:45 +0000"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp3.osuosl.org 6090E607E0","OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5E1B8607AC"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776796733;\n\tbh=dYBn2YJTiOgpVln/rhBzQxEyLI24x9bPmnvjM5nz/Ys=;\n\th=From:To:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=UKyay+jmO/FsT7GR9ViNUuN5bqj0THVoBCXyV7Vy5GPsuTMfKo9owBfehJiqJCJzi\n\t wo7GnV+o4q0gb/bJcfSgqfO2RacErOuo3/WZ7BL/VxbX+qKtJbBsnuGFKSMlSxagGS\n\t hCjkwMckTny6INPXTFtGcqXO8CrwcIWdA/AnHnDrMvT+neG3ei4Dtlm3vGskgcRWfk\n\t Pf+mWXANH/57rdp50ysspp8aUzNxOs5oDDfzF+RJiV5UG0/qqe3ICPFD8BEmzFzGeN\n\t 8bMrY73ZzRVeUOZPAsw/VvNzPw/ajI/UDO5n8c982XFQrV2nTirtC2tmVjXsNNWwHZ\n\t r8rKUtGV7d8sw==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp3.osuosl.org 5E1B8607AC","From":"Bernd Kuhls <bernd@kuhls.net>","To":"buildroot@buildroot.org","Date":"Tue, 21 Apr 2026 20:38:44 +0200","Message-ID":"<20260421183845.2456995-2-bernd@kuhls.net>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20260421183845.2456995-1-bernd@kuhls.net>","References":"<20260421183845.2456995-1-bernd@kuhls.net>","MIME-Version":"1.0","X-Spamd-Bar":"/","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1776796726;\n bh=FsdJR8Nw8jIuqEaGtl16a+ST+6cpLeL2YRaJmYhOo4Y=;\n h=From:To:Subject:Date:In-Reply-To:From;\n b=iAFpHNIlRBd7SqTrYQQ9xVIDH5rj2K3m/uacUEmcmNiBc4qwstGR70shErDM+4Hwp\n 3b82b+t7CiNcfz6ZDU8m7LDL23F7T7kyHEGRqQK1ma+px/1nyYfRlZgURbQGHNKAbm\n TWnbmG9PTt4vXxcturmBzM1/lQHjmzwypFje1qUP805Ja7a+xIQaB9WnVLBKSGmGqy\n 7kD8/HMlfltxeFcmg795A1ihpiIkF/L19vSt2O9VyiCN57cVTUMx7brMpPL3iQwKw1\n glyxS4j+53YvsjuBlMQO9dFsN1aznnR+SZ3Ok/Ax4f9dTkboRdnThAPfRBd6gybGiT\n JMtKb0JI/N+nQ==","X-Mailman-Original-Authentication-Results":["smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net","smtp3.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=iAFpHNIl"],"Subject":"[Buildroot] [PATCH 2/3] package/neon: fix build with zlib","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"},"content":"Building this defconfig\n\nBR2_x86_64=y\nBR2_TOOLCHAIN_EXTERNAL=y\nBR2_PACKAGE_NEON=y\nBR2_PACKAGE_NEON_ZLIB=y\n\ndoes not build libneon with zlib support, quoting configure log:\n\n  configure: zlib not enabled\n\nalthough the configure parameter\n\n  --with-zlib=/home/bernd/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot\n\nwas used.\n\nThe reason is the addition of \"=$(STAGING_DIR)\" to --with-zlib which was\nadded to buildroot in 2008 with commit\ncc6562ff839502a65a3b202ffe7fa3c67bae0856.\n\nThe upstream code, which expects only \"yes\", all other values lead to\nthe else-condition, is unchanged since 2004:\nhttps://github.com/notroj/neon/blame/0.37.1/macros/neon.m4#L478\nso a backport of this patch to LTS branches should be considered.\n\nWith this patch the configure log shows:\n\n  checking for zlib.h... yes\n  checking for inflate in -lz... yes\n  configure: zlib support enabled, using -lz\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/neon/neon.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/package/neon/neon.mk b/package/neon/neon.mk\nindex e7872df3c9..39abbaef48 100644\n--- a/package/neon/neon.mk\n+++ b/package/neon/neon.mk\n@@ -16,7 +16,7 @@ NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)\n NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS)\n \n ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)\n-NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR)\n+NEON_CONF_OPTS += --with-zlib\n NEON_DEPENDENCIES += zlib\n else\n NEON_CONF_OPTS += --without-zlib\n","prefixes":["2/3"]}