Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 661336

Summary: dev-haskell/hdbc-postgresql-2.3.2.4-r1 : PTypeConv.hsc:53:16: error: PG_TYPE_CHAR undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, spiderx
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-haskell:hdbc-postgresql-2.3.2.4-r1:20180716-095130.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-07-16 17:19:58 UTC
In file included from dist/build/Database/HDBC/PostgreSQL/PTypeConv_hsc_make.c:1:0:
PTypeConv.hsc: In function ‘main’:
PTypeConv.hsc:53:16: error: ‘PG_TYPE_CHAR’ undeclared (first use in this function); did you mean ‘PGTYPES_H’?
/usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’
     if ((x) < 0)                                      \
          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_abi32+64_20180708-165946

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
  [2]   ruby25 (with Rubygems)



emerge -qpv dev-haskell/hdbc-postgresql
[ebuild  N    ] dev-haskell/hdbc-postgresql-2.3.2.4-r1  USE="-doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2018-07-16 17:20:01 UTC
Created attachment 539740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-16 17:20:04 UTC
Created attachment 539742 [details]
dev-haskell:hdbc-postgresql-2.3.2.4-r1:20180716-095130.log
Comment 3 Toralf Förster gentoo-dev 2018-07-16 17:20:07 UTC
Created attachment 539744 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-16 17:20:10 UTC
Created attachment 539746 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-16 17:20:12 UTC
Created attachment 539748 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-16 17:20:15 UTC
Created attachment 539750 [details]
temp.tbz2
Comment 7 Maksym Mamontov 2018-12-14 17:38:46 UTC
There is a ticket in upstream: https://github.com/hdbc/hdbc-postgresql/issues/46
Comment 8 Maksym Mamontov 2018-12-18 18:29:27 UTC
The issue is solved in the upstream. New version: 2.3.2.6
Comment 9 Matt Jolly gentoo-dev 2023-11-05 07:42:25 UTC
This was resolved in 2018.