Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769893 - dev-haskell/quickcheck-2.13.2 fails compiling due to upstream dependency changes
Summary: dev-haskell/quickcheck-2.13.2 fails compiling due to upstream dependency changes
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 15:43 UTC by Da Li
Modified: 2022-04-17 21:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log of dev-haskell/quickcheck-2.13.2 (build.log,11.64 KB, text/plain)
2021-02-10 16:19 UTC, Da Li
Details
emerge info (emerge-info.txt,6.59 KB, text/plain)
2021-02-10 16:20 UTC, Da Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Da Li 2021-02-10 15:43:39 UTC
On 2020/5/28, the dependency "splitmix" changed from

>=0.0.2

to

>=0.0.2 && < 0.1


Please check the URL below.

https://hackage.haskell.org/package/QuickCheck-2.13/revisions/


Current the ebuild only has restriction >=0.0.2, so that splitmix 0.1.0.3 will be pulled in and cause a compiling error.

Here is the issue link from official repository, which shows why it can not compiled with splitmix >=0.1.

https://github.com/nick8325/quickcheck/issues/300


Please update the ebuild by adding the upper bound of splitmix.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-10 16:09:38 UTC
A build.log would still be useful with emerge --info.
Comment 2 Da Li 2021-02-10 16:19:19 UTC
Created attachment 686259 [details]
emerge log of dev-haskell/quickcheck-2.13.2
Comment 3 Da Li 2021-02-10 16:20:00 UTC
Created attachment 686262 [details]
emerge info
Comment 4 Da Li 2021-02-10 16:28:56 UTC
(In reply to Sam James from comment #1)
> A build.log would still be useful with emerge --info.


Sorry for not uploading logs. I am not familiar with the usage of this system. I attached them to the this ticket just now.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2021-02-10 17:36:45 UTC
I'd prefer to remove outdated quickcheck insted one we port everything to 2.14. I thin ::haskell is mostly done in that regard.

Why do you need 2.13?
Comment 6 Da Li 2021-02-11 00:59:01 UTC
(In reply to Sergei Trofimovich from comment #5)
> I'd prefer to remove outdated quickcheck insted one we port everything to
> 2.14. I thin ::haskell is mostly done in that regard.
> 
> Why do you need 2.13?


I agree with you. Removing outdated packages is the best choice if we can port everything to the latest version. However, I wonder if we can resolve the dependencies.

I need dev-haskell/quickcheck-2.13.2 when I want to install rstudio. The following  is the dependency path I found.

sci-mathematics/rstudio-1.3.1093
  app-text/pandoc-2.9.2.1
    dev-haskell/pandoc-types-1.20
      dev-haskell/quickcheck-2.13.2
  dev-haskell/pandoc-citeproc-0.17.0.2
    dev-haskell/pandoc-types-1.20
      dev-haskell/quickcheck-2.13.2

I checked all ebuild of packages mentioned above. In my opinion, quickcheck 2.13 can be safely removed only if pandoc-2.9.2.1 is no more needed. It is a huge work to update all packages related to pandoc-2.9.2.1, I think.

From my point of view, maybe we need keep the latest 2~3 versions of a package because we can not make everything be the newest immediately. The lifecycle of two consecutive versions should have a overlap period if possible.
Comment 7 Argin 2022-04-17 21:20:59 UTC
without  dev-haskell/quickcheck-2.13.2 impossible compile rstudio
so to enable rstudio ether needed somehow fix the dev-haskell/quickcheck-2.13.2 or have ebuild for compiling more recent version of rstudio