NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/54778: Inconsistent Xorg libEGL on arm ports

>Number:         54778
>Category:       port-arm
>Synopsis:       Inconsistent Xorg libEGL on arm ports
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 18 11:20:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 9.0_RC1
System: NetBSD 9.0_RC1
Architecture: earm
Machine: evbarm, zaurus
According to src/external/mit/xorg/lib/Makefile,
libEGL is build if ${HAVE_XORG_GLAMOR} is defined:
.if ${HAVE_XORG_GLAMOR} != "no"
# libEGL depends upon libgbm

HAVE_XORG_GLAMOR is defined only for evbarm in src/share/mk/
. if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || ${MACHINE} == "evbarm"
. endif

So evbarm-earmv5 has /usr/X11R7/lib/ but zaurus doesn't have it.

On the other hand, pkgsrc/multimedia/mplayer links on evbarm:
# ldd /usr/pkg/bin/mplayer
        -lterminfo.1 => /usr/lib/
        -lc.12 => /usr/lib/
        -lrt.1 => /usr/lib/
        -lpng16.16 => /usr/pkg/lib/
        -lz.1 => /usr/lib/
        -lm.0 => /usr/lib/
        -lxcb-glx.0 => /usr/X11R7/lib/
        -lEGL.0 => /usr/X11R7/lib/
        -lgbm.1 => /usr/X11R7/lib/
This means several pkgsrc binaries built on earmv5 9.0_RC1 evbarm
won't work on zaurus (and iyonix?) even they have the same MACHINE_ARCH.
It's a bit annoying.

Build pkgsrc/multimedia/mplayer on evbarm and ldd /usr/pkg/bin/mplayer

No idea.

Is it possible to build libEGL with xorg-server.old?
Or prevent mplayer (and other applications) from linking libEGL?

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index