Skip to contentSkip to conversation

Warnings when building svn2137

DISCUSSION BandiPat 3 participants 8 messages Apr 24, 2009 – Apr 25, 2009

lore
Share & tools
lore

BandiPat

author
#0 lore raw

Getting these errors when building the package for Zenwalk Linux!

WARNING:  zero length file usr/include/grub/lib/datetime.h
WARNING:  usr/man/man1/grub-mkimage.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkelfimage.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkfont.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-editenv.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkrescue.1.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-setup.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-mkdevicemap.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-probe.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-install.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-mkconfig.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-dumpbios.8.gz is an empty gzipped file

Checking the files does indeed show them empty. Thanks for you help. The datetime.h warning has been happening for a while now, yet it is not an empty file, it's just reported that way at the end of the build and packaging.

Regards,
Pat

author
#1 lore raw
Quoted 15 lines · BandiPat

Getting these errors when building the package for Zenwalk Linux!

WARNING:  zero length file usr/include/grub/lib/datetime.h
WARNING:  usr/man/man1/grub-mkimage.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkelfimage.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkfont.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-editenv.1.gz is an empty gzipped file
WARNING:  usr/man/man1/grub-mkrescue.1.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-setup.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-mkdevicemap.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-probe.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-install.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-mkconfig.8.gz is an empty gzipped file
WARNING:  usr/man/man8/grub-dumpbios.8.gz is an empty gzipped file
Quoted 1 line

Checking the files does indeed show them empty. Thanks for you help. The datetime.h warning has been happening for a while now, yet it is not an empty file, it's just reported that way at the end of the build and packaging.

==========

Answering my own email. Seems these files have been empty for quite some time, so this is nothing new. Don't understand why suddenly one of my computers started alerting me to them, while another still does not mention them. Seems though, someone still needs to fill these manuals up so they'll have some info for the users later. :-)

The only real warning at this point is the datetime.h, as it shouldn't be showing up at all.

Thanks,
Pat

Signature · 3 lines
       ---Zenwalk v6.0--Linux 2.6.28---
        Registered Linux User #225206
"Ever tried Zen computing?"  http://www.zenwalk.org
#2 lore raw
Quoted 5 lines · BandiPat
Quoted 4 lines · BandiPat

Getting these errors when building the package for Zenwalk Linux!

WARNING:  zero length file usr/include/grub/lib/datetime.h
WARNING:  usr/man/man1/grub-mkimage.1.gz is an empty gzipped file

...

I guess it's files installed in a temporary location, and the messages are from your package manager.

Quoted 5 lines

Answering my own email. Seems these files have been empty for quite some time, so this is nothing new. Don't understand why suddenly one of my computers started alerting me to them, while another still does not mention them. Seems though, someone still needs to fill these manuals up so they'll have some info for the users later. :-)

The manuals are generated from the output of the corresponding commands. I believe your version of help2man is not working. I'm going to fix the makefile to prevent generation of empty manuals in that case.

Quoted 2 lines

The only real warning at this point is the datetime.h, as it shouldn't be showing up at all.

Zero length datetime.h and datetime.c were left in the tree erroneously. They were supposed to be moved to different locations. I have removed the empty files.

Signature · 2 lines
Regards,
Pavel Roskin
author
#3 lore raw
Quoted 4 lines · Pavel Roskin

The manuals are generated from the output of the corresponding commands. I believe your version of help2man is not working. I'm going to fix the makefile to prevent generation of empty manuals in that case.
-----------

Thanks Pavel. Turns out I didn't know about help2man, so did not have it installed. Also turns out that the Zenwalk mirrors did not have it available either, so I built a package for that. After installing it, then recompiling the package, all is well. Wish I had known about that little program before! I'm guessing there are other programs that use it when building.

Quoted 6 lines
Quoted 1 line

The only real warning at this point is the datetime.h, as it shouldn't be showing up at all.

Zero length datetime.h and datetime.c were left in the tree erroneously. They were supposed to be moved to different locations. I have removed the empty files.

-------
This one has never been a big problem, but I'll be glad to see the warning go away at the end of the package build & check. Thanks for your help with this.

Regards,
Pat

Signature · 3 lines
       ---Zenwalk v6.0--Linux 2.6.28---
        Registered Linux User #225206
"Ever tried Zen computing?"  http://www.zenwalk.org
#4 lore raw

Quoting BandiPat <[email protected]>:

