Bug#305907: Failure to build from source when running sarge i386 with provided amd64 kernel.

2005-10-06 Thread Christoph Berg
severity 305907 serious
thanks

Re: Len Sorensen in [EMAIL PROTECTED]
 When running on an athlon64 with the amd64 kernel that ships with sarge
 i386, util-linux fails to build because rdev doesn't get build.  Simple
 fix:

util-linux fails to build in my sid/i386 chroot:

install -s sys-utils/readprofile disk-utils/elvtune sys-utils/{tunelp,cytune} 
sys-utils/rdev debian/tmp/usr/sbin
install: Aufruf von stat für „sys-utils/rdev“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
make: *** [binary-arch] Fehler 1

The problem is in MCONFIG:

CPU=$(shell uname -m)
ARCH=$(shell echo $(CPU) | sed 's/i.86/intel/;s/arm.*/arm/')

$ uname -m
x86_64

Please use dpkg-architecture to determine the target architecture.

$ dpkg-architecture 
DEB_BUILD_ARCH=i386
[...]

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/


signature.asc
Description: Digital signature


Bug#305907: Failure to build from source when running sarge i386 with provided amd64 kernel.

2005-04-22 Thread Len Sorensen
Package: util-linux
Version: 2.12-10
Severity: normal

When running on an athlon64 with the amd64 kernel that ships with sarge
i386, util-linux fails to build because rdev doesn't get build.  Simple
fix:

In debian/rules change:
$(MAKE) all arch=$(arch) SUBDIRS=${SUBDIRS}
to
$(MAKE) all CPU=$(arch) arch=$(arch) SUBDIRS=${SUBDIRS}

Which will pass the i386 arch as the CPU type and it will build
properly.  This won't affect arm either (which already converts
arm3/arm4/arm5 etc to arm in the scripts) or any other arch since no
other arch is checked for explicitly.

Len Sorensen

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages util-linux depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5 5.4-4Shared libraries for terminal hand
ii  slang1a-utf81.4.9dbs-8   The S-Lang programming library wit
ii  zlib1g  1:1.2.2-3compression library - runtime

-- no debconf information


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