Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12554 - Missing expat dependancy in bzr 1.10

Attached to Project: Arch Linux
Opened by Henk van de Kamer (hvdkamer) - Tuesday, 23 December 2008, 19:02 GMT
Last edited by Allan McRae (Allan) - Sunday, 15 March 2009, 07:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installing one of the first steps with this program is to setup a repo:

[hvdkamer@ve125 bazaar]$ bzr init-repo --trees xxx
bzr: ERROR: exceptions.ImportError: libexpat.so.1: cannot open shared object file: No such file or directory

The machine is a standard, minimal Arch Linux installation. IMHO a package must install all necessary dependancies for at least the standard functions. The above is clearly such a case :-).


Additional info:
[root@ve125 ~]# ldd /usr/lib/python2.6/lib-dynload/pyexpat.so
libexpat.so.1 => not found
...

Solution:
Include dependancy on expat.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 15 March 2009, 07:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#12648 
Comment by Henk van de Kamer (hvdkamer) - Wednesday, 24 December 2008, 14:30 GMT
As somebody pointed out to me the dependancy must be included for python because pyexpat.so is part of that package. I don't know how Arch Linux resolves depandancies because there are no split packages to reduce the balast. I can imagine that in 99% of what you do in python the pyexpat is not needed, so including expat is just overhead if you install python. That is why I said that a package mus install at least the dependancies for the standard functions and why I think that bzr must include the depandancy. Either way, one of the two must install it automatically :-).

Issued install command:

[root@ve125 ~]# pacman -S bzr
resolving dependencies...
looking for inter-conflicts...

Targets (2): python-2.6.1-1 bzr-1.10-1

Total Download Size: 19.57 MB
Total Installed Size: 82.77 MB

Loading...