Re: Macports py26-numpy Issue on OS X Mavericks

2013-11-23 Thread Brandon Allbery
On Sat, Nov 23, 2013 at 3:02 AM, david laxer dbl...@yahoo.com wrote:

 Question:
 Going forward, is it problematic to use Brew to install Ruby packages,
 etc.?


Yes. Don't mix package managers; you can easily break both of them. Pick
one.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Links - Graphics not enabled when compiling

2013-11-23 Thread Brandon Allbery
On Sat, Nov 23, 2013 at 8:51 AM, Eric Gallager eg...@gwmail.gwu.edu wrote:

 I came across some SIMBL hack on Github once that enabled xterm mouse
 support in Apple's Terminal.app: https://github.com/brodie/mouseterm
 I haven't actually tried it myself though, so I don't know if it does
 exactly what you're looking for though...


It can't enable graphics support though, and that's going to be X11
specific anyway.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: problem upgrading py27-numpy

2013-11-23 Thread Brandon Allbery
On Sat, Nov 23, 2013 at 3:01 PM, Comer Duncan comer.dun...@gmail.comwrote:

 :info:archivefetch ---  py27-numpy-1.8.0_2.darwin_13.x86_64.tbz2 doesn't
 seem to exist in /opt/local/var/macports/incoming/verified

These are not the actual problem --- it is simply trying to fetch a
prebuilt one before building it itself. It will only cause the whole thing
to fail if you are set to only install prebuilt versions, but you have not
done that as the log continues with a build from source.

The actual error is

:info:build /usr/bin/gfortran -Wall -arch x86_64
build/temp.macosx-10.9-x86_64-2.7/numpy/core/blasdot/_dotblas.o
-L/opt/local/lib -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64
-Lbuild/temp.macosx-10.9-x86_64-2.7 -lopenblas -lgfortran -o
build/lib.macosx-10.9-x86_642.7/numpy/core/_dotblas.so
:info:build Undefined symbols for architecture x86_64:
:info:build   _MAIN__, referenced from:
:info:build   _main in libgfortranbegin.a(fmain.o)
:info:build   _PyArg_ParseTuple, referenced from:
:info:build   _init_dotblas in _dotblas.o
:info:build   _dotblas_alterdot in _dotblas.o
:info:build   _dotblas_matrixproduct in _dotblas.o
:info:build   _dotblas_innerproduct in _dotblas.o
(... missing Python internal symbol errors continue for many lines ...)

which should probably be reported in the bug tracker at
https://trac.macports.org.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Links - Graphics not enabled when compiling

2013-11-24 Thread Brandon Allbery
On Sun, Nov 24, 2013 at 8:32 AM, Jeff Friedman friedmanje...@gmail.comwrote:

 Any ideas on how to compile with graphics support?


You would need an implementation which uses Core Graphics instead of X11 to
draw graphics (none exists that I know of) *and* that the terminal exports
a window handle to programs running in it (as xterm and several other X11
terminal emulators do, as $WINDOWID). Remember that X11.app/XQuartz.app
cannot see native graphics windows at all, only X11 windows.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Links - Graphics not enabled when compiling

2013-11-24 Thread Brandon Allbery
On Sun, Nov 24, 2013 at 9:11 AM, Ádám Juhász jad...@gmail.com wrote:

 If I remember right, when I tried to use graphics with Links I tried it on
 openSUSE and on it’s virtual terminal (bypassing X11) with no success.
 However this isn’t possible on a Mac anyways, because it does not have a
 virtual terminal.


I have no idea what you are trying to say here; OS X has functionally the
same pty support as Linux. And you are not bypassing X11 if you are seeing
graphics at all, you are *using* it; the X11 video driver needs to at least
be told what area of the screen to not update itself (for things like
OpenGL or v4l2 on Linux), or must be doing the update itself under control
of the X11 server.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Links - Graphics not enabled when compiling

2013-11-24 Thread Brandon Allbery
On Sun, Nov 24, 2013 at 9:31 AM, Ádám Juhász jad...@gmail.com wrote:

 I might have messed up the terms/names.

 By the “virtual terminal” I was referring the interface that you can
 access with ⌃⌥F1-6. That is not using X11, and I don’t have any clue how I
 pulled it off or how I figured that it could be possible with Links, but it
 didn’t worked out in the end. (I wanted to use that in


Oh, Linux framebuffer console. Even less portable than X11 mode; OS X
hasn't given you (easy) direct access to the console since 10.6 or
thenabouts and the API doesn't look anything like the Linux framebuffer.
You also can't use it concurrently with graphics (no virtual console
support). There might be support in the PureDarwin community if there still
is one and it hasn't completely bitrotted.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: builing mono fails on 10.5.8

2013-11-24 Thread Brandon Allbery
On Sun, Nov 24, 2013 at 1:17 PM, Thomas Ruedas trg...@gmail.com wrote:

 I have tried to find some information about build failures but didn't get
 very far; I don't even know where to look for more detailed error messages,
 as the content of /opt/local/var/macports/logs/_opt_local_var_macports_
 sources_rsync.macports.org_release_ports_devel_mono/mono/main.log is also
 rather unconspicuous. Any ideas? Should I file a bug


You might put that logfile somewhere where others can look at it (or if
it's small enough, gzip it and attach it to email, but web/dropbox/etc. is
better).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: builing mono fails on 10.5.8

2013-11-24 Thread Brandon Allbery
On Sun, Nov 24, 2013 at 6:11 PM, Thomas Ruedas trg...@gmail.com wrote:

 On 24/11/13 8:53 PM, Brandon Allbery wrote:

 You might put that logfile somewhere where others can look at it (or if
 it's small enough, gzip it and attach it to email, but web/dropbox/etc.
 is better).

 Sorry, I can't post it anywhere, so I'll just have to copypaste it below;
 so that's /opt/local/var/macports/logs/_opt_local_var_macports_
 sources_rsync.macports.org_release_ports_devel_mono/mono/main.log
 It's the only logfile I found that looked as if it had to do with it.


That log shows a successful install from a prebuilt package, not a build
failure.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installed MacPorts 2.2.1, now to install Octave dependencies

2013-11-26 Thread Brandon Allbery
On Tue, Nov 26, 2013 at 3:56 PM, Patrick Hinkle avmac1...@gmail.com wrote:

 I have installed the MacPorts 2.2.1 package and am interested in
 installing Octave and its dependencies.  I thought I saw somewhere that
 Octave installs these dependencies automatically but that might have been
 an error.
 I have downloaded Octave 3.4.6 in a folder in my /users directory and am
 attempting to run it


Why? There is an octave port. Or, if you're just going to install stuff by
hand, why bother with a package manager?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: sudo port install gdb problem

2013-12-01 Thread Brandon Allbery
On Sun, Dec 1, 2013 at 9:13 AM, Peng Yu pengyu...@gmail.com wrote:

 I see the following error message. Does anybody know what is wrong
 with it and how to get it work? Thanks.

 ~$ sudo port install gdb
 ---  Cleaning gdb


gdb was already installed, so it didn't actually do anything.

MacPorts does a sanity check after any install or upgrade, to look for
anything (not just the port you installed/upgraded) that is broken for some
reason:


 ---  Scanning binaries for linking errors: 100.0%
 ---  Found 14 broken file(s), matching files to ports
 ---  Found 1 broken port(s), determining rebuild order
 ---  Rebuilding in order
  arpack @3.1.2 +accelerate+gcc47+openmpi
 Error: arpack: Variant openmpi conflicts with gcc47


Older versions of various ports using openmpi had a bug where they thought
they could specify it along with a compiler; in fact, openmpi requires that
the same compiler be used everywhere and acts like a compiler itself. The
fix for this is

sudo port upgrade --enforce-variants arpack +accelerate+openmpi

(note lack of +gcc47, which was the bug).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Any chance of seeing a port of Conky?

2013-12-01 Thread Brandon Allbery
On Sun, Dec 1, 2013 at 3:52 PM, Christopher Jones
jon...@hep.phy.cam.ac.ukwrote:

 On 1 Dec 2013, at 7:29pm, Tim Haigh timha...@mac.com wrote:
  iStat Menus costs $16  where as gkrellm costs nothing.

 I didn’t say iStat Menus. I said iStats Pro, which costs nothing.


Is that even maintained any more? When I upgraded my desktop to 10.8 I
discovered that it was no longer supported and there were two manual
patches I needed to apply for it to work.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Any chance of seeing a port of Conky?

2013-12-01 Thread Brandon Allbery
On Sun, Dec 1, 2013 at 4:05 PM, Chris Jones jon...@hep.phy.cam.ac.ukwrote:

 On 1 Dec 2013, at 09:02 pm, Brandon Allbery allber...@gmail.com wrote:

 On Sun, Dec 1, 2013 at 3:52 PM, Christopher Jones 
 jon...@hep.phy.cam.ac.uk wrote:

 On 1 Dec 2013, at 7:29pm, Tim Haigh timha...@mac.com wrote:
  iStat Menus costs $16  where as gkrellm costs nothing.

 I didn’t say iStat Menus. I said iStats Pro, which costs nothing.


 Is that even maintained any more? When I upgraded my desktop to 10.8 I
 discovered that it was no longer supported and there were two manual
 patches I needed to apply for it to work.

 I don't recall any problems, and i've upgraded my machine from 10.5 all
 the way to 10.9


The patches are for the process list and for external IP address; if you
have those sections turned off, you might not notice. That said, it also
has some UTF8 issues I've never bothered to try to fix.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: sudo port install gdb problem

2013-12-01 Thread Brandon Allbery
On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 On Dec 1, 2013, at 08:23, Brandon Allbery wrote:
  sudo port upgrade --enforce-variants arpack +accelerate+openmpi
 
  (note lack of +gcc47, which was the bug).

 Since +gcc47 is already in the installed variants, you may actually have
 to explicitly disable it:

 sudo port upgrade --enforce-variants arpack +accelerate +openmpi -gcc47


Doesn't --enforce-variants mean exactly these variants, no others?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: sudo port install gdb problem

2013-12-01 Thread Brandon Allbery
On Sun, Dec 1, 2013 at 7:44 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 On Dec 1, 2013, at 18:38, Brandon Allbery wrote:
  On Sun, Dec 1, 2013 at 7:37 PM, Ryan Schmidt wrote:
  Since +gcc47 is already in the installed variants, you may actually
 have to explicitly disable it:
 
  sudo port upgrade --enforce-variants arpack +accelerate +openmpi
 -gcc47
 
  Doesn't --enforce-variants mean exactly these variants, no others”?

 I think it means “add these variants to the ones I already selected”.


I thought that was the default behavior.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why .gz files are not colored with `ls --color=auto`?

2013-12-02 Thread Brandon Allbery
On Mon, Dec 2, 2013 at 1:17 PM, Peng Yu pengyu...@gmail.com wrote:

 On ubuntu, `ls --color=auto` colors .gz files. But it (the one from
 macports) does not .gz files on Mac. Does anybody know how to make it
 color .gz files as well on mac? Thanks.


Run `echo $LS_COLORS` on your Linux system. Arrange to have that same value
set on OS X. (Linux systems typically have a lot of strange stuff set up by
scripts in /etc/profile.d/*. I usually end up working around large chunks
of it, because the Linux distributions like to e.g. force their $PATH down
my throat at every opportunity. At one point I was setting $PATH in a zsh
precmd function, because that was the only way to stop (pre-enterprise)
Red Hat and SuSE from overriding it.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Any chance of seeing a port of Conky?

2013-12-02 Thread Brandon Allbery
On Mon, Dec 2, 2013 at 9:03 PM, James Linder j...@tigger.ws wrote:

 On 03/12/2013, at 4:00 AM, macports-users-request@lists.macosforge.orgwrote:
  iStat Menus costs $16  where as gkrellm costs nothing.
 
  I didn?t say iStat Menus. I said iStats Pro, which costs nothing.
  gkrellm is much more fun, customising, skinable and there are plugins.
 
  Cannot argue there.
 I must be a bear of little brain (Winnie ther (sic) Pooh) but I cannot see
 how they put info on the root window a la the screenshots.


gkrellm can't draw into the OS X root window, it requires X11 and that
you run xquartz / xorg-server in full screen mode.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem Installing cmus

2013-12-03 Thread Brandon Allbery
On Tue, Dec 3, 2013 at 9:45 AM, Jeff Friedman friedmanje...@gmail.comwrote:

 I'm having a problem installing cmus.
 I have pasted my log file here - http://pastebin.com/vyFCxdzZ
 It says I'm not logged as root but I am (I ran the command sudo port
 install cmus) .


Unrelated debug message, macports doesn't do much stuff actually running as
root but for auditing reasons logs all attempts to switch its uid in either
direction (and it didn't need to switch to the sandbox uid there because it
was already running with the sandbox uid).

The real problem


   1. :info:extract sh: /usr/bin/gnutar: No such file or directory


tells me that you have upgraded to Mavericks but you have not followed the
migration steps necessary after any OS upgrade (because Apple does not
check with third parties before changing or removing things).

http://trac.macports.org/wiki/Migration

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: webkit error

2013-12-04 Thread Brandon Allbery
On Wed, Dec 4, 2013 at 10:42 AM, David Epstein
david.epst...@warwick.ac.ukwrote:

  I tried
 port search gimp2@2.8.10_0+help_browser+python27
 and got the report No match, which puzzles me. Why is it wanting to
 deactivate a port that isn't there?


search looks at package descriptions, not package names, and would not show
variants. Perhaps you wanted `port installed gimp2@2.8.10_0
+help_browser+python27`?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: port install painfully slow

2013-12-08 Thread Brandon Allbery
On Sun, Dec 8, 2013 at 8:49 AM, Brian D. McGrew br...@visionpro.com wrote:

 dyld: DYLD_ environment variables being ignored because main executable
 (/usr/bin/sudo) is setuid or setgid


I suggest you find out what is setting these, as MacPorts executes most
things *not* as root and they can be causing problems (which could be minor
or quite major). OS X isn't Linux; setting DYLD_* variables for anything
other than temporary specific testing is almost always wrong.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to make c++ realize empty character constant ''?

2013-12-08 Thread Brandon Allbery
On Sun, Dec 8, 2013 at 1:35 PM, Gmail yangz...@gmail.com wrote:

 Does anyone know how to make cpp can compile empty character constant?


There is no such thing. What would it mean?

If you're trying to make a C/C++ string, perhaps you want '\0'. But I can't
tell what language you are working with or what exactly you are trying to
accomplish.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Using gcc/gfortran 4.8 in MacPorts

2013-12-09 Thread Brandon Allbery
On Mon, Dec 9, 2013 at 9:30 AM, Gustavo Seabra gustavo.sea...@gmail.comwrote:

 however, still nothing is set for gfortran:

 $ which gfotran

 $
 (returns nothing)


pyanfar:10004 Z$ type gfortran
gfortran is /opt/local/bin/gfortran

Check for typos :)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to make c++ realize empty character constant ''?

2013-12-09 Thread Brandon Allbery
On Sun, Dec 8, 2013 at 1:35 PM, Gmail yangz...@gmail.com wrote:

 I am trying to compile the following statements using CPP.


This is a (formerly common) abuse of CPP and nobody can guarantee the
result. I *very strongly* recommend you contact whoever provided whatever
it is you are working with and get them to stop using cpp.

The message you got was a warning, not an error. This warning can be
suppressed (add parameters: -Wno-invalid-pp-token -Wno-unicode
-Wno-trigraphs) but very little can be done if clang's cpp is producing
output you don't expect.

Worst case you can try making a gcc the user default compiler:

sudo port install gcc48  sudo port select --set gcc mp-gcc48

and then find and run its cpp. I can't guarantee future versions of gcc
will continue to work, though, as there is no guarantee whatsoever that cpp
will work on things that are not C/C++.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: port install painfully slow

2013-12-09 Thread Brandon Allbery
On Mon, Dec 9, 2013 at 7:43 AM, Brian D. McGrew br...@visionpro.com wrote:

 Ah, right, thanks for the clarification.  We set
 DYLD_FALLBACK_LIBRARY_PATH, not the other.  But, I don't set that in a new
 terminal.  I have to run a script that sets up my build environment, which
 is 'usually' the first thing I do.  So popping a new terminal and running
 port without my build environment works fine.  But, if I set my env and
 DYLD_FALLBACK… is set, it no workee…  very slow, don't know why.  but the
 fix, I just won't have DYLD_ set when I run port.  Still, never seen this
 before and if anyone knows why it's happening, I'd be interested in knowing.


We can't tell for certain without knowing what your environment looks like,
but it is very likely that your replacement libraries are shadowing some
standard function in a way that breaks MacPorts (and may affect other OS X
native software although perhaps not as drastically). There are some
debugging DYLD_ variables you can set to show what is getting bound from
where, but without knowing what's in the libraries you have been forcing it
to use we can't even guess.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: where put font forge docs?

2013-12-10 Thread Brandon Allbery
On Tue, Dec 10, 2013 at 12:25 PM, Murray Eisenberg 
murrayeisenb...@gmail.com wrote:

 I’ve installed the port fontforge @20120731_2. Now I want the Help to call
 local help files.

 Following instructions at
 http://fontforge.org/source-build.html#Documentation, I put the
 downloaded, unarchived documentation at /usr/local/share/doc/fontforge.

 But still, after starting fontforge from Terminal and using either the Fn
 F1 key or the Help  Help menu item in fontforge, I get the on-line
 documentation from fontforge.org instead.


MacPorts uses /opt/local instead of /usr/local, so try
/opt/local/share/doc/fontforge.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Undefined symbols for architecture x86_64 error on fortran compiling

2013-12-11 Thread Brandon Allbery
On Wed, Dec 11, 2013 at 2:40 AM, Gmail yangz...@gmail.com wrote:

 Hi all

 When I compile a fortran code, I got the error
 Undefined symbols for architecture x86_64

 My mac is 64bits. The fortran compiler used here is ifort.


This is an incomplete error message. Please show the full command and full
output.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to make c++ realize empty character constant ''?

2013-12-13 Thread Brandon Allbery
On Fri, Dec 13, 2013 at 5:36 AM, Juhász Ádám jad...@gmail.com wrote:

 However, the GNU compiler is also capable to select the proper language
 and use the proper tools for compillation, so GNU's cpp will compile… I
 believe Fortran, or even Java, if the proper alternative GNU compiler
 present. I've never used this capability this extremely though, and not
 aware wether other compilers are capable to do so.


Most people realized that abusing the *C* preprocessor for languages other
than C/C++ was a mistake, some ten years ago when ANSI specified that the C
preprocessor must actually understand the C language.
The fact that GNU C still allowed it to sort-of work for other languages is
something of a happy accident, not a natural law or an obligation on
anyone's part.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to make c++ realize empty character constant ''?

2013-12-13 Thread Brandon Allbery
On Fri, Dec 13, 2013 at 5:36 AM, Juhász Ádám jad...@gmail.com wrote:

 However, the GNU compiler is also capable to select the proper language
 and use the proper tools for compillation, so GNU's cpp will compile… I
 believe Fortran, or even Java, if the proper alternative GNU compiler
 present. I've never used this capability this extremely though, and not
 aware wether other compilers are capable to do so.


No, what's actually happening is that `-traditional` is being passed; this
causes gcc and its cpp to behave like the old ATT Portable C Compiler that
was available on older commercial Unix systems, so that it can compile
pre-ANSI (sometimes called KR) C code. PCC's cpp was a straight textual
substitution macro processor that did not understand the syntax of what it
was substituting; ANSI C compilers cannot use that kind of macro processor.

The -traditional option to gcc and its cpp exists only to support pre-ANSI
(KR) C code. It happens to also be abusable (at least in its present form)
to work with non-C languages, but not even the gcc developers advise this
use. It is not reliable, it is not guaranteed to work with non-C code, and
it is not guaranteed to be available even in future versions of gcc (there
is not a lot of pre-ANSI C code around any more).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to make c++ realize empty character constant ''?

2013-12-14 Thread Brandon Allbery
On Sat, Dec 14, 2013 at 6:21 AM, Juhász Ádám jad...@gmail.com wrote:

 But cpp still a C pre-compiler and we all can agree, that it is needed for
 MacPorts, otherwise neither cc nor c++ would work properly, right?


It is included in both gcc and clang, and also included with Apple's clang.
It just isn't the abusable one any more; it is a *C* preprocessor, not a
Fortran preprocessor. And there is apparently an option to make clang's cpp
more permissive, but it is no more recommended than gcc's -traditional for
non-C use. (And I don't know if it is permissive enough to handle Fortran.)

I should mention that I work with another non-C compiler that similarly
abuses cpp --- and similarly broke with clang --- and am still trying to
cut through the misunderstandings and politics involved in getting it
replaced (we *have* a viable replacement already, just not the will to use
it apparently).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Trouble installing a port variant of php55

2013-12-27 Thread Brandon Allbery
On Fri, Dec 27, 2013 at 4:12 PM, René Fournier m...@renefournier.com wrote:

   sudo port install php55-postgresql +postgresql92

 I get:

Error: Requested variants +postgresql92 do not match original
 selection “.
Please use the same variants again, perform 'port clean
 php55-postgresql' or specify the force option (-f).
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port php55-postgresql failed


Did you read the error message?

It means that there is already a build tree (from an error or aborted
build) for a different variant. If you want to build +postgresql92, you
must first sudo port clean php55-postgresql to remove the existing build
tree, as the error message told you.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Macports self update failing

2013-12-27 Thread Brandon Allbery
On Fri, Dec 27, 2013 at 5:47 PM, Andre-John Mas aj...@sympatico.ca wrote:

 checking for Tcl configuration... configure: error: Can't find Tcl
 configuration definitions


That usually means you upgraded to 19.9 and didn't bother reading
http://trac.macports.org/wiki/Migration .

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Why does the macport of gnu coreutils not contain gstdbuf ?

2014-01-07 Thread Brandon Allbery
On Tue, Jan 7, 2014 at 5:25 PM, Pushpendre Rastogi pushpen...@jhu.eduwrote:

 After installing coreutils on my mac I noticed that stdbuf was missing.


stdbuf relies on ELF LD_PRELOAD and would need significant porting (if
indeed it is possible at al) to work with Mach-O's dynamic loader.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gcc48 error on Mavericks

2014-01-10 Thread Brandon Allbery
On Fri, Jan 10, 2014 at 9:53 PM, Shiyuan gshy2...@gmail.com wrote:

I am on OS 10.9 Mavericks. I install gcc48 from macport. However, I got
 the follow error when I compile HelloWorld. What might go wrong? Thanks.


wchar.h is part of the Xcode command line tools package. If you got gcc48
from a prebuilt package instead of locally built, you may never have gotten
the Xcode 5 command line tools (which may be auto-installed the first time
something invokes `clang`) and may be missing system include files.

`xcode-select --install` should force installation of the command line
tools.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gcc48 error on Mavericks

2014-01-10 Thread Brandon Allbery
On Sat, Jan 11, 2014 at 12:56 AM, Shiyuan gshy2...@gmail.com wrote:

 There is another problem regarding to the coexistence of xcode gcc and
 gcc48 from macports.
 When I do  port select gcc mp-gcc48 , I can compile using g++. But
 when I switch back by port select gcc none,
 I got the error:

  g++ -g -o HelloWorld HelloWorld.cpp

 -bash: /opt/local/bin/g++: No such file or directory

 But strangely, when I do which g++,  I get /usr/bin/g++. Then why
 g++ still try to involve /opt/local/bin/g++ but not /usr/bin/g++?


`which` is often not a shell builtin and/or not using what your current
shell's state is, and will often show you not what your current shell sees
but what a new shell would see (or, in older versions especially with *csh,
what you would see if you logged out and back in). You should not rely on
it. `type` shows you (and is required by POSIX to show you) what the
current shell knows, not what it would find if it were restarted.

In this case, the problem is that bash remembers where it found a command,
rather than looking again for it every single time; you need to use `hash
-r` to make it forget that it once saw /opt/local/bin/g++ so it will go
find out that /usr/bin/g++ is currently the only one on $PATH. (Actually
setting $PATH will do this automatically; removing an executable found
somewhere on $PATH originally does not.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: MacVim?

2014-01-13 Thread Brandon Allbery
On Mon, Jan 13, 2014 at 11:36 AM, Comer Duncan comer.dun...@gmail.comwrote:

 Today I have installed the macports flavor of vim. It seems fine.  Next I
 tried to install vim-app but port told me that vim-app does not work and I
 should rather install MacVim.  So, I did or rather think I did.  When I
 issue


port contents is helpful here.

MacVim is a native app bundle, and it is installed as
/Applications/MacPorts/MacVim.app.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Re-installing a port from source

2014-01-13 Thread Brandon Allbery
On Mon, Jan 13, 2014 at 2:59 PM, Davor Cubranic cubra...@stat.ubc.cawrote:

 If I have an installed port and want to force re-installation from source,
 I can do it with 'port upgrade -s -f {portname}'. But then all of its
 dependencies are also re-installed from source. Why is this? I thought
 usually this recursive upgrade has to be forced with --enforce-variants?
 Is there a better way to do it?


upgrade checks if dependencies need to be upgraded as well. these checks
are as subject to -f as the original upgrade is.

Perhaps you want the -n option. (`man port` is a good thing to read
occasionally.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: jpilot

2014-01-17 Thread Brandon Allbery
On Thu, Jan 16, 2014 at 10:09 PM, Lenore Horner
lenorehor...@sbcglobal.netwrote:

 On Jan 16, 2014, at 10:20, John Ruschmeyer jrusc...@gmail.com wrote:
  I think you want /dev/pilot to be a symbolic link to the device for your
 serial port. Something like:
 
  # ln -s /dev/ttyUSB1 /dev/pilot

 Doesn’t that mean I should have /dev/ttyUSB1 already?  I don’t.


OS X creates it dynamically for USB serial devices when needed. This means
it generally only exists during a sync, since that's the only time that the
device is visible as a serial device on USB. You may have to make the
device try to sync and then symlink to the USB tty device before it times
out.

In fact, jpilot somewhat depends on ancient Linux USB behavior which can be
emulated to some extent with udev, but may not be easily achieved on OS X
(and I recall having trouble with it even on older OS X, although it has
been many years since I had a Palm device).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: python27 IDLE doesn't run

2014-01-18 Thread Brandon Allbery
On Sat, Jan 18, 2014 at 9:34 AM, Kevin Walzer k...@codebykevin.com wrote:

 On 1/18/14, 9:21 AM, Lenore Horner wrote:

 This doesn’t really make sense to me though because I thought Macports
 itself used Tcl so wouldn’t Tcl/Tk be installed already?


 Python in MacPorts would not link against the system Tcl/Tk. Try
 installing the Tcl/Tk +quartz variant and then installing Tkinter (or
 re-installing, if necessary, not sure which package that is).


py??-tkinter for the appropriate Python version (so, in this case,
py27-tkinter). But this leads directly to the question: if it requires
py-tkinter, why isn't it installed with that port, or maybe a separate port
that depends on py-tkinter?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installing Eiffel13 on a Mac

2014-01-19 Thread Brandon Allbery
On Sun, Jan 19, 2014 at 6:34 AM, peter leadbetter 
peter.leadbet...@btinternet.com wrote:

 Help! I am having trouble trying to install Eiffel13.11 inside MacPorts on
 a Mac running Mavericks 10.9.1.
 The problem is described below showing attempts to install from different
 directories.
 Any help would be very much appreciated.

 adminisatorsmbp:~ peter$ port version
 Version: 2.2.1
 adminisatorsmbp:~ peter$ sudo port install eiffelstudio13


You show multiple attempts to install that. But

pyanfar:30039 Z$ port echo eiffel\*
eiffelstudio70
eiffelstudio71
eiffelstudio72
eiffelstudio73

I don't see an eiffelstudio13 in there. (Perhaps you have a font issue?)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Troubles installing rc

2014-01-19 Thread Brandon Allbery
On Sun, Jan 19, 2014 at 9:11 PM, Eric Gallager eg...@gwmail.gwu.edu wrote:

 Ah, so *that's* where those files were coming from... does anyone who
 uses the rc port know why they have to have such weird names? With names
 like that, I worry that my shell could possibly misinterpret them...


Because `rc` is the Plan 9 shell and Plan 9 did not build anything into the
shell that could be done outside of the shell. Heck, `rc` had to have stuff
*added* to its Unix port, because on Plan 9 you don't need to build e.g.
environment setting into the shell.

And those names really aren't even very special even on Unixlikes. People
have a tendency to forget that (and Plan 9 was something of a reaction to
that; as Unix was minimalist compared to its forebears, Plan 9 was a
minimalist reaction to what Unix was turning into).

In any case, there's not much chance of those files interfering with
anything. They may confuse you if you're operating on them without path
prefixes, but that's something you should be aware of anyway.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: pb make stage process to install correctly on MacOS X with MacPorts on Xorg server.

2014-01-27 Thread Brandon Allbery
On Mon, Jan 27, 2014 at 10:03 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 I see a port called openbox, which installs fine for me on Mavericks with
 Xcode 5. I don’t see any ports called tint2 or wbar.


Nor will you; they're heavily dependent on Linux-style /proc. They can be
hacked for partial functionality on FreeBSD by pointing to a mountpoint for
a linprocfs (by convention /compat/linux/proc), but OS X doesn't have
linprocfs so there's no point.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How to associate /opt/local/bin/bash with .bat files

2014-01-28 Thread Brandon Allbery
On Tue, Jan 28, 2014 at 1:49 PM, Gregory Shenaut gkshen...@ucdavis.eduwrote:

 If you've installed Parallels, .bat files are associated by default with
 Notepad.app (in the the Windows system). There might be some way to
 associate them with Windows Console, but I don't know. The “Default Apps”
 system preference pane might be a good place to start (google it).


cmd.exe is secretly a GUI app: it figures out from how it is invoked
whether to create its own window or run in an existing one.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: perl5.XX-file-rsyncp

2014-01-30 Thread Brandon Allbery
On Thu, Jan 30, 2014 at 7:59 AM, rm...@free.fr wrote:

 i try to compile backuppc, and i am facing this situation:
  perl5.12-file-rsyncp, (dependance)
 does not compile, please see main.log.


Did you just upgrade to Mavericks? The errors in the log suggest that
`size_t` is not defined, which would suggest that you are missing the Xcode
Command Line Tools (specifically the system header files component). If you
have upgraded, you will need to follow the instructions at
http://trac.macports.org/wiki/Migration to bring MacPorts into sync with
the new OS and Xcode.

But the above is guessing, because this does not look like a clean build
--- information about its configuration phase is missing. Please `sudo port
clean p5.12-file-rsyncp` and attempt the build again, then attach the
`main.log` from that. Alternately, if this was a truncated log, please
place the full `main.log` where it can be read.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Error installing avr-libc

2014-02-03 Thread Brandon Allbery
On Mon, Feb 3, 2014 at 12:51 PM, Dan Aldrich daldr...@earthlink.net wrote:

 Get this error trying to install avr-libc, is this conflicting with
 another macport app installed?

 sudo port install avr-libc
 Password:
 ---  Computing dependencies for avr-libc
 ---  Cleaning avr-libc


This is not an error, it is an indication that avr-libc is already
installed.


 ---  Scanning binaries for linking errors: 100.0%


Everything from here on is a sanity check that MacPorts runs on itself, and
is (usually) not directly related to what you otherwise asked it to do.


 ---  Configuring webkit-gtk3
 Error: webkit-gtk3 is not supported for this installation of MacPorts.  It
 requires libc++ be selected as your C++ runtime.  Please use
 webkit-gtk3-2.0 instead


This is not related to avr-libc. It's actually a victim of Apple changing
the way C++ works with Xcode 5 and Mavericks, which has an effect even on
other releases.

It is telling you that a port that you already have installed (webkit-gtk3)
had to be changed to only work with Xcode 5.0.2 and later (clang's C++
runtime), and that if you are not running those then you must remove
webkit-gtk3 and install webkit-gtk3-2.0 instead (gcc's C++ runtime). If you
later upgrade your OS or Xcode, you will again have to remove
webkit-gtk3-2.0 and install webkit-gtk3.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: cutting the tree: is there a way to remove leaves recursivelly?

2014-02-07 Thread Brandon Allbery
On Fri, Feb 7, 2014 at 11:08 AM, Lars Sonchocky-Helldorf 
lars.sonchocky-helld...@hamburg.de wrote:

 After a failed sudo port -v upgrade outdated last night and seeing, that
 a port I did not request failed I decided to do a little housekeeping.


The direct answer to your question is the port_cutleaves port.

However I will note that most of those ports will be reinstalled the next
time you upgrade because they are build dependencies.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: port echo requested dupes

2014-02-08 Thread Brandon Allbery
On Sat, Feb 8, 2014 at 9:59 AM, Samuel Halliday sam.halli...@gmail.comwrote:

 If I issue a “port echo requested” there are always tonnes of dupes in
 there… and I have to uninstall specific versions.

 How can I easily purge all old copies of ports so that they don’t show up
 here?


sudo port uninstall inactive

If you like driving without a seatbelt, you can add -u to port upgrade to
uninstall instead of deactivating old versions; if something fails to
upgrade, getting back to a working state may be harder.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help ...

2014-02-11 Thread Brandon Allbery
On Mon, Feb 10, 2014 at 10:07 PM, James Linder j...@tigger.ws wrote:

 I reinstalled snow leopard but xcode failed to install 'Unknown error ...
 The googled fixes did not work, but that with support and deep black magic
 and xcode installed


You installed Xcode 5 on Snow Leopard?! Xcode 3.6 would have been smarter
(you can still find it buried in the apple developer downloads).


 Error constructing proxy for
 org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
 StartServiceByName for org.gnome.Terminal:
 GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
 /opt/local/libexec/gnome-terminal-server exited with status 1


Is dbus running? Both sides (there's a LaunchDaemon running as root and a
LaunchAgent running as you)?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem with Macports, homebrew, and ghostscript

2014-02-11 Thread Brandon Allbery
On Tue, Feb 11, 2014 at 4:12 PM, Art McGee amc...@gmail.com wrote:

 They keep their environment segregated from the rest of the system, and
 because of this, even though any MacPorts admin will strongly and
 vehemently advise against even trying it, they can work in concert with
 each other.


Mostly. What you're missing is that configure scripts are pernicious, and
even with the most careful vetting and editing they will occasionally glom
onto stuff under /sw/lib and incorporate it into a MacPorts build, leading
to bizarre problems when you upgrade Fink later. (Yes, I've seen this
happen.) Note that it can't usually happen in the other direction unless
you're in the unusual habit of building Fink stuff from source instead of
installing the prebuilt debs. (But it's also possible for stuff using
dynamically loaded libraries to slip its leash and spot libs under
/opt/local/lib, with similarly bizarre errors as the result.)

Both of these are more likely if you're also committing another cardinal
sin, namely setting $DYLD_LIBRARY_PATH or $DYLD_FALLBACK_LIBRARY_PATH. But
then, the former has the strong potential to break your entire system in
interesting ways, and the latter is only a little bit safer --- so just
don't do it except as a workaround for broken programs, and in that case
use a script wrapper around those programs rather than risking breaking
everything in order to make it happy.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: help ...

2014-02-11 Thread Brandon Allbery
On Tue, Feb 11, 2014 at 7:22 PM, James Linder j...@tigger.ws wrote:

 On 11/02/2014, at 11:25 PM, Brandon Allbery wrote:
  On Mon, Feb 10, 2014 at 10:07 PM, James Linder j...@tigger.ws wrote:
  I reinstalled snow leopard but xcode failed to install 'Unknown error
 ...
  The googled fixes did not work, but that with support and deep black
 magic and xcode installed
 
  You installed Xcode 5 on Snow Leopard?! Xcode 3.6 would have been
 smarter (you can still find it buried in the apple developer downloads).
 Brendon why do you think xcode 5? It is 3.6.2
 (And much spelinking shows that the certificate for the iPhone SDK has
 expired so I installed the unix tools only, that worked)


You didn't specify and last I checked older xcode-s installed fine on older
OS revisions (iPhone SDKs will whine but I don't even install those,
they're optional until at least 4.x).

 Error constructing proxy for
 org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
 StartServiceByName for org.gnome.Terminal:
 GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
 /opt/local/libexec/gnome-terminal-server exited with status 1
 
  Is dbus running? Both sides (there's a LaunchDaemon running as root and
 a LaunchAgent running as you)?
 In desperation I installed gnome-terminal from fink. It too does not work,
 but for other reasons. But NOW the mac ports version does work !!
 Clearly dark magic is happening, but I want a terminal for other stuff, so
 I'm happy (but confused)


That sounds like Fink installed and activated dbus and gnome is now using
it. I would not want to bet on that being stable though (dbus from Fink
with everything else from MacPorts).

Alternately you logged out and back in at some point (and maybe rebooted
for the system end but I don't think that's necessary?) and that activated
MacPorts' dbus-session agent.


 I had already done launchctrl as prescribed - the LaunchDaemon and
 LaunchAgent are a total mystery to me, where can I learn about?


That's what the stuff in `port notes dbus` is talking about. Note that you
have to log out and back in for launchd to be able to put the environment
variable pointing to the dbus agent into the environment.

LaunchDaemons run as root and are started at system boot; that's what
dbus-system.plist uses to start the system end of dbus.

LaunchAgents run as the user and are started at login; that's what
dbus-session uses to start the dbus user agent. It also puts a pointer to
the dbus agent socket into the environment, without which programs like
gnome-terminal can't find the dbus user agent.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Where should non-macports sw be installed? (Was: Problem with Macports, homebrew, and ghostscript

2014-02-14 Thread Brandon Allbery
On Fri, Feb 14, 2014 at 12:56 PM, Gregory Shenaut gkshen...@ucdavis.eduwrote:

 I've been reluctant to use anything under /opt because in the event I ever
 need to scrub macports and start over, it's easier to remove /opt and
 reinstall macports from scratch.


Other third party software uses /opt as well (and even some Apple software;
see xquartz). /opt/local is the only part that MacPorts touches; the rest
of /opt is (and is there to be) fair game.

It's a pity that macports isn't an official part of the system, like the
 freebsd ports are in fbsd, because if it were, then they (and not other
 ports) could simply install things right into the main system hierarchy. I
 believe that historically, really core elements of the OS went into /bin
 /lib


This is a nightmare when installing newer versions of OS-provided things
and when trying to keep base system and add-ons separate. Linux likes to
pretend this is not a problem but its package managers are not really good
enough to deliver on their claims; this often manifests as system upgrade
failures.

systems. As a result we have /opt /sw and so on (I have no idea why the
 original pattern of /usr/ucb wasn't followed with /usr/mp, /usr/fink, and
 so on, but it wasn't), as well as a host of


/usr is often read-only on BSD-derived systems (while the relationship is
now rather distant and I think OS X can't actually get away with r/o /usr,
it is nevertheless BSD-derived and userspace is synced somewhat regularly
with FreeBSD-CURRENT). /usr/ucb made sense in the original BSD context
since it was populated as part of an OS install and could be considered
read only afterward, plus you still had the original ATT versions of
utilities available when needed for portability; aftermarket stuff
doesn't really belong there (if you're remounting /usr r/w constantly to
add software, you're doing read-only wrong)

/opt originated on Solaris, in part to support read-only (or shared;
consider zones) /usr, but it seems like everyone else has come up with
their own justification for it.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Tears and Wailing

2014-02-14 Thread Brandon Allbery
On Fri, Feb 14, 2014 at 8:42 PM, James Linder j...@tigger.ws wrote:

 So I bit the bullet and reinstalled maverics

 Now:
 Everything worked ...
 I tried to (including the dbus stuff) install gnome-terminal
 No Error
 gnome-terminal wont start
 now NONE of the X11 things (gnuplot, xsane) will start


http://xquartz.macosforge.org ? (or see the xinit port to configure xquartz
via macports instead)


 PS qt apps build and display without issue and mythfrontend works fine too.
 (I thought that they did use X11)


I thought qt4-x11 had been purged because of severe bitrot. qt4-mac is
Aqua, not X11.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Tears and Wailing

2014-02-14 Thread Brandon Allbery
On Fri, Feb 14, 2014 at 9:41 PM, James Linder j...@tigger.ws wrote:

 Brandon thanks so much for the help. Why xset -b is a problem I dunno, but
 removing it from .profile fixed my issues with X11 not running. I have now
 got the XQuartz dmg, not the macports version, dunno if that is significant
 but all is working


.profile?! That'd be bad, yes, since it's getting run as part of the setup
for X server startup, and the xset causes X server startup, which runs
xset, which tries to start the X server, ... see the problem?

If you want to run it during X startup, create an executable script
~/.xinitrc.d/99xset.sh:

#! /bin/sh
xset -b

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gnome-terminal profiles

2014-02-15 Thread Brandon Allbery
On Sat, Feb 15, 2014 at 8:59 PM, James Linder j...@tigger.ws wrote:

 Where does gnome-terminal store it’s profiles?
 I’ve looked in all the predictable places!


Depends on the version, and more precisely on which key-value store it's
using (different Gnome versions use different ones: gconf is the older one,
dconf the new one). The actual data stores for gconf are XML files under
~/.gconf; for dconf there is a system-wide binary database accessed via
dbus, with PolicyKit controlling who has access to what key paths within
the database. You will need to use dconf-specific tools to inspect the
latter.

It looks like the MacPorts port was switched at some point to dconf with
settings migration from gconf to dconf's GSettings subsystem disabled,
which would mean all preferences would have been reset to defaults; there
is a variant +migration that re-enables migration.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: upgrading MacPorts after updating from 10.6 to 10.9

2014-02-18 Thread Brandon Allbery
On Tue, Feb 18, 2014 at 10:21 AM, René J.V. Bertin rjvber...@gmail.comwrote:

 I'm in the post-OSX-upgrade phase and wonder if MacPorts couldn't be
 updated by doing the usual port selfupdate  port upgrade outdated
 sequence - possibly with -f and -p to have the process come through?


http://trac.macports.org/wiki/Migration always after an OS upgrade. port
upgrade outdated is not expected to work, because Apple can and does (and
very much did in 10.9) make major changes.


 Also (and I know this is off-topic), exactly how impossible is it to keep
 XCode 3.2.6 installed alongside XCode 5? The OS updater didn't kick
 /Developer off and googling suggests that it might be doable, but does
 anyone on here have experience with actually running the IDE?


I wouldn't expect it to work, to be honest; too much stuff has changed.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: upgrading MacPorts after updating from 10.6 to 10.9 - missing gnutar?

2014-02-19 Thread Brandon Allbery
On Wed, Feb 19, 2014 at 8:27 AM, René J.V. Bertin rjvber...@gmail.comwrote:

 So I uninstalled and cleaned my MacPorts installation as instructed and
 the called restore.tcl . Now builds are failing with

 :debug:extract Executing command line:  cd
 /Volumes/Debian/MacPorts/var/macports/build/_Volumes_Debian_MacPorts_var_macports_sources_rsync.macports.org_release_ports_devel_bsdmake/bsdmake/work
  /usr/bin/gzip -dc
 '/Volumes/Debian/MacPorts/var/macports/distfiles/bsdmake/bsdmake-24.tar.gz'
 | /usr/bin/gnutar --no-same-owner -xf -
 :info:extract sh: /usr/bin/gnutar: No such file or directory

 Indeed I have no /usr/bin/gnutar, and I don't see where in the MacPorts
 conf files this parameters is set?


Did you reinstall or upgrade the MacPorts base? Installing the latest
MacPorts for Mavericks will fix this; upgrading the existing base (`sudo
port selfupdate`) should detect it during configure and deal with it (but
if you did that and it didn't, please file a bug on trac.macports.org).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: MariaDB won't start

2014-02-19 Thread Brandon Allbery
On Wed, Feb 19, 2014 at 3:08 AM, Michael Crawford mdcrawf...@gmail.comwrote:

 I can't get online with the machine I'm trying to use MariaDB on, so I
 won't quote the full text of the messages.  But if you need me to I
 can transfer them on a stick.

 $ port info mariadb
 mariadb @5.5.34_1


Have you installed mariadb-server? Without it, you get the server
components but not the configuration or the glue to start them properly.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: libjpeg-devel?

2014-02-25 Thread Brandon Allbery
On Tue, Feb 25, 2014 at 8:42 PM, Terry Barnum te...@dop.com wrote:

 I'm having a go at installing freeswitch (VOIP server, www.freeswitch.org)
 on a 10.9.1 macmini and it has a half dozen dependencies that I'm hoping
 can be taken care of with macports. The freeswitch Mac wiki says to use
 Brew http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X.
 I'm a macports guy so I want to see if I can get it working with macports
 and have them update the wiki.

 freeswitch wants libjpeg-devel for header files. The jpeg macport doesn't
 seem to satisfy this


It's speaking in Linux (Red Hat / Debian) terms, where headers and
link-time libraries are always split out into -devel / -dev packages.
MacPorts does not do this; the normal port installs headers and link
libraries. (A -devel port in MacPorts means a beta, prerelease, or testing
version. Be aware that these can go stale after being promoted to being the
main port, and if the maintainer doesn't require a test version for
subsequent minor updates the -devel port can be older than the main one.)

I don't know if the jpeg port is up to date enough, but suspect it is
because there are a lot of things that depend on it and depend on it being
recent.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Brandon Allbery
On Wed, Feb 26, 2014 at 4:49 PM, Alexey Luchko soulne...@gmail.com wrote:

 I have working llvm-3.5 @3.5-r198565_0+assertions.
 Recently, it was updated to @3.5-r202097.

 An attempt to upgrade results in a message:
 Error: llvm-3.5 requires a C++11 runtime, which your configuration
 does not allow

 The cause is presence of /usr/lib/libc++.dylib as far as I can get.

 Does it mean that llvm-3.5 does not work on 10.7?


By itself, it works fine. The problem is that it is never by itself; it
exists in an ecosystem whose contents are defined by Apple. On 10.7 that
ecosystem is not C++11, and while you can build a C++11 ecosystem of your
own it is not compatible with anything else. In particular it is not
compatible with any C++ libraries provided by Apple as part of the base
system or Xcode, and if you ever try to use an Apple-compatible C++ library
with it you will get link errors or possibly crashes.

After playing whack-a-mole for a while trying to get stuff to coexist,
MacPorts has given up and acknowledged that the only thing that works
reliably is to go with what is compatible with Apple libraries; that means
only older llvm that uses pre-C++11 interfaces (provided by libstdc++ or an
Apple-sourced compatible libc++) on pre-10.9 and only newer llvm that uses
C++11 interfaces (provided by modern libc++ but not the libc++ shipped on
older OS X) on 10.9. Any other combination *might* work if you are lucky
but is not guaranteed in any way, and MacPorts no longer supports it.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: llvm-3.5 on 10.7.5

2014-02-26 Thread Brandon Allbery
On Wed, Feb 26, 2014 at 6:32 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 Them’s some good words there, Bradley. Do you feel up to turning it into a
 FAQ entry? It’s a complicated thing to explain to people and it would be
 great if there were a central explanation we could refer people to.


Will http://trac.macports.org/wiki/FAQ#libcpp do?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: uninstalling a selected port ...

2014-02-28 Thread Brandon Allbery
On Fri, Feb 28, 2014 at 8:44 AM, Jason Swails jason.swa...@gmail.comwrote:

 sudo port -f select --set postgresql postgresql93

 In my opinion, such protection is a Good Thing (TM).  There's a way to
 work around it if you know the reason behind the file collision, but I
 certainly wouldn't want a program (especially one I run as root) to go
 around clobbering existing files without me knowing it.


Except the implication of their preamble is that that file was left around
by removing the postgres92 port, because port select isn't sufficiently
integrated and isn't cleared when a `select`ed port is removed.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: build error x264 on OS X 10.9.1

2014-03-01 Thread Brandon Allbery
On Sat, Mar 1, 2014 at 10:26 AM, René J.V. Bertin rjvber...@gmail.comwrote:

  (Or should I make an official suggestion to
  use gcc everywhere where Apple-specific options aren't required as long
 as
  clang isn't completely ready to be the main compiler on linux? ;) )
 
  Due to the whole C++ libc++ situation, this is not going to happen.
 Clang will be our main compiler suite, and switching now and getting the
 bugs that still exist fixed is the correct thing to do. Clang is not going
 away, but GCC on OS X already has.

 I don't know what whole C++ libc++ situation you're referring to, I was
 just thinking that a large majority of the available ports are (or seem to
 be) things developed for Linux, and as such using the Linux default
 compiler would probably facilitate matters (cf. Gentoo Prefix). OTOH, I
 have


Anything that touches or might ever be used by C++ has to use clang's C++
runtime, not gcc's. This is because Apple switched all the system libraries
to clang. (It's a bit more complex than that, look in the FAQ for something
closer to the real story. http://trac.macports.org/wiki/FAQ#libcpp)

Your suggestion would work fine on Linux where gcc's C++ runtime is the
standard one (and Linux isn't allergic to GPL3 like Apple is, so it can use
a newer libstdc++ that is compatible with clang's libc++), but Apple sets
the rules here by what it does with system/Xcode provided libraries, and
the MacPorts team has already spent too much time failing to find ways to
make gcc's runtime coexist with clang's.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: build error x264 on OS X 10.9.1

2014-03-01 Thread Brandon Allbery
On Sat, Mar 1, 2014 at 11:02 AM, René J.V. Bertin rjvber...@gmail.comwrote:

 On Mar 01, 2014, at 16:36, Brandon Allbery wrote:
 That seems to apply more to using more recent LLVM/Clang on 10.8 and
 earlier (is clang-3.3 more recent or older?) than on using recent gcc
 versions on 10.9 ... but it looks like the real bottleneck is not the
 copyright flavour but binary (in)compatibility between regular (old?) C++


The copyright comes in because the compatible libstdc++ is GPL3 so Apple
refuses to ship or support it.

That I can understand, but what exactly does it mean for using gcc in one's
 own projects?


Use with care, don't expect C++ stuff built with g++ to work with Apple's
libraries. (gcc later than 4.2 uses the license-incompatible libstdc++,
which is why Apple froze gcc at 4.2 in xcode for so long.) C-only stuff is
probably okay. But you can't generally get away with using gcc for C and
clang++ for C++ in a mixed language project, and there isn't that much out
there in C++ that doesn't have some C glue somewhere because most libraries
are in C.

I'm not up on the full extent of the incompatibility, but there are a lot
of bug reports resulting from attempting to mix g++ compiled stuff with
Apple libraries with Xcode 5 so apparently there are more than just license
issues involved.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gnome-terminal again

2014-03-01 Thread Brandon Allbery
On Sat, Mar 1, 2014 at 8:39 PM, James Linder j...@tigger.ws wrote:

 The macport gnome-terminal suffers from similar active and inactive tabs

 http://askubuntu.com/questions/40332/how-to-make-selected-tab-in-terminal-more-prominent

 dconf has nothing that looks helpful and the suggestions in the above
 don’t do anything.


Theming on OS X tends to be weird, because Apple early on threatened legal
action against anyone trying to replicate Aqua in e.g. themes and the
backlash included disabling all theming on OS X. (Qt/KDE still refuses to
do any theming on OS X; I don't know if Gtk+/Gnome still does.)

Alternately has anyone a suggestion for a decent multi tab terminal, please
 I’m all ears.
 I spend 90% of my time in the terminal - it is important.


I use iTerm 2, which is the iTerm2 port in MacPorts or available as a
standalone dmg. (Note that there is also an iTerm port, which is an older
version which was desupported several years ago. iTerm 2 is enhanced from
the same codebase but with active maintainers after the original authors
dropped it.) In general it's much better than Apple's Terminal.

That said, I still don't run Mavericks much --- one small machine which is
a bit slow anyway, so I can't really judge speed.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Workaround gnutar for gdbm

2014-03-03 Thread Brandon Allbery
On Mon, Mar 3, 2014 at 6:47 PM, Alejandro Imass aim...@yabarana.com wrote:

 Path to gnu tar seems hardcoded in make procedure for gdbm so here's
 how I quickly worked around that problem:


If you get an error about /usr/bin/gnutar after upgrading, it means you did
not follow the Migration instructions (
http://trac.macports.org/wiki/Migration ) that are mandatory after any OS X
upgrade, and other things will break for you later. Your quick workaround
might work for a few things, but will also just propagate problems.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Workaround gnutar for gdbm

2014-03-03 Thread Brandon Allbery
On Mon, Mar 3, 2014 at 7:03 PM, Alejandro Imass aim...@yabarana.com wrote:

 Thanks a lot for both your replies. I will follow the upgrade
 procedure then. I was running a pretty well updated version of Xcode
 and OS X and since my Xcode didn't change I figured it was just a
 minor nuance but apparently it's not. 5 mins after I wrote the email I
 saw the first big gotcha with llvm 3 :(


Everything even remotely related to C++ is completely broken post-upgrade,
because Apple switched C++ runtimes in Mavericks. The only thing you can do
about it is rebuild, and replace some ports with compatible versions. This
kind of thing is why the Migration instructions are so invasive; there just
aren't any shortcuts you can take when Apple decides to change something
that fundamental, and they (of course) don't ask third parties for
permission before doing it. :(

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: source-highlight error after upgrade to 10.9

2014-03-05 Thread Brandon Allbery
On Wed, Mar 5, 2014 at 10:31 PM, Ryan Schmidt ryandes...@macports.orgwrote:

 Recording and restoring only requested ports sounds perfectly reasonable.
 I’m not sure why the instructions don’t say to do that. Please give it a
 try if you can! If it fails, you can always start over with the full
 reinstall list.


For what it's worth, I did this with both my recent updates (within the
past 2 years; desktop from 10.6 to 10.8 and MBA from 10.7 to 10.9) with no
problems. I considered it a chance to not only upgrade but clear out
possible deadwood.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Tried to upgrade php5 now completely messed up

2014-03-06 Thread Brandon Allbery
On Thu, Mar 6, 2014 at 12:53 PM, Greg Gulik g...@gulik.org wrote:

 The non-matching file appears to be HTML. See this page for possible
 reasons
 for the checksum mismatch:
 https://trac.macports.org/wiki/MisbehavingServers

 
 ***
 The file has been moved to: /opt/local/var/macports/
 distfiles/php5/php-5.3.28.tar.bz2.html


So have you visited that webpage and inspected the downloaded file to see
why you received HTML instead of a tarfile?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: file 5.17 error

2014-03-07 Thread Brandon Allbery
On Fri, Mar 7, 2014 at 11:32 PM, Ludwig macpo...@metaspasm.org wrote:

 Is anyone else getting the following error using file -d on seemingly any
 sort
 of text file?  I want to make sure it’s not just me before opening a
 ticket.


Reproduced here as well (in fact I hit it earlier today and used the
workaround for the same problem in OS X native `file`, which is LANG=C,
without thinking about it; was a bit short on sleep pre-nap).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: taskgated: no signature

2014-03-16 Thread Brandon Allbery
On Sun, Mar 16, 2014 at 7:41 AM, mk-macpo...@techno.ms wrote:

 On 16 Mar 2014, at 12:12 , Ian Wadham iandw...@gmail.com wrote: No. I
 have never had anything to do with gdb-apple before.
  I did a port selfupdate about 14 hours ago. Followed by a
  port upgrade outdated.  After that I tried to find the notes, but
  failed.  As I said, I am on Lion.  Eric said he is on Mountain Lion.
 Perhaps you do another selfupdate and try “port notes” once again!


It's not applicable on Lion. The `notes` declaration is in a conditional:

if {${os.platform} eq darwin  ${os.major} = 12} { ...

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: clang memory usage vs. gcc (and OS X 10.8, 10.9, ...)

2014-03-16 Thread Brandon Allbery
On Sun, Mar 16, 2014 at 11:33 AM, René J.V. rjvber...@gmail.com wrote:

 On Sunday March 16 2014 09:56:47 Ryan Schmidt wrote: clang 3.5 and later
 require C++11, and will say so if you try to install them on a system
 without C++11. Effectively, this means clang 3.5 and later require OS X
 10.9 Mavericks or later.

 Hmmm, I thought clang supported C++11 ; I presume you're referring to a
 system-dependent C++11 runtime that is not (or cannot) be provided by clang
 itself? Out of curiosity, how does this work on Linux?


Apple provides, and ships libraries that require, specific runtimes. You
could build the C++11 runtime yourself, but you will get link errors with
Apple libraries that use C++ because they only work with the old runtime.
(And conversely on 10.9, Apple libraries require the C++11 runtime and you
can't use them with stuff requiring the older one.)

http://trac.macports.org/wiki/FAQ#libcpp

Linux gets around this by forcing everything to the new runtime; Apple will
not ship GPL3 stuff so stuck to older gcc with the older runtime, until
they moved to clang completely in 10.9 and switched to clang's C++11
runtime. (gcc/g++'s C++11 runtime is GPL3+ only.)

I hate it when generic programming languages or their features become
 dependent on an OS. I can more or less accept that for ObjC because like
 .Net it is so closely related to an OS-specific GUI framework. But much
 less so for C++ ... isn't there some kind of standards committee that could
 avoid this from happening?


Hi, C++11 refers to a standard defined by a standards committee. The
problem is a *licensing* issue, and Apple made its choice in that matter
and nobody can do anything about it.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: taskgated: no signature

2014-03-17 Thread Brandon Allbery
On Mon, Mar 17, 2014 at 8:50 PM, Ian Wadham iandw...@gmail.com wrote:

 1. The check seems to be to prevent a program from starting a
 foreign process that could compromise the O/S (e.g. spyware?).
 In the long term, should MacPorts be recomending bypassing it
 with the -p and -s options?  I presume this is what MacPorts is doing.


I get the impression -s is needed if you want to attach to processes with a
debugger or dtrace; as such it is appropriate for development systems.

2. This is off-topic but I hope someone can help.  Here is what
  man taskgated says.

  -p   Accepts the old (Tiger) convention that a process with a pri-
   mary effective group of procmod or procview is allowed to get
   task ports. Without this option, this legacy mode is not sup-
   ported.

  -s   Allow signed applications marked as safe to have free
   access to task ports, without having to pass an authorization
   check. Note that such callers must be marked both allowed and
   safe.

 Although I used to be a UNIX guru/sysadmin in a former life, I do
 not understand much of the language used here, specifically
 effective group of procmod or procview, signed applications,
 marked as safe and marked both allowed and safe.


procmod and procview are groups (/etc/groups on Unix, `dscl . list
Groups` on OS X). The primary effective group ID is Apple saying must be
the egid, not just in the group vector. (If your former life was long
enough ago to be pre-SVR4, you might not know about group vectors; they're
from BSD. In short, you have not only a primary group affiliation in your
egid but an additional vector of groups of which you are a member; you can
switch the egid between any of the groups in your group vector without
requiring elevated permissions. Only root can set the group vector, just as
only root can change to an arbitrary gid. Files are created with the
primary egid, but file group access checking checks egid and the group
vector.)

The others are Apple-isms; applications can be signed with an X.509
certificate. I'll leave the rest to someone who knows more about the
specific details of Apple's code signing. `man codesign` might be somewhat
enlightening, or might not.

The Console log message I keep getting is:
 17/03/14 12:35:27.355 PM taskgated: no signature for pid=1169 (cannot make
 code: host has no guest with the requested attributes)


Again related to code signing; apparently that's taskgated-ese for I
couldn't find the kind of code signature I was looking for.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: usage numbers for macports vs. homebrew?

2014-03-18 Thread Brandon Allbery
On Tue, Mar 18, 2014 at 1:36 PM, Arno Hautala a...@alum.wpi.edu wrote:

 On Tue, Mar 18, 2014 at 6:42 AM, Clemens Lang c...@macports.org wrote:
   - homebrew doesn't try as hard as MacPorts to make builds reproducible.
 If you install vim, it'll use the first python available. When that's
 system python it uses that, if it's homebrew python it'll use that (and if
 its MacPorts python, well you get the idea)

 I'm pretty sure they consider this a strength. I already have Python!
 Why is MacPorts trying to install a new version!?


They *used* to consider that a feature, and are still slowly changing
things over; they've learned the hard way why nobody else works that way.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: /usr/include/MacPorts.h

2014-03-18 Thread Brandon Allbery
On Tue, Mar 18, 2014 at 2:10 PM, René J.V. Bertin rjvber...@gmail.comwrote:

 Not much to do with MacPorts (I hope), but I stumbled across a
 /usr/include/MacTypes.h file today on my 10.9.2 VM, dated March 17th around
 09h (=AM). I noticed it because of clashes in the Boolean typedef with the
 X11 headers that I never had, at least not before I installed Xcode 5.1 .
 My VM wasn't running at the time in question.

 Any idea why that file ended up in /usr/include instead of remaining put
 deep inside one of Apple's frameworks?


pyanfar:10002 Z$ pkgutil --file-info /usr/include/MacTypes.h
volume: /
path: /usr/include/MacTypes.h

pkgid: com.apple.pkg.DevSDK
pkg-version: 10.8.0.0.1.1306847324
install-time: 1390449425
uid: 0
gid: 0
mode: 644


-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: gnuplot

2014-03-20 Thread Brandon Allbery
On Thu, Mar 20, 2014 at 3:12 PM, Gaetano Sardina gaetano...@gmail.comwrote:

 sudo port install gnuplot I obtain the following error message:

 ---  Computing dependencies for libpng
 ---  Extracting libpng
 Error: org.macports.extract for port libpng returned: command execution
 failed
 Please see the log file for port libpng for details:

 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libpng/libpng/main.log


Could you please provide the contents of the above named file?

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: MacPorts automake and python

2014-03-20 Thread Brandon Allbery
On Thu, Mar 20, 2014 at 4:27 PM, Daniel J. Luke dl...@geeklair.net wrote:

 for perl, there's a 'vendor' directory (where we install stuff) and a
 'site' directory (where anything goes). If an end-user installs his/her own
 perl modules, they end up in the site directory (which is in $prefix).

 Of course, things could be much better for perl than the way we're doing
 things now, so maybe it's not the best example...


That is how Perl normally works, though... and how, to be honest, I'd
expect Python to behave. You need local configuration to change it.
(Possibly Perl makes this easier than Python does, though; that'd be Python
all over... One True Way instead of letting you configure it.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: kmail cannot send email : reason identified (?)

2014-03-22 Thread Brandon Allbery
On Sat, Mar 22, 2014 at 11:37 AM, Craig Treleaven ctrelea...@cogeco.cawrote:

 At 4:31 PM +0100 3/22/14, mk-macpo...@techno.ms wrote:

 On 22 Mar 2014, at 14:16 , Jeremy Lavergne jer...@lavergne.gotdns.org
 wrote:

  And I think I know why: the kioslave entry is commented out in the
 kdepimlib toplevel CMakeLists.txt file Š


 Any idea what this was commented out?
 Is that a patch applied only to make KMail run on MacPorts or is that
 coming from KDE?


 I hesitate to say anything, because I really don't know anything about the
 problem at hand, but could the 'ioslave' be a daemon that they're trying to
 start?  OS X won't permit that but Linux does.


KDE on OS X already starts plenty of daemons (notably kdeinit). While
you're supposed to do stuff through launchd, it's not absolutely
mandatory, can't be enforced, and KDE would be rather difficult to get
working at all if you couldn't.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: kmail cannot send email : reason identified (?)

2014-03-25 Thread Brandon Allbery
On Tue, Mar 25, 2014 at 8:44 AM, Nicolas Pavillon 
pavillon.nico...@gmail.com wrote:

  How come Linux distributions can provide binary packages for kdepim?
 I am not sure about that. The thing is that most of openssl use from KDE
 is swept under the carpet by avoiding any standard linking (only linking at
 runtime is used), and most project are moving to Qt SSL module instead. Not
 that anything of it changes the license restrictions.


For what it's worth, there *are* rare people in the Linux community who
won't use KDE because they do not trust license conflicts like this; KDE
has a history of them.

From a practical standpoint, though, it's effectively legal until
challenged --- and nobody seems to be willing to challenge it, so it's
ignored. I think this actually has legal implications, insofar as those
kinds of restrictions have to be enforced or challenged for them to stand
and ignoring a known violation can lead a court to conclude that the
restriction is not actually in effect; but talk to an IP lawyer about the
details. And *don't* try to rely on it, because it's only real if it
stands up in court; it's the sword of Damocles until then.

Note also that MacPorts has some constraints that others may not: if
someone *does* challenge it, Apple might as a provider of hardware and
services for MacPorts be caught by the blowback. As I understand it, the
connection is a bit closer than that of people providing hardware or
hosting for, say, Debian (although not a whole *lot* closer) --- but
sometimes these do have legal implications. So we need to be somewhat more
careful about license conflicts, just in case.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How do I cause standalone X11 apps to use MacPorts X11?

2014-03-26 Thread Brandon Allbery
On Wed, Mar 26, 2014 at 12:44 PM, Kevin Reid kpr...@switchb.org wrote:

 When I run X11 applications built by MacPorts, they open in the X11 server
 “app” built by MacPorts (/Applications/MacPorts/X11.app). When I run
 separately distributed Mac-packaged X11 applications (MCEdit, Closure (the
 game)), it opens the “X11 is no longer included with OS X” dialog.

 How do I get these applications to recognize MacPorts' X11?


They're probably linking to stuff under /usr/X11 which is stubbed to
produce that dialog. MacOSForge XQuartz installs a symlink from there to
/opt/X11 to make such things work; a similar symlink to /opt/local might
work (although it is a somewhat unfortunate solution, it seems to be how
Apple expects it to be handled given XQuartz).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How do I cause standalone X11 apps to use MacPorts X11?

2014-03-26 Thread Brandon Allbery
On Wed, Mar 26, 2014 at 1:12 PM, Kevin Reid kpr...@switchb.org wrote:

 It sounds like the assumption is that when you install third-party X11 as
 instructed by the dialog, it will _replace_ the system-provided X11. But
 MacPorts doesn't replace system files as a rule -- I'm looking for a
 solution which fits into MacPorts's way of working.


There isn't one, really; third party stuff is not expected to understand
MacPorts. The only real alternative to the symlink is finding all the stuff
in the 3rd party app and using install_name_tool to repoint it to MacPorts'
X11; this may be problematic. (Indeed, it's entirely possible that you will
run into problems with e.g. iconv with either the symlink or
install_name_tool.)

Perhaps the best solution for such third party programs is to bite the
bullet and install XQuartz. You will need to reset the launchd stuff
afterward if you want to keep using MacPorts' X11.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Install cyrus-imapd fails to configure

2014-03-28 Thread Brandon Allbery
On Fri, Mar 28, 2014 at 8:25 PM, Horst Simon horst.si...@optusnet.com.auwrote:

 I try to install cyrus=imapd on OS/X Maverick 10.9.2, with latest Xcode
 and command-line tools from March installed. It installs all the
 pre-requisites, but fails diring the configuration of cyrus=imapd with
 following message:

 Error: Failed to configure cyrus-imapd, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_cyrus-imapd/cyrus-imapd/work/cyrus-imapd-2.3.8/config.log
 Error: org.macports.configure for port cyrus-imapd returned: configure
 failure: command execution failed

 I have attached the config.log file, any suggestions?


configure:1870: /usr/bin/clang --version /dev/null 5

Agreeing to the Xcode/iOS license requires admin privileges, please
re-run as root via sudo.

Sadly MacPorts can't do this for you.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Install cyrus-imapd fails to configure

2014-03-28 Thread Brandon Allbery
On Fri, Mar 28, 2014 at 9:40 PM, Horst Simon horst.si...@optusnet.com.auwrote:

 this fixed the configure problem ,but now I am getting compile errors, the
 log is attached.


Looks like the included Perl XS module is not compatible with perl 5.16,
possibly due to incorrect/incomplete includes; it's complaining about
expansion of various XS macros referring to named like sv_undef, sv_yes,
sv_no which are part of the Perl core. I don't see a ticket for it as yet.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: How change pert5.18 to perl5.16?

2014-03-30 Thread Brandon Allbery
On Sun, Mar 30, 2014 at 5:00 PM, Murray Eisenberg murrayeisenb...@gmail.com
 wrote:

 Because p5-libapreq2 won't build with perl5.18 -- see
 http://trac.macports.org/ticket/28831 -- and because perl5.18 is
 currently my default version of perl5, I need to try again but now with
 perl5.16. How?

 I tried first sudo port select perl5 perl5.16 (and same thing with just
 perl instead of perl5) but get error The specified group 'perl5' does
 not exist.


Perl doesn't currently use the port select mechanism; there are at the
moment too many corner cases to deal with. To select the default perl, you
need to change the variant of the perl5 port:

sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16

This should not disrupt ports using a different perl version, since the
other versions will still be installed afterward.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: POSTFIX/SMTP SASL and TLS support

2014-04-02 Thread Brandon Allbery
On Wed, Apr 2, 2014 at 8:09 PM, Horst Simon horst.si...@optusnet.com.auwrote:

 On 3 Apr 2014, at 10:03, Brandon Allbery allber...@gmail.com wrote:

 On Wed, Apr 2, 2014 at 6:35 PM, Horst Simon 
 horst.si...@optusnet.com.auwrote:

 On 2 Apr 2014, at 17:46, Clemens Lang c...@macports.org wrote:
  On April 2, 2014 7:43:01 AM CEST, Horst Simon wrote:
  Is it possible to build;d it with TLS and SASL support?
 
  Yes, it is. See the output of `port variants postfix` and install
 postfix with the variants you need.

  I tried it, but how can I get both variants, it appears I can get only
 SASL or TLS, but not both, or I am missing something.


 You can specify any number of variants as long as they don't conflict;
 you're not limited to a single variant at a time.


 I tried with sudo port install postfix +tsl +sasl


I'm assuming you meant +tls. As far as I know that should have worked; I
usually don't add spaces like that between variants (that is, +tls+sasl)
but I don't think that should have broken it.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: POSTFIX/SMTP SASL and TLS support

2014-04-02 Thread Brandon Allbery
On Wed, Apr 2, 2014 at 8:28 PM, Horst Simon horst.si...@optusnet.com.auwrote:

 On 3 Apr 2014, at 11:15, Brandon Allbery allber...@gmail.com wrote:

 On Wed, Apr 2, 2014 at 8:09 PM, Horst Simon 
 horst.si...@optusnet.com.auwrote:

 On 3 Apr 2014, at 10:03, Brandon Allbery allber...@gmail.com wrote:

 On Wed, Apr 2, 2014 at 6:35 PM, Horst Simon 
 horst.si...@optusnet.com.auwrote:

 On 2 Apr 2014, at 17:46, Clemens Lang c...@macports.org wrote:
  On April 2, 2014 7:43:01 AM CEST, Horst Simon wrote:
  Is it possible to build;d it with TLS and SASL support?
 
  Yes, it is. See the output of `port variants postfix` and install
 postfix with the variants you need.

  I tried it, but how can I get both variants, it appears I can get only
 SASL or TLS, but not both, or I am missing something.


 You can specify any number of variants as long as they don't conflict;
 you're not limited to a single variant at a time.

 I tried with sudo port install postfix +tsl +sasl


 I'm assuming you meant +tls. As far as I know that should have worked; I
 usually don't add spaces like that between variants (that is, +tls+sasl)
 but I don't think that should have broken it.


 I tried too without spaces (sudo port install postfix +tls+sasl) and it
 installed sasl only not tsp, in the lo=gs I am still getting the error tsp
 not compiled.


Please attach the full main.log then. Also please check your spelling,
since you've used about 3-4 different spellings of +tls in your messages so
far; the exact spelling is +tls (stands for Transport Layer Security which
is the official name of the protocol).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: p5.12-parse-recdescent fails to upgrade

2014-04-04 Thread Brandon Allbery
On Fri, Apr 4, 2014 at 7:53 AM, René J.V. Bertin rjvber...@gmail.comwrote:

 I have a whole bunch of p5.12* ports installed, most all dependencies of
 things that ought to depend on a more recent version of perl by now. Is
 there a way to clean this up, without having to figure out the depending
 ports and reinstall those?


port installed leaves or the port_cutleaves port may be helpful.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OpenSSL

2014-04-08 Thread Brandon Allbery
On Tue, Apr 8, 2014 at 2:03 PM, Harald Hanche-Olsen han...@math.ntnu.nowrote:

 But ssh does not use the openssl libraries, so there is no point, as
 this bug will not have exposed the ssh host keys.


Actually, it does use the libraries. But only for crypto; it does not use
the SSL protocol at all, and SSL-specific protocol/extension bugs (which
this is) are not relevant.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: OpenSSL

2014-04-08 Thread Brandon Allbery
On Tue, Apr 8, 2014 at 2:49 PM, Kastus Shchuka macpo...@tprfct.net wrote:

 On Apr 8, 2014, at 11:31 AM, Niels Dettenbach wrote:
  But as far as i can read til now OpenSSH uses OpenSSL code not related to
  TLS/SSL or the ASN.1 parser which is affected here - but yesterday and
 today
  some distributors gave openssh updates in parallel regarding another
 security
  hole in OpenSSH (i.e. Debian) including a new host key generation.

 I am not sure what the problem with those distros is, but according to
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/007_openssl.patch

 ``Only SSL/TLS services are affected.  Software that uses libcrypto alone
 is not affected.  In particular, ssh/sshd are not affected and there
 is no need to regenerate SSH host keys that have not otherwise been
 exposed.''


I don't know why the openssh issues would require a new key. One is related
to AcceptEnv processing and the other to ssh fingerprints over DNS; as far
as I can tell, the latter cannot compromise a host or user private key.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Incorrect $PATH value for root user

2014-04-10 Thread Brandon Allbery
On Thu, Apr 10, 2014 at 6:39 AM, Помазёнков Виталий vit...@yandex.ruwrote:

 Type command sudo -i and fill your password.
 Type command echo $PATH.

 *Result*


 /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/local/bin:/opt/local/sbin


This is sudo's doing (and Apple's insofar as Apple determines both sudo
configuration and how the root account works), because you used -i.
MacPorts can't control either one. Try sudo -s instead; it preserves your
environment.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Incorrect $PATH value for root user

2014-04-10 Thread Brandon Allbery
On Thu, Apr 10, 2014 at 10:50 AM, Chris Jones jon...@hep.phy.cam.ac.ukwrote:

 On 10/04/14 15:48, Помазёнков Виталий wrote:

 Yes, but MacPorts can control this. Instead of specifying export
 PATH=/opt/local/bin:/opt/local/sbin:$PATH in ~/.bash_profile it can
 (and should) specify it system-wide in /etc/bashrc - in this way there
 will be no problem with programs which is also installed by Apple like
 svn - all programs will be the same version (installed by MacPorts).


 I for one, (and I am sure others too) do not want MacPorts editing system
 files like /etc/bashrc itself. If you want this, by all means do it
 yourself, but it should remain an action you have to manually have to do,
 if you want it.


Strong agreement; this is part of what I meant by it being Apple's. For one
thing, I don't think Apple promises that /etc/bashrc won't be replaced by
an OS upgrade. (Also, seriously don't place path settings in .bashrc /
bashrc, it belongs in .profile / .bash_profile / /etc/profile and things
like rvm / virtualenv / perlbrew etc. will randomly lose their settings
if you do it in the per-shell file as it overwrites their changes.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't upgrade py27-zmq

2014-04-14 Thread Brandon Allbery
On Mon, Apr 14, 2014 at 2:52 PM, Comer Duncan comer.dun...@gmail.comwrote:

 Please see the log file for port py27-zmq for details:

 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log


Without this file, nobody can tell what is going on.

(I will note that it looks like it believed nothing needed to be upgraded;
it was the post-action sanity check that failed and tried to force a
rebuild.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't upgrade py27-zmq

2014-04-14 Thread Brandon Allbery
Please keep discussion on the list.

On Mon, Apr 14, 2014 at 3:08 PM, Comer Duncan comer.dun...@gmail.comwrote:

 Ok, am attaching the main.log file.


:info:build stream = open(path, 'rb')
:info:build IOError: [Errno 13] Permission denied:
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_dateutil-2.2-py2.7.egg-info/top_level.txt'

Somehow the named file is not readable.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't upgrade py27-zmq

2014-04-14 Thread Brandon Allbery
On Mon, Apr 14, 2014 at 3:31 PM, Comer Duncan comer.dun...@gmail.comwrote:

 comermacpro:site-packages comerduncan$ cd
 python_dateutil-2.2-py2.7.egg-info/
 comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ ls
 total 48
 -rw---  1 root  wheel  970 Mar 27 18:21 PKG-INFO
 -rw---  1 root  wheel  563 Mar 27 18:21 SOURCES.txt
 -rw---  1 root  wheel1 Mar 27 18:21 dependency_links.txt
 -rw---  1 root  wheel3 Mar 27 18:21 requires.txt
 -rw---  1 root  wheel9 Mar 27 18:21 top_level.txt
 -rw---  1 root  wheel1 Nov  1 04:29 not-zip-safe
 comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ cat
 top_level.txt
 cat: top_level.txt: Permission denied
 comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ sudo cat
 top_level.txt
 Password:
 dateutil

 So, how come root rw is not enough for sudo??  If that is not the likely
 thing, then what might I do next?


1. It needs to be readable by everyone, not just root.
2. MacPorts does not do actual build operations as root, but as an
unprivileged user, for sandboxing reasons.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't upgrade py27-zmq

2014-04-14 Thread Brandon Allbery
On Mon, Apr 14, 2014 at 3:59 PM, Comer Duncan comer.dun...@gmail.comwrote:

 Ok,  I did chmod a+r while in the subdirectory where the permissions
 complaint occurred and then did sudo clean py27-zmq and then sudo install
 py27-zmq.  This time all went fine, apparently.

 Thanks for the help!!


I'd still be worried about how they got that way to start with.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 9:00 AM, Spinxer spin...@wolke7.net wrote:

 $ python
 Python 2.7 (r27:82508, Jul  3 2010, 21:12:11)
 [GCC 4.0.1 (Apple Inc. build 5493)] on darwin


You're getting /usr/bin/python (Apple's build). No idea what's up with its
PIL.

You probably want `sudo port select --set python python27; hash -r` to (a)
set MacPorts python as default and (b) tell your shell to check $PATH again
instead of using the Apple one it found before.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 9:34 AM, Jeremy Lavergne jer...@lavergne.gotdns.org
 wrote:

 You might also check:
  which -a python


Could people please stop recommending `which`? It is likely to show what
your dotfiles would do in the next shell started, NOT what the current
shell thinks. (Some versions will show what the next *login* would get, not
just the next shell in a session, depending on whether it starts as a login
shell or not.) `type` is definitive for the current shell.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem pyton PIL

2014-04-15 Thread Brandon Allbery
On Tue, Apr 15, 2014 at 4:25 PM, Spinxer spin...@wolke7.net wrote:

  Am 15.04.14 19:10, schrieb Ryan Schmidt:

 Where did /Library/Frameworks/Python.framework come from? It’s not provided 
 by Apple,

  Are you sure?

 Cite: The Apple-provided build of Python is installed in
 /System/Library/Frameworks/


Read your own message? /Library is not /System/Library.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Link against MacPorts Ruby instead of system Ruby

2014-04-26 Thread Brandon Allbery
On Sat, Apr 26, 2014 at 12:59 PM, Kevin Walzer k...@codebykevin.com wrote:

 Any suggestions, especially when the other invocation works as expected?


It may link successfully but lead to obscure core dumps at runtime, if
you're mixing the system ruby headers with a different ruby installation's
libraries.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Question on glade/gtksourceview support

2014-04-27 Thread Brandon Allbery
On Sun, Apr 27, 2014 at 2:48 PM, David Duke d.j.d...@leeds.ac.uk wrote:

 Looking around, I found few relevant posts, one (on an ubuntu forum -
 http://askubuntu.com/questions/325637/gtksourceview-in-glade-and-c)
 hinted at the need for the -dev version of libgtksourceview-3.0 which
 doesn't appear to be installed by any port / variant.  FWIW, I'm


This is completely spurious; dev packages apply to Red Hat-derived and
Debian-derived Linux only. You won't find them on Arch Linux, FreeBSD,
MacPorts, etc. The regular port installs all development files, not just
runtime.

Since it's looking for sourceview2, a gtksourceview3 port won't supply it.
Beyond that, I can't say; possibly our gtksourceview port does not install
the Glade UI catalog by default in order to avoid dragging in an otherwise
unnecessary glade dependency (and if so, possibly this could be addressed
by a variant).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: installed tree on Mavericks 10.9.2

2014-04-30 Thread Brandon Allbery
On Wed, Apr 30, 2014 at 3:07 PM, Ken G. Brown kbr...@mac.com wrote:

 Shouldn’t the install process ensure the utility is in working state or
 does a person always have to quit terminal and restart, or perhaps open a
 new Terminal window?


It is not sanely possible for programs to inject PATH changes or command
re-hashing into a running shell. Also the only way I can see what you
describe happening is that you installed MacPorts and did not follow the
directions saying that you need to start a new terminal to pick up $PATH.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Lost port command

2014-05-03 Thread Brandon Allbery
On Sat, May 3, 2014 at 1:27 PM, Bill Christensen 
billc_li...@greenbuilder.com wrote:

 I installed a non-MacPorts package on my server the other day - WordPress
 command line interface (wp-cli) which uses the wp command.  It's working
 properly.

 But I just went to do my regular updates using MacPorts, and I've lost my
 port command.  I'm getting command not found.

 How do I (a) re-establish the port command and (b) keep the wp command?


Find whatever is setting $PATH in your shell dotfiles and make it
consistent so that it can find both. (Without knowing what/how it's being
set, I can't say a whole lot more about how.)

Likely files are
~/.profile
~/.bash_profile
~/.bashrc
or if you use csh/tcsh
~/.login
~/.cshrc
~/.tcshrc

and note that you may have ended up with a setting in one of those files
overriding a setting in another.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Macports tasks not launching at boot. policy?

2014-05-05 Thread Brandon Allbery
On Mon, May 5, 2014 at 7:17 AM, Julien T julien@gmail.com wrote:

 If it's really the case, it means launchd is starting before other volumes
 are mounted, even for the local one ... :(


launchd is the process that starts the system; the only mounted volume is /
when it starts. That said, perhaps it should distinguish between minimal
stuff needed to get the system running and normal operating... but I'm not
sure that would occur to Apple. :/

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


<    1   2   3   4   5   6   7   8   9   10   >