Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707836 - net-mail/mailbox-count-0.0.2-r2 : * setup build failed
Summary: net-mail/mailbox-count-0.0.2-r2 : * setup build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-02 04:10 UTC by Toralf Förster
Modified: 2020-02-04 21:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.80 KB, text/plain)
2020-02-02 04:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,295.33 KB, text/plain)
2020-02-02 04:10 UTC, Toralf Förster
Details
environment (environment,103.66 KB, text/plain)
2020-02-02 04:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.78 KB, application/x-bzip)
2020-02-02 04:10 UTC, Toralf Förster
Details
net-mail:mailbox-count-0.0.2-r2:20200201-223853.log (net-mail:mailbox-count-0.0.2-r2:20200201-223853.log,5.87 KB, text/plain)
2020-02-02 04:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.70 KB, application/x-bzip)
2020-02-02 04:10 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,16.28 KB, text/plain)
2020-02-02 10:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.12 KB, text/plain)
2020-02-02 10:26 UTC, Toralf Förster
Details
environment (environment,74.59 KB, text/plain)
2020-02-02 10:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.48 KB, application/x-bzip)
2020-02-02 10:26 UTC, Toralf Förster
Details
net-mail:mailbox-count-0.0.3:20200202-081003.log (net-mail:mailbox-count-0.0.3:20200202-081003.log,5.94 KB, text/plain)
2020-02-02 10:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.70 KB, application/x-bzip)
2020-02-02 10:27 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-02 04:10:19 UTC
 * ERROR: net-mail/mailbox-count-0.0.2-r2::gentoo failed (compile phase):
 *   setup build failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200125-183534

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

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.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 21:29:19 +0000

emerge -qpvO net-mail/mailbox-count
[ebuild  N    ] net-mail/mailbox-count-0.0.2-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-02-02 04:10:24 UTC
Created attachment 610716 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 04:10:29 UTC
Created attachment 610718 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 04:10:34 UTC
Created attachment 610720 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 04:10:37 UTC
Created attachment 610722 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 04:10:41 UTC
Created attachment 610724 [details]
net-mail:mailbox-count-0.0.2-r2:20200201-223853.log
Comment 6 Toralf Förster gentoo-dev 2020-02-02 04:10:44 UTC
Created attachment 610726 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-02-02 06:02:01 UTC
The bug has been referenced in the following commit(s):

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

commit accea94b09cc78b46e73e566ff6fff6cfeae530b
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-02-02 05:58:43 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-02-02 05:59:02 +0000

    net-mail/mailbox-count: new version 0.0.3.
    
    This new version attempts to support both the ghc-7.10.1 and ghc-8.x
    compilers. The newer GHCs require monoid instances to be semigroups,
    but the semigroups package wasn't bundled with the GHC until then.
    However, requiring a "redundant" semigroups package seems to not hurt,
    and should theoretically fix the build with ghc-7.10.1 as well.
    
    Bug: https://bugs.gentoo.org/707836
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-mail/mailbox-count/Manifest                    |  2 +-
 .../files/mailbox-count-0.0.2-ghc84.patch          | 24 -------------
 .../mailbox-count/mailbox-count-0.0.2-r2.ebuild    | 40 ----------------------
 ...-0.0.2-r1.ebuild => mailbox-count-0.0.3.ebuild} | 29 +++++++++-------
 4 files changed, 18 insertions(+), 77 deletions(-)
Comment 8 Michael Orlitzky gentoo-dev 2020-02-02 06:03:31 UTC
slyfox keeps fixing my packages in gentoo before I notice there's a problem and fix them upstream =P

Please test v0.0.3, which depends on semigroups for backwards-compatibility.
Comment 9 Toralf Förster gentoo-dev 2020-02-02 10:26:42 UTC
appeared recently at the tinderbox image 17.1_desktop_gnome-20200129-211601
Comment 10 Toralf Förster gentoo-dev 2020-02-02 10:26:44 UTC
Created attachment 610980 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2020-02-02 10:26:47 UTC
Created attachment 610982 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2020-02-02 10:26:50 UTC
Created attachment 610984 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2020-02-02 10:26:53 UTC
Created attachment 610986 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2020-02-02 10:26:56 UTC
Created attachment 610988 [details]
net-mail:mailbox-count-0.0.3:20200202-081003.log
Comment 15 Toralf Förster gentoo-dev 2020-02-02 10:27:00 UTC
Created attachment 610990 [details]
temp.tbz2
Comment 16 Larry the Git Cow gentoo-dev 2020-02-02 18:03:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a466575421518436eeca3b53692ae79046b53a1

commit 1a466575421518436eeca3b53692ae79046b53a1
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-02-02 17:55:59 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-02-02 18:02:42 +0000

    net-mail/mailbox-count: new version 0.0.4.
    
    Another attempt to fix the semigroups mess. The semigroups package is
    supposed to offer a backwards-compatible API, but deleted their whole
    source tree in the minor release 0.18.2. And since the build system
    restricts package visibility to only things you've declared, we need
    to hack together a double-conditional both in the cabal build system
    and in the ebuild, to require old-enough semigroups with old-enough
    ghc, or alternately just a new enough GHC.
    
    Bug: https://bugs.gentoo.org/707836
    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.3.ebuild => mailbox-count-0.0.4.ebuild}      | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
Comment 17 Michael Orlitzky gentoo-dev 2020-02-02 18:05:45 UTC
Oof, I probably should have looked closely before believing that semigroups was backwards-compatible. You need old semigroups with old GHC. This new version/ebuild tries to express that... let's see how it goes.
Comment 18 Michael Orlitzky gentoo-dev 2020-02-03 22:23:31 UTC
Is this one (built with ghc-7.10.x) finally fixed in the newer versions?
Comment 19 Toralf Förster gentoo-dev 2020-02-04 21:15:14 UTC
net-mail/mailbox-count-0.0.5 is fine