bundledoc is broken in ubuntu 18.04 ( due to perl 5.26 change regarding {)

2019-11-19 Thread Antoine Monmayrant

Hello,

warning
A bit of a warning first: I am not a coder, and I apologize in advance 
if this email does not conform to best practice in bug reporting / patch 
proposing.

I think I found a bug (two?) in bundledoc and somehow fixed it (them).
perl is not a language I really master, so my fix is most probably ugly.
/warning

It seems that bundledoc (part of texlive-extra-utils) is broken in 
Ubuntu 18.04 due to perl 5.26 deprecating the use of unescaped left 
brace in regexpr.


Running /usr/bin/bundledoc on any trivial example results in the 
following error:


bundledoc --config=texlive-unix.cfg --verbose --localonly --exclude=.fd 
--exclude=.cfg --include="*.bib" --manifest="" hello.dep

BDBASE = '/tmp/bundledoc/hello'
Unescaped left brace in regex is illegal here in regex; marked by <-- 
HERE in m/^\s*\*{ <-- HERE ([^}]*)}\s*{([^}]*)}\s*{([^}]*)}\s*$/ at 
/data/bundledoc line 141,  line 1.


This error can be fixed by replacing line 136:
    my $braced = "{([^\}]*)}";   # Regular expression for a braced name
with
    my $braced = "\\{([^\}]*)}";   # Regular expression for a braced name

Another issue seems to be related to temp file/folder creation.
It can be fixed by adding:
   use File::Temp qw/ :POSIX /;
at the beginning of the file.

I tried to generate a patch to fix bundledoc (see attachment).

Do not hesitate to contact me if clarifications are needed.


Antoine


38a39,40
> use File::Temp qw/ :POSIX /; # BOZ EDIT
> 
136c138,139
< my $braced = "{([^\}]*)}";   # Regular expression for a braced name
---
> # my $braced = "{([^\}]*)}";   # Regular expression for a braced name 
> my $braced = "\\{([^\}]*)}";   # Regular expression for a braced name # BOZ EDIT
145d147
< 
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Thunderbird 68.1.2 OAUth2 issue - unable to add google account

2019-11-19 Thread Mariusz Kliber
Greetings,

There seems to be an issue with every version of Thunderbird prior 68.2.1,
where you can't add gmail account using OAuth2. When adding an account the
`web browser` login prompt comes up to enter google credentials and once I
click allow Thunderbird, the `web browser` window disappears and
thunderbird account wizards says:  "Unable to login at server. Probably
wrong configuration, username or password."
I've noticed the issue in Ubuntu 19.10 (Thunderbird 68.1.2) but was able to
replicate it in Ubuntu 18.04 as well. The issue has been fixed in version
68.2.1: https://www.thunderbird.net/en-US/thunderbird/68.2.1/releasenotes/

I'm new to Ubuntu and not entirely sure where I should report this issue. I
would appreciate if someone can reproduce the issue and help include the
patched version in the official repository.
-- 
Best regards,
Mariusz
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: bundledoc is broken in ubuntu 18.04 ( due to perl 5.26 change regarding {)

2019-11-19 Thread Hilmar Preuße
On 11/18/19 2:18 PM, Antoine Monmayrant wrote:

Hi,

> It seems that bundledoc (part of texlive-extra-utils) is broken in
> Ubuntu 18.04 due to perl 5.26 deprecating the use of unescaped left
> brace in regexpr.
> 

> 
> Do not hesitate to contact me if clarifications are needed.
> 
I'm pretty sure not even Debian stable is affected. So this seems to be
a pure Ubuntu problem.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss