Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66842 - amanda-2.4.4_p2-r1 can't find gnu tar
Summary: amanda-2.4.4_p2-r1 can't find gnu tar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 21:37 UTC by Leonid Kabanov
Modified: 2004-11-24 01:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kabanov 2004-10-08 21:37:54 UTC
Here is output of `./configure':

checking for gtar... no
checking for gnutar... /usr/bin/gnutar
configure: WARNING: *** /usr/bin/gnutar is not GNU tar, so it will not be used.

The script search for `gtar gnutar tar' in $PATH. Search stopped if one found. /usr/bin/gnutar is a part of `star' package so it is not GNU tar program and is not used by amanda.

This can be easily fixed by this patch:
--- amanda-2.4.4_p2-r1.ebuild.orig      2004-10-09 12:35:23.000000000 +0800
+++ amanda-2.4.4_p2-r1.ebuild   2004-10-09 12:36:24.000000000 +0800
@@ -170,6 +170,8 @@
        # Samba support
        use samba && myconf="${myconf} --with-smbclient=/usr/bin/smbclient" || myconf="${myconf} --without-smbclient"

+       myconf="${myconf} --with-gnutar=/bin/tar"
+
        econf ${myconf} || die "econf failed!"
        emake || die "emake failed!"



Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge star
3. emerge amanda


Actual Results:  
checking for gtar... no
checking for gnutar... /usr/bin/gnutar
configure: WARNING: *** /usr/bin/gnutar is not GNU tar, so it will not be used.


Expected Results:  
checking for gtar... /bin/tar
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-21 19:36:37 UTC
fixed in cvs.
Comment 2 Leonid Kabanov 2004-11-23 23:26:19 UTC
If you mean patch-tar-1.14.90 then it is not fixed the problem. Please change ebuild as specified in my bugreport.  Amanda's `configure' script search for 3 names in `$PATH' - `gtar', `gnutar', `tar', in that order. It find `gnutar' (from star package), then check that it is not `GNU tar' and search stopped. It does not even try seearching for `tar' executable in `$PATH'. `--with-gnutar' option change this behavior - `configure' script check specified only binary.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-24 01:31:02 UTC
my bad.
there was another very similar bug report to this due to tar-1.14.90 where your solution here was suggested.

fixed properly in cvs now (with your patch).