[CDRIVER-1068] Man pages installation broken Created: 21/Jan/16  Updated: 22/Jul/16  Resolved: 22/Jul/16

Status: Closed
Project: C Driver
Component/s: libbson
Affects Version/s: 1.3.1
Fix Version/s: 1.4.0

Type: Bug Priority: Major - P3
Reporter: Remi Collet Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File 0001-Do-not-install-man3-twice.patch    
Issue Links:
Depends
depends on CDRIVER-1069 Man pages are no more generated / ins... Closed

 Description   

$ ./configure --enable-man-pages
...
$ make
...
$ make install DESTDIR=...
...

/usr/bin/mkdir -p '/dev/shm/BUILDROOT/libbson-1.3.1-1.fc23.remi.x86_64/usr/share/man/man3'
/usr/bin/install -c -m 644 doc/man/installing.3 doc/man/version.3 doc/man/installing.3 doc/man/version.3 '/dev/shm/BUILDROOT/libbson-1.3.1-1.fc23.remi.x86_64/usr/share/man/man3'
/usr/bin/install: will not overwrite just-created '/dev/shm/BUILDROOT/libbson-1.3.1-1.fc23.remi.x86_64/usr/share/man/man3/installing.3' with 'doc/man/installing.3'
/usr/bin/install: will not overwrite just-created '/dev/shm/BUILDROOT/libbson-1.3.1-1.fc23.remi.x86_64/usr/share/man/man3/version.3' with 'doc/man/version.3'
Makefile:1846: recipe for target 'install-man3' failed

Trying to install twice each files fails.



 Comments   
Comment by A. Jesse Jiryu Davis [ 22/Jul/16 ]

I believe this was fixed along with the CDRIVER-1069 changes; I can no longer reproduce the bug.

Comment by Petr Pisar [ 22/Jan/16 ]

This fixes the problem in the expense of not carrying pregenerated files. Maybe it clashes with CDRIVER-1069.

Comment by Remi Collet [ 21/Jan/16 ]

I use the following workaround

-	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+	for i in $$list; do echo "$$i"; done | sort -u | $(am__base_list) | \

But this is obviously only a workaround

Generated at Wed Feb 07 21:11:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.