All of lore.kernel.org
 help / color / mirror / Atom feed
* failed to build bzr head on powerpc (ieee1275)
@ 2012-02-21 23:38 Daniel Kahn Gillmor
  2012-02-22  2:30 ` Mike Gilbert
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2012-02-21 23:38 UTC (permalink / raw)
  To: Grub 2 Development List

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: failed to build bzr head on powerpc (ieee1275)
  2012-02-21 23:38 failed to build bzr head on powerpc (ieee1275) Daniel Kahn Gillmor
@ 2012-02-22  2:30 ` Mike Gilbert
  2012-02-22  3:01   ` cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)] Daniel Kahn Gillmor
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2012-02-22  2:30 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Feb 21, 2012 at 6:38 PM, Daniel Kahn Gillmor
<dkg@fifthhorseman.net> wrote:
> 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.
>

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

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]
  2012-02-22  2:30 ` Mike Gilbert
@ 2012-02-22  3:01   ` Daniel Kahn Gillmor
  2012-02-22  3:23     ` Mike Gilbert
  2012-02-22 15:28     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2012-02-22  3:01 UTC (permalink / raw)
  To: The development of GNU GRUB

On 02/21/2012 09:30 PM, Mike Gilbert wrote:
> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]
  2012-02-22  3:01   ` cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)] Daniel Kahn Gillmor
@ 2012-02-22  3:23     ` Mike Gilbert
  2012-02-22  3:45       ` Daniel Kahn Gillmor
  2012-02-22 15:28     ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2012-02-22  3:23 UTC (permalink / raw)
  To: The development of GNU GRUB

On Tue, Feb 21, 2012 at 10:01 PM, Daniel Kahn Gillmor
<dkg@fifthhorseman.net> wrote:
>  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*.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]
  2012-02-22  3:23     ` Mike Gilbert
@ 2012-02-22  3:45       ` Daniel Kahn Gillmor
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2012-02-22  3:45 UTC (permalink / raw)
  To: The development of GNU GRUB

On 02/21/2012 10:23 PM, Mike Gilbert wrote:
> On Tue, Feb 21, 2012 at 10:01 PM, Daniel Kahn Gillmor
> <dkg@fifthhorseman.net> wrote:
>>  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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)]
  2012-02-22  3:01   ` cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)] Daniel Kahn Gillmor
  2012-02-22  3:23     ` Mike Gilbert
@ 2012-02-22 15:28     ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 0 replies; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-02-22 15:28 UTC (permalink / raw)
  To: The development of GNU GRUB

Fixed
On 22.02.2012 04:01, Daniel Kahn Gillmor wrote:
> On 02/21/2012 09:30 PM, Mike Gilbert wrote:
>> 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
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-02-22 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 23:38 failed to build bzr head on powerpc (ieee1275) Daniel Kahn Gillmor
2012-02-22  2:30 ` Mike Gilbert
2012-02-22  3:01   ` cruft left over from "make uninstall" [was: failed to build bzr head on powerpc (ieee1275)] Daniel Kahn Gillmor
2012-02-22  3:23     ` Mike Gilbert
2012-02-22  3:45       ` Daniel Kahn Gillmor
2012-02-22 15:28     ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.