Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533068 - dev-haskell/vector-0.10.0.1 - Data/Vector/Unboxed/Base.hs:69:3: ‘typeOf1’ is not a (visible) method of class ‘Typeable1’
Summary: dev-haskell/vector-0.10.0.1 - Data/Vector/Unboxed/Base.hs:69:3: ‘typeOf1’ is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-19 21:36 UTC by Michael Jones
Modified: 2015-09-29 21:12 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,3.84 KB, application/gzip)
2014-12-19 21:36 UTC, Michael Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2014-12-19 21:36:10 UTC
ymir jonesmz # echo "Emerge Info" ; emerge --info =dev-haskell/vector-0.10.0.1 ; echo "Emerge -pqv" ;  emerge -pqv  =dev-haskell/vector-0.10.0.1 ; echo "Buildlog" ; zcat /var/tmp/portage/dev-haskell/vector-0.10.0.1/temp/build.log.gz       

Emerge Info
Portage 2.2.14 (python 3.3.5-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.15.10-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.15.10-hardened-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.2
KiB Mem:     8179968 total,    872952 free
KiB Swap:   20495396 total,  19604252 free
Timestamp of tree: Unknown
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo Aerosta-LLC-Overlay atlassian-ebuilds
Installed sets: @android, @archive, @base-system, @creative, @desktop-applications, @development-cli, @development-gui, @games, @java, @lxde, @multimedia, @network-manager, @portage, @qt, @vcs, @virt-client
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.netnitco.net"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/aerosta /var/lib/layman/atlassian"
USE="X a52 aac acl acpi alsa amd64 apng autoipd avahi berkdb branding bzip2 cairo cdda cdr clang cli cracklib crypt cxx dbus dconf dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gd gdbm gif gnome-keyring gpm gstreamer gtk gudev hardened iconv icu ipv6 jpeg justify lcms libnotify libsecret lm_sensors mad mdnsresponder-compat minizip mmx mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pax_kernel pcre pdf png policykit postgres ppds pulseaudio python qt4 readline samba sdl session sound spell sqlite sse sse2 ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower urandom usb vorbis x264 xattr xcb xinerama xml xtpax xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev synaptics mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau vesa modesetting fbdev qxl radeon r600 radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

Emerge -pqv
[ebuild  N    ] dev-haskell/vector-0.10.0.1  USE="-doc -hscolour -profile" 


Buildlog
 * Package:    dev-haskell/vector-0.10.0.1
 * Repository: gentoo
 * Maintainer: haskell@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   compressdebug installsources preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking vector-0.10.0.1.tar.gz to /var/tmp/portage/dev-haskell/vector-0.10.0.1/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/vector-0.10.0.1/work
>>> Preparing source in /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1 ...
 * Using cabal-1.20.0.2.
 * Prepending /usr/lib64/ghc-7.8.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.20.0.2 --make /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1/Setup.hs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1/Setup.hs, /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=vector-0.10.0.1/ghc-7.8.3 --datadir=/usr/share/ --datasubdir=vector-0.10.0.1/ghc-7.8.3 --ghc-option=-j4 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/vector-0.10.0.1 --verbose --sysconfdir=/etc --disable-library-stripping
Configuring vector-0.10.0.1...
Flags chosen: internalchecks=False, unsafechecks=False, boundschecks=True
Dependency base ==4.*: using base-4.7.0.1
Dependency deepseq >=1.1 && <1.4: using deepseq-1.3.0.2
Dependency ghc-prim -any: using ghc-prim-0.3.1.0
Dependency primitive >=0.5.0.1 && <0.6: using primitive-0.5.1.0
Using Cabal-1.20.0.2 compiled by ghc-7.8
Using compiler: ghc-7.8.3
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/vector-0.10.0.1/ghc-7.8.3
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/vector-0.10.0.1/ghc-7.8.3
Documentation installed in: /usr/share/doc/vector-0.10.0.1
Configuration files installed in: /etc
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.3 found on system at: /usr/bin/gcc
Using ghc version 7.8.3 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.8.3 given by user at: /usr/bin/ghc-pkg
No greencard found
No haddock found
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.28 found on system at: /usr/bin/pkg-config
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1 ...
./setup build
Building vector-0.10.0.1...
Preprocessing library vector-0.10.0.1...
[ 1 of 19] Compiling Data.Vector.Storable.Internal ( Data/Vector/Storable/Internal.hs, dist/build/Data/Vector/Storable/Internal.o )
[ 2 of 19] Compiling Data.Vector.Fusion.Util ( Data/Vector/Fusion/Util.hs, dist/build/Data/Vector/Fusion/Util.o )
Data/Vector/Fusion/Util.hs:25:10: Warning:
    ‘Id’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
Data/Vector/Fusion/Util.hs:35:10: Warning:
    ‘Box’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[ 3 of 19] Compiling Data.Vector.Fusion.Stream.Size ( Data/Vector/Fusion/Stream/Size.hs, dist/build/Data/Vector/Fusion/Stream/Size.o )
Data/Vector/Fusion/Stream/Size.hs:25:10: Warning:
    No explicit implementation for
      ‘*’, ‘abs’, and ‘signum’
    In the instance declaration for ‘Num Size’
[ 4 of 19] Compiling Data.Vector.Internal.Check ( Data/Vector/Internal/Check.hs, dist/build/Data/Vector/Internal/Check.o )
[ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.5.1.0 ... linking ... done.
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
[ 6 of 19] Compiling Data.Vector.Fusion.Stream ( Data/Vector/Fusion/Stream.hs, dist/build/Data/Vector/Fusion/Stream.o )
[ 7 of 19] Compiling Data.Vector.Generic.Mutable ( Data/Vector/Generic/Mutable.hs, dist/build/Data/Vector/Generic/Mutable.o )
[ 8 of 19] Compiling Data.Vector.Generic.Base ( Data/Vector/Generic/Base.hs, dist/build/Data/Vector/Generic/Base.o )
[ 9 of 19] Compiling Data.Vector.Generic.New ( Data/Vector/Generic/New.hs, dist/build/Data/Vector/Generic/New.o )
[10 of 19] Compiling Data.Vector.Generic ( Data/Vector/Generic.hs, dist/build/Data/Vector/Generic.o )

Data/Vector/Generic.hs:2023:34: Warning:
    In the use of type constructor or class ‘Typeable1’
    (imported from Data.Typeable, but defined in Data.Typeable.Internal):
    Deprecated: "renamed to 'Typeable'"

Data/Vector/Generic.hs:2023:47: Warning:
    In the use of type constructor or class ‘Typeable1’
    (imported from Data.Typeable, but defined in Data.Typeable.Internal):
    Deprecated: "renamed to 'Typeable'"
[11 of 19] Compiling Data.Vector.Primitive.Mutable ( Data/Vector/Primitive/Mutable.hs, dist/build/Data/Vector/Primitive/Mutable.o )
[12 of 19] Compiling Data.Vector.Primitive ( Data/Vector/Primitive.hs, dist/build/Data/Vector/Primitive.o )
[13 of 19] Compiling Data.Vector.Storable.Mutable ( Data/Vector/Storable/Mutable.hs, dist/build/Data/Vector/Storable/Mutable.o )

Data/Vector/Storable/Mutable.hs:449:1: Warning:
    Rule "unsafeFromForeignPtr fp 0 n -> unsafeFromForeignPtr0 fp n " may never fire
      because ‘unsafeFromForeignPtr’ might inline first
    Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘unsafeFromForeignPtr’
[14 of 19] Compiling Data.Vector.Storable ( Data/Vector/Storable.hs, dist/build/Data/Vector/Storable.o )

Data/Vector/Storable.hs:1383:1: Warning:
    Rule "unsafeFromForeignPtr fp 0 n -> unsafeFromForeignPtr0 fp n " may never fire
      because ‘unsafeFromForeignPtr’ might inline first
    Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘unsafeFromForeignPtr’
[15 of 19] Compiling Data.Vector.Unboxed.Base ( Data/Vector/Unboxed/Base.hs, dist/build/Data/Vector/Unboxed/Base.o )

Data/Vector/Unboxed/Base.hs:69:3:
    ‘typeOf1’ is not a (visible) method of class ‘Typeable1’

Data/Vector/Unboxed/Base.hs:72:3:
    ‘typeOf2’ is not a (visible) method of class ‘Typeable2’
[18 of 19] Compiling Data.Vector.Mutable ( Data/Vector/Mutable.hs, dist/build/Data/Vector/Mutable.o )
[19 of 19] Compiling Data.Vector      ( Data/Vector.hs, dist/build/Data/Vector.o )
 * ERROR: dev-haskell/vector-0.10.0.1::gentoo failed (compile phase):
 *   setup build failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2761:  Called haskell-cabal_src_compile
 *   environment, line 1877:  Called cabal_src_compile
 *   environment, line  700:  Called cabal-build
 *   environment, line  489:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/vector-0.10.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/vector-0.10.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/vector-0.10.0.1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/vector-0.10.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1'
 * S: '/var/tmp/portage/dev-haskell/vector-0.10.0.1/work/vector-0.10.0.1'


Reproducible: Always
Comment 1 Michael Jones 2014-12-19 21:36:36 UTC
Created attachment 392056 [details]
build.log.gz
Comment 2 Michael Jones 2014-12-31 00:09:13 UTC
I can get this to install if =dev-lang/ghc-7.6.3-r1 is installed, but I get this failure if =dev-lang/ghc-7.8.4 is installed.

Installing =dev-haskell/vector-0.10.9.1 instead seems to make the world happy.

Perhaps =dev-haskell/vector-0.10.0.1 needs to specify a maximum allowable version of ghc?
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2015-09-29 21:12:10 UTC
Yeah, it does now:

RDEPEND=">=dev-haskell/primitive-0.5.0.1:=[profile?] <dev-haskell/primitive-0.6:=[profile?]
                >=dev-lang/ghc-6.12.3:= <dev-lang/ghc-7.8
                ppc? ( >=dev-lang/ghc-7.6.1 )
"

Thank you!