Hi:
I'd like to ask for some help.
I was building RPM package under both RHEL 6.0 32bit and 64bit.
But I came across an error.
Please refer to the attachments below.
The tarball was e1000e-1.2.17.tar.gz in package 15.6.
You can find the command I use in the new file.txt.
Best Regards
Miller Liu / 刘建文
EE
Server Business, Lenovo
E-mail:[email protected]
TEL:+86-10-58868956
MP:+86-15801317123
[root@localhost nic]# rpmbuild -tb e1000e-base-1.2.17.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.J9jrd8
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf e1000e-base-1.2.17
+ /usr/bin/gzip -dc /tmp/nic/e1000e-base-1.2.17.tar.gz
+ /bin/tar -xvvf -
drwxr-xr-x root/root 0 2011-05-30 12:21 e1000e-base-1.2.17/
drwxr-xr-x root/root 0 2010-09-22 19:53 e1000e-base-1.2.17/src/
-rwxr--r-- root/root 13314 2010-09-22 19:53 e1000e-base-1.2.17/src/param.c
-rwxr--r-- root/root 51107 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_mac.c
-rwxr--r-- root/root 75972 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_defines.h
-rwxr--r-- root/root 18111 2010-09-22 19:53 e1000e-base-1.2.17/src/hw.h
-rwxr--r-- root/root 10908 2010-09-22 19:53 e1000e-base-1.2.17/src/Makefile
-rwxr--r-- root/root 40897 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_80003es2lan.c
-rwxr--r-- root/root 88276 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_phy.c
-rwxr--r-- root/root 18878 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_nvm.c
-rwxr--r-- root/root 2322 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_82571.h
-rwxr--r-- root/root 59786 2010-09-22 19:53 e1000e-base-1.2.17/src/ethtool.c
-rwxr--r-- root/root 19 2010-09-22 19:53
e1000e-base-1.2.17/src/Module.supported
-rwxr--r-- root/root 3241 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_manage.h
-rwxr--r-- root/root 10474 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_ich8lan.h
-rwxr--r-- root/root 11692 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_phy.h
-rwxr--r-- root/root 3523 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_mac.h
-rwxr--r-- root/root 2318 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_nvm.h
-rwxr--r-- root/root 23753 2010-09-22 19:53 e1000e-base-1.2.17/src/kcompat.c
-rwxr--r-- root/root 69198 2010-09-22 19:53 e1000e-base-1.2.17/src/kcompat.h
-rwxr--r-- root/root 51014 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_82571.c
-rwxr--r-- root/root 4032 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_80003es2lan.h
-rwxr--r-- root/root 20787 2010-09-22 19:53 e1000e-base-1.2.17/src/e1000.h
-rwxr--r-- root/root 29791 2010-09-22 19:53
e1000e-base-1.2.17/src/kcompat_ethtool.c
-rwxr--r-- root/root 196172 2010-09-22 19:53 e1000e-base-1.2.17/src/netdev.c
-rwxr--r-- root/root 10222 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_manage.c
-rwxr--r-- root/root 108452 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_ich8lan.c
-rwxr--r-- root/root 21480 2010-09-22 19:53
e1000e-base-1.2.17/src/e1000_regs.h
-rwxr--r-- root/root 18671 2010-09-22 19:53 e1000e-base-1.2.17/COPYING
-rwxr--r-- root/root 29593 2010-09-22 19:53 e1000e-base-1.2.17/README
-rwxr--r-- root/root 11730 2011-05-30 12:21 e1000e-base-1.2.17/e1000e.spec
-rwxr--r-- root/root 9491 2010-09-22 19:53 e1000e-base-1.2.17/e1000e.7
-rwxr--r-- root/root 859 2011-05-30 12:21 e1000e-base-1.2.17/SUMS
-rwxr--r-- root/root 3942 2010-09-22 19:53 e1000e-base-1.2.17/pci.updates
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd e1000e-base-1.2.17
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YaZDf2
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd e1000e-base-1.2.17
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386
++ uname -r
+ KV=2.6.32-71.el6.i686
+ KA=i386
++ echo 2.6.32-71.el6.i686
++ sed '{ s/hugemem//g; s/[-]*smp//g; s/enterprise//g; }'
+ KV_BASE=2.6.32-71.el6.i686
+ '[' -e /usr/src/kernels ']'
++ echo 2.6.32-71.el6.i686
++ grep '^2.6'
+ '[' 2.6.32-71.el6.i686 ']'
+ '[' -e /etc/redhat-release ']'
++ ls /lib/modules
++ grep 2.6.32-71.el6.i686
+ KSP=2.6.32-71.el6.i686
+ for K in '$KSP'
+ '[' i386 == x86_64 ']'
+ '[' -e /lib/modules/2.6.32-71.el6.i686/build/.config ']'
+ grep -w CONFIG_PCI /lib/modules/2.6.32-71.el6.i686/build/.config
+ grep -i y
CONFIG_PCI=y
+ make -C src clean
make: Entering directory `/root/rpmbuild/BUILD/e1000e-base-1.2.17/src'
make -C /lib/modules/2.6.32-71.el6.i686/build
SUBDIRS=/root/rpmbuild/BUILD/e1000e-base-1.2.17/src clean
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.el6.i686'
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.el6.i686'
rm -rf e1000e.ko e1000e.o e1000e.mod.c e1000e.mod.o netdev.o ethtool.o param.o
e1000_82571.o e1000_ich8lan.o e1000_80003es2lan.o e1000_mac.o e1000_nvm.o
e1000_phy.o e1000_manage.o kcompat.o e1000e.7.gz .*cmd .tmp_versions
Module.markers Module.symvers modules.order
make: Leaving directory `/root/rpmbuild/BUILD/e1000e-base-1.2.17/src'
+ make -C src KSP=/lib/modules/2.6.32-71.el6.i686/build
INSTALL_MOD_PATH=/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386 KVERSION=
MANDIR=/usr/share/man CFLAGS_EXTRA= install
make: Entering directory `/root/rpmbuild/BUILD/e1000e-base-1.2.17/src'
make -C /lib/modules/2.6.32-71.el6.i686/build
SUBDIRS=/root/rpmbuild/BUILD/e1000e-base-1.2.17/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.el6.i686'
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/netdev.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/ethtool.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/param.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_82571.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_ich8lan.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_80003es2lan.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_mac.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_nvm.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_phy.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000_manage.o
CC [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/kcompat.o
LD [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000e.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000e.mod.o
LD [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000e.ko.unsigned
NO SIGN [M] /root/rpmbuild/BUILD/e1000e-base-1.2.17/src/e1000e.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.el6.i686'
gzip -c ../e1000e.7 > e1000e.7.gz
# remove all old versions of the driver
find
/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/lib/modules/2.6.32-71.el6.i686
-name e1000e.ko -exec rm -f {} \; || true
find:
`/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/lib/modules/2.6.32-71.el6.i686':
No such file or directory
find
/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/lib/modules/2.6.32-71.el6.i686
-name e1000e.ko.gz -exec rm -f {} \; || true
find:
`/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/lib/modules/2.6.32-71.el6.i686':
No such file or directory
install -D -m 644 e1000e.ko
/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/lib/modules/2.6.32-71.el6.i686/kernel/drivers/net/e1000e/e1000e.ko
/sbin/depmod -b /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386 -a -n >
/dev/null || true
install -D -m 644 e1000e.7.gz
/root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386/usr/share/man/man7/e1000e.7.gz
man -c -P'cat > /dev/null' e1000e || true
No manual entry for e1000e
make: Leaving directory `/root/rpmbuild/BUILD/e1000e-base-1.2.17/src'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LNJMYr
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386
++ dirname /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386
+ cd e1000e-base-1.2.17
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILDROOT/e1000e-base-1.2.17-1.i386
+ find lib -name 'e1000e.*o' -exec mv '{}' '{}.new' ';' -fprintf
/root/rpmbuild/BUILD/e1000e-base-1.2.17/file.list '/%p.new\n'
find: `lib': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.LNJMYr (%install)
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired