Package: eagle-usb-modules-source
Version: 2.1.1-1
Severity: normal

Hi,

  I'm trying to build the eagle-usb-modules package for use on my
gateway, but I encounter the following bug: the building of
eagle-usb-modules tries to run depmod, which is not in my (non-root)
user's $PATH.  Therefore, failure happens.  I have no idea why it
should try to run depmod anyway, since the modules I'm building are
intended for another machine.  This is a problem that appeared with
2.1.1-1, the previous 1.9.9 version worked fine.  The "soekris" patch
shouldn't have any influence on eagle-usb (and the problem is not in
the building anyway, it's in what happens after things got compiled).

  Here's the (trimmed) build log:

[EMAIL PROTECTED]:/usr/src/kernel-mirenboite/linux-2.4.29$ fakeroot make-kpkg 
--revision=7 --added-patches=soekris kernel-image modules
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
            mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
            (mv -f scripts/package/Makefile scripts/package/Makefile.dist && \
               (echo "# Dummy file "; echo "help:") >  scripts/package/Makefile)
test ! -f stamp-debian && test ! -f debian/official && \
      rm -rf ./debian && mkdir ./debian
test -f applied_patches && rm -f applied_patches
make: [stamp-debian] Erreur 1 (ignorÃe)
for patch in /usr/src/kernel-patches/all/apply/soekris ; do            \
          if test -x  $patch; then                    \
              if $patch; then                         \
                  echo "Patch $patch processed fine"; \
          echo "$patch" >> applied_patches;   \
              else                                     \
                   echo "Patch $patch  failed.";      \
                   echo "Hit return to Continue";      \
           read ans;                           \
              fi;                                      \
  fi;                                          \
        done
START applying soekris patch (Soekris net4801 patch)
Testing whether "Soekris net4801 patch" patch for 2.4.29 applies (dry run):
"Soekris net4801 patch" patch for 2.4.29 succeeded
Removing empty files:
Done.
END applying soekris patch
Patch /usr/src/kernel-patches/all/apply/soekris processed fine
echo done >  stamp-patch

[...kernel builds normally...]

chmod -R og=rX debian/tmp-image
chown -R root:root debian/tmp-image
dpkg --build debian/tmp-image ..
dpkg-debÂ: construction du paquet ÂÂkernel-image-2.4.29ÂÂ dans 
ÂÂ../kernel-image-2.4.29_7_i386.debÂÂ.
rm -f -r debian/tmp-image
echo done >  stamp-image
make[1]: Leaving directory `/usr/src/kernel-mirenboite/linux-2.4.29'
for module in /usr/src/modules/eagle-usb ; do                       \
          if test -d  $module; then                                \
    (cd $module;                                          \
              if ./debian/rules KVERS="2.4.29" 
KSRC="/usr/src/kernel-mirenboite/linux-2.4.29" \
                             KMAINT="Roland Mas" KEMAIL="[EMAIL PROTECTED]"     
 \
                             
KPKG_DEST_DIR="/usr/src/kernel-mirenboite/linux-2.4.29/.."       \
                             KPKG_MAINTAINER="Roland Mas"        \
                             ARCH=i386                    \
                             KPKG_EXTRAV_ARG=""        \
                             KDREV="7" kdist; then          \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "Xfakeroot" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue?";                  \
         read ans;                                        \
              fi;                                                   \
     );                                                    \
  fi;                                                      \
        done
make[1]: Entering directory `/usr/src/modules/eagle-usb'
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/eagle-usb'
dh_testdir
dh_testroot
# Add here commands to clean up after the build process.
/usr/bin/make -C driver clean >/dev/null 2>&1 || true
rm -f Makefile.common
rm -rf config.{status,log,cache}
rm -f configure-stamp
dh_clean 
rm -f debian/control debian/postinst
make[2]: Leaving directory `/usr/src/modules/eagle-usb'
Nothing to configure
/usr/bin/make -w -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/eagle-usb'
sed -e 's/_KVERS_/2.4.29/g' debian/control.in >debian/control
sed -e 's/_KVERS_/2.4.29/g' debian/postinst.in >debian/postinst
dh_testdir
# Add here commands to configure the package.
CONFIG_FILES=Makefile.common ./configure --build i386-linux \
        --prefix=/ \
        --exec-prefix=/usr \
        --sysconfdir=/etc \
        --libdir=/usr/lib \
        --datadir=/usr/share \
        --includedir=/usr/include \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        --with-dsp-dir=/usr/share/eagle-usb/dsp \
        --with-kernel-src=/usr/src/kernel-mirenboite/linux-2.4.29
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strspn... yes
checking for strtol... yes
checking for ifconfig... yes
checking for route... yes
checking for pidof... yes
checking for dhclient... dhclient
checking for pppd... no
checking for pppoe... no
checking for tclsh... yes
checking for wish... yes
checking for xsltproc... yes
checking for kernel version... 2.4.29
checking for ifup... 1
checking for adictrl... no
checking for eaglectrl... no
checking for showstat... no
checking for eaglestat... no
checking for startadsl... no
checking for stopadsl... no
configure: creating ./config.status
config.status: creating Makefile.common
config.status: executing default commands

========================================================================
distribution detected                           Debian

dhcp support                                    dhclient

pppd support                                    no  (runtime detection)
install eagleconnect (tcl/tk frontend)          yes

generate documentation                          yes
========================================================================

warning: kernel-sources version is different from the current kernel.

warning: current gcc version is not the same as the one used to
         compile the running kernel.
         - current gcc version:          3.3.5
         - gcc version used for kernel:  Linux

touch configure-stamp
export DH_OPTIONS='-peagle-usb-modules-2.4.29'
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make KERNELSRC=/usr/src/kernel-mirenboite/linux-2.4.29 
KERNELVER=2.4.29 -C driver driver
make[3]: Entering directory `/usr/src/modules/eagle-usb/driver'
if test ! -f .depend ; then make dep ; exit 0 ; fi
make[4]: Entering directory `/usr/src/modules/eagle-usb/driver'
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2 -M *.c > .depend
make[4]: Leaving directory `/usr/src/modules/eagle-usb/driver'
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o eu_main.o eu_main.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o eu_utils.o eu_utils.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Pipes.o Pipes.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Me.o Me.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Sm.o Sm.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o eu_msg.o eu_msg.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Dsp.o Dsp.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Mpoa.o Mpoa.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Uni.o Uni.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Sar.o Sar.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o Oam.o Oam.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o eu_eth.o eu_eth.c
cc -DLINUX -D__KERNEL__ -DMODULE 
-I/usr/src/kernel-mirenboite/linux-2.4.29/include '-DEAGLEUSBVERSION="2.1.1"' 
-Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -O2   -c -o eu_boot_sm.o eu_boot_sm.c
ld -r -o eagle-usb.o eu_main.o eu_utils.o Pipes.o Me.o Sm.o eu_msg.o Dsp.o 
Mpoa.o Uni.o Sar.o Oam.o eu_eth.o eu_boot_sm.o
make[3]: Leaving directory `/usr/src/modules/eagle-usb/driver'
# Install the module
/usr/bin/make 
DESTDIR=/usr/src/modules/eagle-usb/debian/eagle-usb-modules-2.4.29 \
        KERNELSRC=/usr/src/kernel-mirenboite/linux-2.4.29 KERNELVER=2.4.29 \
        -C driver installdriver 
make[3]: Entering directory `/usr/src/modules/eagle-usb/driver'
/usr/bin/install -c -d 
/usr/src/modules/eagle-usb/debian/eagle-usb-modules-2.4.29/lib/modules/2.4.29/misc
 && \
/usr/bin/install -c -m 0644 eagle-usb.o 
/usr/src/modules/eagle-usb/debian/eagle-usb-modules-2.4.29/lib/modules/2.4.29/misc/eagle-usb.o
 && \
depmod -a
/bin/sh: depmod: command not found
make[3]: *** [installdriver] Erreur 127
make[3]: Leaving directory `/usr/src/modules/eagle-usb/driver'
make[2]: *** [binary-modules] Erreur 2
make[2]: Leaving directory `/usr/src/modules/eagle-usb'
make[1]: *** [kdist_image] Erreur 2
make[1]: Leaving directory `/usr/src/modules/eagle-usb'
Module /usr/src/modules/eagle-usb failed.
Perhaps /usr/src/modules/eagle-usb does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug 
against /usr/src/modules/eagle-usb.
Hit return to Continue?

  Then nothing happens until I hit return, then I get my prompt back
with no further output.

Thanks,

Roland.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages eagle-usb-modules-source depends on:
ii  debhelper                     4.2.31     helper programs for debian/rules
ii  make                          3.80-9     The GNU version of the "make" util

-- no debconf information

Reply via email to