Re: ld.so: mplayer: unknown relocation 2 on i386
Hi, the following change to the base system fixed the issue for me: https://marc.info/?l=openbsd-cvs&m=157496009709843&w=2 Thank you guenther@ and sthen@ Kind regards -Dieter On Thu, Nov 28, 2019 at 02:48:35PM +, Stuart Henderson wrote: > +cc guenther, can I get you any more info? > > On 2019/11/28 15:33, Dieter Rauschenberger wrote: > > Hi, > > > > $ mplayer > > ld.so: mplayer: unknown relocation 2 > > Killed > > > > This happens with -current basesystem BUILDINFO Build date: 1574841319 > > - Wed Nov 27 07:55:19 UTC 2019 i386 and package from > > mplayer-20190817p0.tgz 28-Nov-2019 03:23 downloaded from > > ftp.openbsd.org > > I see it here too. I also see it running conftest in ports/lang/ghc: > > configure:5589: checking whether we are cross compiling > configure:5597: cc -o conftest -O2 -pipe -fno-pie -Wl,-znotext conftest.c > >&5 > configure:5601: $? = 0 > configure:5608: ./conftest > ld.so: conftest: unknown relocation 2 > Killed > configure:5612: $? = 137 > configure:5619: error: in `/pobj/ghc-8.6.4/ghc-8.6.4': > configure:5621: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details > > Here's the tail of LD_DEBUG output when trying to run mplayer: > > linking dep /usr/X11R6/lib/libxcb.so.4.0 as child of > /usr/X11R6/lib/libxcb-dri2.so.1.1 > examining: '/usr/X11R6/lib/libdrm.so.7.8' > loading: libm.so.10.1 required by /usr/X11R6/lib/libdrm.so.7.8 > linking dep /usr/lib/libm.so.10.1 as child of /usr/X11R6/lib/libdrm.so.7.8 > examining: '/usr/X11R6/lib/libgbm.so.0.4' > loading: libm.so.10.1 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libpthread.so.26.1 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libz.so.5.0 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libexpat.so.12.0 required by /usr/X11R6/lib/libgbm.so.0.4 > loading: libdrm.so.7.8 required by /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libpthread.so.26.1 as child of > /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libz.so.5.0 as child of /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libexpat.so.12.0 as child of /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/X11R6/lib/libdrm.so.7.8 as child of > /usr/X11R6/lib/libgbm.so.0.4 > linking dep /usr/lib/libm.so.10.1 as child of /usr/X11R6/lib/libgbm.so.0.4 > examining: '/usr/local/lib/libogg.so.6.2' > examining: '/usr/X11R6/lib/libXau.so.10.0' > examining: '/usr/X11R6/lib/libXdmcp.so.11.0' > flags /usr/libexec/ld.so = 0x0 > obj /usr/libexec/ld.so has mplayer as head > static tls size=0 align=4 offset=0 > ld.so: mplayer: unknown relocation 2 > Killed
ld.so: mplayer: unknown relocation 2 on i386
Hi, $ mplayer ld.so: mplayer: unknown relocation 2 Killed This happens with -current basesystem BUILDINFO Build date: 1574841319 - Wed Nov 27 07:55:19 UTC 2019 i386 and package from mplayer-20190817p0.tgz 28-Nov-2019 03:23 downloaded from ftp.openbsd.org My dmesg: OpenBSD 6.6-current (GENERIC) #402: Wed Nov 27 00:30:16 MST 2019 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC real mem = 1063731200 (1014MB) avail mem = 1028710400 (981MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 12/03/04, BIOS32 rev. 0 @ 0xfd6c0, SMBIOS rev. 2.31 @ 0xeff40 (86 entries) bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version "5.00 R1.08.1844" date 12/03/2004 bios0: FUJITSU SIEMENS SCENIC E acpi0 at bios0: ACPI 3.0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP ASF! SSDT MCFG APIC BOOT acpi0: wakeup devices PEXA(S4) PEXB(S4) PEXC(S4) PEXD(S4) PEXE(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) PCIH(S4) AC97(S4) MC97(S4) KEYB(S4) PS2M(S4) COM1(S1) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xd000, bus 0-10 acpimcfg0: addr 0x1, bus 0-0 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz, 0f-04-01 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,CNXT-ID,xTPR,NXE,PERF,MELTDOWN mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz cpu0: mwait min=64, max=64 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEXA) acpiprt2 at acpi0: bus 3 (PEXB) acpiprt3 at acpi0: bus 5 (PEXC) acpiprt4 at acpi0: bus 7 (PEXD) acpiprt5 at acpi0: bus 9 (PEXE) acpiprt6 at acpi0: bus 11 (PCIH) acpicpu0 at acpi0: C1(@1 halt!), FVS, 2800, 2800 MHz acpibtn0 at acpi0: PWRB "PNP0A08" at acpi0 not configured acpicmos0 at acpi0 "PNP0A05" at acpi0 not configured bios0: ROM list: 0xc/0xa600! 0xca800/0x1000 0xcb800/0x800 0xe/0x4000! memory map conflict 0xfff0/0x10 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x04 inteldrm0 at pci0 dev 2 function 0 "Intel 82915G Video" rev 0x04 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0: apic 1 int 16 ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: apic 1 int 17 pci1 at ppb0 bus 3 bge0 at pci1 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 1 int 16, address 00:30:05:84:5e:53 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03: apic 1 int 16 pci2 at ppb1 bus 5 ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03: apic 1 int 18 pci3 at ppb2 bus 7 ppb3 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x03: apic 1 int 19 pci4 at ppb3 bus 9 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: apic 1 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: apic 1 int 22 uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: apic 1 int 21 uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: apic 1 int 20 ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd3 pci5 at ppb4 bus 11 xl0 at pci5 dev 5 function 0 "3Com 3c905C" rev 0x78: apic 1 int 22, address 00:04:75:95:21:3f exphy0 at xl0 phy 24: 3Com internal media interface puc0 at pci5 dev 7 function 0 "NetMos Nm9835" rev 0x01: ports: 15 com, 1 lpt com4 at puc0 port 0 apic 1 int 21: ns16550a, 16 byte fifo com5 at puc0 port 1 apic 1 int 21: ns16550a, 16 byte fifo lpt3 at puc0 port 2 apic 1 int 21 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: apic 1 int 17, ICH6 ac97: codec id 0x41445378 (Analog Devices <78>) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 19 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide1:0:0): using PI
PATCH: mail/fetchmail fix invalid ssl proto
Hi, fetchmail does not work together with stunnel when useing TLS1 encryption. The attached patch is from https://lists.berlios.de/pipermail/fetchmail-users/2007-December/001396.html Testet with OpenBSD (4.3 and) 4.4 on i386 and stunnel 4.25. Regards Dieter Index: pop3.c === --- pop3.c (Revision 5108) +++ pop3.c (Revision 5109) @@ -449,7 +449,7 @@ report(stderr, GT_("TLS is mandatory for this session, but server refused CAPA command.\n")); report(stderr, GT_("The CAPA command is however necessary for TLS.\n")); return ok; - } else { + } else if (maybe_tls(ctl)) { /* defeat opportunistic STLS */ xfree(ctl->sslproto); ctl->sslproto = xstrdup("");
Re: update: olsrd 0.5.6
Ho Martin, On Tue, Sep 02, 2008 at 08:28:34PM +0200, Martin Reindl wrote: > Anyone? Some months ago I submitted a patch that compiles and installs httpinfo. Maybe you want to merge it to the update? Regards Dieter Index: Makefile === RCS file: /cvs/ports/net/olsrd/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile15 Sep 2007 22:36:56 - 1.3 +++ Makefile17 Jan 2008 19:09:34 - @@ -3,6 +3,7 @@ COMMENT= OLSR routing daemon DISTNAME= olsrd-0.4.10 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net HOMEPAGE= http://www.olsr.org/ @@ -21,6 +22,9 @@ USE_GMAKE=Yes NO_REGRESS=Yes +post-build: + @cd ${WRKSRC}/lib && ${MAKE_PROGRAM} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/olsrd ${PREFIX}/sbin @cd ${WRKSRC}/files && ${GUNZIP_CMD} olsrd.conf.5.gz olsrd.8.gz @@ -30,7 +34,11 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/files/olsrd.conf.default.* \ ${PREFIX}/share/examples/olsrd ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/olsrd - @for i in CHANGELOG README README-Link-Quality*; do \ + ${INSTALL_DATA_DIR} ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/httpinfo/olsrd_httpinfo.so.0.1 \ + ${PREFIX}/lib + @for i in CHANGELOG README README-Link-Quality* \ + lib/httpinfo/README_HTTPINFO; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/olsrd; \ done Index: pkg/PLIST === RCS file: /cvs/ports/net/olsrd/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 21 Jan 2006 11:34:04 - 1.2 +++ pkg/PLIST 17 Jan 2008 19:09:34 - @@ -1,4 +1,5 @@ @comment $OpenBSD: PLIST,v 1.2 2006/01/21 11:34:04 alek Exp $ +lib/olsrd_httpinfo.so.0.1 @man man/man5/olsrd.conf.5 @man man/man8/olsrd.8 sbin/olsrd @@ -7,6 +8,7 @@ share/doc/olsrd/CHANGELOG share/doc/olsrd/README share/doc/olsrd/README-Link-Quality-Fish-Eye.txt share/doc/olsrd/README-Link-Quality.html +share/doc/olsrd/README_HTTPINFO share/examples/olsrd/ share/examples/olsrd/olsrd.conf.default.lq share/examples/olsrd/olsrd.conf.default.lq-fisheye
Re: [New] Stream Locomotive 3.03
On Sun, May 11, 2008 at 12:12:43AM +0200, syl wrote: > Here is a port of sl 3.03. Works for me under i386. Very nice game :-) Regards, Dieter
PATCH net/olsrd
Hi, with this patch net/olsrd ships with the httpinfo plugin: -Dieter Index: Makefile === RCS file: /cvs/ports/net/olsrd/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile15 Sep 2007 22:36:56 - 1.3 +++ Makefile17 Jan 2008 19:09:34 - @@ -3,6 +3,7 @@ COMMENT= OLSR routing daemon DISTNAME= olsrd-0.4.10 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net HOMEPAGE= http://www.olsr.org/ @@ -21,6 +22,9 @@ USE_GMAKE=Yes NO_REGRESS=Yes +post-build: + @cd ${WRKSRC}/lib && ${MAKE_PROGRAM} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/olsrd ${PREFIX}/sbin @cd ${WRKSRC}/files && ${GUNZIP_CMD} olsrd.conf.5.gz olsrd.8.gz @@ -30,7 +34,11 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/files/olsrd.conf.default.* \ ${PREFIX}/share/examples/olsrd ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/olsrd - @for i in CHANGELOG README README-Link-Quality*; do \ + ${INSTALL_DATA_DIR} ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/lib/httpinfo/olsrd_httpinfo.so.0.1 \ + ${PREFIX}/lib + @for i in CHANGELOG README README-Link-Quality* \ + lib/httpinfo/README_HTTPINFO; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/olsrd; \ done Index: pkg/PLIST === RCS file: /cvs/ports/net/olsrd/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 21 Jan 2006 11:34:04 - 1.2 +++ pkg/PLIST 17 Jan 2008 19:09:34 - @@ -1,4 +1,5 @@ @comment $OpenBSD: PLIST,v 1.2 2006/01/21 11:34:04 alek Exp $ +lib/olsrd_httpinfo.so.0.1 @man man/man5/olsrd.conf.5 @man man/man8/olsrd.8 sbin/olsrd @@ -7,6 +8,7 @@ share/doc/olsrd/CHANGELOG share/doc/olsrd/README share/doc/olsrd/README-Link-Quality-Fish-Eye.txt share/doc/olsrd/README-Link-Quality.html +share/doc/olsrd/README_HTTPINFO share/examples/olsrd/ share/examples/olsrd/olsrd.conf.default.lq share/examples/olsrd/olsrd.conf.default.lq-fisheye
Re: UPDATE: net/btpd 0.13
On Thu, Dec 20, 2007 at 06:29:42AM -0600, Will Maier wrote: > On Fri, Nov 09, 2007 at 11:14:28AM +0100, Martin wrote: > > Thanks to Nicholas for the diff! > > I've been running an identical diff on -current/i386 for a while > now. Ok? Works for me on i386 fine too. -Dieter