Since upgrading to recent snapshots mercurial has stopped working for
me. I get the following errors:
$ hg
/usr/local/bin/python2.7:/usr/local/lib/python2.7/site-packages/mercurial/osutil.so:
undefined symbol 'fstatat'
/usr/local/bin/python2.7:/usr/local/lib/python2.7/site-packages/mercurial/osutil.so:
undefined symbol 'fdopendir'
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 27, in run
    sys.exit(dispatch(request(sys.argv[1:])))
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py",
line 40, in dispatch
    req.ui = uimod.ui()
  File "/usr/local/lib/python2.7/site-packages/mercurial/ui.py", line
43, in __init__
    for f in scmutil.rcpath():
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py",
line 399, in rcpath
    _rcpath = osrcpath()
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py",
line 371, in osrcpath
    path = systemrcpath()
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py",
line 420, in systemrcpath
    path.extend(rcfiles(os.path.join(p, 'etc/mercurial')))
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py",
line 409, in rcfiles
    for f, kind in osutil.listdir(rcdir)
  File
"/usr/local/lib/python2.7/site-packages/mercurial/demandimport.py", line
75, in __getattribute__
    self._load()
  File
"/usr/local/lib/python2.7/site-packages/mercurial/demandimport.py", line
47, in _load
    mod = _origimport(head, globals, locals)
ImportError: Cannot load specified object


I get the same error no matter which command I pass to hg. I've tried
updating ports, and removing all ports and starting over.

I know it was working with the May 2 snapshot, but I cannot remember if
it was working with the June 27.

Any hints would be appreciated.

dmesg & package list:

OpenBSD 4.9-current (GENERIC.MP) #16: Sun Jul 17 01:41:34 MDT 2011
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2137387008 (2038MB)
avail mem = 2092339200 (1995MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/18/07, BIOS32 rev. 0 @ 0xfd690,
SMBIOS rev. 2.4 @ 0xe0010 (67 entries)
bios0: vendor LENOVO version "7BETC9WW (2.10 )" date 04/18/2007
bios0: LENOVO 1706WR3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 97 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4776" serial    67 type LION oem
"SONY"
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc0000/0xea00! 0xcf000/0x1000 0xd0000/0x1000
0xdc000/0x4000! 0xe0000/0x10000!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog
Devices AD1981HD
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int
20
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: msi,
address 00:16:d3:b6:62:ba
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int
21
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
msi, MoW1, address 00:1b:77:3d:ac:f1
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int
22
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int
23
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int
16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int
17
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int
18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int
19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int
19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: apic 1 int
16
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: apic 1 int
18
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: msi,
AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, HITACHI HTS54168, SB2I> SCSI3
0/direct fixed naa.5000cca51ce94715
sd0: 76319MB, 512 bytes/sector, 156301488 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1
int 23
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
scsibus1 at sdmmc0: 1 targets
sd1 at scsibus1 targ 0 lun 0: <SD/MMC, Drive #00, > SCSI2 0/direct fixed
sd1: 3781MB, 512 bytes/sector, 7744512 sectors
run0 at uhub0 port 5 "Cisco-Linksys LLC Dual-Band Wireless-N USB Network
Adapter" rev 2.00/1.01 addr 2
run0: MAC/BBP RT2860 (rev 0x0103), RF RT2850 (MIMO 2T2R), address
00:1e:e5:e2:8b:ec
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Ten X Technology,
Inc. TEMPer sensor" rev 1.10/1.50 addr 2
uhidev0: iclass 3/1
uthum0 at uhidev0
uhidev1 at uhub1 port 1 configuration 1 interface 1 "Ten X Technology,
Inc. TEMPer sensor" rev 1.10/1.50 addr 2
uhidev1: iclass 3/0
uthum1 at uhidev1
uthum1: type sht1x (temperature)
uthum1: type sht1x (humidity)
ugen0 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (65ce348841971a6a.a) swap on sd0b dump on sd0b
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct
fixed
sd2: 39456MB, 512 bytes/sector, 80806449 sectors
softraid0: volume sd2 is roaming, it used to be sd1, updating metadata
sd3 at scsibus3 targ 2 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct
fixed
sd3: 10244MB, 512 bytes/sector, 20980360 sectors
softraid0: volume sd3 is roaming, it used to be sd2, updating metadata

ORBit2-2.14.19p0    high-performance CORBA Object Request Broker
atk-2.0.1           accessibility toolkit used by gtk+
bzip2-1.0.6         block-sorting file compressor, unencumbered
cairo-1.10.2p1      vector graphics library
chromium-12.0.742.112p0 Chromium browser
cups-1.4.7p0        Common Unix Printing System
dbus-1.4.12v0       message bus system
dbus-glib-0.94v0    glib bindings for dbus message system
desktop-file-utils-0.18p0 utilities for dot.desktop entries
firefox-5.0p1       Mozilla web browser
gamin-0.1.10p11     gamin file monitoring server
gconf2-2.32.4       configuration database system for GNOME
gdk-pixbuf-2.23.5   graphic library for GTK+2
gettext-0.18.1p0    GNU gettext
glib2-2.28.8p1      general-purpose utility library
gnome-icon-theme-2.30.3p3 base icon theme for GNOME
groff-1.21p4        GNU troff typesetter
gtk+2-2.24.5p0      multi-platform graphical toolkit
gtk+2-cups-2.24.5   gtk+2 CUPS print backend
hicolor-icon-theme-0.12p1 fallback theme of the icon theme specification
jasper-1.900.1p1    reference implementation of JPEG-2000
jpeg-8c             IJG's JPEG compression utilities
libIDL-0.8.14       IDL parsing library
libao-1.1.0         portable audio output library
libcroco-0.6.2p1    generic CSS parsing library for GNOME project
libexecinfo-1.1p2   clone of backtrace facility found in the GNU libc
libgamin-0.1.10p4   file and directory monitoring system
libgcrypt-1.4.6p1   crypto library based on code used in GnuPG
libgpg-error-1.10   error codes for GnuPG related software
libiconv-1.13p2     character set conversion library
libid3tag-0.15.1bp3 library for reading ID3 tags
libmad-0.15.1bp3    high-quality MPEG audio decoder
libogg-1.2.2        Ogg bitstream library
librsvg-2.34.0p1    SAX-based render library for SVG files
libusb-0.1.12p4     USB access library
libvpx-0.9.6        Google VP8 video codec
libxml-2.7.8p2      XML parsing library
libxslt-1.1.26p2    XSLT C Library for GNOME
llvm-2.9p2          Low Level Virtual Machine (LLVM) compiler
infrastructure
mercurial-1.9       fast, lightweight source control management
mpg321-0.2.10p3     free clone of mpg123, a command-line mp3 player
mutt-1.5.21v0-sidebar-compressed tty-based e-mail client, development
version
nspr-4.8.7          Netscape Portable Runtime
nss-3.12.9          libraries to support development of security-enabled
apps
pango-1.28.4p2      library for layout and rendering of text
pcre-8.12p0         perl-compatible regular expression library
png-1.5.4           library for manipulating PNG images
python-2.7.1p8      interpreted object-oriented programming language
qdbm-1.8.77p0       high performance embedded database library
quirks-1.49         exceptions to pkg_add rules
shared-mime-info-0.90 shared mime database for desktops
speex-1.2rc1p0      patent-free speech codec
sqlite3-3.7.5       embedded SQL implementation
tiff-3.9.5          tools and library routines for working with TIFF
images
unzip-6.0p0         extract, list & test files in a ZIP archive
xdg-utils-1.0.2p12  utilities to assist desktop integration tasks
zeromq-2.1.7        open source message queue optimised for performance

Reply via email to