dependency lookup failures

Vincent Danen vdanen at annvix.org
Sat Apr 28 07:59:24 PDT 2007


* Vincent Danen <vdanen at annvix.org> [2007-04-27 16:05:27 -0600]:

>I just saw something interesting:
>
>[vdanen at build ~]$ apt-get build-dep subversion-1.4.3-7277avx.src.rpm 
>Reading Package Lists... Done
>Building Dependency Tree... Done
>Selecting lib64python2.4-devel for 'python-devel'
>E: Build-Depends dependency for subversion-1.4.3-7277avx.src.rpm cannot be 
>satisfied because no available versions of package neon-devel can satisfy 
>version requirements
>[vdanen at build ~]$ apt-get install neon-devel
>Reading Package Lists... Done
>Building Dependency Tree... Done
>Selecting lib64neon0.24-devel for 'neon-devel'
>The following NEW packages will be installed:
>  lib64neon0.24-devel
>0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
>Need to get 76.5kB of archives.
>After unpacking 130kB of additional disk space will be used.
>Get:1 ftp://build.annvix.ca x86_64/current lib64neon0.24-devel 
>0.24.7-6638avx [76.5kB]
>Fetched 76.5kB in 0s (2224kB/s)       
>Committing changes...
>Preparing...                ########################################### 
>[100%]
>   1:lib64neon0.24-devel    ########################################### 
>   [100%]
>Done.
>
>
>
>Why is this happening?  Obviously apt-get is smart enough when called by
>"install" to know what package to install, but not when called by
>"build-dep".  Is there a reason for this?  It doesn't happen often, but
>I've noticed it once or twice.

Another example, which illustrates that it's half-working:

[vdanen at build SPECS]$ apt-get build-dep ../SRPMS/nfs-utils-1.0.10-7281avx.src.rpm 
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting libwrap0-devel for 'tcp_wrappers-devel'
E: Build-Depends dependency for ../SRPMS/nfs-utils-1.0.10-7281avx.src.rpm cannot be satisfied because no available versions of package nfsidmap-devel can satisfy version requirements
[vdanen at build SPECS]$ apt-get install nfsidmap-devel
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting libnfsidmap0-devel for 'nfsidmap-devel'
The following extra packages will be installed:
  libnfsidmap0 libnfsidmap0-devel
The following NEW packages will be installed:
  libnfsidmap0 libnfsidmap0-devel
0 upgraded, 2 newly installed, 0 removed and 6 not upgraded.
Need to get 44.0kB of archives.
After unpacking 84.4kB of additional disk space will be used.
Do you want to continue? [Y/n] 


In this case, it properly finds that libwrap0-devel provides
tcp_wrappers-devel, but can't seem to figure out that libnfsidmap0-devel
provides nfsidmap-devel.  The only thing I can think of is that
"build-dep" doesn't like checking for things with a version specified:

BuildRequires:  tcp_wrappers-devel
BuildRequires:  nfsidmap-devel >= 0.16

In this case, the libnfsidmap0-devel has a version of 0.16 so it should
be able to satisfy this just fine.  Looking at the first example, it
seems like build-dep is tripping on the version requirements.

Any ideas here?

-- 
Vincent Danen @ http://linsec.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20070428/66ac6e37/attachment-0003.pgp>


More information about the Apt-Rpm mailing list