Bug 59741

Summary: Build broken with bash-completion-2.05a-7
Product: [Retired] Red Hat Linux Reporter: Enrico Scholz <rh-bugzilla>
Component: libtiffAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-02-25 15:40:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2002-02-12 15:11:29 UTC
Description of Problem:

| $ rpm --rebuild libtiff-3.5.5-14.src.rpm
| ...
| /var/volatile/rpm/BUILD/tiff-v3.5.5/man/apps
| make[2]: Entering directory `/var/volatile/rpm/BUILD/tiff-v3.5.5/man/apps'
| Makefile:1: *** missing separator.  Stop.
| make[2]: Leaving directory `/var/volatile/rpm/BUILD/tiff-v3.5.5/man/apps'
| make[1]: *** [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
| /usr/src/redhat/BUILD/tiff-v3.5.5/man/apps
| $

The man/Makefile of libtiff contains a similar statement:

| apps/Makefile:
| ...
| (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):

bash-2.05a-7
libtiff-3.5.5-14

Comment 1 Phil Knirsch 2002-02-25 14:15:29 UTC
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

Comment 2 Enrico Scholz 2002-02-25 14:42:14 UTC
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).

Comment 3 Phil Knirsch 2002-02-25 15:40:33 UTC
True, now it fails for me as well... Will change in the specfile and update.

Read ya, Phil