As last time, I found what is probably another unhandled case in the
toml parser, while trying to build python-scikit-learn@1.6.1.
It fails to parse: 

[tool.ruff.lint.flake8-copyright]
notice-rgx = "\\#\\ Authors:\\ The\\ scikit\\-learn\\ developers\\\r?\\\n\\#\\ 
SPDX\\-License\\-Identifier:\\ BSD\\-3\\-Clause"

This is the backtrace:
Backtrace:
In guix/build/toml.scm:
    457:8 19 (failure)
    456:8 18 (failure)
   399:14 17 (failure)
In srfi/srfi-1.scm:
   586:29 16 (map1 ((escaped "\\") "#" (escaped "\\") " Authors:" # …))
   586:29 15 (map1 ("#" (escaped "\\") " Authors:" (escaped "\\") # …))
   586:29 14 (map1 ((escaped "\\") " Authors:" (escaped "\\") " T…" …))
   586:29 13 (map1 (" Authors:" (escaped "\\") " The" (escaped #) # …))
   586:29 12 (map1 ((escaped "\\") " The" (escaped "\\") " scikit" …))
   586:29 11 (map1 (" The" (escaped "\\") " scikit" (escaped "\\") …))
   586:29 10 (map1 ((escaped "\\") " scikit" (escaped "\\") "-lea…" …))
   586:29  9 (map1 (" scikit" (escaped "\\") "-learn" (escaped #) # …))
   586:29  8 (map1 ((escaped "\\") "-learn" (escaped "\\") " deve…" …))
   586:29  7 (map1 ("-learn" (escaped "\\") " developers" (# "\\") …))
   586:29  6 (map1 ((escaped "\\") " developers" (escaped "\\") (…) …))
   586:29  5 (map1 (" developers" (escaped "\\") (escaped "r") "?" …))
   586:29  4 (map1 ((escaped "\\") (escaped "r") "?" (escaped "…") …))
   586:17  3 (map1 ((escaped "r") "?" (escaped "\\") (escaped "n") …))
In guix/build/toml.scm:
   399:19  2 (failure)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" (escaped 
"r"))'.
build process 18 exited with status 256

-- 
Best regards,
Nicolas Graves

Reply via email to