Bug 6887 - alien missing dependencies to create .deb files
Summary: alien missing dependencies to create .deb files
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 6924
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-27 22:18 CEST by Stew Benedict
Modified: 2015-05-15 13:27 CEST (History)
1 user (show)

See Also:
Source RPM: alien
CVE:
Status comment:


Attachments

Description Stew Benedict 2012-07-27 22:18:35 CEST
Seeing this on both mga1 and mga2:

[root@acer /]# alien lsb-xvfb-1.2.0-21.i486.rpm 
Package build failed. Here's the log:
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127

Looks like dh_testdir is provided by "debhelper" on some distros, but even after packaging it, I get other errors trying to create a deb from an rpm (I know, not the usual application, but the man page claims it works and it does on Debian/Ubuntu)
Comment 1 Stew Benedict 2012-07-27 22:39:08 CEST
Building up a package for debhelper-9.20120608 seems to let this process finish
Manuel Hiebel 2012-08-01 00:35:16 CEST

Assignee: bugsquad => shlomif
Source RPM: (none) => alien

Comment 2 Shlomi Fish 2012-08-01 11:23:08 CEST
Hi Stew,

(In reply to comment #0)
> Seeing this on both mga1 and mga2:
> 
> [root@acer /]# alien lsb-xvfb-1.2.0-21.i486.rpm 
> Package build failed. Here's the log:
> dh_testdir
> make: dh_testdir: Command not found
> make: *** [build] Error 127
> 
> Looks like dh_testdir is provided by "debhelper" on some distros, but even
> after packaging it, I get other errors trying to create a deb from an rpm (I
> know, not the usual application, but the man page claims it works and it does
> on Debian/Ubuntu)

Do you know where I can find the package that prepares debhelper? There's nothing definite for it here:

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/debhelper

How did you build the debhelper package?

Regards,

-- Shlomi Fish
Comment 3 Shlomi Fish 2012-08-01 12:28:27 CEST
OK, here is what I discovered:

1. One can find .src.rpms for debhelper and dependencies here:

http://mirror.kolabsys.com/pub/fedora/apt-utils/f16/SRPMS/

2. However, building po-debconf fails with an error and it seems to be a problem with /usr/bin/dpkg-parsechangelog which is part of the dpkg package, which is out-of-date - it's only at dpkg-1.16.0.1-3.mga3 and there's already 1.16.8:

http://packages.debian.org/sid/dpkg

However, I cannot update dpkg because it is maintained by someone else, so I'll have to file a new bug report and make this bug report be blocked by it.

Regards,

-- Shlomi Fish
Shlomi Fish 2012-08-01 12:31:08 CEST

Depends on: (none) => 6924

Comment 4 Stew Benedict 2012-08-11 14:15:02 CEST
Hey Shlomi,

Sorry, for some reason I wasn't getting cc'd on your comments. For what it's worth, here are the packages I ended up building up for LSB purposes, based on the mageia packages:

http://bzr.linuxfoundation.org/loggerhead/lsb/devel/src_rpms_for_alien/files

I had to de-mageia them somewhat to build on SLES11 (where we needed to do the conversions).

On my mga1 box (where it's also working) I have:

debhelper-9.20120608-1lsb5
dpkg-1.16.0.1-2.mga1
fakeroot-1.14.4-1.mga1
Comment 5 Shlomi Fish 2012-08-15 10:05:33 CEST
Hi Stew,

(In reply to comment #4)
> Hey Shlomi,
> 
> Sorry, for some reason I wasn't getting cc'd on your comments. For what it's
> worth, here are the packages I ended up building up for LSB purposes, based on
> the mageia packages:
> 
> http://bzr.linuxfoundation.org/loggerhead/lsb/devel/src_rpms_for_alien/files
> 
> I had to de-mageia them somewhat to build on SLES11 (where we needed to do the
> conversions).
> 
> On my mga1 box (where it's also working) I have:
> 
> debhelper-9.20120608-1lsb5
> dpkg-1.16.0.1-2.mga1
> fakeroot-1.14.4-1.mga1

thanks for those, I may look at them for reference. I'm still waiting for the dpkg maintainer to return to me.

Regards,

-- Shlomi Fish
Comment 6 Shlomi Fish 2012-09-05 09:57:43 CEST
Assigning the bug to myself.

Status: NEW => ASSIGNED

Comment 7 Shlomi Fish 2012-09-05 14:27:33 CEST
Seems fine with the latest "alien" on Cauldron. Should it also be fixed on Mageia 2?
Comment 8 Stew Benedict 2013-04-16 14:21:57 CEST
Fixing in cauldron is "good enough" I think. Doesn't seem to be a big demand for going rpm -> deb.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 9 Florian Hubold 2015-05-15 13:27:50 CEST
FWIW alien is still missing at least a Recommends on debhelper. I've opened bug 15941 for that and will add it.

CC: (none) => doktor5000


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