Bug#1042659: restic: FTBFS with Sphinx 7.1, docutils 0.20: TypeError: not all arguments converted during string formatting

2023-10-30 Thread Andreas Metzler
Colntrol: tags -1 patch

On 2023-07-30 Lucas Nussbaum  wrote:
> Source: restic
[...]
> restic fails to build with Sphinx 7.1 and docutils 0.20, both of which
> are currently available in experimental.

> Relevant part (hopefully):
[...]
> > 
> > Exception occurred:
> >   File "/usr/lib/python3/dist-packages/sphinx/ext/extlinks.py", line 103, 
> > in role
> > title = caption % part
> > ^~
[...]
> Some notable changes in Sphinx 6 and Sphinx 7:
[...]
> - For packages using the extlinks extension, the caption should contain
>   exactly one "%s" placeholder (if caption is not None).


Hello,

fixed in upstream GIT.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
>From c4e6b198ae535eeac711fdd424ee20b367fd5624 Mon Sep 17 00:00:00 2001
From: Michael Eischer 
Date: Sun, 12 Mar 2023 11:45:26 +0100
Subject: [PATCH] doc: fix building with Sphinx 6

---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index 3c0af927b..3fd8dc119 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -106,5 +106,5 @@ html_static_path = ['_static']
 htmlhelp_basename = 'resticdoc'
 
 extlinks = {
-'issue': ('https://github.com/restic/restic/issues/%s', '#'),
+'issue': ('https://github.com/restic/restic/issues/%s', '#%s'),
 }
-- 
2.42.0



Bug#1042659: restic: FTBFS with Sphinx 7.1, docutils 0.20: TypeError: not all arguments converted during string formatting

2023-07-30 Thread Lucas Nussbaum
Source: restic
Version: 0.14.0-1
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

restic fails to build with Sphinx 7.1 and docutils 0.20, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_build
>   cd obj-x86_64-linux-gnu && go install -trimpath -v -p 8 
> github.com/restic/restic/cmd/restic
> internal/goarch
> internal/unsafeheader
> internal/coverage/rtcov
> internal/goexperiment
> internal/goos
> runtime/internal/atomic
> internal/cpu
> runtime/internal/syscall
> internal/race
> internal/abi
> sync/atomic
> runtime/internal/math
> runtime/internal/sys
> unicode
> unicode/utf8
> encoding
> math/bits
> internal/itoa
> unicode/utf16
> internal/nettrace
> internal/bytealg
> crypto/internal/alias
> crypto/subtle
> crypto/internal/boring/sig
> math
> container/list
> vendor/golang.org/x/crypto/cryptobyte/asn1
> vendor/golang.org/x/crypto/internal/alias
> github.com/Azure/azure-sdk-for-go/version
> github.com/kurin/blazer/internal/b2types
> google.golang.org/grpc/serviceconfig
> go.opencensus.io
> go.opencensus.io/trace/internal
> go.opencensus.io/internal/tagencoding
> github.com/golang/groupcache/lru
> golang.org/x/crypto/internal/alias
> github.com/klauspost/compress/internal/cpuinfo
> hash/maphash
> image/color
> golang.org/x/text/encoding/internal/identifier
> golang.org/x/text/internal/utf8internal
> runtime
> github.com/klauspost/compress
> sync
> internal/reflectlite
> internal/testlog
> internal/godebug
> internal/singleflight
> internal/sysinfo
> google.golang.org/grpc/internal/buffer
> google.golang.org/grpc/internal/grpcsync
> runtime/cgo
> internal/intern
> math/rand
> sort
> errors
> internal/oserror
> internal/safefilepath
> io
> path
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> crypto/internal/nistec/fiat
> github.com/hashicorp/golang-lru/simplelru
> golang.org/x/crypto/cast5
> strings
> bytes
> hash
> hash/fnv
> crypto/internal/randutil
> hash/crc32
> vendor/golang.org/x/text/transform
> reflect
> bufio
> net/netip
> crypto
> crypto/rc4
> net/http/internal/ascii
> regexp/syntax
> html
> text/tabwriter
> google.golang.org/grpc/encoding
> golang.org/x/text/transform
> cloud.google.com/go/internal/version
> golang.org/x/crypto/blowfish
> compress/bzip2
> github.com/restic/restic/internal/hashing
> golang.org/x/crypto/openpgp/errors
> internal/syscall/unix
> time
> internal/syscall/execenv
> regexp
> hash/adler32
> golang.org/x/crypto/openpgp/s2k
> image
> golang.org/x/text/encoding
> golang.org/x/text/runes
> golang.org/x/text/width
> golang.org/x/text/encoding/internal
> golang.org/x/text/encoding/unicode
> image/internal/imageutil
> google.golang.org/api/internal/third_party/uritemplates
> image/jpeg
> google.golang.org/grpc/backoff
> github.com/kurin/blazer/x/window
> context
> io/fs
> internal/poll
> google.golang.org/grpc/internal/grpcrand
> google.golang.org/grpc/keepalive
> github.com/juju/ratelimit
> google.golang.org/grpc/internal/backoff
> github.com/cenkalti/backoff
> google.golang.org/grpc/tap
> golang.org/x/net/context
> embed
> internal/fmtsort
> encoding/binary
> github.com/modern-go/reflect2
> os
> encoding/base64
> crypto/cipher
> golang.org/x/crypto/internal/poly1305
> crypto/internal/edwards25519/field
> crypto/internal/nistec
> golang.org/x/sys/unix
> crypto/md5
> golang.org/x/crypto/poly1305
> encoding/pem
> crypto/internal/edwards25519
> vendor/golang.org/x/crypto/internal/poly1305
> crypto/internal/boring
> crypto/des
> crypto/sha256
> crypto/aes
> crypto/hmac
> fmt
> net
> path/filepath
> io/ioutil
> golang.org/x/crypto/pbkdf2
> crypto/ecdh
> crypto/sha512
> golang.org/x/crypto/scrypt
> os/exec
> crypto/sha1
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/hkdf
> os/signal
> golang.org/x/crypto/pkcs12/internal/rc2
> vendor/golang.org/x/crypto/chacha20poly1305
> google.golang.org/grpc/internal/envconfig
> golang.org/x/sys/cpu
> github.com/kr/fs
> golang.org/x/crypto/chacha20
> golang.org/x/crypto/curve25519/internal/field
> github.com/restic/restic/internal/ui/signals
> golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
> github.com/cespare/xxhash
> golang.org/x/crypto/blake2b
> encoding/json
> log
> flag
> math/big
> encoding/hex
> github.com/pkg/errors
> net/url
> github.com/klauspost/cpuid/v2
> runtime/debug
> compress/flate
> vendor/golang.org/x/text/unicode/bidi
> github.com/restic/restic/internal/errors
> vendor/golang.org/x/text/unicode/norm
> compress/gzip
> vendor/golang.org/x/net/http2/hpack
> github.com/minio/sha256-simd
> mime
> vendor/golang.org/x/text/secure/bidirule
> mime/quotedprintable
> net/http/internal
> github.com/restic/restic/internal/fs
> github.com/pkg/xattr
> golang.org/x/sync/errgroup
> os/user
> runtime/trace
> encoding/xml
> github.com/Azure/go-autorest/autorest/date
> testing
> crypto/rand
> crypto/elliptic
> crypto/internal/bigmod
>