{"id":2219996,"url":"http://patchwork.ozlabs.org/api/patches/2219996/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260405162711.620128-1-bernd@kuhls.net/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/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":"<20260405162711.620128-1-bernd@kuhls.net>","list_archive_url":null,"date":"2026-04-05T16:27:10","name":"[v2,1/2] package/leafnode2: fix build without pod2man","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"7e53a2bd0582646fb0bc06fb9bdd6b6a80e24858","submitter":{"id":86624,"url":"http://patchwork.ozlabs.org/api/people/86624/?format=json","name":"Bernd Kuhls","email":"bernd@kuhls.net"},"delegate":{"id":89618,"url":"http://patchwork.ozlabs.org/api/users/89618/?format=json","username":"juju","first_name":"Julien","last_name":"Olivain","email":"juju@cotds.org"},"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260405162711.620128-1-bernd@kuhls.net/mbox/","series":[{"id":498796,"url":"http://patchwork.ozlabs.org/api/series/498796/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=498796","date":"2026-04-05T16:27:10","name":"[v2,1/2] package/leafnode2: fix build without pod2man","version":2,"mbox":"http://patchwork.ozlabs.org/series/498796/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2219996/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2219996/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=lWOzMvPT;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4fpdCV6MDLz1yCs\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 06 Apr 2026 02:27:18 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 3678340851;\n\tSun,  5 Apr 2026 16:27:17 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id GB-xPPMvt_Zv; Sun,  5 Apr 2026 16:27:16 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 540D440852;\n\tSun,  5 Apr 2026 16:27:16 +0000 (UTC)","from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id 31ADC1EB\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 16:27:15 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 1754B40851\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 16:27:15 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id MqJfcemOySyI for <buildroot@buildroot.org>;\n Sun,  5 Apr 2026 16:27:14 +0000 (UTC)","from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 050E74084B\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 16:27:13 +0000 (UTC)","from fli4l.lan.fli4l (p5b3a012a.dip0.t-ipconnect.de [91.58.1.42])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 2DE05A4C3447\n for <buildroot@buildroot.org>; Sun,  5 Apr 2026 18:27:12 +0200 (CEST)","from bruckner.lan.fli4l ([192.168.1.1]:46712)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1w9QJb-000000002Zc-3WT4\n for buildroot@buildroot.org; Sun, 05 Apr 2026 16:27:11 +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 smtp4.osuosl.org 540D440852","OpenDKIM Filter v2.11.0 smtp4.osuosl.org 050E74084B"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775406436;\n\tbh=fWBrJhislfhD7IBrxAK76LS4p382hNB1xIhW3RtR9rA=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=lWOzMvPTrKUBGO+q8V/qkMKdQbvh/CRuouKY3J6qCj267C5WgWH7J6ZuezAyvH9ZU\n\t wkdC6FsznwqSrou7t+CpNg2CgrSOx7aP7zHG2Y92MpsgJDB8+puVMvti/KxygZ0i13\n\t /NxYsX5swEAPh/HVibPa7n3bu49QNMAg4vxeFWdZoz6ftVv+hGNsSwaJNy7c+CzSuZ\n\t 8nrxITChQGLuPOiaLhJN/hvVfVbqHqVGMWenk+smVBor0vdTgofu+HM2E4Oyw0PM+Q\n\t YgfTdhMrj103XYjwIwOu+b2AuSi7P8XUVbUEYyl8z3K0J6u1OSiNbuX69K2+TkRXVu\n\t fX3JVDjlsNMlA==","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 smtp4.osuosl.org 050E74084B","From":"Bernd Kuhls <bernd@kuhls.net>","To":"buildroot@buildroot.org","Date":"Sun,  5 Apr 2026 18:27:10 +0200","Message-ID":"<20260405162711.620128-1-bernd@kuhls.net>","X-Mailer":"git-send-email 2.47.3","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=1775406432;\n bh=h0FpbOiXbbplP2//AVQBVbNwVwmHHDcNrggXYgt6Ti4=;\n h=From:To:Subject:Date:From;\n b=Cgb2wTqNxbQn7ondzqDLOR9NaV9K60JZkHiYZKFPdVlMS0TJ5E+HExLWKpDh0Ekia\n h/WY5wrSiWHGBYrRZDAhc9rFv8LPHcpeHviSNauDFzaUFuiqqlNIWPBTb+Rpvd7ae6\n ecssfhhOMDbQFXknmIqxC0ZzAIn1nX8HUWf+cf44cMR+MdiKOpqLMf4K9f8D0U7vYm\n ygkzVWcAkcQ+12ajyQgZNfHLPOEBrv5lGdUKWvsWxP9W2KhzB+/WuzgRFrofrrv8U7\n yQB1ACUiIbicF3a+DA8DiqOhmUlNMOxBDoQ1T+FM/GWOdte9cJRYvPfcUl2/JaUBBr\n Db5VMWmPVrXhw==","X-Mailman-Original-Authentication-Results":["smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net","smtp4.osuosl.org;\n dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net\n header.a=rsa-sha256 header.s=kas202511301023 header.b=Cgb2wTqN"],"Subject":"[Buildroot] [PATCH v2 1/2] package/leafnode2: fix build without\n pod2man","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":"Fixes a build error when pod2man is missing on the host:\n\n  pod2man ./tools/lsmac.pl >lsmac.1 || { rm -f lsmac.1 ; false ; }\n  /bin/sh: line 1: pod2man: command not found\n\nFixes:\nhttps://autobuild.buildroot.net/results/999/9996e81429f90f4615755827ac182094d416c467/\n\nAlthough the build error only occurs since 2026-03-05 it should be\nbackported to LTS branches because the last change to the buildroot\npackage dates back to 2024.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\nv2: no changes\n\n package/leafnode2/leafnode2.mk | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/package/leafnode2/leafnode2.mk b/package/leafnode2/leafnode2.mk\nindex 566aaf3d55..8c44071209 100644\n--- a/package/leafnode2/leafnode2.mk\n+++ b/package/leafnode2/leafnode2.mk\n@@ -11,6 +11,12 @@ LEAFNODE2_LICENSE_FILES = COPYING COPYING.LGPL\n LEAFNODE2_DEPENDENCIES = host-pcre pcre\n LEAFNODE2_AUTORECONF = YES\n \n+# pod2man doesn't work when cross compiling\n+define LEAFNODE2_DISABLE_POD2MAN\n+\t$(SED) 's/GENERATED_MANS=lsmac.1/GENERATED_MANS=/' $(@D)/Makefile.am\n+endef\n+LEAFNODE2_POST_PATCH_HOOKS += LEAFNODE2_DISABLE_POD2MAN\n+\n LEAFNODE2_CONF_ENV = \\\n \tPCRECONFIG=\"$(STAGING_DIR)/usr/bin/pcre-config\"\n \n","prefixes":["v2","1/2"]}