On 29 Oct 2009, at 08:05, Bryan Blackburn wrote:
> On Wed, Oct 28, 2009 at 09:02:59PM -0700,
blair@... said:
>> Revision: 60013
>>
http://trac.macports.org/changeset/60013>> Author:
blair@...
>> Date: 2009-10-28 21:02:59 -0700 (Wed, 28 Oct 2009)
>> Log Message:
>> -----------
>> Defend against people having stuff in /usr/local that prevents db46
>> from properly building. If somebody wants to supply a patch to
>> prevent db46 from picking stuff up from /usr/local, then I'll gladly
>> accept it.
>
> Can this test be made a bit more specific, say /usr/local/include/db.h
> and/or /usr/local/lib/libdb.a for example? Otherwise, this is going
> to fail
> in many places where there is otherwise nothing bad in /usr/local.
>
> Note that the general issue with /usr/local is gcc and not db46-
> specific,
> and as far as I know, nobody's found a clean way to avoid it as yet.
>
> Bryan
er .. yes ... what fails in my instance?
iMac:~ $ sudo port upgrade outdated
---> Computing dependencies for db46
---> Fetching db46
---> Attempting to fetch patch.4.6.21.1 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/---> Attempting to fetch patch.4.6.21.2 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/---> Attempting to fetch patch.4.6.21.3 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/---> Attempting to fetch patch.4.6.21.4 from
http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/---> Attempting to fetch db-4.6.21.tar.gz from
http://arn.se.distfiles.macports.org/db4/4.6.21_6---> Attempting to fetch db-4.6.21.tar.gz from
http://distfiles.macports.org/db4/4.6.21_6---> Verifying checksum(s) for db46
---> Extracting db46
Error: Move /usr/local out of the way then make this port.
Error: Target org.macports.extract returned: /usr/local is in the way
Error: Unable to upgrade port: 1
iMac:local $ ls -laR /usr/local/
total 0
drwxr-xr-x 5 root wheel 170 5 Sep 21:59 .
drwxr-xr-x@ 12 root wheel 408 5 Sep 22:08 ..
drwxr-xr-x 2 root wheel 68 11 Sep 23:43 bin
drwxr-xr-x 3 root wheel 102 5 Sep 21:59 man
drwxr-xr-x 2 root wheel 68 11 Sep 23:43 sbin
/usr/local//bin:
total 0
drwxr-xr-x 2 root wheel 68 11 Sep 23:43 .
drwxr-xr-x 5 root wheel 170 5 Sep 21:59 ..
/usr/local//man:
total 0
drwxr-xr-x 3 root wheel 102 5 Sep 21:59 .
drwxr-xr-x 5 root wheel 170 5 Sep 21:59 ..
drwxr-xr-x 2 root 501 68 11 Sep 23:43 man8
/usr/local//man/man8:
total 0
drwxr-xr-x 2 root 501 68 11 Sep 23:43 .
drwxr-xr-x 3 root wheel 102 5 Sep 21:59 ..
/usr/local//sbin:
total 0
drwxr-xr-x 2 root wheel 68 11 Sep 23:43 .
drwxr-xr-x 5 root wheel 170 5 Sep 21:59 ..
Mark
_______________________________________________
macports-dev mailing list
macports-dev@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev