Bug#306756: [Krusader-devel] Re: Bug#306756: krusader: 1.60.0-1 FTBFS on all arches (including unofficial amd64)

2005-04-29 Thread Modestas Vainius
The bug is a debian packaging bug. Just have a look at .diff.gz[1] It contains 
a patch
to Makefile.in that adds various bcheck related targets. The problem is that 
these
targets are already in Makefile.in in the upstream sources (.orig.tar.gz[2] at 
least,
I haven't checked if it differs from original upstream tarball)), so the patch
duplicates them[3]. This means that either .orig.tar.gz and .diff.gz are not in 
sync or
krusader maintainer incorrectly patched upstream sources.

1. 
http://ftp.de.debian.org/debian/pool/main/k/krusader/krusader_1.60.0-1.diff.gz
2. 
http://ftp.de.debian.org/debian/pool/main/k/krusader/krusader_1.60.0.orig.tar.gz
3. 
http://buildd.debian.org/fetch.php?pkg=krusaderver=1.60.0-1arch=sparcstamp=1114644820file=logas=raw

2005 m. Balandio 29 d., Penktadienis 12:42, Frank Schoolmeesters ra:
 Just to be clear,
 this is a bug with the old makefiles of Krusader-1.60.0
 not the new makefiles of Jonas patch in cvs.

 I mailed this in CC to:
 Modestas Vainius [EMAIL PROTECTED]
 he has reported this bug, maybe he can explain more if you need more info.
 and
 Angel Ramos [EMAIL PROTECTED]
 Maintainer of the Krusader deb package.

 Frank

 On 4/29/05, Shie Erlich [EMAIL PROTECTED] wrote:
  i'll have a look at this on the weekend.
  jonas, if u have time, plz look too since u played with the makefiles
 
  shie
 
  On 4/29/05, Frank Schoolmeesters [EMAIL PROTECTED] wrote:
   An update.
  
   Just let me know if something need to be changed on
   the makefiles magic or not in our code
   or it is only a Debian problem.
  
   As far i can understand Debian can only compile Krusader on i386
   other architectures are failing
   http://packages.debian.org/Krusader
  
   Frank
  
   -- Forwarded message --
   From: Debian Bug Tracking System [EMAIL PROTECTED]
   Date: Apr 29, 2005 8:48 AM
   Subject: Processed: ftbfs is serious
   To: Blars Blarson [EMAIL PROTECTED]
   Cc: Angel Ramos [EMAIL PROTECTED]
  
   Processing commands for [EMAIL PROTECTED]:
severity 306756 serious
  
   Bug#306756: krusader: 1.60.0-1 FTBFS on all arches (including
   unofficial amd64) Severity set to `serious'.
  
thanks
  
   Stopping processing here.
  
   Please contact me if you need assistance.
  
   Debian bug tracking system administrator
   (administrator, Debian Bugs database)
  
   -- Forwarded message --
   From: Blars Blarson [EMAIL PROTECTED]
   Date: Apr 29, 2005 8:32 AM
   Subject: Bug#306756: ftbfs is serious
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
  
   severity 306756 serious
   thanks
   happens on all buildds, duplicated on sparc pbuilder.
  
   --
   Blars Blarson   [EMAIL PROTECTED]
  http://www.blars.org/blars.html
   With Microsoft, failure is not an option.  It is a standard feature.
  
   On 4/28/05, Frank Schoolmeesters [EMAIL PROTECTED] wrote:
Hi gys,
   
I just forward this mail to krusader-devel to inform you.
It is a bug report against the official krusader-1.60.0 deb that was
build yesterday.
   
i have no idea of something needs to be changed to the code,
I leave that to the developers ;)
   
   
Frank
   
-- Forwarded message --
From: Modestas Vainius [EMAIL PROTECTED]
Date: Apr 28, 2005 12:36 PM
Subject: Bug#306756: krusader: 1.60.0-1 FTBFS on all arches
(including unofficial amd64)
To: Debian Bug Tracking System [EMAIL PROTECTED]
   
Package: krusader
Version: 1.51-1
Severity: important
Justification: fails to build from source
   
I don't know if you're aware or not but krusader 1.60-1 fails to
build from source on all arches including unofficial amd64. Check
build logs at http://buildd.debian.org for details.
   
I have prepared a patch (attached), which fixes the problem. Patch
was generated with following commands:
   
dpkg-source -x krusader_1.60.0-1.dsc
cp -R krusader-1.60.0 krusader-1.60.0.old
cd krusader-1.60.0
make -f Makefile.cvs
rm -rf autom4te.cache
cd ..
diff -uNr krusader-1.60.0.old krusader-1.60.0 | gzip -c 
krusader-ftbfs.diff.gz
   
Thus The patch is against denianized 1.60.0-1. Then krusader builds
fine with pbuilder except a warning about missing autoheader:
-
kde_locale:   /usr/share/locale
qt_libraries: /usr/lib
qt_includes:  /usr/include/qt3
KDEDIR:   /usr
QTDIR:/usr
Install path: /usr/bin
krusader version: 1.60.0
krusader binary:  /usr/bin/krusader (after 'make install')
   
Good - your configure finished. Start make now
   
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/krusader-1.60.0'
cd .  /bin/sh /tmp/buildd/krusader-1.60.0/admin/missing --run
autoheader /tmp/buildd/krusader

Bug#306756: krusader: 1.60.0-1 FTBFS on all arches (including unofficial amd64)

2005-04-28 Thread Modestas Vainius
Package: krusader
Version: 1.51-1
Severity: important
Justification: fails to build from source

I don't know if you're aware or not but krusader 1.60-1 fails to build
from source on all arches including unofficial amd64. Check build logs
at http://buildd.debian.org for details.

I have prepared a patch (attached), which fixes the problem. Patch was
generated with following commands:

dpkg-source -x krusader_1.60.0-1.dsc
cp -R krusader-1.60.0 krusader-1.60.0.old
cd krusader-1.60.0
make -f Makefile.cvs
rm -rf autom4te.cache
cd ..
diff -uNr krusader-1.60.0.old krusader-1.60.0 | gzip -c  krusader-ftbfs.diff.gz

Thus The patch is against denianized 1.60.0-1. Then krusader builds fine with
pbuilder except a warning about missing autoheader:
-
  kde_locale:   /usr/share/locale
  qt_libraries: /usr/lib
  qt_includes:  /usr/include/qt3
  KDEDIR:   /usr
  QTDIR:/usr
  Install path: /usr/bin
  krusader version: 1.60.0
  krusader binary:  /usr/bin/krusader (after 'make install')


Good - your configure finished. Start make now

dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/krusader-1.60.0'
cd .  /bin/sh /tmp/buildd/krusader-1.60.0/admin/missing --run autoheader
/tmp/buildd/krusader-1.60.0/admin/missing: line 46: autoheader: command not 
found
WARNING: `autoheader' is missing on your system.  You should only need it if
 you modified `acconfig.h' or `configure.in'.  You might want
 to install the `Autoconf' and `GNU m4' packages.  Grab them
 from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd .  /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
---

It is harmless because krusader builds fine afterwards. To avoid it, you need
to `touch config.h.in` to update its date. The date can't be updated if there
are no changes to the file itself (at least I haven't managed) with the help of
`diff`, so you need to do this in debian/rules if you consider this warning to
be a problem.


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11.7-mdx
Locale: LANG=lt_LT, LC_CTYPE=lt_LT (charmap=ISO-8859-13)

Versions of packages krusader depends on:
ii  kdelibs4 4:3.4.0-0pre3   core libraries for all KDE applica
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libaudio21.7-2   The Network Audio System (NAS). (s
ii  libc62.3.2.ds1-21GNU C Library: Shared libraries an
ii  libfam0c102  2.7.0-6 client library to control the FAM 
ii  libfontconfig1   2.3.1-2 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
ii  libgcc1  1:3.4.3-12  GCC support library
ii  libice6  4.3.0.dfsg.1-12 Inter-Client Exchange library
ii  libidn11 0.5.13-1.0  GNU libidn library, implementation
ii  libjpeg626b-10   The Independent JPEG Group's JPEG 
ii  libpcre3 5.0-1   Perl 5 Compatible Regular Expressi
ii  libpng12-0   1.2.8rel-1  PNG library - runtime
ii  libqt3c102-mt3:3.3.4-3   Qt GUI Library (Threaded runtime v
ii  libsm6   4.3.0.dfsg.1-12 X Window System Session Management
ii  libstdc++5   1:3.3.5-12  The GNU Standard C++ Library v3
ii  libx11-6 4.3.0.dfsg.1-12 X Window System protocol client li
ii  libxcursor1  1.1.3-1 X cursor management library
ii  libxext6 4.3.0.dfsg.1-12 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxrandr2   4.3.0.dfsg.1-12 X Window System Resize, Rotate and
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  libxt6   4.3.0.dfsg.1-12 X Toolkit Intrinsics
ii  xlibs4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information


krusader-ftbfs.diff.gz
Description: Binary data