I'm also having problems building for 2.6.18-128.1.14.  I'm trying to
build iscsitarget-0.4.15-4.src.rpm.  It only builds the kernel module.
I can't use that and the iscsitarget-0.4.15-4.el5.x86_64.rpm with it
because it is providing
iscsitarget-kmdl-2.6.18-128.1.14.el5-0.4.15-4.RHL5.x86_64.rpm.  

I installed atrpms-rpm-config-183-1.noarch.rpm to get it to build like
you said.  

Any suggestions or other information needed?

On Tue, 2009-06-30 at 00:09 -0400, sdkovacs wrote:
> On Sat, Jun 27, 2009 at 2:53 AM, Axel Thimm<[email protected]> wrote:
> > Hi,
> >
> > On Wed, Jun 24, 2009 at 08:35:59AM +0200, Mark Wormgoor wrote:
> >> Hi,
> >>
> >> Just to inform you that CentOS did release a new kernel 2.6.18-128.1.14
> >> over the weekend, but I haven't seen the kmdls turn up yet. No rush, but
> >> perhaps there's a hick-up in the build or release system somewhere?
> >>
> >> If you're too busy - no worries :)
> >>
> >> Kind regards,
> >>
> >> Mark
> >
> > the licenses for the RHELs I use for building kmdls have not been
> > prolongued in time, but there are people in Red Hat working on a more
> > permanent solution (for the licenses).
> 
> Hi Axel,
> 
> First of all, thank you for all your hard work. I just moved today
> from Fedora 8 to CentOS 5.3 and this missing ivtv kmdl issue is biting
> me.
> 
> Is there an ETA as to when you anticipate the licensing issue will be 
> resolved?
> >
> > I could start using the CentOS repository, of course, and I wouldn't
> > need any RHEL licenses, but I prefer building against RHEL, in case
> > there might ever be any incompatibility.
> >
> > In the meantime the kmdl rebuild easily on any system, if you have the
> > neccessary tools on it (mostly gcc and friends, as well as
> > atrpms-rpm-config), so you can grab the src.rpm and do a simple
> >
> > rpmbuild --rebuild ....src.rpm
> 
> I presume you mean to download
> 
> ivtv-0.10.6-132.src.rpm
> ivtv-0.10.x.spec
> 
> I tried that and in all likelihood my build environment is not setup
> correctly or there's something else I'm doing wrong. In any even, this
> was the output:
> 
> #rpmbuild --rebuild ivtv-0.10.6-132.src.rpm
> 
> Installing ivtv-0.10.6-132.src.rpm
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> /dev/stdin:1: Makefile: No such file or directory
> make: *** No rule to make target `Makefile'.  Stop.
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69886
> + umask 022
> + cd /usr/src/redhat/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /usr/src/redhat/BUILD
> + rm -rf ivtv-0.10.6
> + /bin/gzip -dc /usr/src/redhat/SOURCES/ivtv-0.10.6.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd ivtv-0.10.6
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + perl -pi -es,/sbin/depmod,:,g driver/Makefile
> + grep -rl '#include <linux/config.h>' .
> + xargs perl -pi '-es,#include <linux/config.h>,/* #include
> <linux/config.h> */,'
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69886
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd ivtv-0.10.6
> + LANG=C
> + export LANG
> + unset DISPLAY
> + export CC=/usr/bin/gcc
> + CC=/usr/bin/gcc
> ++ cat /lib/modules/2.6.18-128.1.14.el5/build/Makefile
> cat: /lib/modules/2.6.18-128.1.14.el5/build/Makefile: No such file or 
> directory
> ++ make -sf- -C /lib/modules/2.6.18-128.1.14.el5/build print-cppflags
> make: *** No rule to make target `print-cppflags'.  Stop.
> + OLDCPPFLAGS=
> error: Bad exit status from /var/tmp/rpm-tmp.69886 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.69886 (%build)
> 
> _______________________________________________
> atrpms-users mailing list
> [email protected]
> http://lists.atrpms.net/mailman/listinfo/atrpms-users


_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to