# New Ticket Created by  Patrick R. Michaud 
# Please include the string:  [perl #60070]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60070 >


In the lex branch I'm trying to add a new opcode, but
I'm running into a build issue with opcode renumbering --
after adding an opcode and running "make opsrenumber",
attempting to rebuild parrot fails with:

/usr/bin/perl tools/build/ops2pm.pl src/ops/core.ops src/ops/bit.ops 
src/ops/cmp.ops src/ops/debug.ops src/ops/experimental.ops src/ops/io.ops 
src/ops/math.ops src/ops/object.ops src/ops/pic.ops src/ops/pmc.ops 
src/ops/set.ops src/ops/stm.ops src/ops/string.ops src/ops/sys.ops 
src/ops/var.ops
skipped opcode is also in src/ops/ops.num at lib/Parrot/Ops2pm.pm line 145, 
<$op> line 11.
make: *** [lib/Parrot/OpLib/core.pm] Error 9

In fact, this failure appears even if a new opcode isn't added --
simply performing "make opsrenumber" followed by "make" results in
the same error:

$ svn up
At revision 32122.
$ make opsrenumber
/usr/bin/perl tools/dev/opsrenumber.pl src/ops/core.ops src/ops/bit.ops 
src/ops/cmp.ops src/ops/debug.ops src/ops/experimental.ops src/ops/io.ops 
src/ops/math.ops src/ops/object.ops src/ops/pic.ops src/ops/pmc.ops 
src/ops/set.ops src/ops/stm.ops src/ops/string.ops src/ops/sys.ops 
src/ops/var.ops
$ make
[...]
/usr/bin/perl tools/build/ops2pm.pl src/ops/core.ops src/ops/bit.ops 
src/ops/cmp.ops src/ops/debug.ops src/ops/experimental.ops src/ops/io.ops 
src/ops/math.ops src/ops/object.ops src/ops/pic.ops src/ops/pmc.ops 
src/ops/set.ops src/ops/stm.ops src/ops/string.ops src/ops/sys.ops 
src/ops/var.ops
skipped opcode is also in src/ops/ops.num at lib/Parrot/Ops2pm.pm line 145, 
<$op> line 11.
make: *** [lib/Parrot/OpLib/core.pm] Error 9
$

Since a number of steps have changed since the last time I worked
with adding/removing opcodes (April 2008), and I have little idea
what might be causing this, I'm filing this ticket in hopes that
someone can clear things up for me.

Thanks,

Pm

Reply via email to