macports' wget difficulty

2014-05-20 Thread Roger Pack
Hello all.
Ran into this today:
$ sudo port install wget

$ wget https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz
--2014-05-20 11:43:44--
https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz
Resolving sparsehash.googlecode.com (sparsehash.googlecode.com)...
74.125.28.82, 2607:f8b0:400e:c04::52
Connecting to sparsehash.googlecode.com
(sparsehash.googlecode.com)|74.125.28.82|:443... connected.
ERROR: The certificate of ‘sparsehash.googlecode.com’ is not trusted.
ERROR: The certificate of ‘sparsehash.googlecode.com’ hasn't got a known issuer.

(I do have curl-ca-bundle installed as well, FWIW).
Thanks.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Error upgrading Clang

2014-05-13 Thread Roger Pack
On 5/3/14, Ryan Schmidt  wrote:
>
> On May 3, 2014, at 18:29, semaphor...@yahoo.com wrote:
>
>> I ran a sudo port upgrade outdated on my system as part of routine
>> maintenance, but found that clang 3.3 couldn't be rebuilt. In the log, I
>> found error:
>>
>> :info:build make[3]: ***
>> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib]
>> Error 1
>>
>>
>> As a result, it can't build clang, and exits with status 1.
>>
>> Is this a known problem?
>
> It’s impossible to tell, from the information you provided. Please search
> the issue tracker for open clang tickets, see if the complete error in the
> log (possibly tens or hundreds of lines before the line you quoted) matches
> your error; if not, file a new ticket with your main.log file attached.

Possibly this? https://trac.macports.org/ticket/43411
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


more hints for possible sources.conf options

2014-02-21 Thread Roger Pack
Hello.
Would it be possible to request that the default
"/etc/macports/sources.conf" file also list a few more (commented out)
options, for syncing, at the bottom, like

http://distfiles.macports.org/ports.tar.gz

So that people realize it's a possibility (for those behind draconian
firewalls like myself).
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


imagemagick with pdf

2014-02-19 Thread Roger Pack
Does anybody get the following failure with using imagemagick on pdf's?

(install ghostscript first)

$ convert Children.pdf[0] yo.jpg

convert: unable to load module
`/opt/rdp_project_local/lib/ImageMagick-6.8.0/modules-Q16/coders/pdf.la':
file not found @ error/module.c/OpenModule/1278.
convert: no decode delegate for this image format `Children.pdf' @
error/constitute.c/ReadImage/550.


Thanks.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


freerdp failure?

2014-02-13 Thread Roger Pack
Anybody else get this failure building freerdp?

$ sudo port install freerdp

...
_opt_rdp_project_local_var_macports_sources_distfiles.macports.org_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101/client/X11/cli/xfreerdp.c
cc1: error: unrecognized command line option "-fobjc-nonfragile-abi"
cc1: error: unrecognized command line option "-fobjc-nonfragile-abi"
lipo: can't open input file: /var/tmp//cciV1XqQ.out (No such file or directory)
make[2]: *** [client/Mac/CMakeFiles/MacFreeRDP-library.dir/__/common/client.c.o]
Error 1
make[2]: Leaving directory
`/opt/rdp_project_local/var/macports/build/_opt_rdp_project_local_var_macports_sources_distfiles.macports.org_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101'
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: update log?

2013-04-24 Thread Roger Pack
On 4/23/13, Clemens Lang  wrote:
> On Mon, Apr 22, 2013 at 08:25:36AM -0600, Roger Pack wrote:
>> Yes, I was just saying that in the "typical" case, it doesn't give you
>> a hint as to how to get the output needed, whereas installing a
>> package does (it would help out this novice user, at least, I
>> basically had to ask on the ML, as you can see).
>
> Should be covered by http://trac.macports.org/changeset/105533.

Thank you.
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: A few random usability suggestions...

2013-04-22 Thread Roger Pack
On 4/22/13, Clemens Lang  wrote:
> Hi,
>
> On Mon, Apr 22, 2013 at 08:17:25AM -0600, Roger Pack wrote:
>> Ok.  In that case it might be nice to tell people "there is no f
>> variant, btw" so they can realize they've made a command line error ?
>
> that's not as easy as you assume, because the variant specified in this
> command line will also be used for dependent ports built in the same
> step: If vlc has a dependency on a port foo that has a "f" variant, this
> is not an error.
>
> So what we could do is print a warning after the command completely
> executed, along the lines of:
>   "You specified a variant that was not used: -f"

That would be great :)
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: update log?

2013-04-22 Thread Roger Pack
On 4/22/13, Clemens Lang  wrote:
> On Mon, Apr 22, 2013 at 07:48:54AM -0600, Roger Pack wrote:
>> Suggestion/feature request:  similarly have a log file (and tell where
>> it is) for this failure, as, currently, it doesn't tell me information
>> about *which* command failed, and how, etc.
>
> While I agree this would be helpful, you can run with -d to get the
> output needed to debug this.

Yes, I was just saying that in the "typical" case, it doesn't give you
a hint as to how to get the output needed, whereas installing a
package does (it would help out this novice user, at least, I
basically had to ask on the ML, as you can see).
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


force doesn't force all the way?

2013-04-22 Thread Roger Pack
Hello again.

When I changed my variants.conf file to be "+universal" for all ports,
then ran this:

$ sudo port upgrade --force installed

I am presented with the addendum, which leaves me wondering...is this
expected? Didn't I "already" force?
Thanks!
-roger-

Addendum:
...
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning tiff
--->  Uninstalling tiff @4.0.3_1+universal
--->  Cleaning tiff
--->  Computing dependencies for tiff
--->  Fetching distfiles for tiff
--->  Verifying checksum(s) for tiff
--->  Extracting tiff
--->  Configuring tiff
--->  Building tiff
--->  Staging tiff into destroot
--->  Installing tiff @4.0.3_1+universal
--->  Activating tiff @4.0.3_1+universal
Error: org.macports.activate for port tiff returned: Image error:
/opt/rdp_project_local/bin/tiffgt already exists and does not belong
to a registered port.  Unable to activate port tiff. Use 'port -f
activate tiff' to force the activation.
Please see the log file for port tiff for details:

/opt/rdp_project_local/var/macports/logs/_opt_rdp_project_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/main.log
--->  Computing dependencies for lcms2
--->  Dependencies to be installed: tiff
--->  Activating tiff @4.0.3_1+universal
Error: org.macports.activate for port tiff returned: Image error:
/opt/rdp_project_local/bin/tiffgt already exists and does not belong
to a registered port.  Unable to activate port tiff. Use 'port -f
activate tiff' to force the activation.
Error: Failed to install tiff
Please see the log file for port tiff for details:

/opt/rdp_project_local/var/macports/logs/_opt_rdp_project_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_tiff/tiff/main.log
Error: The following dependencies were not installed: tiff
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: A few random usability suggestions...

2013-04-22 Thread Roger Pack
On 4/20/13, Rainer Müller  wrote:
> On 2011-11-19 07:23, Roger Pack wrote:
>> If I do this:
>> $ sudo port install vlc -f
>
> This does not do what you expect, but it is correct syntax. This would
> deselect a variant named "f".

Ok.  In that case it might be nice to tell people "there is no f
variant, btw" so they can realize they've made a command line error ?
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


update log?

2013-04-22 Thread Roger Pack
I've noticed that typically when building something with MacPorts,
when a build fails, it says "go here to look at the main.log file" or
the "config.log" file or what not.

Then I ran into this:

$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
Error: /opt/rdp_project_local/bin/port: port selfupdate failed: Error
synchronizing MacPorts sources: command execution failed

Suggestion/feature request:  similarly have a log file (and tell where
it is) for this failure, as, currently, it doesn't tell me information
about *which* command failed, and how, etc.

Thank you.
-roger-
2.1.3
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: reconfigure doesn't take?

2013-04-20 Thread Roger Pack
On 4/20/13, Roger Pack  wrote:
> Hello.
> As a note, if I run this, in macports 2.1.3 dir:
>
> $ ./configure --prefix=/opt/rdp_project_local_test
> --with-applications-dir=/Applications/rdp_projects_test
>
> then make and make install
>
> then I reconfigure with a different path, and rerun make and make
> install, it seems to only end up still installing it to the *first*
> configured path, and ignoring the second run of configure.  Can
> anybody else confirm this?

Possibly this is caused by having a version of macports "already in
the path"?  Can anyone confirm?  Maybe configure should fail or warn
in this case, if so?
Cheers.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


reconfigure doesn't take?

2013-04-20 Thread Roger Pack
Hello.
As a note, if I run this, in macports 2.1.3 dir:

$ ./configure --prefix=/opt/rdp_project_local_test
--with-applications-dir=/Applications/rdp_projects_test

then make and make install

then I reconfigure with a different path, and rerun make and make
install, it seems to only end up still installing it to the *first*
configured path, and ignoring the second run of configure.  Can
anybody else confirm this?
Thanks.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


github source

2013-04-20 Thread Roger Pack
As a note, in case there's a poll or anything, here's my +1 for at
least having a github mirror, if not moving to github entirely for
trunk development.
Cheers!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: A few random usability suggestions...

2013-04-20 Thread Roger Pack
Oops forgot to send this to the group.

On 11/18/11, Ryan Schmidt  wrote:
> On Nov 19, 2011, at 00:23, Roger Pack wrote:
>
>> I used macports today, and had a few usability "suggestions/feature
>> requests":
>> for what they're worth :)
>>
>> Here goes...
>>
>> If I do this:
>> $ sudo port install vlc -f
>>
>> I'd expect it to be a "force install" the equivalent of
>> $ sudo port -f install vlc
>>
>> instead, it surprised me by not doing a force install.  FWIW.
>
> Single-dash options like "-f" must appear immediately after the word "port",
> e.g. "sudo port -f install foo" (not that one should be using "-f" except in
> unusual circumstances).
>
> Double-dash options like "--enforce-variants" are specific to the subcommand
> and must appear immediately after the subcommand, i.e. "sudo port upgrade
> --enforce-variants foo"

It would be nice if the port command warned me, like

$ sudo port remove zlib --force

it would be kind if it spit out something like "ignoring unused
trailing --force parameter" or the like.  This bit me again recently.
Cheers!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


suggestion/feature request for Portfile: assert PortSystem comes first

2013-04-11 Thread Roger Pack
Hello.  As a matter of "warning newbies like myself", the following occurred.

I added a line to a portfile.  The line was

supported_archs i386

I then ran portindex, and got this:

Failed to parse file multimedia/mplayer-edl-i386/Portfile: invalid
command name "supported_archs"

(you can guess my failure here--I put it *before* the PortSystem line).

Suggestion/feature request: it would be nice to spit out a warning or
error message that supplemented this particular error message, for
instance
"warning: Portfile started without a PortSystem declaration for its first line"
then I would have known more concisely where I had went wrong.

Also as a further note, on this page:
http://guide.macports.org/
section 5.1
Perhaps it should say

PortSystem:
The top (non comment) line of every Portfile;

instead of the current:
PortSystem
The top line of every Portfile;

(the current wording confused me, since I have these lines at the top
of my Portfile:

# $Id: Portfile 86914 2011-11-07 02:04:09Z ecro...@macports.org $
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil;
c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

which are obviously "not" PortSystem.

Cheers and thanks.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: unable to build universal for ppc64

2013-04-11 Thread Roger Pack
Ok thanks for the response.  I'm going to assume/hope that ppc64 is a
rare OS and just ignore this for now.
Thank you!
-roger-

On 4/11/13, Brandon Allbery  wrote:
> On Thu, Apr 11, 2013 at 10:37 AM, Roger Pack  wrote:
>
>> ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture
>> ppc64 in file
>>
>
> It looks like whatever version of Xcode you have installed doesn't support
> ppc64 builds. (Anything in /usr/lib belongs to/came from Apple, unless
> you've been installing third party packages that break Apple's rules.
> MacPorts, in particular, does not touch /usr/lib.)
>
> --
> brandon s allbery kf8nh   sine nomine
> associates
> allber...@gmail.com
> ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


unable to build universal for ppc64

2013-04-11 Thread Roger Pack
Hello, I noticed today when trying to rebuild all my ports as
"universal" that the first time it hit a "from source" compile
requiring package (in this case, gmake), config.log showed this:

configure:3186: checking whether the C compiler works
configure:3208: /usr/bin/gcc-4.2 -pipe -O2 -arch ppc -arch ppc64 -arch
x86_64 -arch i386 -I/opt/rdp_project_local/include
-L/opt/rdp_project_local/lib -arch ppc -arch ppc64 -arch x86_64 -arch
i386 conftest.c  >&5
ld: warning: in /usr/lib/crt1.10.5.o, missing required architecture
ppc64 in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required
architecture ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required
architecture ppc64 in file
ld: could not find entry point "start" (perhaps missing crt1.o) for
architecture ppc64
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccHqUCE5.out (No such file or directory)
configure:3212: $? = 1
configure:3250: result: no

I assume this is expected somehow?
Thanks for your feedback.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: macports which port owns a file

2013-04-06 Thread Roger Pack
On 4/6/13, Clemens Lang  wrote:
> On Sat, Apr 06, 2013 at 09:48:53AM -0600, Roger Pack wrote:
>> is there a way to determine which port "owns" or "put down" a file,
>> for instance (relative to a comment at the bottom of
>> http://trac.macports.org/ticket/29198 )
>
> For files you have installed, use port contents  or port
> provides :
>
>> I'm trying to add a dependency for this file, to mplayer:
>> /opt/rdp_project_local/lib/libXss.1.dylib
>> however, "port search xss" doesn't easily reveal an answer.
>
> /opt/rdp_project_local/bin/port provides
> /opt/rdp_project_local/lib/libXss.1.dylib.

Thanks that command worked.  I must have messed up my install somehow,
since it seems unbound, but I would assume  that's a separate problem
:)

 /opt/rdp_project_local/bin/port provides
/opt/rdp_project_local/lib/libXss.1.dylib
/opt/rdp_project_local/lib/libXss.1.dylib is not provided by a MacPorts port.
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


macports which port owns a file

2013-04-06 Thread Roger Pack
Question:
is there a way to determine which port "owns" or "put down" a file,
for instance (relative to a comment at the bottom of
http://trac.macports.org/ticket/29198 )
I'm trying to add a dependency for this file, to mplayer:
/opt/rdp_project_local/lib/libXss.1.dylib
however, "port search xss" doesn't easily reveal an answer.
Thank you.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


tar with xz support enabled

2013-04-03 Thread Roger Pack
Is there anyway to install a "tar" binary that recognizes/understands
xz files?  If not I suppose I'd like to request it (or should I file a
trac ticket?)
Thank you!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: suggestion: tweak error messages

2012-08-04 Thread Roger Pack
> On Sat, Aug 04, 2012 at 01:02:27PM -0600, Roger Pack wrote:
>> Error: search for name ffmpeg failed: No index(es) found! Have you
>> synced your source indexes ( $ port selfupdate might help)?
>
> http://trac.macports.org/changeset/96213

Great! Thank you.
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


suggestion: tweak error messages

2012-08-04 Thread Roger Pack
got this:
Error: search for name ffmpeg failed: No index(es) found! Have you
synced your source indexes?

suggestion/feature request:
change it to:

Error: search for name ffmpeg failed: No index(es) found! Have you
synced your source indexes ( $ port selfupdate might help)?

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


Re: Request: make the ML's default return candidate be the ML

2011-12-09 Thread Roger Pack
Fascinatingly, after following this advice of
http://woozle.org/~neale/papers/reply-to-still-harmful.html (which was
recommended in this thread)

"Some people complain that they'll get two copies of the same email.
Since they're on the list, their first copy is the one sent to them by
the list. When the responder hit "reply all", it also put their email
address in the recipient list, so they get a second copy directly. ...
the second message is a duplicate and can be safely ignored."

I did this in the last thread I participated in.
I hit "reply all" in gmail, it receives a "To:" field of the original
author, and a CC: field of the mailing list.  I think this is what the
above is saying is what we should do.

I then had 2 people respond back to me "hey don't do that, it causes
my inbox filters to fail and goes straight to my inbox inadvertenly!"

http://woozle.org/~neale/papers/reply-to-still-harmful.html  continues:

"If your mail reader doesn't do this, that's too bad, but it's not an
excuse to violate Internet standards and surprise people with
inconsistent behavior, just to prevent you from having to delete a few
emails. Anyone who gets any spam at all knows how to delete email."

So apparently...I'm supposed to just tell them they aren't compliant [?]
(In reality what I should send it back to the group as a "To"
field--does anybody know?  What do other gmail users out there do?)

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


Re: port make?

2011-12-08 Thread Roger Pack
Roger: remember to "Reply All" so your replies go to the list :)
>> $ sudo port -s -k -f configure vlc
>> 
>> and it doesn't actually configure.
> 
> Right, port keeps track of completed phases and does not re-run them. If "$ 
> port destroot portname" failed at the "build" phase re-running "$ port 
> destroot portname" will skip all phases before build. You will need to "$ 
> port clean" or manually edit the port state file to have the "configure" 
> phase execute.

I would like to suggest a change then that "-f" force a
reconfigure/remake etc.,
Thanks!
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: port make?

2011-12-08 Thread Roger Pack
On Thu, Dec 8, 2011 at 7:19 AM, Jeremy Lavergne
 wrote:
>> Any help? (really my reason for writing this is "shouldn't there be a
>> $ port make or shouldn't $ port build re-run it?
>
> You might become familiar with the various phases available:
> http://guide.macports.org/#reference.phases
> or the man page.
>
> Rather than going past all the phases and installing the package, you might 
> consider completing only the phases before where you need the modify the 
> package source code and then running the remainder.

Good idea, thanks that helps.
I guess it just surprises me a little bit when I run
$ sudo port -s -k -f configure vlc

and it doesn't actually configure.

-r
>
> As you did in your previous email, keep -s on so you don't accidentally 
> clobber all your work with a pre-built binary from MacPorts.
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


port make?

2011-12-08 Thread Roger Pack
Hello all.
I found myself the other day wanting to do the following:
install a port, but with an extra (local) patch.
My first thought was that I could do the following:

$ port install xxx -s -k # keep the source
$ # apply the local patch to the source
$ port build xxx # it would run make, then make install for me.


I got to step 2, above, then this:

$ port -s -k build vlc
--->  Computing dependencies for vlc
$
 (it didn't run make again)

And there seems to be no
$ port make vlc

option (which I would have expected).
Any help? (really my reason for writing this is "shouldn't there be a
$ port make or shouldn't $ port build re-run it?
My work around for now is to just cd to the work dir and run make
again, then run $ port install xxx
Thank you.
-roger
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


dependencies only package?

2011-12-04 Thread Roger Pack
Hello.
My desire/wish would be a command something like
$ sudo port mpkg ffmpeg gocr --output-name
my-big-package-containing-both-gocr-and-ffmpeg

Since that doesn't seem an option, I was thinking/hoping I could write
something like a Portfile that *just* have dependencies on gocr and
ffmpeg, then I could mpkg that for the same effect.
Is anything like that currently possible?
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: remove old installations

2011-12-01 Thread Roger Pack
> Why does it need to fetch again if it's already got the file?

it's an svn checkout and not smart enough to know how :)
(see mplayer-devel Portfile)
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: remove old installations

2011-12-01 Thread Roger Pack
> Perhaps this is terribly naive:  what about
> sudo port clean --all portname

Yes that does it.
Maybe what it could do it warn when it's doing a "dirty" installation,
so that it's clearer more quickly why something may have failed (i.e.
you see
$ port install xxx
warning: installing over a previous installation
...
fetch failed please check your log

(it's more immediately obvious *why* the fetch may have failed).

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


Fwd: remove old installations

2011-12-01 Thread Roger Pack
Accidentally privately replied LOL.

-- Forwarded message --

> The idea seems to be to automatically clean the work directory before 
> performing a fetch. That's pretty nonstandard MacPorts behavior though, if 
> I'm not mistaken.

I guess the "frustration" is that if I ever have an aborted
installation, with that particular port, and then attempt a reinstall,
I am greeted by an obscure error message "fetch failed, please consult
this log" (even if --force is used), so I'm trying to work around
that.

"Most" ports reinstall fine over aborted installations, but not this one.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


remove old installations

2011-11-30 Thread Roger Pack
Hello all.
I was attempting to add this line to a Port:

fetch {
system "rm -rf ${worksrcpath}"

however it doesn't seem to work as I would have expected it to (to
clean up that directory).

Error: Target org.macports.fetch returned: bad option rm -rf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk


Any pointers for me on it?
Thanks.
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Feature Request: easy app bundle creation

2011-11-29 Thread Roger Pack
As an extension of the current mpkg functionality, it would be slick
to be able to specify something like
$ port appify port_name icon=xxx default_exe=yyy
which created a standalone app from local ports:
ref: http://stackoverflow.com/a/3251285 the current way seems a bit involved.
Thanks.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Fwd: Request: make the ML's default return candidate be the ML

2011-11-29 Thread Roger Pack
I can't believe I just sent that on the individual accidentally LOL.
Anyway I suppose the true ideal would be a "reply-cc-to" field, so
that it's obvious to everybody where their messages are going, and the
default is also to go back to the list.  But alas.
Cheers!
-roger-


-- Forwarded message ------
From: Roger Pack 
Date: Mon, Nov 28, 2011 at 10:56 AM
Subject: Re: Request: make the ML's default return candidate be the ML
To: Ryan Schmidt 


> Sorry, we're not going to modify the Reply-To, From or other headers the user 
> sets. Doing so is contrary to Internet standards. See:
>
> http://woozle.org/~neale/papers/reply-to-still-harmful.html


it states:
"•Munging can catch people by surprise, since in every other email
they've gotten with multiple recipients, when they hit "reply" it goes
only to the sender."

This no longer seems to be the case, as, in every other email they've
(now) gotten from multiple recipients (mailing lists these days,
including all the sourceforge ML's, google groups, etc.), hitting
reply goes to the ML, not the original sender.

Which is why I would say non munging catches people by surprise, so
the doc is out of date (from my perspective).

But I respect your right to stick to it, if you see that correct.

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


Fwd: Request: make the ML's default return candidate be the ML

2011-11-26 Thread Roger Pack
Oops accidentally responded to individual only. (no, really I did).

-- Forwarded message --
> This can usually be set as default by any decent MUA.

I'm sure it can.  Wouldn't you agree that it would be more convenient,
perhaps, for it not to have to be set by each new participant?
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Fwd: port pkg doesn't include dependencies?

2011-11-26 Thread Roger Pack
Forwarding to the ML since I accidentally hit send to just the sender...

-- Forwarded message --
From: Roger Pack 
Date: Sat, Nov 26, 2011 at 8:26 AM
Subject: Re: port pkg doesn't include dependencies?


> In case you didn't see Ryan's response:
>
> port mpkg PORTNAME

Ok thank you very much Jeremy and Ryan.

Another thing (while we're on the subject) that I noticed is that,
given the following deps:

$ port deps mplayer-edl
Full Name: mplayer-edl @34269_1
Fetch Dependencies:   subversion, git-core
Build Dependencies:   pkgconfig, yasm
Library Dependencies: jpeg, openjpeg, lame, libiconv, libmad, libogg,
libpng, libtheora, libvorbis, lzo2, ncurses, zlib, bzip2, liboil,
                     libdca, libfaad

if I run $ port mpkg mplayer-edl

It appears to bundle it with some build dependencies in there (or
fetch dependencies, or what not) like python2.5.  I would have
expected that, since they're only "build" dependencies, they wouldn't
be included.  Is this expected behavior?

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


Request: make the ML's default return candidate be the ML

2011-11-26 Thread Roger Pack
Hello all.
I've noticed that the default reply recipient for messages generated
from the MacPorts Users mailing list is "just" the person that
actually sent the message.  This causes grief when you hit reply,
thinking it will go to the ML, but end up just sending a personal
reply on accident.
I'm sure this has been discussed before, but is there anything that
could be done here?  It keeps biting me, every time I come back to the
mailing list.
Thank.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


port pkg doesn't include dependencies?

2011-11-25 Thread Roger Pack
Hello all.
I may be operating under the wrong assumption, but should $ port pkg XXX
also include in the pkg, that port's dependencies?
Or is it assumed that it was built with --enable-static, so has no dependencies?

(I noticed that currently, at least for me, it doesn't seem to include
any dependencies).
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: specify pkg license

2011-11-25 Thread Roger Pack
On Fri, Nov 25, 2011 at 6:04 PM, Jeremy Lavergne
 wrote:
>> Is it possible to specify a license to be placed within a macports created 
>> pkg?
>
> Simply adding it to $prefix/share/$name would suffice. Most ports do this; if 
> you find some that do not a ticket could be filed, depending on the license 
> requirement.

Would this license be displayed to the user who "installs" the
generated pkg file? (apparently pkg files require a License.rtf file
[1]?)
Thanks!


[1] http://www.osxgnu.org/info/osxpackages.html
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


specify pkg license

2011-11-25 Thread Roger Pack
Is it possible to specify a license to be placed within a macports created pkg?
Sorry google didn't seem to reveal an answer to this question.
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


feature request: tell us where the pkg is.

2011-11-25 Thread Roger Pack
Hello.
After running this command:
$ port pkg dos2unix
Warning: MacPorts running without privileges. You may be unable to
complete certain actions (e.g. install).
--->  Computing dependencies for dos2unix
--->  Fetching archive for dos2unix
--->  Unpacking tbz2 archive for dos2unix 5.1.1_0
--->  Creating pkg for dos2unix-5.1.1

I was left knowing, comfortingly, that a .pkg file had been created.
Feature request: tell us *where* it was created, so we can then get to it.
ex: I think this one was here:
/Users/rogerdpack/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_dos2unix/dos2unix/work/dos2unix-5.1.1.pkg

But I wouldn't have been able to guess that (I had anticipated it
being put in my pwd, but I guess it isn't).
Thank you.
roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


thanks for the binary builds

2011-11-18 Thread Roger Pack
Hey thanks for all those binary builds--they probably saved me a heap
of time today.  The speed just doesn't compare it's so much faster
now. Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


A few random usability suggestions...

2011-11-18 Thread Roger Pack
Hello.

I used macports today, and had a few usability "suggestions/feature requests":
for what they're worth :)

Here goes...

If I do this:
$ sudo port install vlc -f

I'd expect it to be a "force install" the equivalent of
$ sudo port -f install vlc

instead, it surprised me by not doing a force install.  FWIW.

The "help" syntax might be expandable a bit..

$ port help install
Usage: install

Installs the given ports

(doesn't list any options available to the install command?)

Also it seems to be missing a "reinstall" command...perhaps one could
be added, perhaps like the equivalent of
 sudo port uninstall suchAndSuch
 sudo port clean –all suchAndSuch
 sudo port install suchAndSuch
or the like [?]

Also I would have expected this to work:
$ sudo port install twolame # it installs binary twolame
$ sudo port install -s twolame # it "reinstalls, but from source"
(currently it "does nothing")

At least output something like "twolame is already installed" but,
better yet, I had hoped that it would basically reinstall it, from
source, realizing that its initial installation had been from a binary
package.

Well sorry for the flood.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: remove old install files (?)

2011-08-02 Thread Roger Pack
> Thought. Perhaps files such as
> ./var/macports/software/MPlayer/MPlayer-1.0rc4_0.darwin_10.x86_64.tbz2
> should be removed after a successful install to save space?

Also possibly:
/opt/local/var/macports/distfiles/MPlayer/MPlayer-1.0rc4.tar.bz2
?
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


remove old install files (?)

2011-08-02 Thread Roger Pack
Hello all.
Thought. Perhaps files such as
./var/macports/software/MPlayer/MPlayer-1.0rc4_0.darwin_10.x86_64.tbz2
should be removed after a successful install to save space?
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts 2.0.0 has been released

2011-07-26 Thread Roger Pack
Thanks for all the work you do to help the rest of us out :)
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


feature request: show if installed for "port search"

2011-06-24 Thread Roger Pack
Hello.
Currently we have:

$ port search dvdnav
libdvdnav @4.1.3 (devel, multimedia)
DVD navigation library

Feature request/suggestion

$ port search dvdnav
libdvdnav @4.1.3 (devel, multimedia) (installed)
DVD navigation library

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


Re: difficulty in determining culprit...

2011-06-24 Thread Roger Pack
(oops sent this without "respond to all" acccidentally...resending it here...)

> The server used was: nongnu.askapache.com

Oops missed that originally :)

>> nor give me a hint as to how to use another one.
>
> There isn't a way, I'm afraid. MacPorts picks the mirror it thinks is closest 
> to you.

Ok.  Could I perhaps make a feature request for something like
"--use-your-second-choice-server" or "--use-a-random-server" or
"--use-a-known-stable-server" perhaps something like one of those?
Might make overcoming temporary network failure easier :)

I suppose another option might be to "try with the preferred server,
if that fails, automatically delete it and try with a different
server, then if that fails give up" or something along those lines...

> The problem appears to be that nongnu.askapache.com has been replaced with 
> generic pages, whose checksums of course do not match the checksums of the 
> desired distfile. This problem should be reported to the administrator of 
> that server. Until they fix it, I've removed it from our list of mirrors:

Cool thanks.  I just looked again today and things "appear" normal for
that server again, so I suppose you could re-add it.  It might also be
kind to setup some monitoring system that checks for failed servers
daily :)

I also updated the wiki page with instructions on how to manually
overcome this so at least there's a work around in place.  Thanks
again for your work on this stuff.

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


suggestion: libjpeg-turbo

2011-06-23 Thread Roger Pack
Hello.  I have no experience in this domain, but thought I'd throw out
the idea of using libjpeg-turbo as the default "libjpeg" dependency,
for some added speed where used.
That's all. Bye.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


difficulty in determining culprit...

2011-06-11 Thread Roger Pack
Hello all.
Wanted to point out a point of...difficulty experienced with macports.
 In case anyone out there is interested in user feedback for how to
make it a more friendly experience :)

Got this:

$ sudo port install texi2html
--->  Computing dependencies for texi2html
--->  Fetching texi2html
--->  Attempting to fetch texi2html-5.0.tar.bz2 from
http://nongnu.askapache.com/texi2html
--->  Verifying checksum(s) for texi2html
Error: Checksum (md5) mismatch for texi2html-5.0.tar.bz2
Error: Checksum (sha1) mismatch for texi2html-5.0.tar.bz2
Error: Checksum (rmd160) mismatch for texi2html-5.0.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:

***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for texi2html is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/main.log
Error: Status 1 encountered during processing.
To report a bug, see 


The only problem being...this error message (nor the log file) tell me
which server it used to download from, nor give me a hint as to how to
use another one.  Perhaps it should link to a FAQ entry that discusses
this?

(for followers, the file was indeed HTML, and manually downloading
http://mirrors.zerg.biz/nongnu/texi2html/texi2html-5.0.tar.bz2  *over
the top* of that file overcame the problem, but that was hard to
figure out--attempting to reinstall always resulted in the same
problem, so there didn't appear to be an easy workaround).
Thanks!
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: segfault

2011-05-16 Thread Roger Pack
>> $ sudo port installed
>>
>> Error: port installed failed: sqlite error: SQL logic error or missing
>> database (1) while executing query: SELECT name FROM registry.ports
>> WHERE id=111
>> No ports are installed.
>>
>> (I did mess with it a bit, though, so I may have done something).
>
> Do you remember what you changed?

I had renamed registry.db, run this command once, then moved the "bad"
registry.db back.  After doing this, I think macports still
segfaulted, so I think the problem was still present, it just didn't
segfault with this command for whatever reason.

> This might make MacPorts think no ports are installed, though they still are, 
> which will cause you problems. Uninstalling MacPorts cleanly, using the 
> instructions in the Guide, and then reinstalling MacPorts and the ports you 
> want, would clean this up.

Good to know thanks!
-r
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


suggestion: better help on "install" help

2011-05-11 Thread Roger Pack
Hello all.
My thought is to propose that this message:


$ port help install
Usage: install

Installs the given ports


be changed to this:


$ port help install
Usage: install

Installs the given ports.  See also the variants command for options.

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


feature request: slightly better 'package not available' message

2011-05-06 Thread Roger Pack
Hello all.

I tried this the other day:


$ sudo port install ack
Error: Port ack not found

Obviously, what I meant was
$ port install p5-app-ack

Perhaps it could be made to output "possible matches" as rubygems
currently does, or, like ubuntu "packages known to contain that
binary" or what not.
That would indeed be user friendlier.

Thanks much!
Sorry if this is a repeat request.
-roger-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


segfault

2011-04-27 Thread Roger Pack
Hello all.
Thanks for macports!
This is my first post here, so not quite sure the protocol, but here's
what occurred.
I did a $ sudo port install wine
it eventually overheated my [poorly fanned] macbook, causing a system reboot.

Now when I re-run it, I get this seg fault:

https://gist.github.com/f3ad8f88db22c083adab

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