Bug#225303: gnome-vfs2: FTBFS: build process needs automake1.6 or 1.7

Daniel Schepler Daniel Schepler <schepler@math.berkeley.edu>, 225303@bugs.debian.org
Sun, 28 Dec 2003 07:17:12 -0800


--=-=-=

Package: gnome-vfs2
Severity: serious
Version: 2.4.1-4
Tags: patch

>From my pbuilder build log:

...
 -> Installing  libbonobo2-dev libgconf2-dev libxml2-dev libbz2-dev libfam-dev gettext debhelper zlib1g-dev intltool gnome-mime-data dbs libgnutls7-dev gnome-common liborbit2-dev
Reading Package Lists...
Building Dependency Tree...
...
The following NEW packages will be installed:
  autoconf automake1.4 autotools-dev bzip2 dbs debconf debconf-i18n
  debconf-utils debhelper defoma file fontconfig gconf2 gettext gettext-base
  gnome-common gnome-mime-data html2text indent intltool intltool-debian
  libatk1.0-0 libbonobo2-0 libbonobo2-common libbonobo2-dev libbz2-1.0
  libbz2-dev libexpat1 libfam-dev libfam0c102 libfontconfig1 libfreetype6
  libgconf2-4 libgconf2-dev libgcrypt-dev libgcrypt1 libglib2.0-0
  libglib2.0-dev libgnutls7 libgnutls7-dev libgtk2.0-0 libgtk2.0-common
  libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libidl0 libjpeg62
  liblocale-gettext-perl liblzo1 libmagic1 libnewt0.51 libopencdk-dev
  libopencdk4 libopencdk8 liborbit2 liborbit2-dev libpango1.0-0
  libpango1.0-common libpng12-0 libpopt-dev libpopt0 libtasn1-0 libtasn1-dev
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtiff3g
  libtool liburi-perl libwww-perl libxft2 libxml-parser-perl libxml2
  libxml2-dev libxrender1 m4 pkg-config po-debconf ttf-bitstream-vera ucf
  whiptail xfree86-common xlibs zlib1g-dev
