[Bug 256997] devel/simavr does not build after mesa-libs enable libglvnd support

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jul 2021 16:31:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256997

            Bug ID: 256997
           Summary: devel/simavr does not build after mesa-libs enable
                    libglvnd support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pr@aoek.com
                CC: felix@palmen-it.de
                CC: felix@palmen-it.de
             Flags: maintainer-feedback?(felix@palmen-it.de)

devel/simavr does not build after mesa-libs enables libglvnd support as per 
https://reviews.freebsd.org/D30824
https://cgit.freebsd.org/ports/commit/?id=da3162c7c9f01912ba1940e188b253f2b5c7ba77

Extracted from the log:
gmake[3]: Entering directory
'/wrkdirs/usr/ports/devel/simavr/work/simavr-1.7/examples/board_ds1338'
AVR-CC atmega32_ds1338.c
    902       0       1     903     387 atmega32_ds1338.axf
CC ../parts/ac_input.c
CC ../parts/ds1338_virt.c
CC ds1338demo.c
LD obj-aarch64-unknown-freebsd14.0/ds1338demo.elf
ds1338demo done
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/devel/simavr/work/simavr-1.7/examples/board_ds1338'
gmake[3]: Entering directory
'/wrkdirs/usr/ports/devel/simavr/work/simavr-1.7/examples/board_hd44780'
AVR-CC atmega48_charlcd.c
   2102      14       5    2121     849 atmega48_charlcd.axf
CC ../parts/ac_input.c
CC ../parts/hd44780.c
CC ../parts/hd44780_glut.c
CC charlcd.c
LD obj-aarch64-unknown-freebsd14.0/charlcd.elf
ld: error: undefined symbol: glGenTextures
>>> referenced by hd44780_glut.c:40 (../parts/hd44780_glut.c:40)
>>>               obj-aarch64-unknown-freebsd14.0/hd44780_glut.o:(hd44780_gl_init)

ld: error: undefined symbol: glBindTexture
>>> referenced by hd44780_glut.c:41 (../parts/hd44780_glut.c:41)
>>>               obj-aarch64-unknown-freebsd14.0/hd44780_glut.o:(hd44780_gl_init)
>>> referenced by hd44780_glut.c:95 (../parts/hd44780_glut.c:95)
>>>               obj-aarch64-unknown-freebsd14.0/hd44780_glut.o:(glputchar)


Full poudriere log available if useful.

Please note this excerpt is from an aach64 CURRENT build, but amd64 12.2 is
failing the same way.

-- 
You are receiving this mail because:
You are the assignee for the bug.