Bug 59741 - Build broken with bash-completion-2.05a-7
Summary: Build broken with bash-completion-2.05a-7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libtiff
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-12 15:11 UTC by Enrico Scholz
Modified: 2015-03-05 01:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-25 15:40:38 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.