Re: error apache2 from macports 1.70 (RESOLVED)

2009-01-19 Thread Jason Hirsh
OK I deinstalled and re-installed.  Although I had done this before  
this time was much different and worked great


I have two machines really interlaced   so I guess I screwed up along  
the way


thanks for the help...

Jason

On Jan 18, 2009, at 11:53 PM, Ryan Schmidt wrote:


On Jan 18, 2009, at 21:23, Jason Hirsh wrote:


On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:


sh: /opt/local/bin/bzip2: Bad CPU type in executable


Was this MacPorts install copied over from a different  
architecture (eg from

a PowerPC to Intel)?


presuming wrong type  howdoI correct




sudo port -nf upgrade bzip2

That will cause bzip2 to be rebuilt.

But if you copied this MacPorts installation from another machine,  
it's likely most or all of your other ports are also affected by  
this problem and you should do the same for all of them. But you  
would have to do it in the right order. It may be easier to  
uninstall all ports first, then install again what you need, which  
will do it in the right order for you.




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Ryan Schmidt

On Jan 18, 2009, at 21:23, Jason Hirsh wrote:


On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:


sh: /opt/local/bin/bzip2: Bad CPU type in executable


Was this MacPorts install copied over from a different  
architecture (eg from

a PowerPC to Intel)?


presuming wrong type  howdoI correct




sudo port -nf upgrade bzip2

That will cause bzip2 to be rebuilt.

But if you copied this MacPorts installation from another machine,  
it's likely most or all of your other ports are also affected by this  
problem and you should do the same for all of them. But you would  
have to do it in the right order. It may be easier to uninstall all  
ports first, then install again what you need, which will do it in  
the right order for you.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh


On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:
[...]


Ok ther still seems to be an issue with that configure directory not
being created
I took a llok and I have nothing in the tree under work in the path
shown in the error

[Bluefish:/opt/local] jason% sudo port -d extract apache2

[...]

DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
--->  Extracting apache2
DEBUG: Executing org.macports.extract (apache2)
--->  Extracting httpd-2.2.11.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/
distfiles/apache2/httpd-2.2.11.tar.bz2
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_www_apache2/work" && /opt/local/bin/ 
bzip2

-dc /opt/local/var/macports/distfiles/apache2/httpd-2.2.11.tar.bz2 |
/usr/bin/gnutar --no-same-owner -xf -'
sh: /opt/local/bin/bzip2: Bad CPU type in executable


Was this MacPorts install copied over from a different architecture  
(eg from

a PowerPC to Intel)?

Odd though that it continued on after that as it should have failed  
at this

point instead of continuing.

Bryan



presuming wrong type  howdoI correct

[...]
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Ryan Schmidt


On Jan 18, 2009, at 17:54, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:


sh: /opt/local/bin/bzip2: Bad CPU type in executable


Was this MacPorts install copied over from a different architecture  
(eg from

a PowerPC to Intel)?


I would have thought that a PowerPC binary on an Intel Mac would work  
correctly through Rosetta.



Odd though that it continued on after that as it should have failed  
at this

point instead of continuing.


No, unfortunately, that is a known problem that it does not error out  
at this point if the decompression program is faulty. We need to fix  
that.


http://trac.macports.org/ticket/16223

I have thought that it would be nice to separate extraction from  
decompression instead of putting them in a single phase. Besides  
being cleaner and fixing the above issue, it would enable us to  
handle formats that cannot be decompressed and extracted in a single  
step, such as .dmg.zip. Unfortunately, so many ports have hacked the  
arguments of the existing extract phase that changing it at all at  
this point may be problematic.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Fwd: error apache2 from macports 1.70

2009-01-18 Thread Bryan Blackburn
On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:
[...]
>>
>> Ok ther still seems to be an issue with that configure directory not  
>> being created
>> I took a llok and I have nothing in the tree under work in the path  
>> shown in the error
>>
>> [Bluefish:/opt/local] jason% sudo port -d extract apache2
[...]
>> DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
>> --->  Extracting apache2
>> DEBUG: Executing org.macports.extract (apache2)
>> --->  Extracting httpd-2.2.11.tar.bz2
>> DEBUG: setting option extract.args to /opt/local/var/macports/ 
>> distfiles/apache2/httpd-2.2.11.tar.bz2
>> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
>> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_www_apache2/work" && /opt/local/bin/bzip2 
>> -dc /opt/local/var/macports/distfiles/apache2/httpd-2.2.11.tar.bz2 | 
>> /usr/bin/gnutar --no-same-owner -xf -'
>> sh: /opt/local/bin/bzip2: Bad CPU type in executable

