Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] pijul: FTBFS
@ 2023-08-20 18:41 classabbyamp
  2023-08-20 19:38 ` Vaelatern
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: classabbyamp @ 2023-08-20 18:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 4145 bytes --]

New issue by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45689

Description:
cc maintainer @Vaelatern 
seems it can't build with the current rust, and our only option would be to update to the latest version, which is considered a beta by upstream, or drop it. I need to be able to bump it for openssl3

```
   Compiling libpijul v0.12.2
error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |          ----- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                 ---- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                           --------- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `other.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                           --------- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `other.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                                      ----- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0507`.
error: could not compile `libpijul` (lib) due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
warning: `sequoia-rfc2822` (lib) generated 94 warnings (run `cargo fix --lib -p sequoia-rfc2822` to apply 93 suggestions)
=> ERROR: pijul-0.12.2_6: do_build: '${make_cmd} build --release --locked --target ${RUST_TARGET} ${configure_args}' exited with 101
=> ERROR:   in do_build() at common/build-style/cargo.sh:8
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
@ 2023-08-20 19:38 ` Vaelatern
  2023-08-20 19:39 ` Vaelatern
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vaelatern @ 2023-08-20 19:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/45689#issuecomment-1685374196

Comment:
Let's drop it for now, we can add it back in later after they fix their build. Can we do so without adding it to removed-packages?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
  2023-08-20 19:38 ` Vaelatern
@ 2023-08-20 19:39 ` Vaelatern
  2023-08-20 19:43 ` classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vaelatern @ 2023-08-20 19:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/45689#issuecomment-1685374196

Comment:
Let's drop it for now, we can add it back in later after they fix their build. Can we do so without adding it to removed-packages, so active pijul users don't need to care?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
  2023-08-20 19:38 ` Vaelatern
  2023-08-20 19:39 ` Vaelatern
@ 2023-08-20 19:43 ` classabbyamp
  2023-08-20 19:50 ` tranzystorek-io
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-08-20 19:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45689#issuecomment-1685375099

Comment:
it would cause unresolved shlib issues when updating to openssl3 if left out of removed packages

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
                   ` (2 preceding siblings ...)
  2023-08-20 19:43 ` classabbyamp
@ 2023-08-20 19:50 ` tranzystorek-io
  2023-08-20 19:52 ` Vaelatern
  2023-08-27  3:48 ` [ISSUE] [CLOSED] " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: tranzystorek-io @ 2023-08-20 19:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

New comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/issues/45689#issuecomment-1685376450

Comment:
Alternatively, I'm now testing pijul 1.0.0-beta.6 on the openssl3 branch, should be a nice bump with patches and extra template code removed if we're interested

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
                   ` (3 preceding siblings ...)
  2023-08-20 19:50 ` tranzystorek-io
@ 2023-08-20 19:52 ` Vaelatern
  2023-08-27  3:48 ` [ISSUE] [CLOSED] " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: Vaelatern @ 2023-08-20 19:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

New comment by Vaelatern on void-packages repository

https://github.com/void-linux/void-packages/issues/45689#issuecomment-1685376753

Comment:
I think it's sufficient reason to use a beta tag, making it work with the rest of our environment...  If we can't leave our users unaffected through removal, then based on @tranzystorek-io 's testing, we can use that bump

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] pijul: FTBFS
  2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
                   ` (4 preceding siblings ...)
  2023-08-20 19:52 ` Vaelatern
@ 2023-08-27  3:48 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-08-27  3:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 4148 bytes --]

Closed issue by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/45689

Description:
cc maintainer @Vaelatern 
seems it can't build with the current rust, and our only option would be to update to the latest version, which is considered a beta by upstream, or drop it. I need to be able to bump it for openssl3

```
   Compiling libpijul v0.12.2
error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |          ----- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                 ---- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                           --------- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `other.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                           --------- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `other.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.basename` which is behind a shared reference
  --> /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/libpijul-0.12.2/src/backend/file_id.rs:10:5
   |
6  | #[derive(Debug, Hash, Eq, PartialEq, Clone)]
   |                                      ----- in this derive macro expansion
...
10 |     pub basename: SmallString,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.basename` has type `small_string::SmallString`, which does not implement the `Copy` trait
   |
   = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0507`.
error: could not compile `libpijul` (lib) due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
warning: `sequoia-rfc2822` (lib) generated 94 warnings (run `cargo fix --lib -p sequoia-rfc2822` to apply 93 suggestions)
=> ERROR: pijul-0.12.2_6: do_build: '${make_cmd} build --release --locked --target ${RUST_TARGET} ${configure_args}' exited with 101
=> ERROR:   in do_build() at common/build-style/cargo.sh:8
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-27  3:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-20 18:41 [ISSUE] pijul: FTBFS classabbyamp
2023-08-20 19:38 ` Vaelatern
2023-08-20 19:39 ` Vaelatern
2023-08-20 19:43 ` classabbyamp
2023-08-20 19:50 ` tranzystorek-io
2023-08-20 19:52 ` Vaelatern
2023-08-27  3:48 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).