[Pkg-haskell-maintainers] Bug#649518: Bug#649518: Bug#649518: haskell-dpkg: FTBFS against latest libdpkg-dev
Iain Lane
laney at debian.org
Tue Nov 22 20:59:34 UTC 2011
Greetings,
On Mon, Nov 21, 2011 at 08:36:54PM +0000, Clint Adams wrote:
> On Mon, Nov 21, 2011 at 03:29:50PM -0500, Michael Terry wrote:
> > I was looking at why haskell-dpkg is FTBFS in Ubuntu and noticed that the
> > package is designed for earlier versions of libdpkg. It assumes that
> > 'struct pkginfo' has 'name' and 'next' members.
>
> It has them in dpkg 1.16.1.1 which is in both testing and unstable.
>
> > As far as I can see, nowadays, it has an 'arch_next' member which I assume
> > is the analog to 'next'. Not sure what the analog to 'name' is.
> >
> > It should be updated to build against the version of libdpkg in testing.
>
> I think perhaps you are witnessing something Ubuntu did for
> multiarch.
Yeah, Ubuntu merged buxy's multiarch branch. It is now in HEAD as far as
I can see.
Here's a patch against your upstream branch which binds the changed API.
haskell-dpkg builds with this but doesn't work (as I said on IRC).
,----
| laney at raleigh> ghci -package dpkg
| GHCi, version 7.0.4: http://www.haskell.org/ghc/ :? for help
| Loading package ghc-prim ... linking ... done.
| Loading package integer-gmp ... linking ... done.
| Loading package base ... linking ... done.
| Loading package bindings-DSL-1.0.14 ... linking ... done.
| Loading package bytestring-0.9.1.10 ... linking ... done.
| Loading package monad-loops-0.3.1.1 ... linking ... done.
| Loading package dpkg-0.0.1 ... <command line>: can't load .so/.DLL
| for: dpkg (libdpkg.so: cannot open shared object file: No such file or
| directory)
`----
The version in sid has this too. Any ideas?
Anyway, I'd appreciate it if you could take a look at the patch.
Cheers,
--
Iain Lane [ iain at orangesquash.org.uk ]
Debian Developer [ laney at debian.org ]
Ubuntu Developer [ laney at ubuntu.com ]
PhD student [ ial at cs.nott.ac.uk ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-to-new-multiarch-libdpkg-API-in-1.16.2.patch
Type: text/x-diff
Size: 1780 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20111122/18417876/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20111122/18417876/attachment.pgp>
More information about the Pkg-haskell-maintainers
mailing list