#100 warning: header field 'Language' missing in header

v1.0_(example)
open
nobody
None
1
2013-10-12
2013-10-07
nemysisbsd
No

I try to port to FreeBSD Edgar and get these header issues.
Please correct this.

clang -pedantic -DVERSION=1.12 -DRELEASE=1 -DDEV=0 -DINSTALL_PATH=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/bin/edgar/\" -DLOCA
LE_DIR=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/locale/\" -DPAK_FILE=\"edgar.pak\" -DUNIX=1 -c src/cursor.c
clang -pedantic -DVERSION=1.12 -DRELEASE=1 -DDEV=0 -DINSTALL_PATH=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/bin/edgar/\" -DLOCA
LE_DIR=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/locale/\" -DPAK_FILE=\"edgar.pak\" -DUNIX=1 -c src/pak_creator.c
msgfmt -c -o locale/ms.mo locale/ms.po
msgfmt -c -o locale/el.mo locale/el.po
locale/ms.po:7: warning: locale/el.po:7: warning: header field 'Language' missing in header
header field 'Language' missing in header
msgfmt -c -o locale/ta.mo locale/ta.po
msgfmt -c -o locale/jv.mo locale/jv.po
src/pak_creator.c:232:11:msgfmt -c -o locale/sk.mo locale/sk.po
locale/ta.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/zh_CN.mo locale/zh_CN.po
locale/jv.po:7: warning: header field 'Language' missing in header
locale/sk.po:7: warning: msgfmt -c -o locale/ru.mo locale/ru.po
header field 'Language' missing in header
warning: incompatible msgfmt -c -o locale/nl.mo locale/nl.po
locale/zh_CN.po:7: warning: pointerheader field 'Language' missing in header
typeslocale/ru.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/ko.mo locale/ko.po
passing locale/nl.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/ar.mo locale/ar.po
msgfmt -c -o locale/uk.mo locale/uk.po
'FILE ' (aka 'struct __sFILE ')locale/ko.po:7: warning: header field 'Language' missing in header
locale/ar.po:7: warning: msgfmt -c -o locale/en_US.mo locale/en_US.po
header field 'Language' missing in header
msgfmt -c -o locale/it.mo locale/it.po
locale/uk.po:7: warning: header field 'Language' missing in header
locale/en_US.po:2: warning: msgfmt -c -o locale/cs.mo locale/cs.po
to parameterheader field 'Language' missing in header
of type 'gzFile' (aka 'struct gzFile_s *')
[-Wincompatible-pointer-types]
gzclose(pak);
locale/it.po:7: warning: ^~~header field 'Language' missing in header

msgfmt -c -o locale/pt.mo locale/pt.po
msgfmt -c -o locale/pt_BR.mo locale/pt_BR.po
/usr/include/zlib.h:1494:locale/pt.po:7: warning: locale/cs.po:7: warning: header field 'Language' missing in header
43: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzclose OF((gzFile file));msgfmt -c -o locale/es.mo locale/es.po
header field 'Language' missing in header
locale/pt_BR.po:7: warning: header field 'Language' missing in header

msgfmt -c -o locale/hi.mo locale/hi.po
^
/usr/include/zconf.h:264:23: note: expanded from macro 'OF'

define OF(args) args

                  ^

src/pak_creator.cmsgfmt -c -o locale/sv.mo locale/sv.po
:280:11: warning: incompatible pointer types passing 'FILE ' (aka 'struct __sFILE ') to parameter of type 'gzFile' (aka 'struct gzFile_s *')
[-Wincompatible-pointer-types]
gzclose(pak);
^~~
/usr/include/zlib.h:1494:43: note: passing argument to parameter 'file' here
ZEXTERN int ZEXPORT gzclose OF((gzFile file));
^
/usr/include/zconf.h:264:23: note: expanded from macro 'OF'

define OF(args) args

                  ^

