Created attachment 794502 [details] Reproducer Description of problem: Publican print_used incorrectly detects files from higher levels in the directory structure as unused (that is where they are included with a relative path such as ../). I came across this in a real book but I've constructed a simpler example (attached as well). In this tree: $ tree . ├── en-US │ ├── Author_Group.xml │ ├── Book_Info.xml │ ├── common │ │ └── Chapter.xml │ ├── images │ │ └── icon.svg │ ├── Preface.xml │ ├── Revision_History.xml │ ├── Section.xml │ ├── Unused_Test.ent │ └── Unused_Test.xml └── publican.cfg Unused_Test.xml includes common/Chapter.xml common/Chapter.xml includes ../Section.xml Running print_unused on this tree results in: $ publican print_unused List of unused XML files in en-US Section.xml Removing Section.xml will however result in the book failing to build. See also: Bug # 740417 Version-Release number of selected component (if applicable): publican 3.2.0 How reproducible: Reproducer attached. Actual results: Section.xml is listed as unused. Expected results: Section.xml and other files include from paths earlier in the tree (but still within the book) should not be listed as unused.
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.
To ssh://git.fedorahosted.org/git/publican.git 2097c0f..9202cbd HEAD -> devel
Verified on publican-3.9.9-0.fc19.t16.noarch