i'm sorry but i'm still experimenting the bug now(i'm at Révision : 30394 ), BUT i know how to reproduce it.
- i remove all pk3 files (rm ./trunk/base/.../*.pk3)
- i type "make pk3", and the pk3 are ok. great.
- some days later i do svn up, get on update in a file which is in 0ufos.pk3.
- there my bug happens:
jerikojerk@hp:~/projets/ufoai/trunk$ make pk3
make -f build/data.mk pk3
make[1]: entrant dans le répertoire « /home/jerikojerk/projets/ufoai/trunk »
cd base; zip -u9 0ufos.pk3 ufos/ui/basedefence.ufo
updating: ufos/ui/basedefence.ufo (deflated 78%)
zip -d base/0ufos.pk3 ufos/team_humans.ufo
deleting: ufos/team_humans.ufo
make[1]: quittant le répertoire « /home/jerikojerk/projets/ufoai/trunk »
i think there is a feature allowing to remove obsolete files in the archives, for some reason, there is a trouble when updating.
During the first creation of the pk3, the delete command is executed too, but with void arguments, so there is just a ignored error.
jerikojerk@hp:~/projets/ufoai/trunk$ rm base/0ufos.pk3
jerikojerk@hp:~/projets/ufoai/trunk$ make pk3
make -f build/data.mk pk3
zipinfo: cannot find or open base/0ufos.pk3, base/0ufos.pk3.zip or base/0ufos.pk3.ZIP.
make[1]: entrant dans le répertoire « /home/jerikojerk/projets/ufoai/trunk »
cd base; zip -u9 0ufos.pk3 ufos/team_humans.ufo ufos/armour.ufo ufos/cities.ufo ufos/entities.ufo ufos/tips.ufo ufos/version.ufo ufos/msgcategories.ufo ufos/weapons_human.ufo ufos/aircraftmanagement.ufo ufos/weapons_multiplayer.ufo ufos/weapons_laser.ufo ufos/ptl_weather.ufo ufos/research.ufo ufos/research_logic.ufo ufos/alientype_missions.ufo ufos/equipment.ufo ufos/researched_list.ufo ufos/installation.ufo ufos/nations.ufo ufos/ui/modeltest.ufo ufos/ui/production.ufo ufos/ui/main.ufo ufos/ui/skirmish.ufo ufos/ui/aircraft.ufo ufos/ui/hospital.ufo ufos/ui/multiplayeringame.ufo ufos/ui/irc.ufo ufos/ui/material_editor.ufo ufos/ui/bases.ufo ufos/ui/aircraft_equip.ufo ufos/ui/market.ufo ufos/ui/sys_popup.ufo ufos/ui/singleplayer.ufo ufos/ui/messageoptions.ufo ufos/ui/transfer.ufo ufos/ui/research.ufo ufos/ui/multiplayer_team.ufo ufos/ui/hud.ufo ufos/ui/equipment.ufo ufos/ui/multiplayer.ufo ufos/ui/_hud.ufo ufos/ui/tutorials.ufo ufos/ui/aliencont.ufo ufos/ui/options.ufo ufos/ui/geoscape.ufo ufos/ui/aircraft_soldiers.ufo ufos/ui/aircraft_info.ufo ufos/ui/aircraft_pilots.ufo ufos/ui/physdat.ufo ufos/ui/hire.ufo ufos/ui/ufopedia.ufo ufos/ui/_menu.ufo ufos/ui/inventory.ufo ufos/ui/nohud.ufo ufos/ui/lostwon.ufo ufos/ui/basesummary.ufo ufos/ui/sys_editor.ufo ufos/ui/basedefence.ufo ufos/ui/_objectinfo.ufo ufos/ui/campaign.ufo ufos/ui/stats.ufo ufos/ui/genradarhud.ufo ufos/ui/sequence.ufo ufos/ui/mailclient.ufo ufos/ui/althud.ufo ufos/ui/buildings.ufo ufos/seq_tutorials.ufo ufos/weapons.ufo ufos/team_civilians.ufo ufos/team_aliens.ufo ufos/language.ufo ufos/seq_modelview.ufo ufos/medals.ufo ufos/maps.ufo ufos/weapons_ugv.ufo ufos/models.ufo ufos/weapons_aliens.ufo ufos/equipment_missions.ufo ufos/inventory.ufo ufos/fonts.ufo ufos/ptl_misc.ufo ufos/events.ufo ufos/icons.ufo ufos/seq_intro.ufo ufos/gametypes.ufo ufos/basemanagement.ufo ufos/campaign.ufo ufos/weapons_melee.ufo ufos/msgoptions.ufo ufos/terrain.ufo ufos/weapons_particle.ufo ufos/ptl_weaponsfx.ufo ufos/otheritems.ufo ufos/music.ufo ufos/components.ufo ufos/seq_credits.ufo ufos/weapons_plasma.ufo
zip warning: 0ufos.pk3 not found or empty
adding: ufos/team_humans.ufo (deflated 84%)
adding: lot of files....
adding: ufos/seq_credits.ufo (deflated 83%)
adding: ufos/weapons_plasma.ufo (deflated 83%)
zip -d base/0ufos.pk3
zip error: Nothing to do! (base/0ufos.pk3)
make[1]: [base/0ufos.pk3] Erreur 12 (ignorée)
make[1]: quittant le répertoire « /home/jerikojerk/projets/ufoai/trunk »
---
Please notice: makefile's target "pk3" could be build when invoking "make" instead of "make install". make is run with user privileges and make install with root privileges, so if you don't run make pk3 before installing you get files owned by root in your home directory and it's a real pained to get rid of them. it's linux specific, i know...