Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708030 - net-mail/mailbox-count-0.0.4 : src/OptionalConfiguration.hs:68:8: error:
Summary: net-mail/mailbox-count-0.0.4 : src/OptionalConfiguration.hs:68:8: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-03 18:42 UTC by Toralf Förster
Modified: 2020-02-03 21:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.41 KB, text/plain)
2020-02-03 18:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.86 KB, text/plain)
2020-02-03 18:43 UTC, Toralf Förster
Details
environment (environment,74.88 KB, text/plain)
2020-02-03 18:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.77 KB, application/x-bzip)
2020-02-03 18:43 UTC, Toralf Förster
Details
net-mail:mailbox-count-0.0.4:20200202-223453.log (net-mail:mailbox-count-0.0.4:20200202-223453.log,5.89 KB, text/plain)
2020-02-03 18:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.76 KB, application/x-bzip)
2020-02-03 18:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-03 18:42:57 UTC
[2 of 6] Compiling OptionalConfiguration ( src/OptionalConfiguration.hs, dist/build/mailbox-count/mailbox-count-tmp/OptionalConfiguration.dyn_o )

src/OptionalConfiguration.hs:68:8: error:
    ‘<>’ is not a (visible) method of class ‘Semigroup’
 * ERROR: net-mail/mailbox-count-0.0.4::gentoo failed (compile phase):
 *   setup build failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200129-211601

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 02 Feb 2020 21:51:32 +0000

emerge -qpvO net-mail/mailbox-count
[ebuild  N    ] net-mail/mailbox-count-0.0.4  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-02-03 18:43:00 UTC
Created attachment 611246 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 18:43:03 UTC
Created attachment 611248 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 18:43:06 UTC
Created attachment 611250 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 18:43:09 UTC
Created attachment 611252 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 18:43:12 UTC
Created attachment 611254 [details]
net-mail:mailbox-count-0.0.4:20200202-223453.log
Comment 6 Toralf Förster gentoo-dev 2020-02-03 18:43:14 UTC
Created attachment 611256 [details]
temp.tbz2
Comment 7 Michael Orlitzky gentoo-dev 2020-02-03 20:03:31 UTC
You're using ghc-8.0.2...

> Using compiler: ghc-8.0.2

which should have base-4.9.x.y...

> Dependency base >=4.8 && <5: using base-4.9.1.0

Okay. And base-4.9.1.0 has the "Semigroup" class in Data.Semigroup with <> as its binary operation:

  http://hackage.haskell.org/package/base-4.9.1.0/docs/Data-Semigroup.html


And yet, the build is complaining about that very thing being missing:

> src/OptionalConfiguration.hs:68:8: error:
>    ‘<>’ is not a (visible) method of class ‘Semigroup’

Beats me. Time to ask for help.
Comment 8 Larry the Git Cow gentoo-dev 2020-02-03 21:14:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2484132579ec86372a1f243c6a2ba4e807fd1431

commit 2484132579ec86372a1f243c6a2ba4e807fd1431
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-02-03 21:10:45 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-02-03 21:14:19 +0000

    net-mail/mailbox-count: new version 0.0.5.
    
    This new version contains a one-line upstream fix to unbreak the build
    on ghc-8.0 and ghc-8.2 (but not higher or lower versions...). Poor
    Toralf.
    
    Closes: https://bugs.gentoo.org/708030
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-mail/mailbox-count/Manifest                                         | 2 +-
 .../{mailbox-count-0.0.4.ebuild => mailbox-count-0.0.5.ebuild}          | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 9 Michael Orlitzky gentoo-dev 2020-02-03 21:18:07 UTC
Sorry toralf, I actually could have tested this one since I have ghc-8.0.2 on the server that runs this.
Comment 10 Toralf Förster gentoo-dev 2020-02-03 21:21:21 UTC
(In reply to Michael Orlitzky from comment #9)
> Sorry toralf, I actually could have tested this one since I have ghc-8.0.2
> on the server that runs this.

hi - null problemo ;)