Bug#304610: dpkg does not function under Fedora Core 3, patch provided
Package: dpkg
Version: 1.9.21
When trying to use dpkg together to build a debian package under
Fedora Core 3, dpkg exits with an error message saying "no gcc-lib
component". This is because dpkg expects gcclib to live in
/usr/share/gcc-lib/.../
but under Fedora Core 3, it lives under
/usr/share/gcc/.../
A suggest the following patch be applied to enquiry.c. It fixes this
issue by first checking for a /gcc-lib/ component in the gcclib path,
and if none exists, checks for a /gcc/ path. This should have _no_
impact on systems unaffected by this bug.
711a712,718
> if( !p ){
> p= strstr(vb.buf,"/gcc/");
> if (p) p+= 5;
> }
> else
> p+= 9;
>
713d719
< p+= 9;
If there is a need for transfering copyright even for such a trivial
patch, I willingly transfer copyright to the fsf, debian, Bill Gates
or whoever is applicable.
I am using Fedora Core 3.
If you think it doesn't matter if dpkg works under non-Debian systems,
please reconsider. I want my software to support Debian systems, but I
am not willing to let that dictate my choice of distribution. That is
why I am doing my best to make dpkg work under my computer. Thank you
for your time.
Reply to: