Fwd: 9.0 stable failing to build for sun2 in X11

Chris Hanson <[email protected]> Mon, 7 Sep 2020 15:05:43 -0700
Newsgroups gmane.os.netbsd.ports.m68k,gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>
I posted this to port-sun2 a few days ago, since it appears to be a =
build break in 9.0-stable I thought I should get more eyes on it...

  -- Chris

> Begin forwarded message:
>=20
> From: Chris Hanson <[email protected]>
> Subject: 9.0 stable failing to build for sun2 in X11
> Date: September 3, 2020 at 1:52:20 PM PDT
> To: [email protected]
> List-Id: port-sun2.NetBSD.org
>=20
> I'm trying to build NetBSD 9.0 stable (as of about 16 hours ago) for =
sun2 and it's failing in X11, in beforelight/beforelight.
>=20
> Link error below. Could this be related to the X11 changes for sun3?
>=20
> (I'm building sun2 NetBSD because, as far as I know, it's the only =
68010 platform for NetBSD right now. I have a Motorola 60810+68451 =
board, MVME121, that could potentially run NetBSD someday if Motorola =
MMU support is added.)
>=20
>  -- Chris
>  -- building sun2 because, as far as I know, it's the only 68010 =
platform for NetBSD right now
>=20
> #      link  beforelight/beforelight
> /usr/tools/sun2/bin/m68010--netbsdelf-gcc    =
--sysroot=3D/usr/obj/sun2/destdir.sun2 -Wl,-rpath,/usr/X11R7/lib =
-L=3D/usr/X11R7/lib      -o beforelight  b4light.o  =
-Wl,-rpath-link,/usr/obj/sun2/destdir.sun2/lib  -L=3D/lib -lXss -
> lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11   =20
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o):(.text+0x5be):=
 undefined reference to `xcb_take_socket'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o):(.text+0x662):=
 undefined reference to `xcb_poll_for_queued_event'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o):(.text+0x672):=
 undefined reference to `xcb_poll_for_event'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o):(.text+0x79c):=
 undefined reference to `xcb_poll_for_reply64'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: /usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o): =
in function `_XSend':
> xcb_io.c:(.text+0xa0c): undefined reference to `xcb_writev'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: /usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o): =
in function `_XEventsQueued':
> xcb_io.c:(.text+0xabe): undefined reference to =
`xcb_connection_has_error'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: /usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o): =
in function `_XReadEvents':
> xcb_io.c:(.text+0xb8c): undefined reference to `xcb_wait_for_event'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_io.c:(.text+0xcb8): undefined reference to =
`xcb_connection_has_error'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: /usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o): =
in function `_XAllocIDs':
> xcb_io.c:(.text+0xda2): undefined reference to `xcb_generate_id'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: /usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_io.o): =
in function `_XReply':
> xcb_io.c:(.text+0xf72): undefined reference to `xcb_wait_for_reply64'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(ClDisplay.o): in =
function `XCloseDisplay':
> ClDisplay.c:(.text+0xd2): undefined reference to `xcb_disconnect'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(OpenDis.o): in =
function `_XFreeDisplayStructure':
> OpenDis.c:(.text+0x366): undefined reference to `xcb_disconnect'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(OpenDis.o): in =
function `XOpenDisplay':
> OpenDis.c:(.text+0x618): undefined reference to `xcb_get_setup'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: OpenDis.c:(.text+0xa4a): undefined reference to =
`xcb_get_maximum_request_length'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: =
/usr/obj/sun2/destdir.sun2/usr/X11R7/lib/libX11.a(xcb_disp.o): in =
function `_XConnectXCB':
> xcb_disp.c:(.text+0x122): undefined reference to `xcb_parse_display'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_disp.c:(.text+0x16e): undefined reference to =
`xcb_connect_to_display_with_auth_info'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_disp.c:(.text+0x182): undefined reference to =
`xcb_connect'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_disp.c:(.text+0x1a4): undefined reference to =
`xcb_get_file_descriptor'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_disp.c:(.text+0x1ba): undefined reference to =
`xcb_generate_id'
> =
/usr/tools/sun2/lib/gcc/m68010--netbsdelf/7.5.0/../../../../m68010--netbsd=
elf/bin/ld: xcb_disp.c:(.text+0x218): undefined reference to =
`xcb_connection_has_error'
> collect2: error: ld returned 1 exit status
> *** [beforelight] Error code 1
>=20