Error: Status 1 encountered during processing.

2011-09-15 Thread bunk3m
Hi!

I'm not sure what I'm doing wrong here and appreciate some pointers.
I've been using Macports for some years without incident.

I upgraded from 10.5.8 to 10.6.8 yesterday.

I deleted the old /opt directory  tree and downloaded 2.0.3 and
installed new.

I did sudo port upgrade and it says everything is OK.

Then I started to install the programs.

I can't get anything to install.  In the old install of 2.0.3. on 10.5.8
everything worked fine and installed OK.  Now I get nothing except
dependency errors and unverified signatures.

I'm doing exactly the same commands  following same procedures that I
did with Macports under 10.5.8.

I've missed something here but I'm not sure what.  I'd appreciate some
guidance.

Thank you.
B

Here is the most recent error messages:

---start---
sudo port install mplayer-devel +aa +caca +dirac +dts +dv +faac +live
+mencoder_extras +mng +osd +speex +twolame +x11 +x264 +xvid
Password:
---  Computing dependencies for mplayer-devel
---  Dependencies to be installed: XviD autoconf help2man gettext expat
libiconv gperf ncurses ncursesw p5.12-locale-gettext perl5.12 gdbm m4
perl5 perl5 automake libtool aalib xorg-libX11 pkgconfig glib2 zlib
xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto
xorg-libXdmcp xorg-libxcb python27 bzip2 db46 openssl python_select
readline sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2
xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto
xorg-xtrans dirac cppunit faac fontconfig freetype git-core curl
curl-ca-bundle libidn p5.12-error pcre rsync popt jpeg lame libcaca
imlib2 giflib xorg-libsm xorg-libice libid3tag libpng tiff xorg-libXext
libdca libdv libmad libmng lcms libogg liboil libtheora libvorbis
live555 lzo2 openjpeg jbigkit lcms2 schroedinger orc speex twolame
libsndfile flac x264 yasm xorg-libXinerama xorg-xineramaproto xorg-libXv
xorg-videoproto xorg-libXxf86vm xorg-xf86vidmodeproto
---  Fetching archive for expat
---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2 from
http://packages.macports.org/expat
---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2.rmd160
from http://packages.macports.org/expat
Error: Target org.macports.archivefetch returned: Failed to verify
signature for archive!
Error: Failed to install expat
Log for expat is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: The following dependencies were not installed: XviD autoconf
help2man gettext expat libiconv gperf ncurses ncursesw
p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 automake libtool aalib
xorg-libX11 pkgconfig glib2 zlib xorg-bigreqsproto xorg-inputproto
xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27
bzip2 db46 openssl python_select readline sqlite3 python27
xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros
xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans dirac
cppunit faac fontconfig freetype git-core curl curl-ca-bundle libidn
p5.12-error pcre rsync popt jpeg lame libcaca imlib2 giflib xorg-libsm
xorg-libice libid3tag libpng tiff xorg-libXext libdca libdv libmad
libmng lcms libogg liboil libtheora libvorbis live555 lzo2 openjpeg
jbigkit lcms2 schroedinger orc speex twolame libsndfile flac x264 yasm
xorg-libXinerama xorg-xineramaproto xorg-libXv xorg-videoproto
xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.
To report a bug, see http://guide.macports.org/#project.tickets
---end---
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread Jeremy Lavergne
 ---  Fetching archive for expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2.rmd160
 from http://packages.macports.org/expat
 Error: Target org.macports.archivefetch returned: Failed to verify
 signature for archive!

Ensure you've run selfupdate ^_^

Then, there are two possibilities: bad download or missing publickey 
configuration.



That archive works for me, so perhaps something that was downloaded on your end 
was corrupted. You can find the files (and nuke them) in 
$prefix/var/macports/software/expat

Then to ensure it's gone and try again:
sudo port -f uninstall expat
sudo port clean --all expat
sudo port install expat

You should see:
$ sudo port install expat
---  Fetching archive for expat
---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2 from 
http://packages.macports.org/expat
---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2.rmd160 from 
http://packages.macports.org/expat
---  Installing expat @2.0.1_1
---  Activating expat @2.0.1_1
---  Cleaning expat
$ 



If it continues to misbehave, inspect those downloaded files: see if they're 
HTML or something whacky. Also ensure you have the macports public key:
$prefix/share/macports/macports-pubkey.pem

And that you're configured to use it:
$prefix/etc/macports/pubkeys.conf




Finally, if it continues to be a problem, you can always build the package from 
source:
`sudo port -s install expat` (-s for source only, -b from binary only)



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread bunk3m
Jeremy, thanks for your helpful suggestions.

On 15.09.2011 13:50 , Jeremy Lavergne wrote:
 ---  Fetching archive for expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2.rmd160
 from http://packages.macports.org/expat
 Error: Target org.macports.archivefetch returned: Failed to verify
 signature for archive!
 Ensure you've run selfupdate ^_^
Yes, did that at the start.  Sorry typed the wrong command.  Reran
anyway.  No change.

 Then, there are two possibilities: bad download or missing publickey 
 configuration.



 That archive works for me, so perhaps something that was downloaded on your 
 end was corrupted. You can find the files (and nuke them) in 
 $prefix/var/macports/software/expat

 Then to ensure it's gone and try again:
 sudo port -f uninstall expat
 sudo port clean --all expat
 sudo port install expat

 You should see:
 $ sudo port install expat
 ---  Fetching archive for expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2 from 
 http://packages.macports.org/expat
 ---  Attempting to fetch expat-2.0.1_1.darwin_10.x86_64.tbz2.rmd160 from 
 http://packages.macports.org/expat
 ---  Installing expat @2.0.1_1
 ---  Activating expat @2.0.1_1
 ---  Cleaning expat
 $ 

Uninstalled, cleaned and tried again.  No luck. :-(


 If it continues to misbehave, inspect those downloaded files: see if they're 
 HTML or something whacky. Also ensure you have the macports public key:
 $prefix/share/macports/macports-pubkey.pem

 And that you're configured to use it:
 $prefix/etc/macports/pubkeys.conf


There are no files in the directory.

I have the macports-pubkey.pem file in the right spot.  How do I check
that I'm configured to use it?  The pubkey.conf file points to the right
macports-pubkey.pem file.



 Finally, if it continues to be a problem, you can always build the package 
 from source:
 `sudo port -s install expat` (-s for source only, -b from binary only)

I was able to use this command to install expat.

Now I re-run the command to install mplayer-devel and I get an error on
the next file.  :-(  See below.

---start---
---  Fetching archive for gperf
---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2 from
http://packages.macports.org/gperf
---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2.rmd160
from http://packages.macports.org/gperf
Error: Target org.macports.archivefetch returned: Failed to verify
signature for archive!
Error: Failed to install gperf
---end---

Could it be something with the a file in my ~ directory?  At one point I
remember we had to change or create some sort of file in the ~
directory.  A . file?  I can't remember what it was or what it was called.

Thanks again for your help.
B
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread Jeremy Lavergne
 Now I re-run the command to install mplayer-devel and I get an error on
 the next file.  :-(  See below.
 
 ---start---
 ---  Fetching archive for gperf
 ---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/gperf
 ---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2.rmd160
 from http://packages.macports.org/gperf
 Error: Target org.macports.archivefetch returned: Failed to verify
 signature for archive!
 Error: Failed to install gperf
 ---end---
 
 Could it be something with the a file in my ~ directory?  At one point I
 remember we had to change or create some sort of file in the ~
 directory.  A . file?  I can't remember what it was or what it was called.
 
 Thanks again for your help.

Well at this point we'll need to get more logging information than the usual 
stdout.

Before running any other commands that may involve gperf, attach the file that 
is given by `port logfile gperf`. I caution about running other commands in 
between because MacPorts will replace the logfile with the newer one, which in 
some instances might skip several phases of useful information. If in doubt, 
clean and try to install again then grab the logfile.

If navigating to the file is a pain, you can make a copy in your home directory 
by:
cp `port logfile gperf` ~/gperf.log

Please attach the log so we can see more details.



smime.p7s
Description: S/MIME cryptographic signature
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread bunk3m
Please find the gperf.log file attached.  It's actually called main.log
but was in the

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf

directory.

Thanks again for your help.

B

On 15.09.2011 14:39 , Jeremy Lavergne wrote:
 Now I re-run the command to install mplayer-devel and I get an error on
 the next file.  :-(  See below.

 ---start---
 ---  Fetching archive for gperf
 ---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/gperf
 ---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2.rmd160
 from http://packages.macports.org/gperf
 Error: Target org.macports.archivefetch returned: Failed to verify
 signature for archive!
 Error: Failed to install gperf
 ---end---

 Could it be something with the a file in my ~ directory?  At one point I
 remember we had to change or create some sort of file in the ~
 directory.  A . file?  I can't remember what it was or what it was called.

 Thanks again for your help.
 Well at this point we'll need to get more logging information than the usual 
 stdout.

 Before running any other commands that may involve gperf, attach the file 
 that is given by `port logfile gperf`. I caution about running other commands 
 in between because MacPorts will replace the logfile with the newer one, 
 which in some instances might skip several phases of useful information. If 
 in doubt, clean and try to install again then grab the logfile.

 If navigating to the file is a pain, you can make a copy in your home 
 directory by:
 cp `port logfile gperf` ~/gperf.log

 Please attach the log so we can see more details.

version:1
:debug:main Attempting ln -sf 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work
 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gperf/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 503
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (gperf)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Thu Sep 15 14:22:15 EDT 2011
:msg:archivefetch ---  Fetching archive for gperf
:debug:archivefetch Executing org.macports.archivefetch (gperf)
:debug:archivefetch Can't run archivefetch on this port without elevated 
privileges. Escalating privileges back to root.
:debug:archivefetch euid changed to: 0. egid changed to: 0.
:debug:archivefetch changing euid/egid - current euid: 0 - current egid: 0
:debug:archivefetch egid changed to: 503
:debug:archivefetch euid changed to: 502
:info:archivefetch ---  gperf-3.0.4_2.darwin_10.x86_64.tbz2 doesn't seem to 
exist in /opt/local/var/macports/software/gperf
:msg:archivefetch ---  Attempting to fetch gperf-3.0.4_2.darwin_10.x86_64.tbz2 
from http://packages.macports.org/gperf
:msg:archivefetch ---  Attempting to fetch 
gperf-3.0.4_2.darwin_10.x86_64.tbz2.rmd160 from 
http://packages.macports.org/gperf
:debug:archivefetch failed verification with key 
/opt/local/share/macports/macports-pubkey.pem
:debug:archivefetch openssl output: Verification Failure
child process exited abnormally
:error:archivefetch Target org.macports.archivefetch returned: Failed to verify 
signature for archive!
:debug:archivefetch Backtrace: Failed to verify signature for archive!
while executing
portarchivefetch::fetchfiles
(procedure portarchivefetch::archivefetch_main line 5)
invoked from within
$procedure $targetname
:info:archivefetch Warning: the following items did not execute (for gperf): 
org.macports.activate org.macports.archivefetch org.macports.fetch 
org.macports.checksum org.macports.extract org.macports.patch 
org.macports.configure org.macports.build org.macports.destroot 
org.macports.install
:error:archivefetch Failed to install gperf
:debug:archivefetch couldn't open 
/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex: no 
such file or directory
while executing
open [file join $dir tclIndex]
:notice:archivefetch Log for gperf is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/main.log
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed to install py26-wxpython

2011-09-15 Thread Ryan Schmidt

On Sep 15, 2011, at 15:32, Yifei Li wrote:

 My MBP is running Lion and the Macports version is 2.0.3.
 
 I attached the log file.
 
 Any help is highly appreciated.

This should not be necessary, but try selecting MacPorts python 2.6 (using 
sudo port select python)



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


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread Ryan Schmidt
On Sep 15, 2011, at 13:26, bunk3m wrote:

 If it continues to misbehave, inspect those downloaded files: see if they're 
 HTML or something whacky. Also ensure you have the macports public key:
 $prefix/share/macports/macports-pubkey.pem
 
 And that you're configured to use it:
 $prefix/etc/macports/pubkeys.conf
 
 There are no files in the directory.

In what directory?

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


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread bunk3m
The directory that contains the conf files is:

/opt/local/etc/macports/

B

On 15.09.2011 20:48 , Ryan Schmidt wrote:
 On Sep 15, 2011, at 13:26, bunk3m wrote:

 If it continues to misbehave, inspect those downloaded files: see if 
 they're HTML or something whacky. Also ensure you have the macports public 
 key:
 $prefix/share/macports/macports-pubkey.pem

 And that you're configured to use it:
 $prefix/etc/macports/pubkeys.conf
 There are no files in the directory.
 In what directory?


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


Re: Error: Status 1 encountered during processing.

2011-09-15 Thread bunk3m
Sorry about that.  There was too much chopped out and I made a mistake.

I think Jeremy meant the folder containing the expat files

So to fix my post:

The directory /opt/local/var/macports/software/expat/
Had no files.

Sorry for the confusion.
B

On 15.09.2011 20:48 , Ryan Schmidt wrote:
 On Sep 15, 2011, at 13:26, bunk3m wrote:

 If it continues to misbehave, inspect those downloaded files: see if 
 they're HTML or something whacky. Also ensure you have the macports public 
 key:
 $prefix/share/macports/macports-pubkey.pem

 And that you're configured to use it:
 $prefix/etc/macports/pubkeys.conf
 There are no files in the directory.
 In what directory?


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


Re: failed to install py26-wxpython

2011-09-15 Thread Yifei Li
On Thu, Sep 15, 2011 at 8:45 PM, Ryan Schmidt ryandes...@macports.orgwrote:


 On Sep 15, 2011, at 15:32, Yifei Li wrote:

  My MBP is running Lion and the Macports version is 2.0.3.
 
  I attached the log file.
 
  Any help is highly appreciated.

 This should not be necessary, but try selecting MacPorts python 2.6 (using
 sudo port select python)

 I did that, but still the same.

Actually I'm trying to install py26-mayavi and py26-wxpython is its
dependency.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


root fails to build

2011-09-15 Thread Rodolfo Aramayo
Doing standard 'port upgrade outdated' the port root fail to build.
The last 100 lines of the Logfile looks like this:

==
:debug:fetch euid changed to: 504
:debug:fetch Executing org.macports.fetch (root)
:info:fetch ---  root_v5.30.01.source.tar.gz doesn't seem to exist in
/opt/local/var/macports/distfiles/root
:debug:fetch Pinging root.cern.ch...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging her.gr.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch root.cern.ch ping time is 160.795
:debug:fetch distfiles.macports.org ping time is 83.643
:debug:fetch aarnet.au.distfiles.macports.org ping time is 264.820
:debug:fetch her.gr.distfiles.macports.org ping time is 206.394
:debug:fetch lil.fr.distfiles.macports.org ping time is 145.122
:debug:fetch sea.us.distfiles.macports.org ping time is 1
:debug:fetch ykf.ca.distfiles.macports.org ping time is 90.440
:notice:fetch ---  Attempting to fetch root_v5.30.01.source.tar.gz
from http://distfiles.macports.org/root
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Sep 16 00:05:46 CDT 2011
:notice:checksum ---  Verifying checksum(s) for root
:debug:checksum Executing org.macports.checksum (root)
:info:checksum ---  Checksumming root_v5.30.01.source.tar.gz
:debug:checksum Correct (sha1) checksum for root_v5.30.01.source.tar.gz
:debug:checksum Correct (rmd160) checksum for root_v5.30.01.source.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Sep 16 00:05:46 CDT 2011
:notice:extract ---  Extracting root
:debug:extract Executing org.macports.extract (root)
:info:extract ---  Extracting root_v5.30.01.source.tar.gz
:debug:extract setting option extract.args to
'/opt/local/var/macports/distfiles/root/root_v5.30.01.source.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work
 /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/root/root_v5.30.01.source.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work
 /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/root/root_v5.30.01.source.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work
to macports
:debug:extract euid/egid changed to: 504/502
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Sep 16 00:05:54 CDT 2011
:debug:patch Executing org.macports.patch (root)
:debug:patch Executing proc-post-org.macports.patch-patch-0
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/config/root-config.in
to macports
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/config/root-config.in
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/configure
to macports
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/configure
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/configure
to macports
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_root/root/work/root/configure
:debug:patch euid/egid changed to: 504/502
:debug:patch euid/egid changed to: 0/0