Quoted 8 lines
Quoted 4 lines · Pavel Roskin

The manuals are generated from the output of the corresponding commands. I believe your version of help2man is not working. I'm going to fix the makefile to prevent generation of empty manuals in that case.
-----------

Thanks Pavel. Turns out I didn't know about help2man, so did not have it installed.

I didn't realize we would create empty manual pages in that case! Still, my patch will fix it.

Signature · 2 lines
Regards,
Pavel Roskin
author
#5 lore raw
Quoted 4 lines · Pavel Roskin

Quoting BandiPat <[email protected]>:

Quoted 2 lines

Pavel Roskin wrote:

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

The manuals are generated from the output of the corresponding commands. I believe your version of help2man is not working. I'm going to fix the makefile to prevent generation of empty manuals in that case.
-----------

Thanks Pavel. Turns out I didn't know about help2man, so did not have it installed.

I didn't realize we would create empty manual pages in that case! Still, my patch will fix it.

---------
Yep, creates very nice empty manuals! ;-) Anyway, if someone hasn't already, it might be a good idea to mention the help2man in your Wiki and/or the Readme within the source. Maybe something in the Wiki about the programs needed to compile Grub2 the most efficiently?

It works a treat though and now Zenwalk mirrors have it available!

Thanks again.

Oh, has anyone experienced any problems with grub-mkdevicemap when installing Grub2 or updating? I had one user complain about it segfaulting on his machine, but I've not seen any problems. This is with svn2137.

Pat

#6 lore raw
Quoted 14 lines · BandiPat
Quoted 4 lines · Pavel Roskin

Quoting BandiPat <[email protected]>:

Quoted 2 lines

Pavel Roskin wrote:

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

The manuals are generated from the output of the corresponding commands. I believe your version of help2man is not working. I'm going to fix the makefile to prevent generation of empty manuals in that case.
-----------

Thanks Pavel. Turns out I didn't know about help2man, so did not have it installed.

I didn't realize we would create empty manual pages in that case! Still, my patch will fix it.

Quoted 8 lines

---------
Yep, creates very nice empty manuals! ;-) Anyway, if someone hasn't already, it might be a good idea to mention the help2man in your Wiki and/or the Readme within the source. Maybe something in the Wiki about the programs needed to compile Grub2 the most efficiently?

It works a treat though and now Zenwalk mirrors have it available!

Thanks again.

Oh, has anyone experienced any problems with grub-mkdevicemap when installing Grub2 or updating? I had one user complain about it segfaulting on his machine, but I've not seen any problems. This is with svn2137.

I'm experiencing also problems using it, but it's not segfaulting. Using a svn2130 build grub-mkdevicemap --no-floppy create a device.map with proper content like this:
(hd0) /dev/sda
But a svn2137 build (exactly the same BandiPat uses) creates this content, which might not be wrong, but at least the most important part my HDD is missing:
(fd0) (null)

Probably this problem was introduced by revision 2133 and obviously wasn't fixed in rev 2134 - 2137 and in 2138 - 2140 I can see nothing which might fix this. It would be great if somebody could have a look what could cause this problem. Maybe davem as the author of that revision.
If you need any additional information give me a yell and I'll try my best to provide it.

Andreas

author
#7 lore raw
Quoted 7 lines · Andreas
Quoted 2 lines

Oh, has anyone experienced any problems with grub-mkdevicemap when installing Grub2 or updating? I had one user complain about it segfaulting on his machine, but I've not seen any problems. This is with svn2137.

I'm experiencing also problems using it, but it's not segfaulting. Using a svn2130 build grub-mkdevicemap --no-floppy create a device.map with proper content like this:
(hd0) /dev/sda
But a svn2137 build (exactly the same BandiPat uses) creates this content, which might not be wrong, but at least the most important part my HDD is missing:
(fd0) (null)

Quoted 5 lines

Probably this problem was introduced by revision 2133 and obviously wasn't fixed in rev 2134 - 2137 and in 2138 - 2140 I can see nothing which might fix this. It would be great if somebody could have a look what could cause this problem. Maybe davem as the author of that revision.
If you need any additional information give me a yell and I'll try my best to provide it.

Andreas

========
I just tested on one machine, running grub-mkdevicemap -v from the shell, which resulted in a segfault and blank device.map file in /boot/grub!

Looks like some bug was introduced after svn2130 in the file.

Thanks devs for your attention to this one.

Pat