Multiple packages provide phpapi-20090626; package must select one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| xdeb (Ubuntu) |
Medium
|
Unassigned |
Bug Description
Binary package hint: xdeb
I am using xdeb in Maverick amd64 chroot with my ARM cross compiler packages installed. Tried to build gmp resulted in ugly bug:
hrw@home:~/xdeb$ xdeb -a armel --apt-source --prefer-apt gmp
Building source package cache ...
[sudo] password for hrw:
Building working tree cache ...
Traceback (most recent call last):
File "/usr/bin/xdeb", line 768, in <module>
main()
File "/usr/bin/xdeb", line 735, in main
expand_
File "/usr/bin/xdeb", line 250, in expand_depends
parent=src, parent_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 250, in expand_depends
parent=src, parent_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 250, in expand_depends
parent=src, parent_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 250, in expand_depends
parent=src, parent_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 233, in expand_depends
expand_
File "/usr/bin/xdeb", line 245, in expand_depends
real_dep = get_real_
File "/usr/bin/xdeb", line 53, in get_real_pkg
real_pkg = aptutils.
File "/usr/lib/
"Multiple packages provide %s; package must select one" % pkg
aptutils.
Marcin Juszkiewicz (hrw) wrote : | #1 |
summary: |
- gmp can not be built for armel + Multiple packages provide phpapi-20090626; package must select one |
Changed in xdeb (Ubuntu): | |
assignee: | nobody → Wookey (wookey) |
importance: | Undecided → Medium |
Wookey (wookey) wrote : | #2 |
phpapi-20090626 is provided by 4 packages: libapache2-
Arbitrarily choosing the first does not seem very helpful here (in a cross-building context). I'm not sure if this dep is genuinely required for cross-building, but it seems senisble to choose php5-cli as the most appropriate way of running anything that needs it.
This looks like an instance of a set of cases where there is a choice of fulfillers of a virtual dep, and 'best' answer should be selected for cross-building. Adding a set of mappings for these choices would seem like the right solution, probably via xdeb.cfg
Loïc Minier (lool) wrote : | #3 |
Fixed in 0.6
xdeb (0.6) maverick; urgency=low
[ Loïc Minier ]
* Improve Description, as suggested by James Westby.
* Use debian module when available instead of debian_bundle; thanks
Marcin Juszkiewicz.
* Recommend gcc as to avoid a dpkg-architecture warning: "Couldn't determine
gcc system type, falling back to default (native compilation)".
* Recommend fakeroot as it's the default rootcmd of debuild and will break
the build with "fatal error at line 945: problem running fakeroot".
* Depend on build-essential, dpkg-checkbuilddeps wants it unconditionally.
[ Colin Watson ]
* PEP-8 indentation throughout.
* Fix TargetConfig.
element isn't present.
* Check blacklist separately for virtual package names in dependencies.
* Blacklist phpapi-20090626 and phpapi-
* Add --only-explicit option to native-import everything that isn't
explicitly listed on the command line. This avoids a number of
dependency cycles.
Changed in xdeb (Ubuntu): | |
assignee: | Wookey (wookey) → nobody |
status: | New → Fix Released |
Same with gtk+2.0, qt4-x11, mc as target