Re: make rpm fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2003-05-02 at 21:41, Michael Fratoni wrote:

> RPM auto generates a debug.rpm by default. It's failing here for some 
> reason. You can try:
> 
> # echo "%debug_package          %{nil}" >> ~/.rpmmacros
> 
> # cd /usr/src/linux-2.4
> # make rpm

This failed with this (partial) output:

...
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.209custom/arch/i386/mm'
make -C  arch/i386/lib CFLAGS="-D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.209custom/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/redhat/BUILD/kernel-2.4.209custom/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.4.209custom/arch/i386/lib'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.209custom/arch/i386/lib'
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.209custom'
+ $'\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240'
/var/tmp/rpm-tmp.23165: line 28:          : command not found
error: Bad exit status from /var/tmp/rpm-tmp.23165 (%build)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.23165 (%build)
make: *** [rpm] Error 1
[root@xxxxxxx linux-2.4]#

Command was "make rpm".  df shows plenty of free space on the drives. 
I've attached the two "rpm-tmp.xxxxx" files found in /var/tmp - line 28
specified above appears to be blank.

Thanks,
Bret

#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/linux-2.4.20-9/.."
  RPM_BUILD_DIR="/usr/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -march=i386 -mcpu=i686"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="kernel"
  RPM_PACKAGE_VERSION="2.4.209custom"
  RPM_PACKAGE_RELEASE="2"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/kernel-2.4.209custom-root"
  export RPM_BUILD_ROOT
  
  
  set -x
  umask 022
  cd /usr/src/redhat/BUILD
cd kernel-2.4.209custom
LANG=C
export LANG

make oldconfig dep clean bzImage modules

Â?Â?Â?Â?Â?Â?Â?Â?Â? 
exit 0
#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/linux-2.4.20-9/.."
  RPM_BUILD_DIR="/usr/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -march=i386 -mcpu=i686"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="kernel"
  RPM_PACKAGE_VERSION="2.4.209custom"
  RPM_PACKAGE_RELEASE="2"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/kernel-2.4.209custom-root"
  export RPM_BUILD_ROOT
  
  
  set -x
  umask 022
  cd /usr/src/redhat/BUILD
cd kernel-2.4.209custom
LANG=C
export LANG

make oldconfig dep clean bzImage modules


exit 0

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux