Your message dated Tue, 25 Oct 2022 06:20:25 +0000
with message-id <e1ondix-007kb8...@fasolo.debian.org>
and subject line Bug#1021571: fixed in smarty-lexer 3.1.32+dfsg1-5
has caused the Debian Bug report #1021571,
regarding smarty3: Parse error in
/usr/share/php/smarty3/sysplugins/smarty_internal_templateparser.php on line 24
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1021571: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021571
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: smarty3
Version: 3.1.45-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I'm testing some build scripts and testing my package on a VM running bookworm,
my application uses smarty3
Turns out that the latest smarty3 is broken, smarty_internal_templateparser.php
has this bit of code between two classes:
// line "./lexer/smarty_internal_templateparser.y"
0
// line 11 "./lexer/smarty_internal_templateparser.y"
and that stray 0 breaks the template parser...since the template parser is
really all smarty does, this breaks the package
My test case for the bug report is:
<?php
require_once('/usr/share/php/smarty3/Smarty.class.php');
$smarty = new Smarty();
$smarty->setTemplateDir('/var/www/html/');
$smarty->testInstall();
// assign some content. This would typically come from
// a database or other source, but we'll use static
// values for the purpose of this example.
$smarty->assign('name', 'george smith');
$smarty->assign('address', '45th & Harris');
$smarty->debugging = true;
// display it
$smarty->display('test.tpl');
?>
And test.tpl:
<html>
<head>
<title>Info</title>
</head>
<body>
<pre>
User Information:
Name: {$name}
Address: {$address}
</pre>
</body>
</html>
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages smarty3 depends on:
ii php 2:8.1+92
ii php-common 2:92
ii php8.1 [php] 8.1.7-1
ii php8.1-cli [php-cli] 8.1.7-1+b1
smarty3 recommends no packages.
smarty3 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: smarty-lexer
Source-Version: 3.1.32+dfsg1-5
Done: Mike Gabriel <sunwea...@debian.org>
We believe that the bug you reported is fixed in the latest version of
smarty-lexer, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1021...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated smarty-lexer package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 25 Oct 2022 07:31:47 +0200
Source: smarty-lexer
Architecture: source
Version: 3.1.32+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Mike Gabriel <sunwea...@debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Closes: 1021571
Changes:
smarty-lexer (3.1.32+dfsg1-5) unstable; urgency=medium
.
* debian/patches:
+ Add 0003_fix-stray-0-in-compiled-code.patch. Fixes stray 0 in compiled
code. (Closes: #1021571 in src:smarty3, and similarly for src:smarty4).
* debian/control:
+ Bump Standards-Version: to 4.6.1. No changes needed.
Checksums-Sha1:
19907e44e4a8c1821f6299ac14111ca51308860a 2060 smarty-lexer_3.1.32+dfsg1-5.dsc
9206794b60e4c272724cb1f367d9bce494694b72 7624
smarty-lexer_3.1.32+dfsg1-5.debian.tar.xz
c0d8816526aa3e2b06c5903ef316e174cb89e3cc 6910
smarty-lexer_3.1.32+dfsg1-5_source.buildinfo
Checksums-Sha256:
53bd36283333bbab6cdbe57f2ca41f9c134405a8cb902c3500e664485995f9f1 2060
smarty-lexer_3.1.32+dfsg1-5.dsc
75074d16f9076bff92d8cff22fb5bacac2447cb01d786d71fdeb300c34efa4f0 7624
smarty-lexer_3.1.32+dfsg1-5.debian.tar.xz
f1521506dc9df7b9f40ee71a4de9829df8db4e6e466e7e764b2a5d45c6a117f1 6910
smarty-lexer_3.1.32+dfsg1-5_source.buildinfo
Files:
5f8323f5c145ebc642c1b4b80923217a 2060 web optional
smarty-lexer_3.1.32+dfsg1-5.dsc
dd48685fbe43160d956c8aefbd0fe205 7624 web optional
smarty-lexer_3.1.32+dfsg1-5.debian.tar.xz
82c59ea33a1b79fe0f95ee1a6ca5f4da 6910 web optional
smarty-lexer_3.1.32+dfsg1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmNXe0AVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxP8kP/0UKQg6fNW9c8EDeATE6/AIKGaKV
MWeovI0fqm3U3+7QMuzRAR+YO0yo2/dQkvcWJvA5V4TKjlFGBCsBeLzxLO8QNohI
4Ti2v81XMkZsHKZ7QPKezQcz1HnqtnWGJEAOu3NW3Vm8A6somTd0voPqyfL1Ku4q
XfsjLDoNNer+r4M4Z8R0lQcdWIBxRSz4MGDdk7iRhX6TdITbCFdu+qQ9IguGrhXT
6OPUiUGBmtwZH+wqPbOxZx6uZL9FAtwIwb67RR0jW716Scs9QSPgr9tSlB10eJCi
YZwrIxMPtbmrQ+hJGUfxW5hf1cWDb5Bn9DttenIoYOn8jCA2hT0p7fth8HrCjF54
Rp5GNPhVWu1rNHX0FZZ/rBPZrC6kqjoJVdWDXjQjwKjSHtIF6WRbh3hClM/EEmIs
Cjn2N246u/BnRNW5xfVAfmNPRwKcJzUDeMhpfvOTEZw35qj49KSSGMSlGEhvPhjC
dNE0JqzanYXoHTwC9uZpzmDANMQaJ+RwGUH7VLR9v6+uxRBY8rwAtpiqTHK/1mR1
/SBlfldkIvGJWlfC3e9TK3otOWmKALlyz+zOABWwh0FddtTrz4TJ5Kpqtg+lxcK6
qCfVvESgZ1JKpp/CEuncohy6wA8TVmnqcXAODan88jZN/b+lt+oepeo8/PrjeWhw
S2r7UIl+uHGVBaiQ
=Ya8R
-----END PGP SIGNATURE-----
--- End Message ---