make gives *** target pattern contains no `%'. in help

Bug #501286 reported by trldp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Invalid
Critical
Unassigned

Bug Description

When I checkout the trunk I and run ./autogen.sh and make. I get the following output

make[2]: Entering directory `/bestanden/tobe/Projects/deja-dup/lp:deja-dup/help'
Makefile:758: *** target pattern contains no `%'. Stop.

(I'm using ubuntu karmic)

trldp (trldp)
description: updated
Revision history for this message
Michael Terry (mterry) wrote :

I don't get this error on a fresh checkout.

The line is:
$(_DOC_OMF_DB) : $(_DOC_OMF_IN)

And the make manual says:
`missing target pattern. Stop.'
`multiple target patterns. Stop.'
`target pattern contains no `%'. Stop.'
    These are generated for malformed static pattern rules. The first means there's no pattern in the target section of the rule, the second means there are multiple patterns in the target section, and the third means the target doesn't contain a pattern character (%).

But I'm not quite sure why it would be different for you vs me. Do you have gnome-doc-utils installed? Do you have po4a installed?

Changed in deja-dup:
importance: Undecided → Critical
status: New → Incomplete
Revision history for this message
trldp (trldp) wrote :

po4a was not installed. I installed it, but I got the same error (even after fresh checkout).

My Makefile also contains the line $(_DOC_OMF_DB) : $(_DOC_OMF_IN). I have attached it. Maybe you can see something 'strange'.

Revision history for this message
Michael Terry (mterry) wrote :

Interesting... I'll look into this again (I'll try it from a fresh Karmic CD), but in the meantime, you can remove the 'help' entry in the toplevel Makefile.am's SUBDIRS variable. This should let you build DD.

Changed in deja-dup:
status: Incomplete → New
Revision history for this message
trldp (trldp) wrote :

It seems to work when I replace $(_DOC_OMF_DB) : $(_DOC_OMF_IN) with $(_DOC_OMF_DB) : deja-dup.omf.in

Revision history for this message
Michael Terry (mterry) wrote :

On a fresh lucid install, I did:

sudo apt-get build-dep deja-dup
sudo apt-get install bzr gnome-common valac po4a

and was able to build from source.

I'm not sure what's going on here. Will close for now.

Changed in deja-dup:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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