Opened 15 years ago

Closed 14 years ago

#1584 closed Bugs (fixed)

cryptic bbv2 error building quickbook

Reported by: Eric Niebler Owned by: Vladimir Prus
Milestone: Boost 1.36.0 Component: build
Version: Boost Development Trunk Severity: Showstopper
Keywords: build quickbook doxygen Cc:

Description

Trying to build the accumulators documentation fails with a cryptic bbv2 error in quickbook's jamfile. It seems to happen whenever quickbook and doxygen are used together. I'm attaching the smallest repro I can find. Unzip into libs/scratch/doc and type bjam. In order to reproduce the error, your user-config.jam should *not* configure quickbook. Rather, allow bbv2 to attempt to auto-configure quickbook, which seems to cause the error (suggesting the problem is somewhere in quickbook.jam).

The actual error is:

error: Unable to find file or target named
error:     'object(file-target)@412'
error: referred from project at
error:     '/home/ericne/boost/org/trunk/tools/quickbook'

Attachments (2)

scratchdoc.tgz (1.7 KB ) - added by Eric Niebler 15 years ago.
a header, a jamfile and a qbk file, tarred and zipped.
quickbook.jam.patch (641 bytes ) - added by Steven Watanabe 14 years ago.
This patch fixes the problem.

Download all attachments as: .zip

Change History (8)

by Eric Niebler, 15 years ago

Attachment: scratchdoc.tgz added

a header, a jamfile and a qbk file, tarred and zipped.

comment:1 by anonymous, 15 years ago

xml scratch

:

scratch.qbk

: # scratchdoc isn't used during qbk -> xml transformation

# <dependency>scratchdoc

;

boostbook standalone

:

scratch

: # +

<dependency>scratchdoc

;

comment:2 by Eric Niebler, 15 years ago

Can you tell me why adding a dependency, even where it may not be required, causes BBv2 to fall over?

comment:3 by Vladimir Prus, 15 years ago

I can reproduce this.

in reply to:  2 comment:4 by anonymous, 15 years ago

Replying to eric_niebler:

Can you tell me why adding a dependency, even where it may not be required, causes BBv2 to fall over?

Because <dependency> feature propagates too far - to 'exe quickbook' target

by Steven Watanabe, 14 years ago

Attachment: quickbook.jam.patch added

This patch fixes the problem.

comment:5 by Daryle Walker, 14 years ago

Ticket #1891 has been closed as a duplicate of this bug.

comment:6 by Steven Watanabe, 14 years ago

Resolution: fixed
Status: newclosed

(In [47737]) Only pass propagated properties when building the quickbook binary from the source. Fixes #1584

Note: See TracTickets for help on using tickets.