Protobuf doesn't regenerate *.pb.{cc,h} if builddir != srcdir

Bug #335580 reported by Luke-Jr
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
High
Unassigned

Bug Description

If *.proto is newer than *.pb.{cc,h} (or the latter don't exist), it should regenerate them. It does not:

[13:35:01] <luke-jr> z-man: I modified zShape.proto and neither of zShape.pb.* are being regenerated
[13:35:30] <luke-jr> z-man: if I delete zShape.pb.*, I get make⚂: ⁂ No rule to make target `../../src/protobuf/zShape.pb.cc', needed by `libprotobuf_a-zShape.pb.o'. Stop.

Luke-Jr (luke-jr)
Changed in armagetronad:
importance: Undecided → High
milestone: none → 0.3.1
status: New → Confirmed
Revision history for this message
Manuel Moos (z-man) wrote :

This was a result of first building inside the checkout, then building outside of it. The in-between make distclean didn't clean out the protobuf generated files. It now does.

Changed in armagetronad:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.