miguel == Miguel Beccari [EMAIL PROTECTED] writes:
Hi
sorry for the delay, I think that stew jeff already found
that deffining %build_BOOT to 0 fixed the problem. I just
forgot to answer you, thanks for the tip.
Later, Juan answering very, very old mail Quintela.
miguel Infact I updated from lastest cooker src.rpms the folling:
miguel rpm, libbinutils,
miguel fileutils, findutils, mkinitrd, sgml-tools, ghostscript.
miguel Then I downloaded kernel-2.4.17.13mdk-1-1mdk.src.rpm
miguel I did some few hacks to make it works on mdk ppc and now -
miguel ladies and
miguel gentlemen -...
miguel [root@serverg3 SRPMS]# uname -a
miguel Linux serverg3 2.4.17-MACINTOSH #1 ven feb 1 17:54:50 CET
miguel 2002 ppc unknown
miguel Wow!!! Juan Quintela aswers a mail of mine... I really appreciate your
miguel work ok kernel rpms.
If you can send me what things did you changed, I can integrate them
in the Mandrake kernel. Notice that I don't have an easy access to
one ppc machine, I will put here the srpm for people to test (I don't
have an easy access to one ppc machine right now).
miguel Ok.
miguel I experienced theese errors (2) with macros:
miguel 1) rpm --rebuild kernel-2.4.17.13mdk-1-1mdk.src.rpm
miguel Installing kernel-2.4.17.13mdk-1-1mdk.src.rpm
miguel error: parse error in expression
miguel error: /usr/src/RPM/SPECS/kernel-2.4.spec:1229: parseExpressionBoolean
miguel returns -1
miguel I commented the spec as follow:
miguel 1229 #%if %build_BOOT
miguel 1230 #CreateKernel BOOT
miguel 1231 #%endif
miguel and then the error was:
miguel rpm -bb ../SPECS/kernel-2.4.spec
miguel error: parse error in expression
miguel error: /usr/src/RPM/SPECS/kernel-2.4.spec:1632: parseExpressionBoolean
miguel returns -1
miguel and I commented the following lines:
miguel 1632 %if %build_BOOT
miguel 1633 %files -n kernel-BOOT-%{mdkversion}
miguel 1634 %defattr(-,root,root)
miguel 1635 %{_bootdir}/config-%{KVERREL}BOOT
miguel 1636 %{_bootdir}/vmlinuz-%{KVERREL}BOOT
miguel 1637 %{_bootdir}/System.map-%{KVERREL}BOOT
miguel 1638 %dir %{_modulesdir}/%{KVERREL}BOOT/
miguel 1639 %{_modulesdir}/%{KVERREL}BOOT/kernel
miguel 1640 %{_modulesdir}/%{KVERREL}BOOT/build
miguel 1641 %{_modulesdir}/%{KVERREL}BOOT/pcmcia
miguel 1642 %{_modulesdir}/%{KVERREL}BOOT/modules.*
miguel 1643 %endif
miguel This happens with
miguel build BOOT 0
miguel and
miguel build BOOT 1
miguel 2) Then I experienced a dependency error.
miguel This happens with
miguel build doc 1
miguel The compilation starts and goes on without errors
miguel but when it is near to finish (and the macro begin to tar the *.ps
miguel files) an error occurs and the compilation is aborted.
miguel I cannot remember what program was missed, but it was from
miguel sgml-tools.
miguel The *ps files were not created (because sgml-tools were not installed),
miguel and so the macro failed.
miguel I suppose it is necessary to include a build require: sgml-tools.
miguel Theese are my 'few hacks' to make the src.rpm working.
miguel Best regards,
miguel Miguel Beccari
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy