[Bug 757089] New: cpanspec error: Dest dir longer than base dir is not supported

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 25 13:07:47 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: cpanspec error: Dest dir longer than base dir is not supported

https://bugzilla.redhat.com/show_bug.cgi?id=757089

           Summary: cpanspec error: Dest dir longer than base dir is not
                    supported
           Product: Fedora
           Version: 16
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: cpanspec
        AssignedTo: steve at silug.org
        ReportedBy: kas at fi.muni.cz
         QAContact: extras-qa at fedoraproject.org
                CC: steve at silug.org, fedora-perl-devel-list at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: ---


Description of problem:
I am trying to build some CPAN modules as RPMs (namely Env::C and
IO::Socket::Multicast), but the build fails with the following error:

[...]
extracting debug info from
/root/rpmbuild/BUILDROOT/perl-Env-C-0.08-1.fc16.x86_64/usr/lib64/perl5/vendor_perl/auto/Env/C/C.so
Dest dir longer than base dir is not supported
error: Bad exit status from /var/tmp/rpm-tmp.LI9AHv (%install)

I am not sure why the length of both paths should matter at all, but the cause
of the problem is that cpanspec sets up too long buildroot.
Taking the generated spec file, shortening the buildroot path, and rebuilding
the package using the modified spec file works for me

Before:
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
After:
BuildRoot:      %{_tmppath}/%{name}

Version-Release number of selected component (if applicable):
cpanspec-1.78-9.fc16.noarch

How reproducible:
100 %


Steps to Reproduce:
1. cpanspec --build Env::C

Actual results:
build fails with the above error message

Expected results:
perl-Env-C binary and source RPMs should be built

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list