Package: ntp-simple
Version: 1:4.2.0a+stable-8
Severity: serious
Justification: no longer builds from source

I tagged the severity lower, but it's upgraded.

I am trying to cross compile the ntp-simple package for an embedded
target. Based on the debian/rules, I use the following configuration:

[EMAIL PROTECTED] ntp-4.2.0a+stable]$ cat autogen.sh
#!/bin/sh

# fix permissions
chmod a+x configure

mkdir -p build-simple
cd build-simple && ../configure --prefix=/usr \
        --disable-all-clocks --disable-parse-clocks \
        --disable-debugging --enable-LOCAL-CLOCK \
        --sysconfdir=/tmp/ntp
        --cache-file=../config.cache \
        --disable-errorcache \
        --host=powerpc-linux-uclibc \
        --build=i686-linux

make -C build-simple


The build fails at:
make[3]: Entering directory
`/home/firmware/mleeman/tmp/ntp-4.2.0a+stable/build-simple/ntpdc'
powerpc-linux-uclibc-gcc -E -I. -I../../ntpdc -I.. -I../../include
../../ntpdc/nl_in.c | ./nl.pl > nl.c
if powerpc-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../../ntpdc -I..
-I../../include    -g -O2 -Wall -Wcast-qual -Wmissing-prototypes
-Wpointer-arith -Wshadow -Wstrict-prototypes -MT ntpdc-layout.o -MD -MP
-MF ".deps/ntpdc-layout.Tpo" \
-c -o ntpdc-layout.o `test -f '../../ntpdc/ntpdc-layout.c' || echo
'../../ntpdc/'`../../ntpdc/ntpdc-layout.c; \
then mv -f ".deps/ntpdc-layout.Tpo" ".deps/ntpdc-layout.Po"; \
else rm -f ".deps/ntpdc-layout.Tpo"; exit 1; \
fi
powerpc-linux-uclibc-gcc  -g -O2 -Wall -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes   -o
ntpdc-layout  ntpdc-layout.o
./ntpdc-layout > layout.here
/bin/sh: line 1: ./ntpdc-layout: cannot execute binary file
  
As far as I can make out, the ntpdc-layout is a small tool for creating
some configuration file. It should be compiled with the host gcc, not
the target gcc.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'hoary'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages ntp-simple depends on:
ii  adduser                3.64              Add and remove users and groups
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libcap1                1:1.10-14         support for getting/setting POSIX.
ii  libssl0.9.7            0.9.7g-1          SSL shared libraries
ii  ntp-server             1:4.2.0a+stable-8 Network Time Protocol: common serv

ntp-simple recommends no packages.

-- debconf information:
* shared/ntp/update-conf: true
* shared/ntp/servers: time.chello.be ntp1.belbone.be
  shared/ntp/localclock: false

-- 
  greetz, marc
Man, you guys should see this ugly sticky flesh. Kinda like my Aunt
Ruth's special Jello.
        Crichton - Green-Eyed Monster
scorpius 2.6.12 #1 Thu Jun 23 21:32:03 CEST 2005 GNU/Linux

Attachment: signature.asc
Description: Digital signature

Reply via email to