Red Hat Bugzilla – Bug 59741
Build broken with bash-completion-2.05a-7
Last modified: 2015-03-04 20:10:13 EST
Description of Problem:
| $ rpm --rebuild libtiff-3.5.5-14.src.rpm
| make: Entering directory `/var/volatile/rpm/BUILD/tiff-v3.5.5/man/apps'
| Makefile:1: *** missing separator. Stop.
| make: Leaving directory `/var/volatile/rpm/BUILD/tiff-v3.5.5/man/apps'
| make: *** [install] Error 2
This is caused by recent bash-package which sets 'CDPATH=./[...]'. Therefore,
cd's into a subdirectory will produce an output accordingly SUSv2:
| $ cd /usr/src/redhat/BUILD/tiff-v3.5.5/man
| $ cd apps
The man/Makefile of libtiff contains a similar statement:
| (cd apps; echo 'install:' ... ) >apps/Makefile
Therefore, the full directory of .../man/apps will be the first line in
apps/Makefile and not the wanted 'install:'
The simplest way to prevent this, will be an
| unset CDPATH
in the %build section of the spec-file.
Version-Release number of selected component (if applicable):
I just tried to rebuild the rawhide version of libtiff-3.5.7-1 with bash-2.05a-8
and that worked without problems.
I'll close it as WORKSFORME for now. If you could check if you still get the
problem with these versions i'd really appreciate it.
Read ya, Phil
My error; not bash itself but bash-completion-2.05a sets the CDPATH. I will
change summary accordingly.
Have you tried to build it with this package? (don't forget to relogin because
this env-variable will be set by login-shells only).
True, now it fails for me as well... Will change in the specfile and update.
Read ya, Phil