Your message dated Tue, 25 Feb 2025 12:21:13 +0000
with message-id <e1tmtw1-007gwf...@fasolo.debian.org>
and subject line Bug#1098847: fixed in meli 0.8.10+dfsg-3
has caused the Debian Bug report #1098847,
regarding meli :FTBFS:build failed (error[E0063]: missing field `modifiers`)
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.)


-- 
1098847: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098847
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: meli
Version:  0.8.10+dfsg-2
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear meli maintainer,
The package meli build failed on riscv64.The crucial buildd log below:
```

error[E0063]: missing field `modifiers` in initializer of
`imap::imap_codec::imap_types::command::CommandBody<'_>`
   --> melib/src/imap/sync/mod.rs:207:27
    |
207 |         self.send_command(CommandBody::Fetch {
    |                           ^^^^^^^^^^^^^^^^^^ missing `modifiers`

error[E0063]: missing field `modifiers` in initializer of
`imap::imap_codec::imap_types::command::CommandBody<'_>`
   --> melib/src/imap/fetch.rs:259:43
    |
259 |                         conn.send_command(CommandBody::Fetch {
    |                                           ^^^^^^^^^^^^^^^^^^
missing `modifiers`

error[E0063]: missing field `modifiers` in initializer of
`imap::imap_codec::imap_types::command::CommandBody<'_>`
   --> melib/src/imap/mod.rs:836:21
    |
836 |                     CommandBody::Store {
    |                     ^^^^^^^^^^^^^^^^^^ missing `modifiers`

error[E0063]: missing field `modifiers` in initializer of
`imap::imap_codec::imap_types::command::CommandBody<'_>`
   --> melib/src/imap/mod.rs:904:21
    |
904 |                     CommandBody::Store {
    |                     ^^^^^^^^^^^^^^^^^^ missing `modifiers`

For more information about this error, try `rustc --explain E0063`.
error: could not compile `melib` (lib) due to 4 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=melib
CARGO_MANIFEST_DIR=/build/reproducible-path/meli-0.8.10+dfsg/melib
CARGO_MANIFEST_PATH=/build/reproducible-path/meli-0.8.10+dfsg/melib/Cargo.toml
CARGO_PKG_AUTHORS='Manos Pitsidianakis <ma...@pitsidianak.is>'
CARGO_PKG_DESCRIPTION='library for e-mail clients and other e-mail
applications' CARGO_PKG_HOMEPAGE='https://meli-email.org'
CARGO_PKG_LICENSE='EUPL-1.2 OR GPL-3.0-or-later'
CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=melib
CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='https://git.meli-email.org/meli/meli.git'
CARGO_PKG_RUST_VERSION=1.70.0 CARGO_PKG_VERSION=0.8.10
CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8
CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE=''
CARGO_PRIMARY_PACKAGE=1
LD_LIBRARY_PATH=/build/reproducible-path/meli-0.8.10+dfsg/target/release/deps
OUT_DIR=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/build/melib-3df570944e1e6ac9/out
rustc --crate-name melib --edition=2021 melib/src/lib.rs
--error-format=json
--json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type
lib --emit=dep-info,metadata,link -C opt-level=s -C linker-plugin-lto
-C codegen-units=1 --cfg 'feature="default"' --cfg 'feature="gpgme"'
--cfg 'feature="http"' --cfg 'feature="imap"' --cfg
'feature="imap-codec"' --cfg 'feature="isahc"' --cfg 'feature="jmap"'
--cfg 'feature="maildir"' --cfg 'feature="mbox-notify"' --cfg
'feature="native-tls"' --cfg 'feature="nntp"' --cfg 'feature="notify"'
--cfg 'feature="notmuch"' --cfg 'feature="rusqlite"' --cfg
'feature="smtp"' --cfg 'feature="sqlite3"' --cfg 'feature="tls"' --cfg
'feature="url"' --check-cfg 'cfg(docsrs,test)' --check-cfg
'cfg(feature, values("debug-tracing", "default", "gpgme", "http",
"http-static", "imap", "imap-codec", "imap-trace", "isahc", "jmap",
"jmap-trace", "maildir", "mbox-notify", "native-tls", "nntp",
"nntp-trace", "notify", "notmuch", "rusqlite", "smtp", "smtp-trace",
"sqlite3", "sqlite3-static", "tls", "tls-static", "url"))' -C
metadata=191f34e82986a210 -C extra-filename=-e09658c847842117
--out-dir 
/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps
--target riscv64gc-unknown-linux-gnu -C strip=symbols -L
dependency=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps
-L dependency=/build/reproducible-path/meli-0.8.10+dfsg/target/release/deps
--extern 
async_fn_stream=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libasync_fn_stream-f7303a2847d78cf1.rmeta
--extern 
async_io=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libasync_io-7da7bd801978647a.rmeta
--extern 
base64=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libbase64-f1791664701d6f34.rmeta
--extern 
bitflags=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libbitflags-56ec6e3e596f1eac.rmeta
--extern 
cfg_if=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-4c0f90d4d353e1ef.rmeta
--extern 
chrono=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libchrono-d182e0e25933b0ef.rmeta
--extern 
data_encoding=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libdata_encoding-8a517737345c480a.rmeta
--extern 
encoding_rs=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libencoding_rs-7e4ad58c9229da9d.rmeta
--extern 
flate2=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libflate2-e42df6cbd42e1b93.rmeta
--extern 
futures=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libfutures-3581a9bc5b934fbe.rmeta
--extern 
imap_codec=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libimap_codec-ef674a85f9b4924f.rmeta
--extern 
indexmap=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libindexmap-41c7558d3b1ffbda.rmeta
--extern 
isahc=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libisahc-e2dcf27c419cb5c6.rmeta
--extern 
libc=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/liblibc-c00019088057274e.rmeta
--extern 
libloading=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/liblibloading-f48caeb7aba4c0ab.rmeta
--extern 
log=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/liblog-b433bcfd011602e4.rmeta
--extern 
native_tls=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libnative_tls-f556c96caa133241.rmeta
--extern 
nix=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libnix-8f50da2f60152986.rmeta
--extern 
nom=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libnom-cbd10fc149615d5f.rmeta
--extern 
notify=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libnotify-0506b4bb58de189b.rmeta
--extern 
polling=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libpolling-4b77fc2fe0f720a3.rmeta
--extern 
regex=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libregex-8e3333d44960408a.rmeta
--extern 
rusqlite=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/librusqlite-572ef0ba7d0fb826.rmeta
--extern 
serde=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libserde-8d94a4d13fd2cef0.rmeta
--extern 
serde_derive=/build/reproducible-path/meli-0.8.10+dfsg/target/release/deps/libserde_derive-b38c3f3429e51af1.so
--extern 
serde_json=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libserde_json-dcfd8613f4636752.rmeta
--extern 
serde_path_to_error=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libserde_path_to_error-1728f1acb9961e09.rmeta
--extern 
smallvec=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libsmallvec-9b96763d94117ca4.rmeta
--extern 
smol=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libsmol-8b1efb785272a518.rmeta
--extern 
socket2=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libsocket2-b9412a10c72325fc.rmeta
--extern 
unicode_segmentation=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libunicode_segmentation-01d10f3ef78a2385.rmeta
--extern 
url=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/liburl-b648f161e1f48881.rmeta
--extern 
uuid=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libuuid-73d831ec86f7472e.rmeta
--extern 
xdg=/build/reproducible-path/meli-0.8.10+dfsg/target/riscv64gc-unknown-linux-gnu/release/deps/libxdg-5aee19b90a40c21a.rmeta
-L native=/usr/lib/riscv64-linux-gnu -L
native=/usr/lib/riscv64-linux-gnu` (exit status: 1)
dh_auto_build: error: /usr/share/dh-rust/bin/cargo build returned exit code 101
make: *** [debian/rules:16: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=meli&arch=riscv64&ver=0.8.10%2Bdfsg-2%2Bb1&stamp=1740301953&raw=0
My solution to this issue:
The error is caused by the modifiers field in the structure being a
required field in the newer version of the IMAP library. My solution is to
provide a default value to fill in this field.I have tested that
locally,and it works well .The debpatch is in the attachment.Please let me
know whether this solution can be accepted.
Gui-Yue
Best Regards

Attachment: fix_meli_build_failed_on_riscv64.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: meli
Source-Version: 0.8.10+dfsg-3
Done: Jonas Smedegaard <d...@jones.dk>

We believe that the bug you reported is fixed in the latest version of
meli, 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 1098...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated meli 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: SHA512

Format: 1.8
Date: Tue, 25 Feb 2025 12:51:34 +0100
Source: meli
Architecture: source
Version: 0.8.10+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <d...@jones.dk>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Closes: 1098847
Changes:
 meli (0.8.10+dfsg-3) unstable; urgency=medium
 .
   * add patch 2001-imap-codec
     to use recent development snapshots of crate imap-codec;
     tighten build-dependency for crate imap-codec;
     closes: bug#1098847, thanks to Yue Gui
   * declare compliance with Debian Policy 4.7.1
Checksums-Sha1:
 ea1e4c3ac63639635ad52775f6f30373fd7919be 4215 meli_0.8.10+dfsg-3.dsc
 329d17222a93e3a1dad7faf4593db16eee2e465b 19280 meli_0.8.10+dfsg-3.debian.tar.xz
 3221f71e80ef00fb8c8d951b7e93aaee1ccbef50 25788 
meli_0.8.10+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 9f6e3920f4657fa913d10903dd5e600ef9969955847d478b606e076016606956 4215 
meli_0.8.10+dfsg-3.dsc
 3c4d7eb765ff08450f2da0572addee19e1df2324d71b8f2d51a5a53bd7705fa3 19280 
meli_0.8.10+dfsg-3.debian.tar.xz
 0111145cb272ca131cf4ce9a0496146635f229d7578e3982bcfebc4a0f0f21a9 25788 
meli_0.8.10+dfsg-3_amd64.buildinfo
Files:
 df974713db45cb8111a9f88a0f12c40f 4215 mail optional meli_0.8.10+dfsg-3.dsc
 ad2ef5ad5d4ffc3f179a9985af72f86f 19280 mail optional 
meli_0.8.10+dfsg-3.debian.tar.xz
 ab4d29a713dc629504e7d6f8cb5d8138 25788 mail optional 
meli_0.8.10+dfsg-3_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJnvbBJCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmflGBOKQsQSivszJrzlxGx7SEADhXG9eMl+yIb6vNVX
lBYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAgwA/+LQcjS7B8M3fXj+s0YpSBt737
3E2g0LYuTJLSOEoBXbQJGcfOLUU5/OG9hxg2Gs/vG+PNRmOSMNP3+aTiAW+44U68
8WW6IW5M1O+2+xO9XOvlVGfuHFuZM1vuIKdNECdD4uyEnYQAqdcTOA8o18OrOwuh
LTKbELCYqsLuUksAM00nCXzDoJAKJlyZanNx0uOyz0DboGh2Q2GYEU0aGvfXSf0e
y9MlHwrkBEmGs1cX59HTpjWIQPKLWfJFHrQwbR3nC824pXiI3yx2WJRFM65dWPFc
tidE1lYCt5G0XVHBpImkSna5A6vw9aDjArfXvaVWC7eC0MjxFuVBvFJIwAvc8/et
YqteuuQv4u/I5ON0MVCkNW8Bq0ovqw41wIQpXKpnnFc5cXpi32SFkSxS+lHoJSYM
b+2q8emo8bIvKCSRQvEINo4f0aPteEa62loTL2shC9VRGSqrNo9eeoVyVytbOCTG
IfKdi5b8pcWSzGrpGgNw738ZegpHTyFDTdlNcMySdYo5MYS13PLorD2nGsbrN6e3
l1IKFelmvC3v0Csq4jLXXt0YWNYE9NgWQcaQ/LAYm2Ay/zCPASQwAr+lZE0cJ1OL
AuxidkkDOePfAdA2ZkN0/NXZDDYnPOpPWBX9VmV00D6aAXcGTIQLy4L5vVEyMkA0
dtLyLoZr1QWDlKKloLA=
=nUet
-----END PGP SIGNATURE-----

Attachment: pgpvcaqumwFHx.pgp
Description: PGP signature


--- End Message ---

Reply via email to