[ 7 of 34] Compiling EmbedOrderTest ( src/EmbedOrderTest.hs, dist/build/EmbedOrderTest.o ) src/EmbedOrderTest.hs:16:102: error: • No instance for (PersistFieldSql Char) arising from a use of ‘sqlType’ • In the fourth argument of ‘FieldDef’, namely ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-libressl_test-20201207-113004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 (fallback) [3] python3.7 (fallback) [4] python2.7 (fallback) Available Rust versions: [1] rust-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Dec 10 08:05:20 PM UTC 2020 /var/db/repos/libressl Wed Dec 9 02:37:52 PM UTC 2020 emerge -qpvO dev-haskell/persistent-test [ebuild N ] dev-haskell/persistent-test-2.0.3.0 USE="-doc -hscolour -profile"
Created attachment 677779 [details] emerge-info.txt
Created attachment 677782 [details] dev-haskell:persistent-test-2.0.3.0:20201210-204454.log
Created attachment 677785 [details] emerge-history.txt
Created attachment 677788 [details] environment
Created attachment 677791 [details] etc.portage.tbz2
Created attachment 677794 [details] temp.tbz2
Test passes here fine. The only difference in direct depends it a monad-logger delta: good: Dependency monad-logger >=0.3.25: using monad-logger-0.3.35 bad: Dependency monad-logger >=0.3.25: using monad-logger-0.3.32 and it does not seem to define any extra instances. Probably some other intermediate depend changed an API.
The database schema looks very standard: ``` share [mkPersist sqlSettings { mpsGeneric = True }, mkMigrate "embedOrderMigrate"] [persistUpperCase| Foo sql=foo_embed_order bars [Bar] deriving Eq Show Bar sql=bar_embed_order b String u String g String deriving Eq Show |] ``` 1. Does this failure happen for you every time you build a package? 2. What use flags dev-haskell/persistent was built with? Does it have USE=nooverlap by chance?
(In reply to Sergei Trofimovich from comment #8) > 2. What use flags dev-haskell/persistent was built with? Does it have > USE=nooverlap by chance? yes, let me check this for you ;) (b/c it is in https://bugs.gentoo.org/attachment.cgi?id=677791 too :-D ) tinderbox@mr-fox ~/run $ bw 17.1_systemd-libressl_test-20201207-113004 17_1_systemd-libressl_test-20201207-113004 /var/tmp/tb # grep lap /etc/portage/package.use/* /etc/portage/package.use/24thrown_package_use_flags:dev-haskell/persistent nooverlap 17_1_systemd-libressl_test-20201207-113004 /var/tmp/tb # exit logout
Ah, nice! I keep forgetting about etc.portage.tbz2!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb4fc817d02da3c17763a66d049c805b7efaea3 commit acb4fc817d02da3c17763a66d049c805b7efaea3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-14 08:23:46 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-14 08:23:58 +0000 dev-haskell/persistent: disable USE=nooverlap Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/759415 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/persistent/metadata.xml | 6 ------ dev-haskell/persistent/persistent-2.10.5.2.ebuild | 7 ++++--- 2 files changed, 4 insertions(+), 9 deletions(-)