As the subject says, I'm having trouble installing pgAdmin3 version 1.4.3. Attached is the installation log obtained using command "port - v -d install pgadmin3". My system: MacBook (Intel), Mac OS X 10.4.8, MacPorts 1.320. As the log below shows, the error happens in extraction phase. The directory pgsql8 is missing from /opt/local/lib, but postgresql81 is there. After making symbolic links from postgresql81 to pgsql8 in / opt/local/lib and /opt/local/include (they both had postgreql81 directories), the following error is reported: ---8<--- Error: Target com.apple.extract returned: could not create new link "/ opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_aqua_pgAdmin3/work/pgadmin3-1.4.3/pgsql8/lib": that path already exists --->8--- Is this a bug or am I doing something wrong? And if this is a bug, is it related to pgAdmin3 or postgresql81? pgAdmin3 installation log: ---8<--- DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/aqua/pgAdmin3 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/aqua/pgAdmin3 DEBUG: Requested variant darwin is not provided by port pgAdmin3. DEBUG: Requested variant i386 is not provided by port pgAdmin3. DEBUG: Requested variant macosx is not provided by port pgAdmin3. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/databases/postgresql81 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/databases/postgresql81 DEBUG: Searching for dependency: postgresql81 DEBUG: Found Dependency: receipt exists for postgresql81 DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets DEBUG: Searching for dependency: wxWidgets DEBUG: Found Dependency: receipt exists for wxWidgets DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl DEBUG: Searching for dependency: openssl DEBUG: Found Dependency: receipt exists for openssl DEBUG: Skipping completed com.apple.main (pgAdmin3) DEBUG: Skipping completed com.apple.fetch (pgAdmin3) DEBUG: Skipping completed com.apple.checksum (pgAdmin3) ---> Extracting pgAdmin3 DEBUG: Executing com.apple.extract (pgAdmin3) ---> Extracting pgadmin3-1.4.3.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/ distfiles/pgAdmin3/pgadmin3-1.4.3.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_aqua_pgAdmin3/work" && gzip -dc /opt/local/var/db/dports/ distfiles/pgAdmin3/pgadmin3-1.4.3.tar.gz | /usr/bin/gnutar --no-same- owner -xf -' DEBUG: Executing proc-post-com.apple.extract-extract-0 Error: Target com.apple.extract returned: could not create new link "/ opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_aqua_pgAdmin3/work/pgadmin3-1.4.3/pgsql8/lib" since target "/opt/ local/lib/pgsql8" doesn't exist Warning: the following items did not execute (for pgAdmin3): com.apple.activate com.apple.extract com.apple.patch com.apple.configure com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing. --->8--- -- Jarimatti Valkonen jarimatti@dnainternet.net
Hi, this is my bad. I just committed an improved Portfile for pgAdmin3. It takes awhile, before 'sync' sees that. On 25.10.2006, at 10.58, Jarimatti Valkonen wrote:
As the subject says, I'm having trouble installing pgAdmin3 version 1.4.3. Attached is the installation log obtained using command "port -v -d install pgadmin3". My system: MacBook (Intel), Mac OS X 10.4.8, MacPorts 1.320.
As the log below shows, the error happens in extraction phase. The directory pgsql8 is missing from /opt/local/lib, but postgresql81 is there. After making symbolic links from postgresql81 to pgsql8 in /opt/local/lib and /opt/local/include (they both had postgreql81 directories), the following error is reported: ---8<--- Error: Target com.apple.extract returned: could not create new link "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_aqua_pgAdmin3/work/pgadmin3-1.4.3/pgsql8/lib": that path already exists --->8---
Is this a bug or am I doing something wrong? And if this is a bug, is it related to pgAdmin3 or postgresql81?
pgAdmin3 installation log: ---8<--- DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/aqua/pgAdmin3 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/aqua/pgAdmin3 DEBUG: Requested variant darwin is not provided by port pgAdmin3. DEBUG: Requested variant i386 is not provided by port pgAdmin3. DEBUG: Requested variant macosx is not provided by port pgAdmin3. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/databases/postgresql81 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/databases/postgresql81 DEBUG: Searching for dependency: postgresql81 DEBUG: Found Dependency: receipt exists for postgresql81 DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets DEBUG: Searching for dependency: wxWidgets DEBUG: Found Dependency: receipt exists for wxWidgets DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl DEBUG: Searching for dependency: openssl DEBUG: Found Dependency: receipt exists for openssl DEBUG: Skipping completed com.apple.main (pgAdmin3) DEBUG: Skipping completed com.apple.fetch (pgAdmin3) DEBUG: Skipping completed com.apple.checksum (pgAdmin3) ---> Extracting pgAdmin3 DEBUG: Executing com.apple.extract (pgAdmin3) ---> Extracting pgadmin3-1.4.3.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/ distfiles/pgAdmin3/pgadmin3-1.4.3.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_aqua_pgAdmin3/work" && gzip -dc /opt/local/var/db/dports/ distfiles/pgAdmin3/pgadmin3-1.4.3.tar.gz | /usr/bin/gnutar --no- same-owner -xf -' DEBUG: Executing proc-post-com.apple.extract-extract-0 Error: Target com.apple.extract returned: could not create new link "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_aqua_pgAdmin3/work/pgadmin3-1.4.3/pgsql8/lib" since target "/ opt/local/lib/pgsql8" doesn't exist Warning: the following items did not execute (for pgAdmin3): com.apple.activate com.apple.extract com.apple.patch com.apple.configure com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing. --->8---
-- Jarimatti Valkonen jarimatti@dnainternet.net
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
! ! Jyrki Wahlstedt ! Kolmas linja 12 A 18 mob. +358-400-347 015 skype:jyrkiwahlstedt ! FI-00530 Helsinki http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Jyrki Wahlstedt kirjoitti 25.10.2006 kello 15.45:
Hi, this is my bad. I just committed an improved Portfile for pgAdmin3. It takes awhile, before 'sync' sees that.
Thanks! Now it extracts and builds ok. Installation works after a minor change to the Portfile: ---8<--- --- Portfile.orig 2006-10-25 17:45:39.000000000 +0300 +++ Portfile 2006-10-25 17:48:18.000000000 +0300 @@ -38,6 +38,6 @@ destroot { xinstall -d -m 0755 ${destroot}/Applications/DarwinPorts - file copy ${worksrcpath}/${name}.app ${destroot}/Applications/ Ports/${name}.app + file copy ${worksrcpath}/${name}.app ${destroot}/Applications/ DarwinPorts/${name}.app } --->8--- However, when executed the application crashes immediately. Here's the crash log: ---8<--- Host Name: hal Date/Time: 2006-10-25 17:57:58.848 +0300 OS Version: 10.4.8 (Build 8L2127) Report Version: 4 Command: pgAdmin3 Path: /Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS/pgAdmin3 Parent: WindowServer [57] Version: 1.4 (1.4) PID: 26751 Thread: Unknown Link (dyld) error: Library not loaded: @executable_path/Contents/Frameworks/libssl. 0.9.8.dylib Referenced from: /Applications/DarwinPorts/pgAdmin3.app/Contents/ MacOS/../../Contents/Frameworks/libpq.4.dylib Reason: image not found --->8--- Yet the bundle contains libssl.0.9.8.dylib in the Frameworks directory. Strange. -- Jarimatti Valkonen jarimatti@dnainternet.net
Jarimatti Valkonen <jarimatti@dnainternet.net> on Wednesday, October 25, 2006 at 8:23 AM -0800 wrote:
ommand: pgAdmin3 Path: /Applications/DarwinPorts/pgAdmin3.app/Contents/MacOS/pgAdmin3 Parent: WindowServer [57]
Version: 1.4 (1.4)
PID: 26751 Thread: Unknown
Link (dyld) error:
Library not loaded: @executable_path/Contents/Frameworks/libssl. 0.9.8.dylib Referenced from: /Applications/DarwinPorts/pgAdmin3.app/Contents/ MacOS/../../Contents/Frameworks/libpq.4.dylib Reason: image not found --->8---
Yet the bundle contains libssl.0.9.8.dylib in the Frameworks directory. Strange.
There is a bug on this. http://trac.macosforge.org/projects/macports/ticket/10717 Mark
participants (3)
-
Jarimatti Valkonen
-
Jyrki Wahlstedt
-
Mark Duling