locale/es.po:5: warning: header field 'Language' missing in header
2 warnings generated.
msgfmt -c -o locale/eo.mo locale/eo.po
locale/hi.po:7: warning: msgfmt -c -o locale/ur.mo locale/ur.po
locale/sv.po:7: warning: header field 'Language' missing in header
header field 'Language' missing in header
msgfmt -c -o locale/da.mo locale/da.po
locale/eo.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/vi.mo locale/vi.po
locale/ur.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/fa.mo locale/fa.po
locale/da.po:7: warning: msgfmt -c -o locale/fr.mo locale/fr.po
header field 'Language' missing in header
locale/vi.po:7: warning: locale/fa.po:7: warning: msgfmt -c -o locale/tr.mo locale/tr.po
header field 'Language' missing in header
msgfmt -c -o locale/ja.mo locale/ja.po
locale/fr.po:7: warning: header field 'Language' missing in header
header field 'Language' missing in header
locale/tr.po:7: warning: header field 'Language' missing in header
msgfmt -c -o locale/pl.mo locale/pl.po
msgfmt -c -o locale/de.mo locale/de.po
clang -pedantic -DVERSION=1.12 -DRELEASE=1 -DDEV=0 -DINSTALL_PATH=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/bin/edgar/\" -DLOCA
LE_DIR=\"/usr/local/ports/local/In-Review/games/edgar/work/stage/usr/local/share/locale/\" -DPAK_FILE=\"edgar.pak\" -DUNIX=1 -c src/po_creator.c
locale/ja.po:7: warning: header field 'Language' missing in header
clang draw.o main.o animation.o audio.o collisions.o entity.o font.o game.o graphics.o init.o input.o inventory.o lift.o map.o player.o resources.o weather.o s
prites.o bat.o properties.o custom_actions.o item.o enemies.o hud.o random.o decoration.o chicken_feed.o chicken.o key_items.o record.o geometry.o chicken_trap
.o target.o spawner.o rock.o pressure_plate.o door.o weak_wall.o switch.o line_def.o boulder_boss.o trigger.o music.o coal_pile.o objective.o level_exit.o spid
er.o grub.o grub_boss.o save_point.o shrub.o projectile.o load_save.o compress.o global_trigger.o fireball.o wasp.o small_boulder.o dialog.o script.o main_menu
.o widget.o menu.o options_menu.o npc.o gib.o heart_container.o action_point.o falling_platform.o spitting_plant.o red_grub.o stalactite.o bomb.o explosion.o b
omb_pile.o jumping_slime.o egg.o golem_boss.o baby_slime.o snail.o floating_snapper.o snake_boss.o enemy_generator.o flying_bug.o potions.o pak.o control_menu.
o label.o sound_menu.o fly_boss.o ant_lion.o io_menu.o inventory_menu.locale/pl.po:7: warning: header field 'Language' missing in header
o scorpion.o status_panel.o trap_door.o arrow_target.o eye_stalk.o snail_shell.o flying_maggot.o conveyor_belt.o power_generator.o laser_grid.o ceiling_snapper
.o gazer.o teleporter.o sludge.o grabber.o golem_rock_dropper.o yes_no_menu.o about_menu.o summoner.o energy_drainer.o symbol_block.o number_block.o force_fiel
d.o gazer_eye_slot.o spring.o centurion.o ice_cube.o vanishing_platform.o armadillo.o bubble_machine.o bubble.o map_trigger.o potion_dispenser.o ceiling_crawle
r.o tesla_charger.o tesla_pack.o lightning_tortoise.o fire_burner.o high_striker.o containment_unit.o blob_boss.o containment_unit_controls.o ice_spray.o blend
ing_machine.o robot.o anti_gravity_field.o spike_ball.o error.o code_door.o code_display.o skull.o poltergiest.o book.o moveable_lift.o glass_wall.o spike_wall
.o whirlwind.o large_book.o tuning_fork.o pedestal.o spike_sphere.o cauldron.o soul_bottle.o exploding_spike_sphere.o thunder_cloud.o instruction_machine.o spi
rit.o black_book.o mataeus.o mataeus_wall.o mine_cart.o boulder_boss_2locale/de.po:7: warning: header field 'Language' missing in header
.o rock_container.o scale.o lava_geyzer.o large_spider.o crusher.o medal.o repellent.o cloud_geyzer.o ok_menu.o huge_spider.o armour_boss.o slime_container.o f
inal_power_generator.o mirror.o light_source.o light_beam.o light_target.o balloon.o scanner.o fly_trap.o water_purifier.o extend_o_grab.o mouth_stalk.o ground
_spear.o dragon_fly.o sliding_puzzle.o sliding_puzzle_display.o auto_spike_ball.o tread_mill.o power_meter.o gold_centurion.o shield_pillar.o crossbow.o crossb
ow_bolt.o catapult.o stats_menu.o awesome_boss.o awesome_boss_meter.o evil_edgar.o fish.o borer_boss.o light_pillar.o exploding_gazer_eye.o glass_cage.o lab_cr
usher.o exploding_gazer_eye_dud.o soul_merger.o soul_merger_control_panel.o fire_tortoise.o lava_door.o dark_summoner.o flame_pillar.o phoenix.o pendulum.o ext
end_o_grab_button.o puzzle_piece.o jigsaw_puzzle.o jigsaw_puzzle_display.o magnet.o ice_tortoise.o splitter.o attractor.o buzz_saw.o cell_bars.o sorceror.o cen
turion_boss.o sewer_boss.o item_remover.o safe.o ground_snapper.o sasquatch.o icicle.o giant_snowball.o script_menu.o snow_pile.o ceiling_creeper.o gas_plant.o
centipede.o spore_crop.o spore.o sludge_pool.o vines.o undead_gazer.o slime_potion_pool.o frog.o master_tortoise.o red_ceiling_creeper.o rampaging_master_tort
oise.o cheat_menu.o monster_skull.o cave_boss.o apple_tree.o apple.o one_way_door.o colour_pot.o colour_display.o phase_door.o mastermind_display.o mastermind.
o iron_ball.o memory_match.o memory_match_display.o hoover.o black_book_2.o drawbridge_pulley.o drawbridge_anchor.o giant_ceiling_creeper.o baby_salamander.o s
afe_combination.o grimlore.o grimlore_artifact.o magic_missile.o grimlore_summon_spell.o hidden_passage_wall.o poison_meat.o train.o train_track.o flame_statue
.o armour_changer.o credits.o black_book_3.o sorceror_2.o sorceror_dark_summoner.o sorceror_floor.o medals_menu.o skull_door.o ghost.o slug.o portable_save.o c
rypt_skull.o skeleton.o bell_rope.o music_sheet_display.o title.o azriel.o zombie.o mini_gargoyle.o gargoyle.o chaos.o chaos_vine.o i18n.o azriel_grave.o -o ed
gar /usr/local/bin/sdl-config --libs -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -lz -lm

Discussion

  • The po file headers are generated by Launchpad (https://translations.launchpad.net/edgar), so I guess you need to push this bug upstream.

     


Anonymous


Cancel   Add attachments