Was this MacPorts install copied over from a different architecture (eg from
a PowerPC to Intel)?

Odd though that it continued on after that as it should have failed at this
point instead of continuing.

Bryan

[...]
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Timothy Goins
Here's what I got when I installed Apache2.0 on my Mac Pro running  
10.5.6 (being a dodo, I am wondering why my port command fetched from http://distfiles.macports.org/apache2 
 rather than from http://www.ibiblio.org/pub/mirrors/apache/httpd):


t...@cotopaxi:~$ sudo port install apache2
Password:
--->  Fetching apr
--->  Attempting to fetch apr-1.3.3.tar.bz2 from 
http://distfiles.macports.org/apr
--->  Verifying checksum(s) for apr
--->  Extracting apr
--->  Configuring apr
--->  Building apr
--->  Staging apr into destroot
--->  Installing apr @1.3.3_1
--->  Activating apr @1.3.3_1
--->  Cleaning apr
--->  Fetching apr-util
--->  Attempting to fetch apr-util-1.3.4.tar.bz2 from 
http://distfiles.macports.org/apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util
--->  Staging apr-util into destroot
--->  Installing apr-util @1.3.4_1
--->  Activating apr-util @1.3.4_1
--->  Cleaning apr-util
--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://distfiles.macports.org/apache2
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
--->  Applying patches to apache2
--->  Configuring apache2
--->  Building apache2
--->  Staging apache2 into destroot
--->  Creating launchd control script
###
# A startup item has been generated that will aid in
# starting apache2 with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/ 
org.macports.apache2.plist

###
Warning: apache2 requests to install files outside the common  
directory structure!

--->  Installing apache2 @2.2.11_0+darwin_9
--->  Activating apache2 @2.2.11_0+darwin_9
--->  Cleaning apache2

Tim

On Jan 18, 2009, at 4:12 PM, Jason Hirsh wrote:




Begin forwarded message:


From: Jason Hirsh 
Date: January 18, 2009 5:59:06 PM GMT-04:00
To: Bryan Blackburn 
Subject: Re: error apache2 from macports 1.70


On Jan 18, 2009, at 5:29 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 05:13:23PM -0400, Jason Hirsh said:

I am trying to install Apache 2.0 on a Power Mac G5 running Leopard
10.5.4
I get  the folowing error

--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://www.ibiblio.org/pub/mirrors/apache/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
Error: reinplace: couldn't read file "/opt/local/var/macports/ 
build/

_opt_local_var_macports_sources_rsync
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/ 
configure": no

such file or directory
Error: Target org.macports.extract returned: reinplace sed(1)  
failed

Error: Status 1 encountered during processing.


It would seem there is an issue with the what I fetched??


If the file downloaded wasn't right, it would have failed during the
checksum, so the download should be okay.  Try running

$ sudo port clean --work apache2
$ sudo port -d extract apache2

and see if that gives us some more information on what's going  
on.  FWIW, I

have that version of apache2 installed here without such issues.

Bryan


Ok ther still seems to be an issue with that configure directory  
not being created
I took a llok and I have nothing in the tree under work in the path  
shown in the error


[Bluefish:/opt/local] jason% sudo port -d extract apache2
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/www/apache2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/www/apache2

DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a  
pre-existing procedure. Target override will not be provided

DEBUG: adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port apache2.
DEBUG: Requested variant macosx is not provided by port apache2.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Executing org.macports.main (apache2)
--->  Fetching apache2
DEBUG: Executing org.macports.fetch (apache2)
--->  Verifying checksum(s) for apache2
DEBUG: Executing org.macports.checksum (apache2)
--->  Checksumming httpd-2.2.11.tar.bz2
DEBUG: Correct (md5) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (sha1) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (rmd160) checksum for httpd-2.2.11.tar.bz2
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
--->  Extracting apache2
DEBUG: Executing org.macp

Fwd: error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh



Begin forwarded message:


From: Jason Hirsh 
Date: January 18, 2009 5:59:06 PM GMT-04:00
To: Bryan Blackburn 
Subject: Re: error apache2 from macports 1.70


On Jan 18, 2009, at 5:29 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 05:13:23PM -0400, Jason Hirsh said:

I am trying to install Apache 2.0 on a Power Mac G5 running Leopard
10.5.4
I get  the folowing error

--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://www.ibiblio.org/pub/mirrors/apache/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
Error: reinplace: couldn't read file "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/ 
configure": no

such file or directory
Error: Target org.macports.extract returned: reinplace sed(1) failed
Error: Status 1 encountered during processing.


It would seem there is an issue with the what I fetched??


If the file downloaded wasn't right, it would have failed during the
checksum, so the download should be okay.  Try running

$ sudo port clean --work apache2
$ sudo port -d extract apache2

and see if that gives us some more information on what's going on.   
FWIW, I

have that version of apache2 installed here without such issues.

Bryan


Ok ther still seems to be an issue with that configure directory not  
being created
I took a llok and I have nothing in the tree under work in the path  
shown in the error


[Bluefish:/opt/local] jason% sudo port -d extract apache2
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/www/apache2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/www/apache2

DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided

DEBUG: adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port apache2.
DEBUG: Requested variant macosx is not provided by port apache2.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Executing org.macports.main (apache2)
--->  Fetching apache2
DEBUG: Executing org.macports.fetch (apache2)
--->  Verifying checksum(s) for apache2
DEBUG: Executing org.macports.checksum (apache2)
--->  Checksumming httpd-2.2.11.tar.bz2
DEBUG: Correct (md5) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (sha1) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (rmd160) checksum for httpd-2.2.11.tar.bz2
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
--->  Extracting apache2
DEBUG: Executing org.macports.extract (apache2)
--->  Extracting httpd-2.2.11.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/ 
distfiles/apache2/httpd-2.2.11.tar.bz2

DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_apache2/work" && /opt/local/bin/ 
bzip2 -dc /opt/local/var/macports/distfiles/apache2/ 
httpd-2.2.11.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'

sh: /opt/local/bin/bzip2: Bad CPU type in executable
DEBUG: Executing proc-post-org.macports.extract-extract-0
DEBUG: couldn't read file "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/ 
configure": no such file or directory

   while executing
"exec /usr/bin/sed {s|-export-symbols-regex ssl_module||g} < /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_p..."

   ("eval" body line 1)
   invoked from within
"eval exec $cmdline"
Error: reinplace: couldn't read file "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/ 
configure": no such file or directory

Error: Target org.macports.extract returned: reinplace sed(1) failed
Warning: the following items did not execute (for apache2):  
org.macports.extract

Error: Status 1 encountered during processing.


Its probably me... but can't figure how I screwed up




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Bryan Blackburn
On Sun, Jan 18, 2009 at 05:13:23PM -0400, Jason Hirsh said:
> I am trying to install Apache 2.0 on a Power Mac G5 running Leopard  
> 10.5.4
> I get  the folowing error
>
> --->  Fetching apache2
> --->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
> http://www.ibiblio.org/pub/mirrors/apache/httpd
> --->  Verifying checksum(s) for apache2
> --->  Extracting apache2
> Error: reinplace: couldn't read file "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_www_apache2/work/httpd-2.2.11/configure": no 
> such file or directory
> Error: Target org.macports.extract returned: reinplace sed(1) failed
> Error: Status 1 encountered during processing.
>
>
> It would seem there is an issue with the what I fetched??

If the file downloaded wasn't right, it would have failed during the
checksum, so the download should be okay.  Try running

$ sudo port clean --work apache2
$ sudo port -d extract apache2

and see if that gives us some more information on what's going on.  FWIW, I
have that version of apache2 installed here without such issues.

Bryan

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh
I am trying to install Apache 2.0 on a Power Mac G5 running Leopard  
10.5.4

I get  the folowing error

--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://www.ibiblio.org/pub/mirrors/apache/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
Error: reinplace: couldn't read file "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/configure":  
no such file or directory

Error: Target org.macports.extract returned: reinplace sed(1) failed
Error: Status 1 encountered during processing.


It would seem there is an issue with the what I fetched??



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users