[xml2rfc] the case of the disappearing refs

Randy Bush <randy@psg.com> Sun, 30 May 2021 00:55 UTC

Return-Path: <randy@psg.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F72E3A26D0 for <xml2rfc@ietfa.amsl.com>; Sat, 29 May 2021 17:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fkYx93Ta_xbp for <xml2rfc@ietfa.amsl.com>; Sat, 29 May 2021 17:55:12 -0700 (PDT)
Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86CF13A26D1 for <xml2rfc@ietf.org>; Sat, 29 May 2021 17:55:12 -0700 (PDT)
Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.90_1) (envelope-from <randy@psg.com>) id 1ln9jR-0006Wk-Jx for xml2rfc@ietf.org; Sun, 30 May 2021 00:55:10 +0000
Date: Sat, 29 May 2021 17:55:08 -0700
Message-ID: <m2y2bxca6r.wl-randy@psg.com>
From: Randy Bush <randy@psg.com>
To: XML2RFC Interest Group <xml2rfc@ietf.org>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/26.3 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/Us83GlfX6dFvR8tj36IHOiYpVZs>
Subject: [xml2rfc] the case of the disappearing refs
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 30 May 2021 00:55:17 -0000

two days ago, i could successfully

    xml2rfc draft-ietf-opsawg-finding-geofeeds.xml --html --text

a v2 document.  today, it pukes

    xml2rfc draft-ietf-opsawg-finding-geofeeds.xml --html --text
    Error: Unable to parse the XML document: draft-ietf-opsawg-finding-geofeeds.xml
     draft-ietf-opsawg-finding-geofeeds.xml: Line 695: Unable to resolve external request: "reference.RFC.2119"
    make: *** [all] Error 1

with the accused being the first ref

    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>

and

    $ env | grep XML_LIBRARY
    XML_LIBRARY=.:/Users/randy/refs/rfc:/Users/randy/refs/id
    $ ls -l /Users/randy/refs/rfc/bibxml/reference.RFC.2119.xml
    -rw-rw-r--  1 randy  staff  868 May 28 09:35 /Users/randy/refs/rfc/bibxml/reference.RFC.2119.xml

turns out /usr/local/bin/xml2rfc

    $ head -1 /usr/local/bin/xml2rfc
    #!/usr/bin/python2

works, but

    $ head -1 /usr/local/bin/xml2rfc
    #!/usr/bin/python3

does not

    $ xml2rfc --version
    xml2rfc 2.32.0

on big sur

xml at https://github.com/massimocandela/draft-ymbk-finding-geofeeds

randy

---
randy@psg.com
`gpg --locate-external-keys --auto-key-locate wkd randy@psg.com`
signatures are back, thanks to dmarc header butchery