From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id 6AGCG5K8EGDmDwAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 27 Jan 2021 01:06:26 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id uLo+F5K8EGAYEAAAbx9fmQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 27 Jan 2021 01:06:26 +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 76074940481
	for <larch@yhetil.org>; Wed, 27 Jan 2021 01:06:25 +0000 (UTC)
Received: from localhost ([::1]:49176 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1l4ZHr-0002Wp-UK
	for larch@yhetil.org; Tue, 26 Jan 2021 20:06:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:60588)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1l4ZH7-0002Wi-6X
 for emacs-orgmode@gnu.org; Tue, 26 Jan 2021 20:05:37 -0500
Received: from out2.migadu.com ([188.165.223.204]:57614)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kyle@kyleam.com>) id 1l4ZH4-0007r5-CQ
 for emacs-orgmode@gnu.org; Tue, 26 Jan 2021 20:05:36 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1;
 t=1611709528;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=E7cnEdRqqenlOFlN8CsDsjhQlU385ViyhfocPesqNUY=;
 b=mxx60VaNTt5QBrq3wNQyyakyHMet7fkVaJyFZ+RSHNmcCA3iNZVzWVXWPm7K7PR84zc1kX
 70LjxferELniYzh0XMSdJxaWvSFDS/6OA59ReacWMYN3CTvle8dzNeasEwnSoh86LcyTxl
 F4pjj67mbzR0tTBucap9BSkPyVCih8Ym3mIdZq2uJGFKWF7XXTZ3O5qwXMOv6btZb+uj5H
 knx5fuRKAmFXn4LheJlwtCczp0i+fegtQu0R+0/PaKQAF9/t5Ux6B7AnP+u+ASjioLrMTX
 cMMvXdU6KChDWIoLMtoEAnmhJCZUH6zk84spi2yAfN3MWWZwwapPwd1DOzmi9Q==
From: Kyle Meyer <kyle@kyleam.com>
To: =?utf-8?Q?Jean-L=C3=A9on?= HENRY <rabidax@protonmail.com>
Subject: Re: [Bug] org-version returns empty string when called
 uninteractively [9.4]
In-Reply-To: <lDDl5zhRHZUG_qHrsAO8lNBO8mDF2lbYCpbDpZymTATfsIT633DamkykwDvj5HD2fqp6Pmih7RVN8TgOUiSEiI9KSeuK7lqPSAnCKUhV67E=@protonmail.com>
References: <lDDl5zhRHZUG_qHrsAO8lNBO8mDF2lbYCpbDpZymTATfsIT633DamkykwDvj5HD2fqp6Pmih7RVN8TgOUiSEiI9KSeuK7lqPSAnCKUhV67E=@protonmail.com>
Date: Tue, 26 Jan 2021 20:05:26 -0500
Message-ID: <87wnvz1961.fsf@kyleam.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Migadu-Auth-User: kyle@kyleam.com
Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com;
 helo=out2.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -2.55
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=kyleam.com header.s=key1 header.b=mxx60VaN;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: 76074940481
X-Spam-Score: -2.55
X-Migadu-Scanner: scn0.migadu.com
X-TUID: qcgBpC+UDTCW

Jean-L=C3=A9on HENRY writes:

> Hi,
>
> I just upgraded org to 9.4.4 and org-version is returning an empty string=
 when called unineractively. More precisely
>[...]
> In my regular set-up, this breaks version checks used in other packages :=
 (version< (org-version) "9.0") for example is called. This gives you the f=
ollowing backtrace :
> Debugger entered--Lisp error: (error "Invalid version syntax: =E2=80=98=
=E2=80=99 (must start with a number)")
> signal(error ("Invalid version syntax: =E2=80=98=E2=80=99 (must start wit=
h a number)"))
> error("Invalid version syntax: `%s' (must start with a number)" "")
> version-to-list("")
> version<("" "9.0")

Thanks for the report.  I think this is the same issue as
<https://orgmode.org/list/87y2hi9qev.fsf@gmx.com>.  Org needs to be
adjusted for the new ELPA setup.