Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

rebuilding dadhi

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


zefrench at gmail

Jun 24, 2009, 10:23 AM

Post #1 of 5 (1760 views)
Permalink
rebuilding dadhi

I am trying to recompile the dadhi packages so that I can have the non smp
version of the dadhi modules for kernel 2.6.9-78

I am using the command below:


rpmbuild -bb --define 'dist .el4' --define "kmdl_kernelsrcdir
/lib/modules/2.6.9-78.0.22.EL/build" /usr/src/redhat/SPECS/dahdi-linux.spec

I also have the following rpm installed:

atrpms-rpm-config-183-1
atrpms-71-1




I get the following errors, can someone point me to the doc I can read on
finding out what I am missing (macros?)


make[1]: Leaving directory `/usr/src/kernels/2.6.9-78.0.22.EL-i686'
[ `id -u` = 0 ] && /sbin/depmod -a || :
WARNING: Can't read module
/lib/modules/2.6.9-78.0.22.ELsmp/weak-updates/wct1xxp.ko: No such file or
directory

extracting debug info from
/var/tmp/dahdi-linux-2.1.0.4-60.el4-buildroot/lib/modules/updates/2.6.9-78.0.22.EL/extra/wct1xxp.ko
*** WARNING: No build ID note found in
/var/tmp/dahdi-linux-2.1.0.4-60.el4-buildroot/lib/modules/updates/2.6.9-78.0.22.EL/extra/wct1xxp.ko

*** WARNING: No build ID note found in
/var/tmp/dahdi-linux-2.1.0.4-60.el4-buildroot/lib/modules/updates/2.6.9-78.0.22.EL/extra/xpp_usb.ko
9105 blocks
+ /usr/lib/rpm/atrpms/python_burninversion.sh
+ /usr/lib/rpm/atrpms/brp-compress
+ /usr/lib/rpm/atrpms/brp-strip /usr/bin/strip
+ /usr/lib/rpm/atrpms/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/atrpms/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: dahdi-linux-kmdl--2.1.0.4-60.el4
Provides: dahdi-linux-kmdl- dahdi-linux-kmdl- = 2.1.0.4-60.el4
dahdi-linux-kmdl-2.1.0.4-60.el4
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <=
3.0.3-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: /boot/vmlinuz- /sbin/depmod dahdi-linux = 2.1.0.4-60.el4 modutils
>= 2.4.14
Obsoletes: kernel-module-dahdi-linux-2.1.0.4-60.el4
kernel-module-dahdi-linux- <= 2.1.0.4-60.el4
Processing files: dahdi-linux-kmdl--debuginfo-2.1.0.4-60.el4
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/dahdi-linux-2.1.0.4-60.el4-buildroot
Wrote: /usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--2.1.0.4-60.el4.i386.rpm
Wrote:
/usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--debuginfo-2.1.0.4-60.el4.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.31433
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd dahdi-linux-2.1.0.4
+ rm -rf /var/tmp/dahdi-linux-2.1.0.4-60.el4-buildroot
+ exit 0


zefrench at gmail

Jun 25, 2009, 11:07 AM

Post #2 of 5 (1667 views)
Permalink
Re: rebuilding dadhi [In reply to]

Problem still occurring update:

I am now trying to rebuild the dahdi kmdl for the current running
version of the kernel, thus I am using the command below:

rpmbuild -bb --define 'kmdl_userland 0' --define 'dist .el4'
/usr/src/redhat/SPECS/dahdi-linux.spec


I get the output:
..............
Wrote: /usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--2.1.0.4-60.el4.i386.rpm
............

The kernel version number appears to not be picked up by the building
macros, as you can see below, the atrpms-rpm-config rpm is installed
properly

[root [at] hfxignmgtes build]# rpm -Vv atrpms-rpm-config
........ /etc/rpm/macros.atrpms
........ /etc/rpm/macros.bcond
........ /etc/rpm/macros.kmdl
........ /etc/rpm/macros.libs
........ /etc/rpm/macros.perl
........ /usr/lib/rpm/atrpms
........ /usr/lib/rpm/atrpms/brp-compress
........ /usr/lib/rpm/atrpms/brp-strip
........ /usr/lib/rpm/atrpms/brp-strip-comment-note
........ /usr/lib/rpm/atrpms/brp-strip-static-archive
........ /usr/lib/rpm/atrpms/find-debuginfo.sh
........ /usr/lib/rpm/atrpms/find-devel.sh
........ /usr/lib/rpm/atrpms/find-lib.sh
........ /usr/lib/rpm/atrpms/find-provides
........ /usr/lib/rpm/atrpms/find-requires
........ /usr/lib/rpm/atrpms/macros
........ /usr/lib/rpm/atrpms/python_burninversion.sh
........ /usr/lib/rpm/atrpms/rpmrc

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


Axel.Thimm at ATrpms

Jun 27, 2009, 12:03 AM

Post #3 of 5 (1664 views)
Permalink
Re: rebuilding dadhi [In reply to]

On Thu, Jun 25, 2009 at 03:07:18PM -0300, Martin Giguere wrote:
> Problem still occurring update:
>
> I am now trying to rebuild the dahdi kmdl for the current running
> version of the kernel, thus I am using the command below:
>
> rpmbuild -bb --define 'kmdl_userland 0' --define 'dist .el4'
> /usr/src/redhat/SPECS/dahdi-linux.spec
>
>
> I get the output:
> ..............
> Wrote: /usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--2.1.0.4-60.el4.i386.rpm
> ............
>
> The kernel version number appears to not be picked up by the building
> macros, as you can see below, the atrpms-rpm-config rpm is installed
> properly

The macros try to guess the kernel you want to build for by querying
the kernel source directory. Are the kernel sources properly
installed?

Otherwise you can force the kernel version with --define "_kernel 2.6...."

> [root [at] hfxignmgtes build]# rpm -Vv atrpms-rpm-config
> ........ /etc/rpm/macros.atrpms
> ........ /etc/rpm/macros.bcond
> ........ /etc/rpm/macros.kmdl
> ........ /etc/rpm/macros.libs
> ........ /etc/rpm/macros.perl
> ........ /usr/lib/rpm/atrpms
> ........ /usr/lib/rpm/atrpms/brp-compress
> ........ /usr/lib/rpm/atrpms/brp-strip
> ........ /usr/lib/rpm/atrpms/brp-strip-comment-note
> ........ /usr/lib/rpm/atrpms/brp-strip-static-archive
> ........ /usr/lib/rpm/atrpms/find-debuginfo.sh
> ........ /usr/lib/rpm/atrpms/find-devel.sh
> ........ /usr/lib/rpm/atrpms/find-lib.sh
> ........ /usr/lib/rpm/atrpms/find-provides
> ........ /usr/lib/rpm/atrpms/find-requires
> ........ /usr/lib/rpm/atrpms/macros
> ........ /usr/lib/rpm/atrpms/python_burninversion.sh
> ........ /usr/lib/rpm/atrpms/rpmrc
>
> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel [at] atrpms
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel

--
Axel.Thimm at ATrpms.net


zefrench at gmail

Jun 29, 2009, 6:40 AM

Post #4 of 5 (1662 views)
Permalink
Re: rebuilding dadhi [In reply to]

I had to use the command below to be able to compile on Centos 4.7.
If you could point me to a method of enabling debuging output all the
macros (would a spec file with echo macroname work?), I am happy to
troubleshoot your macro.

Please let me know if you are interested.



rpmbuild -bb --define '_kernel 2.6.9-78.0.22.EL' --define
'kmdl_kernelsrcdir /lib/modules/2.6.9-78.0.22.EL/build'
/usr/src/redhat/SPECS/dahdi-linux.spec

On Sat, Jun 27, 2009 at 4:03 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
>
> On Thu, Jun 25, 2009 at 03:07:18PM -0300, Martin Giguere wrote:
> > Problem still occurring update:
> >
> > I am now trying to rebuild the dahdi kmdl for the current running
> > version of the kernel, thus I am using the command below:
> >
> > rpmbuild -bb --define 'kmdl_userland 0' --define 'dist .el4'
> > /usr/src/redhat/SPECS/dahdi-linux.spec
> >
> >
> > I get the output:
> > ..............
> > Wrote: /usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--2.1.0.4-60.el4.i386.rpm
> > ............
> >
> > The kernel version number appears to not be picked up by the building
> > macros, as you can see below, the atrpms-rpm-config rpm is installed
> > properly
>
> The macros try to guess the kernel you want to build for by querying
> the kernel source directory. Are the kernel sources properly
> installed?
>
> Otherwise you can force the kernel version with --define "_kernel 2.6...."
>
> > [root [at] hfxignmgtes build]# rpm -Vv atrpms-rpm-config
> > ........    /etc/rpm/macros.atrpms
> > ........    /etc/rpm/macros.bcond
> > ........    /etc/rpm/macros.kmdl
> > ........    /etc/rpm/macros.libs
> > ........    /etc/rpm/macros.perl
> > ........    /usr/lib/rpm/atrpms
> > ........    /usr/lib/rpm/atrpms/brp-compress
> > ........    /usr/lib/rpm/atrpms/brp-strip
> > ........    /usr/lib/rpm/atrpms/brp-strip-comment-note
> > ........    /usr/lib/rpm/atrpms/brp-strip-static-archive
> > ........    /usr/lib/rpm/atrpms/find-debuginfo.sh
> > ........    /usr/lib/rpm/atrpms/find-devel.sh
> > ........    /usr/lib/rpm/atrpms/find-lib.sh
> > ........    /usr/lib/rpm/atrpms/find-provides
> > ........    /usr/lib/rpm/atrpms/find-requires
> > ........    /usr/lib/rpm/atrpms/macros
> > ........    /usr/lib/rpm/atrpms/python_burninversion.sh
> > ........    /usr/lib/rpm/atrpms/rpmrc
> >
> > _______________________________________________
> > atrpms-devel mailing list
> > atrpms-devel [at] atrpms
> > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>
> --
> Axel.Thimm at ATrpms.net

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


Axel.Thimm at ATrpms

Jun 29, 2009, 9:04 AM

Post #5 of 5 (1659 views)
Permalink
Re: rebuilding dadhi [In reply to]

On Mon, Jun 29, 2009 at 10:40:38AM -0300, Martin Giguere wrote:
> I had to use the command below to be able to compile on Centos 4.7.
> If you could point me to a method of enabling debuging output all the
> macros (would a spec file with echo macroname work?), I am happy to
> troubleshoot your macro.
>
> Please let me know if you are interested.

Of course I am!

But debuggging rpm macros is a bit of a pain. You can use %trace and
%dump for debugging, see /usr/share/doc/rpm-*/macros for the whole
list.

> rpmbuild -bb --define '_kernel 2.6.9-78.0.22.EL' --define
> 'kmdl_kernelsrcdir /lib/modules/2.6.9-78.0.22.EL/build'
> /usr/src/redhat/SPECS/dahdi-linux.spec
>
> On Sat, Jun 27, 2009 at 4:03 AM, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
> >
> > On Thu, Jun 25, 2009 at 03:07:18PM -0300, Martin Giguere wrote:
> > > Problem still occurring update:
> > >
> > > I am now trying to rebuild the dahdi kmdl for the current running
> > > version of the kernel, thus I am using the command below:
> > >
> > > rpmbuild -bb --define 'kmdl_userland 0' --define 'dist .el4'
> > > /usr/src/redhat/SPECS/dahdi-linux.spec
> > >
> > >
> > > I get the output:
> > > ..............
> > > Wrote: /usr/src/redhat/RPMS/i386/dahdi-linux-kmdl--2.1.0.4-60.el4.i386.rpm
> > > ............
> > >
> > > The kernel version number appears to not be picked up by the building
> > > macros, as you can see below, the atrpms-rpm-config rpm is installed
> > > properly
> >
> > The macros try to guess the kernel you want to build for by querying
> > the kernel source directory. Are the kernel sources properly
> > installed?
> >
> > Otherwise you can force the kernel version with --define "_kernel 2.6...."
> >
> > > [root [at] hfxignmgtes build]# rpm -Vv atrpms-rpm-config
> > > ........    /etc/rpm/macros.atrpms
> > > ........    /etc/rpm/macros.bcond
> > > ........    /etc/rpm/macros.kmdl
> > > ........    /etc/rpm/macros.libs
> > > ........    /etc/rpm/macros.perl
> > > ........    /usr/lib/rpm/atrpms
> > > ........    /usr/lib/rpm/atrpms/brp-compress
> > > ........    /usr/lib/rpm/atrpms/brp-strip
> > > ........    /usr/lib/rpm/atrpms/brp-strip-comment-note
> > > ........    /usr/lib/rpm/atrpms/brp-strip-static-archive
> > > ........    /usr/lib/rpm/atrpms/find-debuginfo.sh
> > > ........    /usr/lib/rpm/atrpms/find-devel.sh
> > > ........    /usr/lib/rpm/atrpms/find-lib.sh
> > > ........    /usr/lib/rpm/atrpms/find-provides
> > > ........    /usr/lib/rpm/atrpms/find-requires
> > > ........    /usr/lib/rpm/atrpms/macros
> > > ........    /usr/lib/rpm/atrpms/python_burninversion.sh
> > > ........    /usr/lib/rpm/atrpms/rpmrc
> > >
> > > _______________________________________________
> > > atrpms-devel mailing list
> > > atrpms-devel [at] atrpms
> > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> >
>
> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel [at] atrpms
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel

--
Axel.Thimm at ATrpms.net

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.