Subject: pkg/8273: xmysql, xmysqladmin (etc?) depends on defunct xforms on i386-elf
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@erik-be.uni-c.dk>
List: netbsd-bugs
Date: 08/25/1999 05:42:00
>Number: 8273
>Category: pkg
>Synopsis: xmysql, xmysqladmin (etc?) depends on defunct xforms on i386-elf
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 25 05:20:01 1999
>Last-Modified:
>Originator: Erik Bertelsen
>Organization:
>Release: <etBSD-current 24 August 1999
>Environment:
System: NetBSD erik-be.uni-c.dk 1.4K NetBSD 1.4K (ERIKBE) #255: Wed Aug 25 09:21:36 MEST 1999 erik@erik-be.uni-c.dk:/sw/NetBSD/src/sys/arch/i386/compile/ERIKBE i386
>Description:
xmysql and xmysqladmin (and possibly any other package using xforms)
are broken on ports newly switched to ELF, e.g. i386.
>How-To-Repeat:
===> Building for xmysql-1.10
cc -o xmysql Xmysql.o Xmysql_main.o Xmysql_cb.o XmysqlDB.o XmysqlErr.o -I/usr/pkg/include/mysql -I/usr/X11R6/include/X11 -I/usr/X11R6/include -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/mysql -L/usr/pkg/lib/mysql -lmysqlclient -lX11 -lforms -lXpm -lm
/usr/X11R6/lib/libforms.so(.text+0x64cb4): multiple definition of `_etext'
/usr/X11R6/lib/libforms.so(.data+0x6d24): multiple definition of `_edata'
/usr/X11R6/lib/libforms.so(.bss+0x54ac): multiple definition of `_end'
/usr/pkg/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
Xmysql.o: In function `create_form_Xmysql_main':
/sw/NetBSD/wrkobj/databases/xmysql/work.i386/xmysql-1.10/Xmysql.c:22: undefined reference to `fl_bgn_form'
/sw/NetBSD/wrkobj/databases/xmysql/work.i386/xmysql-1.10/Xmysql.c:23: undefined reference to `fl_add_box'
/sw/NetBSD/wrkobj/databases/xmysql/work.i386/xmysql-1.10/Xmysql.c:24: undefined reference to `fl_add_button'
/sw/NetBSD/wrkobj/databases/xmysql/work.i386/xmysql-1.10/Xmysql.c:25: undefined reference to `fl_set_object_
etc...
>Fix:
Solution: get an updated xforms library per PR 8149.
Work-around until solution: don't build these packages on
i386-elf and sparc-elf. Maybe the pkg-system should detect
the situation.
regards
Erik Bertelsen
>Audit-Trail:
>Unformatted: