Date: Tue, 25 Oct 2005 14:54:38 +0400 (MSD) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87978: *_DEPENDS gets broken after changing (LOCAL|X11)BASE Message-ID: <20051025105438.06984314E@hades.panopticon> Resent-Message-ID: <200510251100.j9PB0S4W070580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87978 >Category: ports >Synopsis: *_DEPENDS gets broken after changing (LOCAL|X11)BASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 25 11:00:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 5.4-RELEASE-p7 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #4: Mon Sep 12 01:19:38 MSD 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: Due to insufficient checking of object (library/executable) paths, when having some ports installed in default LOCALBASE/X11BASE, installing ports with changed *BASE will often fail, because dependencies will be found among ports installed in default dirs, but won't be used, which will lead to compile errors. >How-To-Repeat: # cd /usr/ports/devel/sdl12 && make install SDL installs normally Now, # mkdir /usr/X11R6_test /usr/local_test /var/db/pkg_test # X11BASE=/usr/X11R6_test LOCALBASE=/usr/local_test PKG_DBDIR=/var/db/pkg_test make install Note, that for current X11BASE, LOCALBASE and PKG_DBDIR values, nothing at all is installed. However, required libs will be found: ===> Extracting for sdl-1.2.9,2 => Checksum OK for SDL-1.2.9.tar.gz. ===> Patching for sdl-1.2.9,2 ===> Applying FreeBSD patches for sdl-1.2.9,2 ===> sdl-1.2.9,2 depends on executable: nasm - found ===> sdl-1.2.9,2 depends on file: /usr/local_test/bin/libtool15 - not found (libtool gets installed) ===> sdl-1.2.9,2 depends on shared library: aa.1 - found ===> sdl-1.2.9,2 depends on shared library: vga.1 - found ===> sdl-1.2.9,2 depends on shared library: X11.6 - found ===> Configuring for sdl-1.2.9,2 And, of course, file-not-found errors wil occur: SDL_x11video.h:31:22: X11/Xlib.h: No such file or directory SDL_x11video.h:32:23: X11/Xutil.h: No such file or directory SDL_x11video.h:33:23: X11/Xatom.h: No such file or directory etc. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051025105438.06984314E>