Boost logo

Boost-Build :

Subject: [Boost-build] "Duplicate name of actual target" problem
From: Phillip Seaver (phil_at_[hidden])
Date: 2014-04-01 14:03:22


I'm rewriting gettext.jam to use in one of my projects and hopefully
make it more useful (at least to us). I'm doing something wrong in my
"gettext.update" rule, though, and getting the "Duplicate name of actual
target" error. I don't know if I made a mistake in what I did or if I'm
doing things the wrong way.

The generators and actions seem to be behaving the way I expect, so I
think if I can fix the update rule, I can finish getting it working the
way I want.

C:/usr/apago/src/misc/boost-build/build\virtual-target.jam:1099: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <p.>test-lang_it_po.po
error: previous virtual target { gettext%gettext.create-language-test-lang_it_po.po.gettext.PO { gettext%gettext.extract-test-lang_pot.pot.gettext.POT { test.cpp.CPP } }
}
error: created from
error: another virtual target { gettext%gettext.create-language-test-lang_it_po.po.gettext.PO { gettext%gettext.extract-test-lang_pot.pot.gettext.POT { test.cpp.CPP } } }

error: created from
error: added properties: none
error: removed properties: none
error: Encountered a virtual-target without a creating subvariant. It could be the virtual target has not been registered via the virtual-target.register rule.

Thanks,

Phillip






Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk