Package: squashfs
Version: 1:3.0-8
Severity: serious
Tags: patch

When building 'squashfs' on amd64/unstable, I get the following error:

make[1]: Leaving directory `/squashfs-3.0/squashfs-tools'
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
KDIR=/usr/src/linux-headers-2.6.17-2-amd64-k8 /usr/bin/make
make[1]: Entering directory `/squashfs-3.0'
make -C /usr/src/linux-headers-2.6.17-2-amd64-k8 SUBDIRS=`pwd`/linux-2.6 
CONFIG_SQUASHFS=m \
                 CC="gcc" modules
make: Entering an unknown directory
make: *** /usr/src/linux-headers-2.6.17-2-amd64-k8: No such file or directory.  
Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/squashfs-3.0'
make: *** [build/squashfs-modules-2.6.17-2-amd64-k8] Error 2

With the attached patch 'squashfs' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/squashfs-3.0/debian/rules ./debian/rules
--- ../tmp-orig/squashfs-3.0/debian/rules       2006-08-24 08:21:26.000000000 
+0000
+++ ./debian/rules      2006-08-24 08:20:04.000000000 +0000
@@ -50,7 +50,7 @@
 
 # All the flavours for each arch
 ALPHA   = alpha-generic alpha-smp alpha-legacy
-AMD64   = amd64-k8 amd64-k8-smp em64t-p4 em64t-p4-smp
+AMD64   = amd64
 ARM     = footbridge ixp4xx nslu2 rpc s3c2410
 HPPA32  = parisc parisc-smp
 HPPA64  = parisc64 parisc64-smp
diff -urN ../tmp-orig/squashfs-3.0/debian/control.in ./debian/control.in
--- ../tmp-orig/squashfs-3.0/debian/control.in  2006-08-24 08:21:26.000000000 
+0000
+++ ./debian/control.in 2006-08-24 08:21:24.000000000 +0000
@@ -140,11 +140,11 @@
  .
   Homepage: http://squashfs.sourceforge.net/
 
-Package: squashfs-modules-2.6.17-2-amd64-k8
+Package: squashfs-modules-2.6.17-2-amd64
 Architecture: amd64
-Depends: linux-image-2.6.17-2-amd64-k8
+Depends: linux-image-2.6.17-2-amd64
 Recommends: squashfs-tools
-Description: Squash filesystem module for Linux 2.6.17-2-amd64-k8
+Description: Squash filesystem module for Linux 2.6.17-2-amd64
  Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
  compression to compress both files, inodes and directories. Inodes in the
  system are very small and all blocks are packed to minimise data overhead.
@@ -155,15 +155,15 @@
  block device/memory systems (e.g. embedded systems) where low overhead is
  needed.
  .
- This package contains the compiled kernel module for 2.6.17-2-amd64-k8.
+ This package contains the compiled kernel module for 2.6.17-2-amd64.
  .
   Homepage: http://squashfs.sourceforge.net/
 
-Package: squashfs-modules-2.6-amd64-k8
+Package: squashfs-modules-2.6-amd64
 Architecture: amd64
-Depends: squashfs-modules-2.6.17-2-amd64-k8 (= ${Source-Version})
-Provides: squashfs-modules-amd64-k8
-Description: Squash filesystem module for AMD64 K8 machines
+Depends: squashfs-modules-2.6.17-2-amd64 (= ${Source-Version})
+Provides: squashfs-modules-amd64
+Description: Squash filesystem module for AMD64 machines
  Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
  compression to compress both files, inodes and directories. Inodes in the
  system are very small and all blocks are packed to minimise data overhead.
@@ -175,124 +175,7 @@
  needed.
  .
  This package depends on the latest squashfs modules for Linux kernel on AMD64
- K8 machines.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6.17-2-amd64-k8-smp
-Architecture: amd64
-Depends: linux-image-2.6.17-2-amd64-k8-smp
-Recommends: squashfs-tools
-Description: Squash filesystem module for Linux 2.6.17-2-amd64-k8-smp
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package contains the compiled kernel module for 2.6.17-2-amd64-k8-smp.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6-amd64-k8-smp
-Architecture: amd64
-Depends: squashfs-modules-2.6.17-2-amd64-k8-smp (= ${Source-Version})
-Provides: squashfs-modules-amd64-k8-smp
-Description: Squash filesystem module for AMD64 K8 SMP machines
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package depends on the latest squashfs modules for Linux kernel on 64bit
- multi-processor/multi-core AMD Athlon64 X2 and Opteron 2xx/8xx machines.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6.17-2-em64t-p4
-Architecture: amd64
-Depends: linux-image-2.6.17-2-em64t-p4
-Recommends: squashfs-tools
-Description: Squash filesystem module for Linux 2.6.17-2-em64t-p4
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package contains the compiled kernel module for 2.6.17-2-em64t-p4.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6-em64t-p4
-Architecture: amd64
-Depends: squashfs-modules-2.6.17-2-em64t-p4 (= ${Source-Version})
-Provides: squashfs-modules-em64t-p4
-Description: Squash filesystem module for Intel em64t P4 machines
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package depends on the latest squashfs modules for Linux kernel on 64bit
- Intel em64t Pentium4 machines.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6.17-2-em64t-p4-smp
-Architecture: amd64
-Depends: linux-image-2.6.17-2-em64t-p4-smp
-Recommends: squashfs-tools
-Description: Squash filesystem module for Linux 2.6.17-2-em64t-p4-smp
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package contains the compiled kernel module for 2.6.17-2-em64t-p4-smp.
- .
-  Homepage: http://squashfs.sourceforge.net/
-
-Package: squashfs-modules-2.6-em64t-p4-smp
-Architecture: amd64
-Depends: squashfs-modules-2.6.17-2-em64t-p4-smp (= ${Source-Version})
-Provides: squashfs-modules-em64t-p4-smp
-Description: Squash filesystem module for Intel em64t P4/Xeon SMP machines
- Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
- compression to compress both files, inodes and directories. Inodes in the
- system are very small and all blocks are packed to minimise data overhead.
- Block sizes greater than 4K are supported up to a maximum of 64K.
- .
- Squashfs is intended for general read-only filesystem use, for archival
- use (i.e. in cases where a .tar.gz file may be used), and in constrained
- block device/memory systems (e.g. embedded systems) where low overhead is
- needed.
- .
- This package depends on the latest squashfs modules for Linux kernel on 64bit
- multi-processor/multi-core Intel em64t Pentium 4/Pentium D/Xeon machines.
+ machines.
  .
   Homepage: http://squashfs.sourceforge.net/
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to