From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 1 13:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 82F1C621 for ; Mon, 1 Jul 2013 13:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 66E081B89 for ; Mon, 1 Jul 2013 13:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r61DK07O016107 for ; Mon, 1 Jul 2013 13:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r61DK0kt016106; Mon, 1 Jul 2013 13:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 1 Jul 2013 13:20:00 GMT Resent-Message-Id: <201307011320.r61DK0kt016106@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrea Venturoli Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB38E5D3 for ; Mon, 1 Jul 2013 13:16:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id CC5A81B48 for ; Mon, 1 Jul 2013 13:16:03 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r61DG37j084296 for ; Mon, 1 Jul 2013 13:16:03 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r61DG3pt084295; Mon, 1 Jul 2013 13:16:03 GMT (envelope-from nobody) Message-Id: <201307011316.r61DG3pt084295@oldred.freebsd.org> Date: Mon, 1 Jul 2013 13:16:03 GMT From: Andrea Venturoli To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180169: graphics/freeimage install wrong links X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 13:20:00 -0000 >Number: 180169 >Category: ports >Synopsis: graphics/freeimage install wrong links >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 01 13:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Andrea Venturoli >Release: 9.1 >Organization: NetFence >Environment: FreeBSD bane.ventu 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r252056: Sun Jun 23 11:57:03 CEST 2013 root@bane.ventu:/usr/obj/usr/src/sys/BANE i386 >Description: I first found out about this via portsclean: #portsclean -L .. Unreadable file or directory: /usr/local/lib/libfreeimageplus.so.3 Unreadable file or directory: /usr/local/lib/libfreeimageplus.so So: ls -l /usr/local/lib|grep freeimage -rwxr-xr-x 1 root wheel 3529452 Jul 1 15:02 libfreeimage-3.15.4.so -rw-r--r-- 1 root wheel 4917684 Jul 1 15:02 libfreeimage.a lrwxr-xr-x 1 root wheel 17 Jul 1 15:02 libfreeimage.so -> libfreeimage.so.3 lrwxr-xr-x 1 root wheel 22 Jul 1 15:02 libfreeimage.so.3 -> libfreeimage-3.15.4.so -rwxr-xr-x 1 root wheel 3566560 Jul 1 15:02 libfreeimageplus-3.15.4.so -rw-r--r-- 1 root wheel 4988200 Jul 1 15:02 libfreeimageplus.a lrwxr-xr-x 1 root wheel 23 Jul 1 15:02 libfreeimageplus.so -> libfreeimageplus-3.15.4 lrwxr-xr-x 1 root wheel 23 Jul 1 15:02 libfreeimageplus.so.3 -> libfreeimageplus-3.15.4 The last two links point to a nonexistent file. cd /usr/ports/graphics/freeimage ; make install .. install -m 755 -o root -g wheel libfreeimageplus-3.15.4.so //usr/local/lib /bin/ln -s libfreeimageplus-3.15.4 /usr/local/lib/libfreeimageplus.so.3 /bin/ln -s libfreeimageplus-3.15.4 /usr/local/lib/libfreeimageplus.so ===> Running ldconfig .. So are the last lines in Makefile wrong? ${LN} -s libfreeimageplus-${PORTVERSION} ${PREFIX}/lib/libfreeimageplus.so.3 ${LN} -s libfreeimageplus-${PORTVERSION} ${PREFIX}/lib/libfreeimageplus.so >How-To-Repeat: >Fix: Perhaps the last lines in Makefile should be: ${LN} -s libfreeimageplus-${PORTVERSION}.so ${PREFIX}/lib/libfreeimageplus.so.3 ${LN} -s libfreeimageplus-${PORTVERSION}.so ${PREFIX}/lib/libfreeimageplus.so >Release-Note: >Audit-Trail: >Unformatted: