Package: haskell-hsql Version: 1.6-8.2 Severity: serious Tags: patch Justification: no longer builds from source
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A couple of days ago I uploaded haskell-devscripts 0.6.0 on which your package has a build dependency. Since this version of haskell-devscripts every package that is build by haskell-devscripts is build in its own subdirectory of debian/tmp/build/ Due to this change your package fails to build from source: [2 of 2] Compiling Database.HSQL ( Database/HSQL.hs, dist/build/Database/HSQL.o ) /usr/bin/ar: creating dist/build/libHShsql-1.6.a Preprocessing library hsql-1.6... Building hsql-1.6... sed 's,/usr/lib/haskell-packages/ghc6/lib/hsql-1.6/ghc-[0-9.]*,/tmp/buildd/haskell-hsql-1.6/HSQL/dist/build,g' < HSQL/.installed-pkg-config > debian/tmp-installed-pkg bash: HSQL/.installed-pkg-config: No such file or directory make: *** [build-stamp] Error 1 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 pbuilder: Failed autobuilding of package Attached is a patch which will fix this FTBFS. - -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23-2-nebula (PREEMPT) Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHeyv5UALvsZYuOJARAriWAJ0fQOwB02gC+zbr1ua/1saCv5tLyACdEVqa SfeuVYKdIwTzVDo0iXj0Sjo= =nyVZ -----END PGP SIGNATURE-----
diff -u haskell-hsql-1.6/debian/changelog haskell-hsql-1.6/debian/changelog --- haskell-hsql-1.6/debian/changelog +++ haskell-hsql-1.6/debian/changelog @@ -1,3 +1,14 @@ +haskell-hsql (1.6-8.3) unstable; urgency=low + + * Non-maintainer upload. + * Update packaging for new haskell-devscripts version: + - debian/control: Update Build-Depends on haskell-devscripts to 0.6.1 + - debian/rules: Rewrite the makefile as haskell-devscripts now uses a + separate build directory for each package it builds. + * Fix small spelling error in debian/control. + + -- Arjan Oosting <[EMAIL PROTECTED]> Wed, 02 Jan 2008 07:04:37 +0100 + haskell-hsql (1.6-8.2) unstable; urgency=low * Non-maintainer upload. diff -u haskell-hsql-1.6/debian/rules haskell-hsql-1.6/debian/rules --- haskell-hsql-1.6/debian/rules +++ haskell-hsql-1.6/debian/rules @@ -64,7 +64,18 @@ ghc-pkg --force -f debian/tmp-package-conf register debian/tmp-installed-pkg # Now, build the other modules. - for MOD in $(MODULES); do bash debian/buildmod.sh $$MOD; done + for MOD in $(MODULES); do ln -s ../debian $$MOD/debian ; done + cd MySQL && dh_haskell_configure -plibghc6-hsql-mysql-dev with-compiler=$(CURDIR)/debian/runcompiler \ + && dh_haskell_build -plibghc6-hsql-mysql-dev + cd ODBC && dh_haskell_configure -plibghc6-hsql-odbc-dev with-compiler=$(CURDIR)/debian/runcompiler \ + && dh_haskell_build -plibghc6-hsql-odbc-dev + cd PostgreSQL && dh_haskell_configure -plibghc6-hsql-postgresql-dev with-compiler=$(CURDIR)/debian/runcompiler \ + && dh_haskell_build -plibghc6-hsql-postgresql-dev + cd SQLite && dh_haskell_configure -plibghc6-hsql-sqlite-dev with-compiler=$(CURDIR)/debian/runcompiler \ + && dh_haskell_build -plibghc6-hsql-sqlite-dev + cd SQLite3 && dh_haskell_configure -plibghc6-hsql-sqlite3-dev with-compiler=$(CURDIR)/debian/runcompiler \ + && dh_haskell_build -plibghc6-hsql-sqlite3-dev + # Now, prep the others. cd MySQL && dh_haskell_prep -plibghc6-hsql-mysql-dev @@ -76,7 +87,7 @@ # Now, build docs. -mkdir doc -mkdir doctmp - for MOD in HSQL $(MODULES); do pushd debian/tmp/build/libghc6-$$MOD-dev/; cp -r Database ../doctmp; popd; done + for MOD in debian/tmp/build/* ; do pushd $$MOD/ ; cp -r Database $(CURDIR)/doctmp; popd; done mv doctmp/Database/HSQL/Types.hs doctmp/Database/HSQL/Typesi.hs cpphs --noline doctmp/Database/HSQL/Typesi.hs > doctmp/Database/HSQL/Types.hs cd doctmp && haddock -h -o ../doc -t HSQL \ diff -u haskell-hsql-1.6/debian/control haskell-hsql-1.6/debian/control --- haskell-hsql-1.6/debian/control +++ haskell-hsql-1.6/debian/control @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: Víctor Pérez Pereira <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.0.0), libpq-dev (>= 8.0), libmysqlclient15-dev, unixodbc-dev, libsqlite-dev, libsqlite3-dev, haskell-devscripts (>= 0.5.8), ghc6 (>= 6.4.2), cpphs, haddock +Build-Depends: debhelper (>= 4.0.0), libpq-dev (>= 8.0), libmysqlclient15-dev, unixodbc-dev, libsqlite-dev, libsqlite3-dev, haskell-devscripts (>= 0.6.1), ghc6 (>= 6.4.2), cpphs, haddock Standards-Version: 3.7.2 Package: libghc6-hsql-dev @@ -12,7 +12,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. @@ -23,7 +23,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. . @@ -36,7 +36,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. . @@ -49,7 +49,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. . @@ -62,7 +62,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. . @@ -75,7 +75,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. . @@ -88,7 +88,7 @@ Description: Multi-Database Interface System for Haskell HSQL provides interfaces for Haskell programmers to the PostgreSQL, MySQL, SQLite, and UnixODBC database systems. There is a generic - abstract interface so that code can be used interchangably with these + abstract interface so that code can be used interchangeably with these database systems. In this sense, it is similar to Java's JDBC, Python's DB-API, or Perl's DBI. .