As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
2011/6/12 Joshua C. joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
Here are once again some logs
On 07/05/2011 07:41 AM, Joshua C. wrote:
2011/6/12 Joshua C.joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
Here are once again some logs
Try rebuilding using mock or a koji scratch build.
mock -r fedora-15-x86_64 --rebuild /path/to/foo.srpm
or
koji build --scratch dist-f15 /path/to/foo.srpm
2011/7/4 Brendan Jones brendan.jones.it@gmail.com:
On 07/05/2011 07:41 AM, Joshua C. wrote:
2011/6/12 Joshua C.joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
Here are once again some logs
Try rebuilding using mock or a koji scratch build.
mock -r fedora-15-x86_64 --rebuild /path/to/foo.srpm
or
koji build --scratch dist-f15 /path/to/foo.srpm
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
I use the rpm from koji. What are the differences between both?
On 05/07/11 08:03, Joshua C. wrote:
2011/7/4 Brendan Jonesbrendan.jones.it@gmail.com:
On 07/05/2011 07:41 AM, Joshua C. wrote:
2011/6/12 Joshua C.joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
Here are once again some logs
Try rebuilding using mock or a koji scratch build.
mock -r fedora-15-x86_64 --rebuild /path/to/foo.srpm
or
koji build --scratch dist-f15 /path/to/foo.srpm
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
I use the rpm from koji. What are the differences between both?
mock builds the package in a chroot on your system where as koji is done in a chroot on the koji build servers.
Both will pull in all dependencies into their chroot as specified in the srpm .SPEC file, giving you a clean build unaffected by whatever packages you may/may not have on your system.
http://fedoraproject.org/wiki/Extras/MockTricks http://fedoraproject.org/wiki/Using_the_Koji_build_system#Scratch_Builds
On Mon, Jul 04, 2011 at 11:41:41PM +0200, Joshua C. wrote:
2011/6/12 Joshua C. joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
To compile grub on x86_64, which compiles as 32-bit, you need at least glibc.i686, glibc-devel.i686 and maybe also glibc-static.i686 in addition to x86_64 packages. grub seems to BuildRequires at least /usr/lib/crt1.o, so that should take care of requiring glibc-devel.i686.
Jakub
2011/7/5 Jakub Jelinek jakub@redhat.com:
On Mon, Jul 04, 2011 at 11:41:41PM +0200, Joshua C. wrote:
2011/6/12 Joshua C. joshuacov@googlemail.com:
As the subject says I cannot recompile grub. Everytime I get "checking whether the C compiler works... no". I explicitely installed all packages from http://kojipkgs.fedoraproject.org/packages/grub/0.97/74.fc15/data/logs/x86_6... and have attached those in the packages.log file. The only thing that's missing is the glibc32 package but it conflicts with glibc-2.14-2.i686. As you can see from the attached build.log the error arises in the middle of the compilation. What am I missing?
Anyone any ideas?
To compile grub on x86_64, which compiles as 32-bit, you need at least glibc.i686, glibc-devel.i686 and maybe also glibc-static.i686 in addition to x86_64 packages. grub seems to BuildRequires at least /usr/lib/crt1.o, so that should take care of requiring glibc-devel.i686.
Jakub
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
I saw that I already had glibc.i686 and glibc-devel.i686 installed on my system. The missing part was the glibc-static.i686. But as you can see from the build log here http://koji.fedoraproject.org/koji/getfile?taskID=3170489&name=root.log only the glibc-static.x86_64 was fetched and installed and there is no mention of the i686 version. And the dependencies doesn't complain about the missing glibc-static.i686 either. Maybe this should be hard-coded as a dependency.
Now the package can be recomppiled.