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

2012-02-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko

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


___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


failed to build bzr head on powerpc (ieee1275)

2012-02-21 Thread 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$ 

Let me know if i can provide more useful information.

--dkg

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: failed to build bzr head on powerpc (ieee1275)

2012-02-21 Thread Mike Gilbert
On Tue, Feb 21, 2012 at 6:38 PM, Daniel Kahn Gillmor
d...@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

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


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

2012-02-21 Thread Daniel Kahn Gillmor
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


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

2012-02-21 Thread Mike Gilbert
On Tue, Feb 21, 2012 at 10:01 PM, Daniel Kahn Gillmor
d...@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*.

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


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

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

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel