From owner-freebsd-ports Mon Sep 16 10: 0:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3ED637B400 for ; Mon, 16 Sep 2002 10:00:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33F1243E65 for ; Mon, 16 Sep 2002 10:00:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8GH09JU081734 for ; Mon, 16 Sep 2002 10:00:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8GH08GD081733; Mon, 16 Sep 2002 10:00:08 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08A1F37B400 for ; Mon, 16 Sep 2002 09:53:18 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B687943E77 for ; Mon, 16 Sep 2002 09:53:16 -0700 (PDT) (envelope-from root@cultdeadsheep.org) Received: (qmail 37178 invoked by uid 0); 16 Sep 2002 16:46:34 -0000 Message-Id: <20020916164634.37177.qmail@cultdeadsheep.org> Date: 16 Sep 2002 16:46:34 -0000 From: Clement Laforet Reply-To: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42844: libnewt (devel/newt) has wrong version number. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42844 >Category: ports >Synopsis: libnewt (devel/newt) has wrong version number. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 10:00:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 4.6-STABLE i386 >Organization: The Cult Of The Dead Sheep >Environment: System: FreeBSD goofy.cultdeadsheep.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 4 10:05:12 CEST 2002 root@goofy.cultdeadsheep.org:/usr/obj/usr/src/sys/GOOFY i386 >Description: I was working on dhcpconf port and I noticed libnewt internal SONAME was wrong. [root@darth-vader|(631)| dhcpconf]# make ===> Extracting for dhcpconf-0.7.3 >How-To-Repeat: Compile something depending to libnewt. >Fix: Dirty patch to put in files/ --- configure.old Mon Sep 16 18:37:29 2002 +++ configure Mon Sep 16 18:37:38 2002 @@ -1187,7 +1187,7 @@ VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec) VERSION=0.50.38 -SONAME=0.50 +SONAME=50 ac_ext=c >Release-Note: >Audit-Trail: >Unformatted: >> Checksum OK for dhcp-conf.tgz. ===> dhcpconf-0.7.3 depends on shared library: gdbm.2 - found ===> dhcpconf-0.7.3 depends on shared library: newt.50 - found ===> Patching for dhcpconf-0.7.3 ===> Applying FreeBSD patches for dhcpconf-0.7.3 ===> Configuring for dhcpconf-0.7.3 ===> Building for dhcpconf-0.7.3 cc -O -pipe -march=pentiumpro -I/usr/local/include -c main.c cc -O -pipe -march=pentiumpro -I/usr/local/include -c screen.c screen.c: In function `update_fixed_list': screen.c:859: warning: passing arg 4 of `qsort' from incompatible pointer type screen.c: In function `update_subnet_list': screen.c:919: warning: passing arg 4 of `qsort' from incompatible pointer type cc -O -pipe -march=pentiumpro -I/usr/local/include -c help.c cc -O -pipe -march=pentiumpro -I/usr/local/include -c data.c cc -O -pipe -march=pentiumpro -I/usr/local/include -o dhcp-conf -L/usr/local/lib -lgdbm -lnewt main.o screen.o help.o data.o [root@darth-vader|(632)| dhcpconf]# ./work/dhcp-conf/dhcp-conf /usr/libexec/ld-elf.so.1: Shared object "libnewt.so.0.50" not found [root@darth-vader|(633)| dhcpconf]# locate libnewt /usr/local/lib/libnewt.a /usr/local/lib/libnewt.so /usr/local/lib/libnewt.so.50 [root@darth-vader|(634)| dhcpconf]# Maybe, there is a workaround ;) (I tried -soname, without success) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message