Ticket #2129 (new bug)

Opened 4 years ago

Last modified 4 years ago

pbc_to_exe: missing runtime dependency

Reported by: ligne Owned by:
Priority: normal Milestone:
Component: build Version: 3.4.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by ligne) (diff)

when running make, pbc_to_exe occasionally fails with the following error:

PackFile_unpack: Buffer length 0 is shorter than PACKFILE_HEADER_BYTES 18.
current instr.: 'handle_args' pc 223 (tools/dev/pbc_to_exe.pir:233)
make: *** [pbc_to_exe] Error 1
make: *** Waiting for unfinished jobs....

i've not been able to reproduce this consistently, but i think it occurs when pmc_to_exe is invoked as part of the build process, and tries to load Getopt/Obj.pbc before it's been fully compiled. the file exists so open() doesn't fail, but is still zero-length.

Change History

  Changed 4 years ago by ligne

  • description modified (diff)

in reply to: ↑ description   Changed 4 years ago by jkeenan

Replying to ligne:

when running make, pbc_to_exe occasionally fails with the following error:

I have not experienced this. Can you provide any more information as to the circumstances under which it occurs? OS? Chip? Command-line options?

Thank you very much.

kid51

  Changed 4 years ago by ligne

dual-core E8400 3GHz, Fedora 14 x64. 7200rpm SATA disk with ext4.

i've not seen any particular pattern with the configure options. it's being built with make -j6 from a clean checkout.

the error is very intermittent. i can reproduce the error by truncating Getopt/Obj.pbc, but i've had no luck forcing the error otherwise.

  Changed 4 years ago by ligne

after a few days off, saw this again this morning, building 6e4dc98d63fcc25e71ef with --optimize --without-icu. still make -j6 --silent.

Note: See TracTickets for help on using tickets.