id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
1973	pbc_merge fails silently	rgrjr	whiteknight	"1.  Download the test case tarball from http://www.rgrjr.com/perl/bug-pbc-merge-110115.tgz, unpack it, and edit the PARROT-HOME macro in the makefile to point to a local Parrot working copy.  (It's 310KB, so Trac won't accept it as an attachment.)

2.  Run ""make"" to build and run the test.  Here's what the output looks like on my machine (GNU/Linux, openSUSE 11.3):

    rogers@rgr> make
    /usr/src/parrot/parrot -o compiler-structures.pbc compiler-structures.pir
    /usr/src/parrot/parrot -o emit.pbc emit.pir
    /usr/src/parrot/parrot -o package-decls.pbc package-decls.pir
    /usr/src/parrot/parrot -o walker.pbc walker.pir
    /usr/src/parrot/parrot -o defstruct.pbc defstruct.pir
    /usr/src/parrot/parrot -o forms.pbc forms.pir
    /usr/src/parrot/parrot -o top-level.pbc top-level.pir
    /usr/src/parrot/pbc_merge -o compiler.pbc compiler-structures.pbc emit.pbc package-decls.pbc walker.pbc defstruct.pbc forms.pbc top-level.pbc
    make: *** [test] Error 1
    rogers@rgr> 

I have no clue what's going on here, except I did manage to figure out that PackFile_unpack doesn't return on the last file.  It seems to be size-related, because dropping one or two of the input PBC files makes it succeed, and it doesn't seem to matter which ones are dropped (hence the size of the test case).
"	bug	closed	normal		tools	master	medium	fixed	pbc_merge, api				all
