Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484862 - sys-boot/grub:0 : does not respect AR
Summary: sys-boot/grub:0 : does not respect AR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo's Team for Core System packages
Depends on: 674364
Blocks: tc-directly
  Show dependency tree
Reported: 2013-09-14 07:50 UTC by Agostino Sarubbo
Modified: 2019-02-08 15:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-09-14 07:50:50 UTC
You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can;
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"

From the build log:

ar cru libgrub.a libgrub_a-boot.o libgrub_a-builtins.o libgrub_a-char_io.o libgrub_a-cmdline.o libgrub_a-common.o libgrub_a-disk_io.o libgrub_a-fsys_ext2fs.o 
libgrub_a-fsys_fat.o libgrub_a-fsys_ffs.o libgrub_a-fsys_iso9660.o libgrub_a-fsys_jfs.o libgrub_a-fsys_minix.o libgrub_a-fsys_reiserfs.o libgrub_a-fsys_ufs2.o 
libgrub_a-fsys_vstafs.o libgrub_a-fsys_xfs.o libgrub_a-gunzip.o libgrub_a-md5.o libgrub_a-serial.o libgrub_a-stage2.o libgrub_a-terminfo.o libgrub_a-tparm.o 
Comment 1 Mike Gilbert gentoo-dev 2013-12-09 23:57:07 UTC
What version of GRUB is this?
Comment 2 Ben Kohler gentoo-dev 2017-09-01 21:34:46 UTC
In an effort to see which of these bugs is still valid, I have reproduced this on 0.97-r17 today, FYI
Comment 3 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-02-08 15:25:53 UTC
grub:0 is gone