darcs 1.0.9 FTBFS in Hardy

Bug #188489 reported by Daniel Hahler
4
Affects Status Importance Assigned to Milestone
darcs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: darcs

darcs-1.0.9 from unstable fails to build from source in hardy-pbuilder:

checking for ghc... ghc
checking where GHC keeps its libraries... /usr/lib/ghc-6.8.2
checking GHC.Handle.openFd... NOT old API
checking GHC.Handle.openFd new API... failed
configure: error: Couldnt figure out how to call GHC.Handle.openFd!
make: *** [configure-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error

Related branches

Revision history for this message
Daniel Hahler (blueyed) wrote :
Changed in darcs:
importance: Undecided → High
Iain Lane (laney)
Changed in darcs:
assignee: nobody → laney
status: New → In Progress
Revision history for this message
Iain Lane (laney) wrote :

I found a patch for this issue here (http://darcs.net/cgi-bin/darcs.cgi/stable/?c=annotate&p=20071018135714-81bb2-bb6fc66eca547d1627532af27a52282cc22fc77c.gz). This allows darcs to compile successfully with GHC 6.8. I guess this patch should also be forwarded to Debian?

Changed in darcs:
assignee: laney → nobody
status: In Progress → Confirmed
Daniel Hahler (blueyed)
Changed in darcs:
assignee: nobody → blueyed
status: Confirmed → In Progress
Revision history for this message
Daniel Hahler (blueyed) wrote :

Your debdiff still causes darcs to FTBFS:
dpkg-source: building darcs in darcs_1.0.9-1ubuntu1.dsc
 debian/rules build
dh_testdir
Applying debian/patches/openfd_configure_workaround.patch
autoconf
make: autoconf: Command not found
make: *** [patch-stamp] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package

You need to add autoconf somehow to the Build-Depends.. I'm not sure at all if it should get done that way though.. maybe rather update/patch the files created by autoconf?! (I don't know much about autoconf and such..)

As far as I can see, it probably also affects Debian, yes.. although I could not find any FTBFS bug related to this at http://bugs.debian.org/darcs.

Changed in darcs:
assignee: blueyed → laney
status: In Progress → Triaged
Revision history for this message
Iain Lane (laney) wrote :

Here's an updated version, which I have now tested in pbuilder - sorry about that. Per slangasek on IRC, I've build-depended on autoconf.

Changed in darcs:
assignee: laney → nobody
status: Triaged → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks. Uploaded.

Changed in darcs:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package darcs - 1.0.9-1ubuntu1

---------------
darcs (1.0.9-1ubuntu1) hardy; urgency=low

  * Patch aclocal.m4 to fix FTBFS. Requires build-dep on autoconf.
    Changed files: debian/rules, debian/control,
    debian/patches/openfd_configure_workaround.patch (LP: #188489)
  * Add libghc6-regex-compat-dev and libghc6-parsec-dev to build-dep.
    Changed files: debian/control
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Iain Lane <email address hidden> Fri, 22 Feb 2008 20:03:07 +0000

Changed in darcs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.