Skip to contentSkip to conversation

failed to build bzr head on powerpc (ieee1275)

DISCUSSION Daniel Kahn Gillmor 3 participants 6 messages Feb 21, 2012 – Feb 22, 2012

lore
Share & tools
lore
#0 lore raw

In trying to test phcoder's patch for http://bugs.debian.org/611588 , i pulled the bzr head and built it (using --disable-werror to work around several remaining warnings about loop unrolling). I'm running into a failure with the translations, i think:

0 dkg@hollywood:~/src/grub/grub$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .

Related branches:
parent branch: http://bzr.savannah.gnu.org/r/grub/trunk/grub/

0 dkg@hollywood:~/src/grub/grub$ ./autoreconf
[...]
0 dkg@hollywood:~/src/grub/grub$ ./configure --enable-grub-mkfont --with-platform=ieee1275 --disable-werror
[...]
0 dkg@hollywood:~/src/grub/grub$ make
[...]
Making all in po
make[2]: Entering directory `/home/dkg/src/grub/grub/po'
make grub.pot-update
make[3]: Entering directory `/home/dkg/src/grub/grub/po'
make[3]: *** No rule to make target .././grub-core/kern/emu/console.c', needed by grub.pot-update'. Stop. make[3]: Leaving directory `/home/dkg/src/grub/grub/po'
make[2]: *** [grub.pot] Error 2
make[2]: Leaving directory `/home/dkg/src/grub/grub/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dkg/src/grub/grub'
make: *** [all] Error 2
2 dkg@hollywood:~/src/grub/grub$ find . -name console.c ./grub-core/term/ieee1275/console.c
./grub-core/term/efi/console.c
./grub-core/term/i386/pc/console.c
./grub-core/term/arc/console.c
./grub-core/term/emu/console.c
0 dkg@hollywood:~/src/grub/grub$

Let me know if i can provide more useful information.

    --dkg
#1 lore raw
Quoted 38 lines · Daniel Kahn Gillmor

In trying to test phcoder's patch for http://bugs.debian.org/611588 , i pulled the bzr head and built it (using --disable-werror to work around several remaining warnings about loop unrolling).  I'm running into a failure with the translations, i think:

0 dkg@hollywood:~/src/grub/grub$ bzr info
Standalone tree (format: 2a)
Location:
 branch root: .

Related branches:
 parent branch: http://bzr.savannah.gnu.org/r/grub/trunk/grub/

0 dkg@hollywood:~/src/grub/grub$ ./autoreconf
 [...]
0 dkg@hollywood:~/src/grub/grub$ ./configure --enable-grub-mkfont --with-platform=ieee1275 --disable-werror [...]
0 dkg@hollywood:~/src/grub/grub$ make
 [...]
Making all in po
make[2]: Entering directory `/home/dkg/src/grub/grub/po'
make grub.pot-update
make[3]: Entering directory `/home/dkg/src/grub/grub/po'
make[3]: *** No rule to make target .././grub-core/kern/emu/console.c', needed by grub.pot-update'.  Stop. make[3]: Leaving directory `/home/dkg/src/grub/grub/po'
make[2]: *** [grub.pot] Error 2
make[2]: Leaving directory `/home/dkg/src/grub/grub/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dkg/src/grub/grub'
make: *** [all] Error 2
2 dkg@hollywood:~/src/grub/grub$ find . -name console.c ./grub-core/term/ieee1275/console.c
./grub-core/term/efi/console.c
./grub-core/term/i386/pc/console.c
./grub-core/term/arc/console.c
./grub-core/term/emu/console.c
0 dkg@hollywood:~/src/grub/grub$

Quoted 2 lines

Let me know if i can provide more useful information.

I ran into that myself this weekend. Solution: regenerate POTFILES.in.

find . -name '*.c' -print | sort > po/POTFILES.in

#2 lore raw

cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]

Quoted 3 lines · Mike Gilbert

I ran into that myself this weekend. Solution: regenerate POTFILES.in.

find . -name '*.c' -print | sort > po/POTFILES.in

Thanks, that did indeed let the build complete.

i completed building it as a non-privileged user, and then as the superuser, i did:

make install
make uninstall

That appears to have left a few files in /usr/local that i think it shouldn't have. I think the uninstall target might have drifted a bit:

0 root@hollywood:/home/dkg/src/grub/grub# find /usr/local/ | grep grub /usr/local/lib/grub
/usr/local/lib/grub/powerpc-ieee1275
/usr/local/etc/grub.d
/usr/local/share/grub
/usr/local/share/grub/widthspec.h /usr/local/share/grub/ascii.pf2 /usr/local/share/grub/unicode.pf2 /usr/local/share/grub/euro.pf2
/usr/local/share/grub/ascii.h
0 root@hollywood:/home/dkg/src/grub/grub#

	--dkg
#3 lore raw

Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]

Quoted 5 lines · Daniel Kahn Gillmor

 make install
 make uninstall

That appears to have left a few files in /usr/local that i think it shouldn't have.

This is why I use my package manger (portage) to install *everything*.

#4 lore raw

Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]

Quoted 9 lines · Mike Gilbert
Quoted 5 lines · Daniel Kahn Gillmor

make install
make uninstall

That appears to have left a few files in /usr/local that i think it shouldn't have.

This is why I use my package manger (portage) to install *everything*.

I also use my package manager (dpkg and apt) to install everything during normal use; however, phcoder wanted me to try some changes against trunk and my distro's packaging (debian) isn't tracking trunk directly.

Even if debian was tracking GRUB's trunk directly, when upstream asks me to test against trunk, i try to test against "vanilla" trunk (without any distro patches) so i can rule out the distro as the source of any divergent expectations.

Anyway, "make uninstall" should behave better than it did here, i think.

	--dkg
#5 lore raw

Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]

In reply to Daniel Kahn Gillmor

Fixed

Quoted 34 lines · Daniel Kahn Gillmor
Quoted 3 lines · Mike Gilbert

I ran into that myself this weekend. Solution: regenerate POTFILES.in.

find . -name '*.c' -print | sort> po/POTFILES.in

Thanks, that did indeed let the build complete.

i completed building it as a non-privileged user, and then as the superuser, i did:

make install
make uninstall

That appears to have left a few files in /usr/local that i think it shouldn't have. I think the uninstall target might have drifted a bit:

0 root@hollywood:/home/dkg/src/grub/grub# find /usr/local/ | grep grub /usr/local/lib/grub
/usr/local/lib/grub/powerpc-ieee1275
/usr/local/etc/grub.d
/usr/local/share/grub
/usr/local/share/grub/widthspec.h /usr/local/share/grub/ascii.pf2 /usr/local/share/grub/unicode.pf2 /usr/local/share/grub/euro.pf2
/usr/local/share/grub/ascii.h
0 root@hollywood:/home/dkg/src/grub/grub#

	--dkg

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko