Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
@ 2021-08-12  8:27 4ricci
  2021-08-12 15:13 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: 4ricci @ 2021-08-12  8:27 UTC (permalink / raw)
  To: ml

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

New issue by 4ricci on void-packages repository

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

Description:
`perl-HTTP-Message` is a check dependency of `perl-HTML-Parser`,
`perl-HTML-Parser` is a runtime and build dependency of `perl-HTTP-Message`.

`./xbps-src -Q pkg perl-HTTP-Message` returns the error:
```
=> ERROR: Build-time cyclic dependency perl-HTML-Parser(host), perl-HTTP-Message(host), perl-HTML-Parser(host) detected.
```

`./xbps-src -Q pkg perl-HTML-Parser` returns the error:
```
=> ERROR: Build-time cyclic dependency perl-HTTP-Message(host), perl-HTML-Parser(host), perl-HTTP-Message(host) detected.
```

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
@ 2021-08-12 15:13 ` ericonr
  2021-08-12 15:40 ` Chocimier
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-08-12 15:13 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-897723363

Comment:
I think the correct path forward would be disabling tests for `perl-HTML-Parser` (or see if they can run without `perl-HTTP-Message`. Otherwise this means bootstrap is broken when tests are enabled, and we want to make bootstrap with tests possible.

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
  2021-08-12 15:13 ` ericonr
@ 2021-08-12 15:40 ` Chocimier
  2021-08-14 18:16 ` dkwo
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Chocimier @ 2021-08-12 15:40 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-897744667

Comment:
On the contrary, I think cycles due to checkdepends are better than not testing package at all. In case like here, one can first build package(s) locally without tests, than rebuild with tests enabled.

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
  2021-08-12 15:13 ` ericonr
  2021-08-12 15:40 ` Chocimier
@ 2021-08-14 18:16 ` dkwo
  2021-09-18 17:57 ` [ISSUE] [CLOSED] " 4ricci
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dkwo @ 2021-08-14 18:16 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-898940373

Comment:
I also had to deal with the same issue here https://github.com/void-linux/void-packages/pull/32229

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

* Re: [ISSUE] [CLOSED] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
                   ` (2 preceding siblings ...)
  2021-08-14 18:16 ` dkwo
@ 2021-09-18 17:57 ` 4ricci
  2021-09-18 19:07 ` q66
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: 4ricci @ 2021-09-18 17:57 UTC (permalink / raw)
  To: ml

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

Closed issue by 4ricci on void-packages repository

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

Description:
`perl-HTTP-Message` is a check dependency of `perl-HTML-Parser`,
`perl-HTML-Parser` is a runtime and build dependency of `perl-HTTP-Message`.

When updating both packages (<https://github.com/4ricci/void-packages/pull/31>), `./xbps-src -Q pkg perl-HTTP-Message` returns the error:
```
=> ERROR: Build-time cyclic dependency perl-HTML-Parser(host), perl-HTTP-Message(host), perl-HTML-Parser(host) detected.
```

`./xbps-src -Q pkg perl-HTML-Parser` returns the error:
```
=> ERROR: Build-time cyclic dependency perl-HTTP-Message(host), perl-HTML-Parser(host), perl-HTTP-Message(host) detected.
```

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
                   ` (3 preceding siblings ...)
  2021-09-18 17:57 ` [ISSUE] [CLOSED] " 4ricci
@ 2021-09-18 19:07 ` q66
  2021-09-18 19:07 ` q66
  2021-09-19 10:11 ` dkwo
  6 siblings, 0 replies; 8+ messages in thread
From: q66 @ 2021-09-18 19:07 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-922357937

Comment:
i think not testing is better because if tests are not cyclic, they can be properly automated (we could even have the builders run them eventually) while if you allow cycles they can't (and tests on stuff like this are mostly meaningless either way, i see no reason to let a few rare cases break it)

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
                   ` (4 preceding siblings ...)
  2021-09-18 19:07 ` q66
@ 2021-09-18 19:07 ` q66
  2021-09-19 10:11 ` dkwo
  6 siblings, 0 replies; 8+ messages in thread
From: q66 @ 2021-09-18 19:07 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-922358093

Comment:
also i think checkdepends are in general a poor idea because it means that your build environment differs if you're running tests vs if you're not

while ideally the build environment should only ever be affected by build options

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

* Re: Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message
  2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
                   ` (5 preceding siblings ...)
  2021-09-18 19:07 ` q66
@ 2021-09-19 10:11 ` dkwo
  6 siblings, 0 replies; 8+ messages in thread
From: dkwo @ 2021-09-19 10:11 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/32468#issuecomment-922448457

Comment:
Then, shall we treat checkdepends just as (host)makedepends, regardless of whether we are permorming tests or not?

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

end of thread, other threads:[~2021-09-19 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12  8:27 [ISSUE] Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message 4ricci
2021-08-12 15:13 ` ericonr
2021-08-12 15:40 ` Chocimier
2021-08-14 18:16 ` dkwo
2021-09-18 17:57 ` [ISSUE] [CLOSED] " 4ricci
2021-09-18 19:07 ` q66
2021-09-18 19:07 ` q66
2021-09-19 10:11 ` dkwo

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).