Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

failed to emerge grup

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Author
Message
pe.rzgheib
n00b
n00b
Posts: 3
Joined: Mon Dec 26, 2022 8:50 am

failed to emerge grup

  • Quote

Post by pe.rzgheib » Mon Dec 26, 2022 8:58 am

I have this project for school , where I have to install Linux Gentoo on a VM ,
the tutor does it on VMware but i. have M1 mac so i have to install it on UTM
everything goes well until running emerge grub
i am getting the error below

Code: Select all

 !!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc/config.log
ERROR: sys-boot/grub-2.06-r4: :gentoo failed (configure phase):
econf failed
Call stack:
ebuild. sh, line
136: Called src confiaure
environment line 2537:
Called grub do grub_configure'
environment, line 1951:
Called multibuild_foreach_variant 'run_in_build_dir' 'grub_configure'
environment, line 2076: Called _multibuild_run 'run_in_build_dir'
'grub_configure'
environment, line 2074:
Called run_in_build_dir 'grub_configure'
environment, line
2499:
environment,
Called grub_configure
line 1947:
Called econf
-disable-werror'"
ble-nls' "--enable-grub-themes'
-disable-grub-mkfont"
--program-prefix=''--libdir=/us/lib''--disable-device-mapper'
"--disable-grub-mount'
-disable-libzfs'
' _-disable-grub-emu-sdl'
'_-with-platform=pc'
"_-disable-efiemu'
phase-helpers. sh, line
730: Called helpers_die 'econf failed'
isolated-functions. sh, line
112: Called die
The specific snippet of code:
die lisa"
"--ena
* If you need support, post the output of emerge -- info '=sys-boot/grub-2.06-r4: :gentoo
* the complete build log and the output of emerge -pqv
'=sys-boot/grub-2.06-r4: :gentoo'
* The complete build log is located at
/var/tmp/portage/svs-boot/arub-2.06-r4/temp/build. loa'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.06-4/temp/environment'.
* Working directory:
/var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc
* S: '/var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06'
>> Failed to emerge sys-boot/grub-2.06-r4, Log file:
"/var/tmp/portage/sys-boot/grub-2.06-r4/temp/build.log'
* Messages for package sys-boot/grub-2.06-4:
* ERROR: sys-boot/grub-2.06-4::gentoo failed (configure phase) :
econt failed
* Call stack:
ebuild.sh, line 136:
Called src_configure
environment, line 2537:
called grub_do
environment, line 1951: environment, line 2076:
Called multibuild foreach variant "run in build dir' 'grub configure'
environment, line 2074:
Called
'run_in_build_dir'
"grub_configure
Called run_in_build _dir "grub_configure'
environment, line 2499: Called grub.
environment, line
1947: Calted econ ConTaisas
--disable-werror'
--program-prefix=''--libdir=/us/lib'
'_-disable-device-mapper'
ble-nis'
--enable-grub-themes'
--disable-grub-mkfont'
'_-disable-libzts'
--disable-grub-emu-sd1'
'_-with-platform=pc'
'~-disable-etiemu
*
phase-helpers.sh, line 730:
Called helpers_die 'econt failed'
isolated-functions. sh,
Line
112: Called die
* The specific snippet of code:
die"
"'$@"
-disable-grub-mount
--ena
* the complete build
'emerge --info '=sys-boot/grub-2.06-r4: :gentoo'
the output of emerge -pqv
'=sys-boot/grub-2.06-r4: :gentoo'*
The complete build log is located at /var/tmp/portage/SyS-boot/grub-2.06-r4/temp/build.log"
The ebuild environment file is located at /var/tmp/portage/sys-boot/grub-2.06-r4/temp/environment
* Working directory: '/var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc
* S:
'/var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06'
student at EPITA Paris France
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Mon Dec 26, 2022 9:19 am

Salut de Florida aux EU! Greetings from Florida, USA! Are you sure there was not an error preceding your posted ouput? (You have themes enabled but no font):
configure: error: themes were explicitly requested but requirements are not satisfied (No build-time grub -mkfont)

