Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210046 - dev-util/darcs-2.0.0
Summary: dev-util/darcs-2.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-02-13 20:34 UTC by Sebastián González
Modified: 2008-08-26 12:46 UTC (History)
2 users (show)

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


Attachments
darcs-2.0.0_pre3.ebuild (darcs-2.0.0_pre3.ebuild,3.03 KB, text/plain)
2008-02-13 20:36 UTC, Sebastián González
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastián González 2008-02-13 20:34:46 UTC
ebuild for the latest prerelase version of darcs; tested on a ~x86 box


Reproducible: Always
Comment 1 Sebastián González 2008-02-13 20:36:06 UTC
Created attachment 143445 [details]
darcs-2.0.0_pre3.ebuild

I didn't have to change anything in the previous ebuild for it to work with darcs's newest version.
Comment 2 Lennart Kolmodin (RETIRED) gentoo-dev 2008-03-26 19:22:20 UTC
It doesn't build for me.
Don't know yet if it's my machines environment or something else.
Comment 3 Jordi Vilalta 2008-04-09 01:17:12 UTC
Darcs 2.0 has been released.

I've used the attached pre3 ebuild just removing the prerelease postfix. I had to update ghc to 6.6 for it to build (I don't know if it was solved by ghc itself or its dependencies).

I also had to emerge it with USE=-doc. When emerging it with USE=doc I got the following error:

src/Darcs/CommandsAux.lhs:64:34:
    `p' is not applied to enough type arguments
    Expected kind `??', but `p' has kind `* -> * -> *'
    In the type `p -> Bool'
    In the type `(Patchy p) => p -> Bool'
    In the type signature for `has_malicious_path':
      has_malicious_path :: (Patchy p) => p -> Bool
make: *** [src/Darcs/CommandsAux.o] Error 1

Strangely, if I remove the "$(use_with doc docs)" argument in econf, it seems to build with the manual without problems.
Comment 4 Dustin J. Mitchell 2008-04-12 05:47:32 UTC
2.0.0 works for me, too (USE=-doc, ghc-6.6.1)

Portage 2.1.4.4 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3-2007122801 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3-2007122801 x86_64 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Fri, 04 Apr 2008 04:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="alsa amd64 berkdb cli cracklib crypt cups dri eds encode foomaticdb fortran gif gpm iconv imlib ipv6 isdnlog jpeg lzw lzw-tiff midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python qt4 readline reflection session spell spl ssl tcpd threads tiff usb vhosts xml xml2 xorg xv zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Lennart Kolmodin (RETIRED) gentoo-dev 2008-04-15 21:19:22 UTC
darcs 2 has been added to the overlay with a bugfix for the docs.

Thanks for your reports!

Lets try it in the overlay for a little while, then I'll put it in portage.
Comment 6 Lennart Kolmodin (RETIRED) gentoo-dev 2008-08-26 12:46:51 UTC
Tests has worked well, committed to portage.

Keyworded ~alpha, ~amd64, ~hppa, ~ppc, ~sparc, ~x86.
Requested ~ia64, ~ppc64 and ~x86-fbsd.