>Synopsis:      tin-2.6.4.tgz pkg for OpenBSD 7.8/aarch64 missing library
>Category:      aarch64
>Environment:
        System      : OpenBSD 7.8
        Details     : OpenBSD 7.8 (GENERIC.MP) #1: Sat Nov 29 11:06:26 MST 2025
                         
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP

        Architecture: OpenBSD.arm64
        Machine     : arm64
>Description:
        The official OpenBSD 7.8/aarch64 package of tin-2.6.4.tgz (news/tin)
        is linked against liburiparser.so.4.0 (www/uriparser) without the
        package being identified as a dependency. It cause a missing library
        error on startup:

        ld.so: tin: can't load library 'liburiparser.so.4.0'
        Killed 

>How-To-Repeat:
        On OpenBSD 7.8/arm64 without uriparser pkg installed:
        pkg_add tin
        tin

        or on every thing else (you may wish to create your own temp dir):
        cd /tmp
        ftp 
'https://ftp.openbsd.org/pub/OpenBSD/7.8/packages/aarch64/tin-2.6.4.tgz'
        tar -xzvf tin-2.6.4.tgz bin/tin '+CONTENTS'
        strings bin/tin | grep liburiparser
        grep uriparser ./+CONTENTS

        (Current aarch64 pkg snapshot seems to have the same issue)
        (Current amd64 pkg snapshot is not linked with liburiparser)

>Fix:
        On OpenBSD 7.8/arm64 without uriparser installed, I can "make
        install" "news/tin" from ports without it being linked with
        liburiparser.

        tin work ok. (I have no idea what liburiparser change in tin.)


        This seems to be a case of 'configure' picking up extra
        libraries based on what's installed when it runs.

        No idea how to tell configure to not test for liburiparser.

        Maybe this can be fixed by changing the bulk build order? 



dmesg:
OpenBSD 7.8 (GENERIC.MP) #1: Sat Nov 29 11:06:26 MST 2025
    
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 4145479680 (3953MB)
avail mem = 3976536064 (3792MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 4 Model B Rev 1.1
efi0 at mainbus0: UEFI 2.11
efi0: Das U-Boot rev 0x20250700
smbios0 at efi0: SMBIOS 3.7.0
smbios0: vendor U-Boot version "2025.07" date 07/01/2025
smbios0: raspberrypi Raspberry Pi 4 Model B Rev 1.1
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
"linux,cma" at mainbus0 not configured
"nvram" at mainbus0 not configured
"nvram" at mainbus0 not configured
apm0 at mainbus0
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
ampintc0 at simplebus0 nirq 256, ncpu 4 ipi 0: "interrupt-controller"
bcmtmon0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10
pluart0 at simplebus0: rev 3, 32 byte fifo
pluart0: console
"interrupt-controller" at simplebus0 not configured
bcmdog0 at simplebus0
bcmirng0 at simplebus0
"firmware" at simplebus0 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.00, 250 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
simplebus1 at simplebus0: "nvmem"
"nvmem_otp" at simplebus1 not configured
"nvmem_cust" at simplebus1 not configured
"nvmem_priv" at simplebus1 not configured
simplebus2 at mainbus0: "clocks"
"clk-osc" at simplebus2 not configured
"clk-usb" at simplebus2 not configured
"phy" at mainbus0 not configured
"clk-27M" at mainbus0 not configured
"clk-108M" at mainbus0 not configured
simplebus3 at mainbus0: "emmc2bus"
sdhc1 at simplebus3
sdhc1: SDHC 3.00, 100 MHz base clock
sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
"pmu" at mainbus0 not configured
agtimer0 at mainbus0: 54000 kHz
simplebus4 at mainbus0: "scb"
bcmpcie0 at simplebus4
pci0 at bcmpcie0
ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 
addr 1
bse0 at simplebus4: address dc:a6:32:05:54:be
brgphy0 at bse0 phy 1: BCM54210E, rev. 2
"codec" at simplebus4 not configured
"dma" at simplebus4 not configured
gpioleds0 at mainbus0: "ACT", "PWR"
"cam_dummy_reg" at mainbus0 not configured
"regulator-cam1" at mainbus0 not configured
"regulator-sd-io-1v8" at mainbus0 not configured
"regulator-sd-vcc" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
"zone_dma" at mainbus0 not configured
simplebus5 at mainbus0: "v3dbus"
sdhc_sdclk_frequency_select: command in progress
sdhc_sdclk_frequency_select: command in progress
sdmmc0: can't enable card
sdhc_sdclk_frequency_select: command in progress
sdmmc1: can't enable card
uhub1 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub" rev 
2.10/4.21 addr 2
umass0 at uhub0 port 2 configuration 1 interface 0 "Samsung PSSD T7" rev 
3.20/1.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Samsung, PSSD T7, 0> serial.04e84001LNS0W301496R
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (e974076185d165b1.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 58 pins

usbdevs:
Controller /dev/usb0:
addr 01: 1106:0000 VIA, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 2109:3431 VIA Labs, USB2.0 Hub
         high speed, self powered, config 1, rev 4.21
         driver: uhub1
addr 03: 04e8:4001 Samsung, PSSD T7
         super speed, power 224 mA, config 1, rev 1.00, iSerial S6XLNS0W301496R
         driver: umass0

  • [no subject] Hugo Villeneuve-Lapointe
    • Re: Stuart Henderson

Reply via email to