--disable-grub-mkfont may need to be enabled?
You could try adding the use flag" truetype" USE=truetype or disable themes (USE=-themes).
Pay attention to the section regarding use flags for grub:
https://wiki.gentoo.org/wiki/GRUB
https://packages.gentoo.org/packages/sys-boot/grub
You could also post the output of :

Code: Select all

emerge -pv sys-boot/grub
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Dec 26, 2022 9:26 am

Wlecome to gentoo forum!

Can you post /var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc/config.log, /var/tmp/portage/sys-boot/grub-2.06-r4/temp/build.log and emerge --info with wgetpaste?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
pe.rzgheib
n00b
n00b
Posts: 3
Joined: Mon Dec 26, 2022 8:50 am

  • Quote

Post by pe.rzgheib » Tue Dec 27, 2022 10:45 am

fedeliallalinea wrote:Wlecome to gentoo forum!

Can you post /var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc/config.log, /var/tmp/portage/sys-boot/grub-2.06-r4/temp/build.log and emerge --info with wgetpaste?
thank you for the warm welcome
here are the wgetpase from config.log , build.log , emerge --info
i appreciate the help

/var/tmp/portage/sys-boot/grub-2.06-r4/work/grub-2.06-pc/config.log
http://dpaste.com/6FU7DQ5A9

/var/tmp/portage/sys-boot/grub-2.06-r4/temp/build.log
http://dpaste.com/6UCCJRD5J

Émerge —info
http://dpaste.com/8M5TKX2PR
student at EPITA Paris France
Top
pe.rzgheib
n00b
n00b
Posts: 3
Joined: Mon Dec 26, 2022 8:50 am

  • Quote

Post by pe.rzgheib » Tue Dec 27, 2022 10:55 am

rab0171610 wrote:Salut de Florida aux EU! Greetings from Florida, USA! Are you sure there was not an error preceding your posted ouput? (You have themes enabled but no font):
configure: error: themes were explicitly requested but requirements are not satisfied (No build-time grub -mkfont)

--disable-grub-mkfont may need to be enabled?
You could try adding the use flag" truetype" USE=truetype or disable themes (USE=-themes).
Pay attention to the section regarding use flags for grub:
https://wiki.gentoo.org/wiki/GRUB
https://packages.gentoo.org/packages/sys-boot/grub
You could also post the output of :

Code: Select all

emerge -pv sys-boot/grub
Salut de Paris,

I have tried, I doesn't seem to change anything

here is the output from

Code: Select all

emerge -pv sys-boot/grub
http://dpaste.com/EHDYY6Q7T
student at EPITA Paris France
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Dec 27, 2022 11:04 am

From config.log

Code: Select all

configure:5401: error: platform "pc" is not supported for target CPU "arm64"
You can't compile grub with grub_platforms_pc use flag enabled in an arm.
I don't know what you should enable in your sytem, maybe grub_platforms_efi-64
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
flysideways
Guru
Guru
Posts: 527
Joined: Sat Jan 29, 2005 1:06 pm

  • Quote

Post by flysideways » Tue Dec 27, 2022 1:14 pm

Code: Select all

GentooVM ~ # emerge -vp grub

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-boot/grub-2.06-r4:2/2.06-r4::gentoo  USE="fonts nls sdl themes truetype -device-mapper -doc -efiemu -libzfs -mount (-test)" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 (-loongson) -multiboot -pc (-qemu) (-qemu-mips) (-uboot) -xen (-xen-32) -xen-pvh" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
I am using the UTM version from the app store, 4.0.9 (68 ), running a Gentoo ~arm64 VM install on a Macbook Pro M1 Max. It has a few problems right now but grub is not one of them.

Best of luck.
Top
flysideways
Guru
Guru
Posts: 527
Joined: Sat Jan 29, 2005 1:06 pm

  • Quote

Post by flysideways » Tue Dec 27, 2022 1:28 pm

I also have

Code: Select all

GRUB_PLATFORMS="efi-64"
in my make.conf.
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Tue Dec 27, 2022 6:30 pm

I apologize for not seeing in your initial post that you are using UTM/Qemu. That makes more sense. It was a long day and I was tired. My understanding is that in UTM , you have an "advanced options" where you can select the CPU type. Out of curiosity, what type of CPU are you trying to emulate in UTM?
Top
Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic