Error upgrading ffmpeg - running from trunk

2008-10-15 Thread Chris Janton
ticketed - Ticket #16877

running from trunk - updated this morning.

In the past (last week or 2) the fetch would fail, all done.

Today the fetch fails and I get *lots* more output...

mac 11 # sudo port upgrade outdated
---  Fetching ffmpeg
Error: Target org.macports.fetch returned: shell command svn co - 
r14381 --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk /opt/ 
local/var/macports/distfiles/ffmpeg/14381/trunk returned error 1
Command output: svn: Can't connect to host 'svn.mplayerhq.hu':  
Operation timed out

Error: Unable to upgrade port: 1
can't read frameworks_dir: no such variable
 while executing
lappend search_path ${frameworks_dir} /Library/Frameworks /Network/ 
Library/Frameworks /System/Library/Frameworks
 (procedure _libtest line 9)
 invoked from within
_libtest $mport $depspec
 (lib arm line 1)
 invoked from within
switch $type {
 lib { return [_libtest $mport $depspec] }
 bin { return [_bintest $mport $depspec] }
 path { return [...
 (procedure _mportispresent line 15)
 invoked from within
_mportispresent $workername $dspec 
 (procedure upgrade line 60)
 invoked from within
upgrade $d $i $variationslist [array get options] depscache
 (procedure macports::upgrade line 185)
 invoked from within
macports::upgrade $portname port:$portname [array get variations]  
[array get options]
 (uplevel body line 9)
 invoked from within
uplevel 1 $block
 (procedure foreachport line 16)
 invoked from within
foreachport $portlist {
 # Merge global variations into the variations specified for  
this port
 foreach { variation value } [array get g...
 (procedure action_upgrade line 6)
 invoked from within
$action_proc $action $portlist [array get global_options]
 (procedure process_cmd line 86)
 invoked from within
process_cmd $remaining_args
 invoked from within
if { [llength $remaining_args]  0 } {

 # If there are remaining arguments, process those as a command

 # Exit immediately, by default, unless...
 (file /opt/local/bin/port line 3229)
mac 12 #

8)
--
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM


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


Re: Error upgrading ffmpeg - running from trunk

2008-10-15 Thread David Liontooth
Chris Janton wrote:
 ticketed - Ticket #16877

 running from trunk - updated this morning.

 In the past (last week or 2) the fetch would fail, all done.

 Today the fetch fails and I get *lots* more output...

 mac 11 # sudo port upgrade outdated
 ---  Fetching ffmpeg
 Error: Target org.macports.fetch returned: shell command svn co - 
 r14381 --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk /opt/ 
 local/var/macports/distfiles/ffmpeg/14381/trunk returned error 1
 Command output: svn: Can't connect to host 'svn.mplayerhq.hu':  
 Operation timed out
   
Hi Chris,

It looks like their server was down when you tried. If you can't 
download the software, the build will of course fail.

I thought macports tested whether the file was available and exited a 
bit more gracefully if not.

Dave
 Error: Unable to upgrade port: 1
 can't read frameworks_dir: no such variable
  while executing
 lappend search_path ${frameworks_dir} /Library/Frameworks /Network/ 
 Library/Frameworks /System/Library/Frameworks
  (procedure _libtest line 9)
  invoked from within
 _libtest $mport $depspec
  (lib arm line 1)
  invoked from within
 switch $type {
  lib { return [_libtest $mport $depspec] }
  bin { return [_bintest $mport $depspec] }
  path { return [...
  (procedure _mportispresent line 15)
  invoked from within
 _mportispresent $workername $dspec 
  (procedure upgrade line 60)
  invoked from within
 upgrade $d $i $variationslist [array get options] depscache
  (procedure macports::upgrade line 185)
  invoked from within
 macports::upgrade $portname port:$portname [array get variations]  
 [array get options]
  (uplevel body line 9)
  invoked from within
 uplevel 1 $block
  (procedure foreachport line 16)
  invoked from within
 foreachport $portlist {
  # Merge global variations into the variations specified for  
 this port
  foreach { variation value } [array get g...
  (procedure action_upgrade line 6)
  invoked from within
 $action_proc $action $portlist [array get global_options]
  (procedure process_cmd line 86)
  invoked from within
 process_cmd $remaining_args
  invoked from within
 if { [llength $remaining_args]  0 } {

  # If there are remaining arguments, process those as a command

  # Exit immediately, by default, unless...
  (file /opt/local/bin/port line 3229)
 mac 12 #

 8)
 --
 Chris Janton  - face at CentosPrime dot COM
 Netminder for Opus1.COM


 ___
 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 upgrading ffmpeg - running from trunk

2008-10-15 Thread nox
Le 15 oct. 08 à 17:52, Chris Janton a écrit :

 snip/

 Error: Unable to upgrade port: 1
 can't read frameworks_dir: no such variable

 snip/

 8)
 --
 Chris Janton  - face at CentosPrime dot COM
 Netminder for Opus1.COM

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


Can anyone explain why I can't uninstall rb-sqlite3?

2008-10-15 Thread Scott C. Kennedy
I did this multiple times...

Biko-2:~ sck$ port installed | grep sqlite
  rb-sqlite3 @1.2.1_0
  sqlite3 @3.6.3_0 (active)
Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ port installed | grep sqlite
*  rb-sqlite3 @1.2.1_0*
  sqlite3 @3.6.3_0 (active)
Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ sudo port* -f * uninstall rb-sqlite3
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ port installed | grep sqlite
*  rb-sqlite3 @1.2.1_0*
  sqlite3 @3.6.3_0 (active)
Biko-2:~ sck$ sudo port activate   rb-sqlite3 @1.2.1_0
---  Activating rb-sqlite3 1.2.1_0
Error: port activate failed: Image error: rb-sqlite3 @1.2.1_0 not
installed as an image.
Biko-2:~ sck$ sudo port uninstall  rb-sqlite3 @1.2.1_0
---  Uninstalling rb-sqlite3 1.2.1_0
Biko-2:~ sck$ port installed | grep sqlite
  rb-sqlite3 @1.2.1_0
  sqlite3 @3.6.3_0 (active)
Biko-2:~ sck$

But, I can't seem to uninstall/install/activate this port...

Any ideas?

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


Re: Can anyone explain why I can't uninstall rb-sqlite3?

2008-10-15 Thread Scott C. Kennedy
Oh, ns yes, I've tried port clean, port selfupdate, port uninstall -d -f...

Biko-2:~ sck$ sudo port selfupdate

MacPorts base version 1.600 installed

Downloaded MacPorts base version 1.600

The MacPorts installation is not outdated and so was not updated
selfupdate done!
Biko-2:~ sck$ sudo port clean --all rb-sqlite3
---  Cleaning rb-sqlite3
Warning: Distfiles directory
'/opt/local/var/macports/distfiles/ruby' may contain distfiles
needed for other ports, use the -f flag to force removal
Biko-2:~ sck$ sudo port -d -f uninstall  rb-sqlite3 @1.2.1_0
---  Uninstalling rb-sqlite3 1.2.1_0
DEBUG: skip missing file: /Users/sck/0
DEBUG: /Users/sck is not empty
DEBUG: /Users is not empty
DEBUG: / is not empty
---  Uninstall is removing rb-sqlite3 from the port registry.
Biko-2:~ sck$

Scott

Scott C. Kennedy wrote:
 I did this multiple times...

 Biko-2:~ sck$ port installed | grep sqlite
   rb-sqlite3 @1.2.1_0
   sqlite3 @3.6.3_0 (active)
 Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ port installed | grep sqlite
 *  rb-sqlite3 @1.2.1_0*
   sqlite3 @3.6.3_0 (active)
 Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ sudo port* -f * uninstall rb-sqlite3
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ port installed | grep sqlite
 *  rb-sqlite3 @1.2.1_0*
   sqlite3 @3.6.3_0 (active)
 Biko-2:~ sck$ sudo port activate   rb-sqlite3 @1.2.1_0
 ---  Activating rb-sqlite3 1.2.1_0
 Error: port activate failed: Image error: rb-sqlite3 @1.2.1_0 not
 installed as an image.
 Biko-2:~ sck$ sudo port uninstall  rb-sqlite3 @1.2.1_0
 ---  Uninstalling rb-sqlite3 1.2.1_0
 Biko-2:~ sck$ port installed | grep sqlite
   rb-sqlite3 @1.2.1_0
   sqlite3 @3.6.3_0 (active)
 Biko-2:~ sck$

 But, I can't seem to uninstall/install/activate this port...

 Any ideas?

 Scott

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


how to detect installed gtk variant

2008-10-15 Thread MySchizoBuddy

For webkit-gtk it has a quartz variant. I want to detect if gtk2 was
installed with the quartz variant or not. if not then spit an error and tell
the users to uninstall gtk and install it with quartz

one problem, since gtk2 is a dependency and i cannot select the variant of
it. the user will be installing gtk2 with X11 and then will have to
uninstall it and reinstall it manually with quartz.
kinda messy. is quartz variant worth the hassle.
-- 
View this message in context: 
http://www.nabble.com/how-to-detect-installed-gtk-variant-tp19993089p19993089.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

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


Re: Error upgrading ffmpeg - running from trunk

2008-10-15 Thread Chris Janton
On 2008-10-15 , at 09:38 , nox wrote:

 Fixed in r40824.


mac 15 # svn info
Path: .
URL: http://svn.macports.org/repository/macports/trunk/base
Repository Root: http://svn.macports.org/repository/macports
Repository UUID: d073be05-634f-4543-b044-5fe20cf6d1d6
Revision: 40829
Node Kind: directory
Schedule: normal
Last Changed Author: [EMAIL PROTECTED]
Last Changed Rev: 40824
Last Changed Date: 2008-10-15 09:35:54 -0700 (Wed, 15 Oct 2008)

mac 13 # sudo port upgrade outdated
---  Fetching ffmpeg
Error: Target org.macports.fetch returned: shell command svn co - 
r14381 --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk /opt/ 
local/var/macports/distfiles/ffmpeg/14381/trunk returned error 1
Command output: svn: Can't connect to host 'svn.mplayerhq.hu':  
Operation timed out

Error: Unable to upgrade port: 1
can't read frameworks_dir: no such variable
 while executing
lappend search_path ${frameworks_dir} /Library/Frameworks /Network/ 
Library/Frameworks /System/Library/Frameworks
 (procedure _libtest line 9)
 invoked from within
_libtest $mport $depspec
 (lib arm line 1)
 invoked from within
switch $type {
 lib { return [_libtest $mport $depspec] }
 bin { return [_bintest $mport $depspec] }
 path { return [...
 (procedure _mportispresent line 15)
 invoked from within
_mportispresent $workername $dspec 
 (procedure upgrade line 60)
 invoked from within
upgrade $d $i $variationslist [array get options] depscache
 (procedure macports::upgrade line 185)
 invoked from within
macports::upgrade $portname port:$portname [array get variations]  
[array get options]
 (uplevel body line 9)
 invoked from within
uplevel 1 $block
 (procedure foreachport line 16)
 invoked from within
foreachport $portlist {
 # Merge global variations into the variations specified for  
this port
 foreach { variation value } [array get g...
 (procedure action_upgrade line 6)
 invoked from within
$action_proc $action $portlist [array get global_options]
 (procedure process_cmd line 86)
 invoked from within
process_cmd $remaining_args
 invoked from within
if { [llength $remaining_args]  0 } {

 # If there are remaining arguments, process those as a command

 # Exit immediately, by default, unless...
 (file /opt/local/bin/port line 3229)

8)
--
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM


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


Re: Error upgrading ffmpeg - running from trunk

2008-10-15 Thread Bryan Blackburn
On Wed, Oct 15, 2008 at 02:09:32PM -0700, Chris Janton said:
 On 2008-10-15 , at 09:38 , nox wrote:
 
  Fixed in r40824.
 
 
 mac 15 # svn info
 Path: .
 URL: http://svn.macports.org/repository/macports/trunk/base
 Repository Root: http://svn.macports.org/repository/macports
 Repository UUID: d073be05-634f-4543-b044-5fe20cf6d1d6
 Revision: 40829
 Node Kind: directory
 Schedule: normal
 Last Changed Author: [EMAIL PROTECTED]
 Last Changed Rev: 40824
 Last Changed Date: 2008-10-15 09:35:54 -0700 (Wed, 15 Oct 2008)
 

Make sure you rebuild/install from base as well.  If you did, then you'll
want to follow ticket #16877:

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

Bryan

[...]
 --
 Chris Janton  - face at CentosPrime dot COM
 Netminder for Opus1.COM
 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Smultron 3.5 is available

2008-10-15 Thread William Davis
Smultron 3.5 is available.  Macports is at 3.4 atm.


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.5 Darwin 9.5.0
XQuartz 2.3.2 (xorg-server 1.4.2-apple18)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

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


Re: how to detect installed gtk variant

2008-10-15 Thread Bryan Blackburn
On Wed, Oct 15, 2008 at 06:07:04AM -0700, MySchizoBuddy said:
 
 For webkit-gtk it has a quartz variant. I want to detect if gtk2 was
 installed with the quartz variant or not. if not then spit an error and tell
 the users to uninstall gtk and install it with quartz
 

You might be able to use a test in a pre-fetch phase like (not tested at
all):

pre-fetch {
   if {![file exists ${prefix}/path/only/installed/by/variant]} {
  return -code error Please install gtk2 with the +quartz
   }
}

Though this is quite fragile, and really a bug in the dependency engine.
The real way around it is to get ticket #126 done:

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

Bryan


 one problem, since gtk2 is a dependency and i cannot select the variant of
 it. the user will be installing gtk2 with X11 and then will have to
 uninstall it and reinstall it manually with quartz.
 kinda messy. is quartz variant worth the hassle.
 -- 
 View this message in context: 
 http://www.nabble.com/how-to-detect-installed-gtk-variant-tp19993089p19993089.html
 Sent from the MacPorts - Users mailing list archive at Nabble.com.
 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: non-root user

2008-10-15 Thread Bryan Blackburn
On Tue, Oct 14, 2008 at 06:49:24PM +0200, Stephan said:
 Hi all,
 
 I am a Macports-newbee and run macports on both my macbook and my desktop 
 computer. Both have Mac OS X 10.4 Tiger.
 While I am my own admin on the macbook (and installed macports to the 
 standard /opt/local via the .dmg-file) I dont have root-acess on my 
 desktop-station. So I tried to install everything into my home directory via:
 
 PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure \
  --prefix=$HOME/macports \
  --enable-readline \
  --with-install-user=`id -un` \
  --with-install-group=`id -gn` \
  --x-includes=/usr/X11R6/include \
  --x-libraries=/usr/X11R6/lib \
  --with-tclpackage=$HOME/macports/share/macports/Tcl
 
  make
  make install
 

That should be fine, in fact I just did a test install from 1.6.0 source
like this, though with different paths.  The one big difference is I'm
running 10.5.5.

From the output of your selfupdate:

 chmod: 
 /NetUsers/stschiff/macports/var/macports/sources/rsync.macports.org/release/ports/audio:
  No such file or directory

So it isn't a permissions thing but the directory is not apparently there.
After running the selfupdate, this directory should have been created and
populated with (at least) a Portfile.  How much of that path does exist?
Was there an error message earlier than those chmod lines?  Maybe rsync
failed to run properly?

Bryan


 I set the paths in my .bashrc:
 
 export PATH=$HOME/macports/bin:$HOME/macports/sbin:$PATH
 export MANPATH=$HOME/macports/share/man:$MANPATH
 export 
 PERL5LIB=$HOME/macports/lib/perl5/5.8.8:$HOME/macports/lib/perl5/vendor_perl/5.8.8:$PERL5LIB
 
 The first command I tried was port -d selfupdate... which fails, see the 
 output below.
 It seems that even though I put the right flags in the ./configure-script, it 
 still tries to modify some ownerships which it cant do... I dont know.
 (Note: I have Mac OS X 10.4 Tiger).
 
 Can anyone give a hint here?
 
 Thanks a lot and Regards,
 
 Stephan
 
 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Smultron 3.5 is available

2008-10-15 Thread Ryan Schmidt
On Oct 15, 2008, at 20:19, William Davis wrote:

 Smultron 3.5 is available.  Macports is at 3.4 atm.

Could you file a ticket for that please and assign it to the  
maintainer of smultron? Thanks.

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