NetBSD Problem Report #57964
From www@netbsd.org Mon Feb 26 19:24:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 853F31A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Feb 2024 19:24:10 +0000 (UTC)
Message-Id: <20240226192409.0F9FE1A923A@mollari.NetBSD.org>
Date: Mon, 26 Feb 2024 19:24:09 +0000 (UTC)
From: you.kawasaki@gmail.com
Reply-To: you.kawasaki@gmail.com
To: gnats-bugs@NetBSD.org
Subject: wmakerconf-2.11 does not build on Debian 12.4/amd64
X-Send-Pr-Version: www-1.0
>Number: 57964
>Category: pkg
>Synopsis: wmakerconf-2.11 does not build on Debian 12.4/amd64
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: feedback
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 26 19:25:00 +0000 2024
>Closed-Date:
>Last-Modified: Mon Feb 26 22:20:31 +0000 2024
>Originator: Yosuke Kawasaki
>Release: pkgsrc-2023Q4
>Organization:
>Environment:
Debian 12.4/amd64 Linux debian 6.1.0-15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-1 (2023-12-09) x86_64 GNU/Linux
>Description:
bmake stopped at build phase with the following output.
cc -O2 -I/usr/include -I/var/pkg/include -I/var/pkg/include/freetype2 -I/var/pkg/include/glib-2.0 -I/var/pkg/include/gio-unix-2.0 -I/var/pkg/lib/glib-2.0/include -I/var/pkg/include/harfbuzz -I/var/pkg/include/cairo -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/var/pkg/lib -Wl,-R/var/pkg/lib -o wmakerconf dialog.o dndtree.o error.o icons.o keys.o load.o menu.o misc.o path.o previews.o rimage.o rootmenu.o shortcuts.o simple.o texture.o themebrowser.o window.o wmconfig.o -L/var/pkg/lib -lwraster -Wl,-R/var/pkg/lib -lWUtil -lm -lnsl -L/var/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -Wl,-R/var/pkg/lib -lfontconfig -lfreetype
/usr/bin/ld: keys.o: undefined reference to symbol 'XKeycodeToKeysym'
/usr/bin/ld: /var/pkg/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
*** Error code 1
Stop.
bmake[2]: stopped in /mnt/INTERNAL003/pkgsrc/work/wm/wmakerconf/work/wmakerconf-2.11/src
*** Error code 1
Stop.
bmake[1]: stopped in /mnt/INTERNAL003/pkgsrc/work/wm/wmakerconf/work/wmakerconf-2.11
*** Error code 1
Stop.
bmake: stopped in /mnt/INTERNAL003/pkgsrc/work/wm/wmakerconf/work/wmakerconf-2.11
*** Error code 1
Stop.
bmake[1]: stopped in /mnt/INTERNAL003/pkgsrc/pkgsrc-2023Q4/wm/wmakerconf
*** Error code 1
Stop.
bmake: stopped in /mnt/INTERNAL003/pkgsrc/pkgsrc-2023Q4/wm/wmakerconf
>How-To-Repeat:
bmake
>Fix:
Build finished by adding following line in Makefile to add configure argument.
CONFIGURE_ARGS+= LIBS=-lX11
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 26 Feb 2024 22:20:31 +0000
State-Changed-Why:
Addressed differently (like on SunOS), please test.
I wonder why this is necessary. It works on NetBSD (with modular X.org)
without any overrides - libX11 (and other X11 libraries) are on the linker
command line.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.