0 upgraded, 84 newly installed, 0 to remove and 0 not upgraded.
...
[1mchecking for automake >= 1.5...
[m  testing automake-1.7... not found.
  testing automake-1.6... not found.
  testing automake-1.5... not found.
***Error***: You must have automake >= 1.5 installed
  to build GNOME VFS.  Download the appropriate package for
  from your distribution or get the source tarball at
    http://ftp.gnu.org/pub/gnu/automake/automake-1.5.tar.gz

[1mchecking for libtool >= 1.5...
[m  testing libtoolize... found 1.5.0a
[1mchecking for glib-gettext >= 2.2.0...
[m  testing glib-gettextize... found 2.2.3
[1mchecking for intltool >= 0.27.2...
[m  testing intltoolize... found 0.28
[1mchecking for pkg-config >= 0.14.0...
[m  testing pkg-config... found 0.15.0
./autogen.sh: line 1: --print-ac-dir: command not found
[1mChecking for required M4 macros...
[m  libtool.m4 not found
  glib-gettext.m4 not found
  intltool.m4 not found
  pkg.m4 not found
[1mChecking for forbidden M4 macros...
[m***Error***: some autoconf macros required to build GNOME VFS
  were not found in your aclocal path, or some forbidden
  macros were found.  Perhaps you need to adjust your
  ACLOCAL_PATH?

make: *** [stampdir/configure] Error 1

Below I've included a patch which fixes the configure.in so it will
work with automake 1.7 (at least with the Debian setup), and changes
the Build-Depends accordingly.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.6.0-test11 #1 Wed Dec 3 21:42:26 PST 2003 i686
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.ISO-8859-1)


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=gnome-vfs2.diff
Content-Description: gnome-vfs2 patch

diff -urN gnome-vfs2-2.4.1.old/debian/control gnome-vfs2-2.4.1/debian/control
--- gnome-vfs2-2.4.1.old/debian/control	2003-12-28 14:48:45.390166308 +0000
+++ gnome-vfs2-2.4.1/debian/control	2003-12-28 15:00:38.478327802 +0000
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Takuo KITAME <kitame@debian.org>
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Edd Dumbill <ejad@debian.org>, Emil Soleyman-Zomalan <emil@nishra.com>, Gustavo Noronha Silva <kov@debian.org>, Johannes Rohr <j.rohr@comlink.apc.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQueen <robot101@debian.org>, Ross Burton <ross@burtonini.com>, Sebastien Bacher <seb128@debian.org>
-Build-Depends: libbonobo2-dev (>= 2.4.0), libgconf2-dev (>= 2.4.0), libxml2-dev, libbz2-dev, libfam-dev (>= 2.6.9-4), gettext, debhelper (>> 3.0.0), zlib1g-dev, intltool, gnome-mime-data, dbs, libgnutls7-dev (>= 0.8.9), gnome-common, liborbit2-dev (>= 1:2.8.0)
-Build-Conflicts: libcdparanoia0-dev, automake1.6, automake1.7
+Build-Depends: libbonobo2-dev (>= 2.4.0), libgconf2-dev (>= 2.4.0), libxml2-dev, libbz2-dev, libfam-dev (>= 2.6.9-4), gettext, debhelper (>> 3.0.0), zlib1g-dev, automake1.7, intltool, gnome-mime-data, dbs, libgnutls7-dev (>= 0.8.9), gnome-common, liborbit2-dev (>= 1:2.8.0)
+Build-Conflicts: libcdparanoia0-dev
 Standards-Version: 3.6.1.0
 
 Package: libgnomevfs2-common
diff -urN gnome-vfs2-2.4.1.old/debian/control.in gnome-vfs2-2.4.1/debian/control.in
--- gnome-vfs2-2.4.1.old/debian/control.in	2003-12-28 14:48:45.394167739 +0000
+++ gnome-vfs2-2.4.1/debian/control.in	2003-12-28 14:48:08.234875801 +0000
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Takuo KITAME <kitame@debian.org>
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Edd Dumbill <ejad@debian.org>, Emil Soleyman-Zomalan <emil@nishra.com>, Gustavo Noronha Silva <kov@debian.org>, Johannes Rohr <j.rohr@comlink.apc.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQueen <robot101@debian.org>, Ross Burton <ross@burtonini.com>, Sebastien Bacher <seb128@debian.org>
-Build-Depends: libbonobo2-dev (>= 2.4.0), libgconf2-dev (>= 2.4.0), libxml2-dev, libbz2-dev, libfam-dev (>= 2.6.9-4), gettext, debhelper (>> 3.0.0), zlib1g-dev, intltool, gnome-mime-data, dbs, libgnutls7-dev (>= 0.8.9), gnome-common, liborbit2-dev (>= 1:2.8.0)
-Build-Conflicts: libcdparanoia0-dev, automake1.6, automake1.7
+Build-Depends: libbonobo2-dev (>= 2.4.0), libgconf2-dev (>= 2.4.0), libxml2-dev, libbz2-dev, libfam-dev (>= 2.6.9-4), gettext, debhelper (>> 3.0.0), zlib1g-dev, automake1.7, intltool, gnome-mime-data, dbs, libgnutls7-dev (>= 0.8.9), gnome-common, liborbit2-dev (>= 1:2.8.0)
+Build-Conflicts: libcdparanoia0-dev
 Standards-Version: 3.6.1.0
 
 Package: libgnomevfs2-common
diff -urN gnome-vfs2-2.4.1.old/debian/patches/automake1.7-fix gnome-vfs2-2.4.1/debian/patches/automake1.7-fix
--- gnome-vfs2-2.4.1.old/debian/patches/automake1.7-fix	1970-01-01 00:00:00.000000000 +0000
+++ gnome-vfs2-2.4.1/debian/patches/automake1.7-fix	2003-12-28 14:51:22.902508724 +0000
@@ -0,0 +1,11 @@
+diff -urN gnome-vfs-2.4.1.orig/configure.in gnome-vfs-2.4.1/configure.in
+--- gnome-vfs-2.4.1.orig/configure.in	2003-10-12 10:51:55.000000000 +0000
++++ gnome-vfs-2.4.1/configure.in	2003-12-28 14:50:40.213238704 +0000
+@@ -438,6 +438,7 @@
+   else
+ 	AC_MSG_CHECKING(for OpenSSL libraries)
+ 	AC_MSG_RESULT(no)
++	AM_CONDITIONAL(HAVE_SSL, false)
+   fi
+   ])
+   dnl end of PKG_CHECK_MODULES(openssl)

--=-=-=--