Re: 10.6.8 and ffmpeg

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:49 PM, Al Varnell  wrote:

> When I first heard about it, over a year ago, I tried to sign my wife up
> and the only thing offered for free was Safari Extension developement and
> that free program was dropped at the same time as they reorganized the
> entire Development program a few months back.


Last time I checked it was "below the fold" but still there. I'm checking
now.


-- 
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: 10.6.8 and ffmpeg

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:37 PM, Al Varnell  wrote:

> Most users don't have access to Apple's developer download site and cannot
> be expected to pay $99 to be able to do so.


Um? $99 is only if you want signing certificates. The Mac Developer
subscription granting access to downloads is free.

-- 
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: stuck in loop with restore_ports.tcl migrating to macOS Sierra (10.12.1)

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 11:26 PM, Ken Cunningham <
ken.cunningham.web...@gmail.com> wrote:

> So I'd open that file and look at line 423 and see if you can figure out
> what is happening.


It showed what was happening, clang is good about that. What was happening
was an Apple-defined macro that somehow was not defined, so it was being
parsed as a C function call where no such code should be.

-- 
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: stuck in loop with restore_ports.tcl migrating to macOS Sierra (10.12.1)

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 9:20 PM, Murray Eisenberg 
wrote:

> I did install both Xcode 8.1 and the corresponding Xcode 8.1 tools for
> Sierra.  (not sure how to verify the version of command-line tools there.)


Then I would want to look at config.log to determine why it doesn't think
you have a compiler.

-- 
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: stuck in loop with restore_ports.tcl migrating to macOS Sierra (10.12.1)

2016-11-02 Thread Brandon Allbery
On Wed, Nov 2, 2016 at 9:08 PM, Murray Eisenberg 
wrote:

> So I started doing a reinstall of ports for migration, and at first got a
> “no C compiler available”


Sounds like missing command line tools to me.


-- 
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: command line tools for Xcode 8.1?

2016-10-28 Thread Brandon Allbery
On Fri, Oct 28, 2016 at 3:34 PM, Murray Eisenberg  wrote:

> Known Issues
>
>- There are no Command Line Tools (OS X 10.11) for Xcode 8.1. Xcode
>8.1 contains SDKs that are incompatible with earlier toolchains. Developers
>who want to make use of the Xcode 8 SDKs from the command line must choose
>the SDK with xcode-select. Developers on OS X El Capitan who have
>installed versions of the Command Line Tools (OS X 10.11) for Xcode 8.1
>should install Command Line Tools (OS X 10.11) for Xcode 7.3.1. (28234439)
>
> How does that affect Macports?
>

Same way it did with 8.0. You should install the XCode 7.3.1 Command LIne
Tools for 10.11 as specified. (So much for this being "fixed" in 8.1)

-- 
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: Servers down?

2016-10-21 Thread Brandon Allbery
On Fri, Oct 21, 2016 at 5:30 PM, Carlo Tambuatco 
wrote:

> I can't even get to the migration page on macports.org...


Reportedly, Apple horked their internal routing such that they are only
accessible from inside Apple. As if we needed another reason to ditch
MacOSForge.
Migration is currently in progress.

-- 
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: gcc6 build failed on Snow Leopard

2016-10-15 Thread Brandon Allbery
On Sat, Oct 15, 2016 at 3:43 PM, Ken Cunningham <
ken.cunningham.web...@gmail.com> wrote:

> I'm a bit curious why the comparison is successful and the build proceeds
> when the checksum differs like that ...  I'm actually not sure which build
> attempt is the more valid. Perhaps it is supposed to fail, and the error is
> in the build that proceeds?


I notice the ones that fail in both are marked "warning", whereas the ones
that fail in the failing build aren't; apparently they expect differences
for some files, maybe only on some platforms.

-- 
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: Locating libraries installed with MacPorts

2016-10-05 Thread Brandon Allbery
On Wed, Oct 5, 2016 at 6:21 PM, Mick Jordan  wrote:

> I have several libraries installed via MacPorts (that also exists in
> /usr/lib FWIW), e.g, libpcre and libz. I was rather surprised to see that
> these resolve to the MacPorts location,i.e., /opt/local/lib even though I
> am not passing -L/opt/local/lib to the link step. I thought this might be
> because I was using gcc to do the compilation/linking and that is also
> installed via MacPorts, but I get the same behavior when using clang. I
> added -Wl,-v to the link step and it lists the directories it is searching
> and /opt/local/lib is not included in the list. So my question is how is ld
> resolving to /opt/local/include. I have no environment variables such as
> LDFLAGS set, although /opt/local/bin is on my PATH.
>
> I'm running MacPorts 2.3.4 in El Capitan.
>

How is the program being built? If it uses a build framework such as
autoconf or cmake, or even just pkgconfig, it will often find things itself
(and sometimes there's no way to stop it from doing so).

-- 
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 not supported on Sierra?

2016-10-03 Thread Brandon Allbery
On Mon, Oct 3, 2016 at 5:21 PM, Dave Horsfall  wrote:

> Hmmm...  Maybe I'd better remember how I actually upgraded to Sierra; it's
> possible that I skipped a step or something.
>

Oh, it occurs to me that you actually did one step too many for that
command. Instead, load up the script to reinstall ports in an editor and
replace all +llvm35 with +llvm39.


-- 
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 not supported on Sierra?

2016-10-03 Thread Brandon Allbery
On Mon, Oct 3, 2016 at 4:59 PM, Dave Horsfall  wrote:

>
> Is there a port option to tell me what uses +llvm35 variant?


port installed variants:'\+llvm35'
(quotes needed because it's a regex, so the + needs to be escaped to be
literal... then the \ escape needs to be quoted so the shell doesn't eat 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 not supported on Sierra?

2016-10-03 Thread Brandon Allbery
On Mon, Oct 3, 2016 at 3:49 PM, Dave Horsfall  wrote:

> And something seems to want it; maybe I'd better re-install Macports or
> something, upgrade it, and see what wants it...
>

That seems like overkill. More likely something installed with a
then-default +llvm35 variant and needs to be reinstalled with a different
+llvmXX variant. (We could handle that better... somehow. Figuring out how
is, of course, the hard 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: macports-users Digest, Vol 122, Issue 2

2016-10-02 Thread Brandon Allbery
On Sun, Oct 2, 2016 at 10:01 PM, Craig Treleaven 
wrote:

> The commands to create or mount the disk must be failing, no?  Is there
> not some way to loop, with a ‘sleep 1’ until the command succeeds?  (He
> says, without looking at any of the commands involved.)


There isn't a command to mount it; it's assuming that the newly formatted
disk will be detected and automounted. But detection isn't up and running
yet, so it's ignored.

-- 
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-users Digest, Vol 122, Issue 2

2016-10-02 Thread Brandon Allbery
On Sun, Oct 2, 2016 at 9:52 PM, James Linder  wrote:

> Craig I appologise for being a dork and not reading your mail.
> The launchd plist *is* running, just not mounting:
>

You definitely need to wait for diskarbitrationd then.


-- 
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-users Digest, Vol 122, Issue 2

2016-10-02 Thread Brandon Allbery
On Sun, Oct 2, 2016 at 9:30 PM, James Linder  wrote:

>
> It still works, but not at boot time.
> Brandon you said that you had several boot launchd plists. May I see one
> please?


Probably won't help for this... if it works but not at boot time, you
probably need to wait for diskarbitrationd or some other daemon to be
ready. Unfortunately it looks like launchd has gone in the direction of
requiring programs to use socket, Mach port, or xpc dependencies, which
would be incompatible with a shell script. :/

Looks like on my current machine I have only one non-MacPorts daemon, and
it's essentially cribbed from the corresponding MacPorts daemon (sshd; I
run the main one cert-only and a private one listening only on vmnet with
password access). So it's unlikely to be helpful.


http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


Disabled

KeepAlive

Label
com.kf8nh.openssh-private
ProgramArguments

/opt/local/bin/daemondo
--label=ssh
--start-cmd
/usr/sbin/sshd
-f
/etc/sshd_private_config
;
--restart-netchange
--pid=fileauto
--pidfile=/var/run/sshd.pid








-- 
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: OT LaunchDaemon

2016-10-01 Thread Brandon Allbery
On Sun, Oct 2, 2016 at 12:10 AM, James Linder  wrote:

>
> as the magistrate says “that has a ring of truth to it”
> It does not quite work for me (I ran launchctl not launchd) but it
> certainly will lead to the solution so thanks again


bleh. sorry, spending too much time on linux these days, it is launchctl
indeed. Beyond that all I could have suggested was logging the output from
the script to see if any useful errors were coming up, and/or checking
Console.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: OT LaunchDaemon

2016-10-01 Thread Brandon Allbery
On Sat, Oct 1, 2016 at 11:43 PM, James Linder  wrote:

> I’m trying to run a rc.local at start up
> I created a launchdaemon
>

Did you load it? In 10.5 the keys in the launchd plist were sufficient, but
this made per-user launchd config difficult; later versions store the
"enabled" bit in per-uid databases (including for root) and require you to
manipulate that database:

launchd load -w /Library/LaunchDaemons/local.startup.plist

The -w is what updates the database so it will load on subsequent boots.

I've created several local launchd plists that way, and they work as long
as I have specified any dependencies properly (i.e. making sure any needed
subsystems are running; the only one that comes to mind for yours is
probably diskarbitrationd, but I don't know offhand how you specify a
dependency on 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: LibCxxOnOlderSystems - and more software that is pushing for gcc

2016-09-25 Thread Brandon Allbery
On Sun, Sep 25, 2016 at 10:14 AM, Lawrence Velázquez 
wrote:

> > (I encountered this kind of problems on Windows, which was even
> > worse, as each new release of MSVC brought in a different C/C++
> > runtime, which can also be either static or dynamic.)
>
> LOL that sounds terrible. Maybe we should count our blessings.


gcc/g++ did the same thing until the early 3.x series.

-- 
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: LibCxxOnOlderSystems - and more software that is pushing for gcc

2016-09-25 Thread Brandon Allbery
On Sun, Sep 25, 2016 at 8:29 AM, Ken Cunningham <
ken.cunningham.web...@gmail.com> wrote:

> What is happening exactly on my MacPros running 10.11, I wonder? Software
> installed by macports on 10.11 is using clang++ (mostly) and g++
> (sometimes). clang++ is linking against libc++, and g++ is presumably
>  linking against libstdc++ as that is what it does -- yet there appear to
> be no visible issues...and these libraries find each other.


An additional complication is that it's not using the same libstdc++: it's
using the GPL3 one with C++11 support, not Apple's GPL2/pre-C++11 one. So
potentially the clash here is between the two libstdc++ versions, not
libstdc++ and libc++.

-- 
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: osxfuse @3.5.0 build error

2016-09-24 Thread Brandon Allbery
On Sat, Sep 24, 2016 at 9:35 PM, David Liontooth 
wrote:

> There are lots of other advantages to MacPorts than the ease of finding
> the software -- for instance, we have a unified framework for uninstalling
> and upgrading


I had intended to mention the "and keeping it up to date" aspect; if it
were a one time thing, it wouldn't matter so much.

-- 
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: osxfuse @3.5.0 build error

2016-09-24 Thread Brandon Allbery
On Sat, Sep 24, 2016 at 9:18 PM, Al Varnell  wrote:

> Sorry for my ignorance here, but why do we need MacPorts to maintain a
> port when there is are perfectly good installers available on GitHub <
> https://osxfuse.github.io
>
> > including a developer release of version 3.5.1 posted close to a week
> ago?
>

The same can be said for a fair chunk of the software in MacPorts. Some of
us prefer not to have to chase down and (possibly build and) install every
single piece of software ourselves. That's the *point* of MacPorts.

-- 
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: osxfuse

2016-09-23 Thread Brandon Allbery
On Fri, Sep 23, 2016 at 3:57 PM, Raoul MEGELAS  wrote:

> :info:build OSXFUSEBuildTool(): supported platforms: 10.11


If there is an upstream update for Sierra then you can file a ticket to
update to it. If not, MacPorts cannot port the kernel module to the new
kernel 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: macOS Sierra / 10.12 support - where are we?

2016-09-21 Thread Brandon Allbery
On Wed, Sep 21, 2016 at 3:15 PM, Lawrence Velázquez 
wrote:

> > I recall Ryan mentioning that he was doing so.
>
> I think that was just for Python modules.


No, the one I recall was yesterday immediately after Apple released Sierra,
and specifically said he was kicking the buildbots to get Sierra builds
going.


-- 
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: macOS Sierra / 10.12 support - where are we?

2016-09-21 Thread Brandon Allbery
On Wed, Sep 21, 2016 at 3:09 PM, Lawrence Velázquez 
wrote:

> I don't believe anyone has set off a build for the express purpose of
> creating Sierra archives, but the Sierra worker is nonetheless quite busy.


I recall Ryan mentioning that he was doing so.


-- 
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: macOS Sierra / 10.12 support - where are we?

2016-09-20 Thread Brandon Allbery
On Tue, Sep 20, 2016 at 7:45 PM, Arno Hautala  wrote:

> Is an installer coming soon?


/topic on IRC:
https://sourceforge.net/projects/macports/files/MacPorts/2.3.4/MacPorts-2.3.4-10.12-Sierra.pkg/download
- Read: https://trac.macports.org/wiki/Migration
Sounds like they're updating the website now.

-- 
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: Differences between the gitflows in ports?

2016-09-14 Thread Brandon Allbery
On Wed, Sep 14, 2016 at 3:21 PM, Michael  wrote:

> So there are 5 different versions of gitflow in macports:
>
> git-flow @0.4.1_2 (devel)
> Git extensions for Vincent Driessen branching. (nvie)
>
> git-flow-avh @1.9.1_2 (devel)
> Git extensions for Vincent Driessen branching. (avh Edition)
>
> git-flow-bash-completion @0.4.2.2
>
> (devel)
> Bash completion support for git-flow.
>
> git-flow-devel @20120925 (devel)
> Git extensions for Vincent Driessen branching. (nvie devel)
>
> git-flow-hf @1.5.2_1 (devel)
> Git extensions for Vincent Driessen branching. (HubFlow)
>

Only three, actually.

git-flow-bash-completion adds entries for use by the bash-completion port
so bash can autocomplete git-flow commands; it probably works (at least to
some extent) for all of the git-flow ports.

-devel ports are generally used for testing new versions, and you usually
do *not* want to use them as normal ports. It's entirely likely that it is
*older* than the current release, since not everyone cleans up afterward if
they intend to use the -devel port for testing the next major release.

Between those three, it looks like they are forks of the original (nvie)
with presumably changed behavior; you would have to look up the upstream
details of those forks.

-- 
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 missing links

2016-09-13 Thread Brandon Allbery
On Tue, Sep 13, 2016 at 3:06 AM, David Epstein 
wrote:

> One thing that seems to be brought out (by the erroneous answer by “port
> provides ligpng.la
>
> ") is that I made a mistake when updating the OS, to have updated my
> MacPorts installation,
>

Um, a bunch of us have reported the same errant symlink, and it has already
been explained as a bug in MacPorts base.

-- 
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 missing links

2016-09-12 Thread Brandon Allbery
On Mon, Sep 12, 2016 at 11:02 PM, Al Varnell  wrote:

> In all the years I've been using MacPorts I have never needed to reinstall
> the MacPorts base for a minor upgrade.


I think that's stated, although maybe not clearly enough. Needing to do
that on a minor upgrade would be a failure of Apple release engineering.

-- 
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 missing links

2016-09-12 Thread Brandon Allbery
On Mon, Sep 12, 2016 at 10:24 PM, Dave Horsfall  wrote:

> Hmmm...  I've been following this thread, and I get:
>
> /opt/local/lib/libpng.la
>

And... just checked my 10.11 as well. Indeed:

skkukkuk «crawl*master» Z$ sudo find -L /opt/local -type l
>
> /opt/local/lib/libpng.la
>>
>  (and some others including the texlive files Dave Horsfall mentioned)

> skkukkuk «crawl*master» Z$ port provides /opt/local/lib/libpng.la
>
> /opt/local/lib/libpng.la is provided by: libpng
>
>
Sounds like the libpng Portfile is a tad buggy.

-- 
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 missing links

2016-09-11 Thread Brandon Allbery
On Sun, Sep 11, 2016 at 6:22 PM, Ryan Schmidt 
wrote:

> On my system I see the contents of that directory are provided by the
> following ports:


I think they're complaining that the directory itself should have been
cleaned up. We don't have the concept of files/directories shared between
ports, so it just doesn't get listed and therefore doesn't get cleaned up.

-- 
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 missing links

2016-09-11 Thread Brandon Allbery
On Sun, Sep 11, 2016 at 5:57 PM, David Epstein 
wrote:

> and you have told me that “mp-llvm-3.5” is not the name of a port. I do
> not understand the issues involved and their ramifications, so I may be
> saying something stupid, but it seems to me, as a naive user, that this
> reveals a rather bad design fault in “port select”.


So do we have to also install Apple's version of Python as a port in
addition to (or, perhaps, on top of? speaking of absolute no-nos) so that
selecting one of Apple's preinstalled Pythons is permissible?

-- 
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 missing links

2016-09-10 Thread Brandon Allbery
On Sat, Sep 10, 2016 at 5:51 PM, David Epstein 
wrote:

> What would happen if I gave one of your commands below, with argument a
> port that was still installed?


"port select --summary" reports as "none" in that case because the file
describing the previously selected option was removed and therefore is not
a valid setting. More to the point, if the options do not include a
MacPorts-installed one, then you can safely assume you do not have any
related port installed. For reference, your summary reports only one
setting for which a MacPorts port is installed: llvm 3.5 (mp-llvm-3.5) for
llvm.

"port select" cannot remove ports, nor should it affect any port builds (it
may actually do so, but this would be a bug that should be reported against
the port trying to use the `port select` symlink instead of an explicit
version). It is provided solely for user convenience, and should always be
safe with respect to both MacPorts and your system.

 What would happen if I gave one of your commands below, with argument a
> port that was still installed?


The default symlinks would be removed, if they exist. These would only
exist if you had done `port select` previously. They do not come from any
port, and no port should rely on their existence.

-- 
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: Do I need to uninstall MacPorts?

2016-09-08 Thread Brandon Allbery
On Thu, Sep 8, 2016 at 1:55 PM, Roberto  wrote:

> Do i need to uninstall MacPorts first, before installing the CLDT and
> then reinstall MacPorts, or can I just install the missing CLDT?


Just install 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: Can't upgrade gtk3 as part of a "upgrade outdated", Segmentation fault?

2016-08-26 Thread Brandon Allbery
On Fri, Aug 26, 2016 at 12:09 PM, Ken Cunningham <
ken.cunningham.web...@gmail.com> wrote:

> There must be a more elegant answer / way to do this, though. And there
> must be some explanation for what happens to cause this -- but I don't know
> what it is at present.


Possibly some port somewhere along the line is buggy and not using the
libcxx settings; when you reset everything you remove that port, and
everything is fine until it gets pulled back in and then subsequent builds
find it. (If this is happening in clang itself, it could be a build tool
that is not compatible.)

-- 
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 gtk3 as part of a "upgrade outdated", Segmentation fault?

2016-08-26 Thread Brandon Allbery
On Fri, Aug 26, 2016 at 12:01 PM, [ftp83plus]  wrote:

> This log is truncated because Pastebin doesn't accept its large size for
> free users. How would I post that?
>

Dropbox?

If you really can't do anything else, can you at least include some 20 or
so lines from *before* the segfault so there's some chance of determining
what caused 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: Can't upgrade gtk3 as part of a "upgrade outdated", Segmentation fault?

2016-08-26 Thread Brandon Allbery
On Fri, Aug 26, 2016 at 11:51 AM, [ftp83plus]  wrote:

> Knowing that a Segmentation fault doesn't mean much, I cleaned gtk3 at
> attempted a rebuild, but it still segfaults for some reason.
> http://pastebin.com/TK81EYnZ
>
>
> What is the source of the problem?
>

You chopped off everything that would have told us that, and included
unrelated stuff following it instead. Please provide a complete main.log;
if you have to rebuild it to get one, make sure you "sudo port clean gtk3"
first.

-- 
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 fail to "upgrade outdated" after reinstalling Mac OS X

2016-08-24 Thread Brandon Allbery
On Wed, Aug 24, 2016 at 10:33 PM, Ryan Schmidt 
wrote:

>
> That change came in Xcode 4.


hrr, right, I did end up getting xcode 4 on there (still don't understand
how unless there was a brief window before they made it pay only...)


-- 
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 fail to "upgrade outdated" after reinstalling Mac OS X

2016-08-24 Thread Brandon Allbery
On Wed, Aug 24, 2016 at 10:03 PM, Ryan Schmidt 
wrote:
>
> ...which, back in the Snow Leopard days, were not separate from Xcode.
> Rerun the Xcode installer.
>

Hm, I recall them being installable via the download pane in Preferences
back then (I stayed with SL quite a while).

-- 
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 fail to "upgrade outdated" after reinstalling Mac OS X

2016-08-24 Thread Brandon Allbery
On Wed, Aug 24, 2016 at 9:55 PM, [ftp83plus]  wrote:

> Unable to open port: can't read "build.cmd": Failed to locate 'make' in
> path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or
> at its MacPorts configuration time location, did you move it?


You forgot to install 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: Fail to execute a custom local portfile

2016-08-21 Thread Brandon Allbery
On Sun, Aug 21, 2016 at 9:37 AM, Giovanni Grieco 
wrote:

> Unable to execute port: Could not open file: /Users/…/Documents/macports/…
> /Portfile


Remember that this will be executed as the system user "macports". All
directories in the path need to have "x" access for other users, and the
Portfile itself needs "r" access for other users. Be aware that your home
directory likely prohibits access by anyone but the owner.

-- 
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: slow distfiles mirror

2016-08-08 Thread Brandon Allbery
On Mon, Aug 8, 2016 at 1:49 PM, Daniel J. Luke  wrote:

> Ryan said: "it's possible for a server to respond quickly to pings but
> slowly to actual file transfers"
>
> I'm interested in what prompted that.
>

Routers may be (sometimes configurable, sometimes not) configured to
fast-path (or, alternately, slow-path) ICMP. Some OSes also do this (it's
disconcerting to watch a Solaris box stopped with a kernel panic still
respond to ping...).

-- 
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 not working

2016-08-05 Thread Brandon Allbery
On Fri, Aug 5, 2016 at 5:25 AM, Ignatios Athanasiadis 
wrote:

> then I tried to make a shortcut for mysql that I installed using macports
> making a file .bash_profile in my root that in includes a piece of code
>
> PATH="/usr/local/mysql/bin:$PATH”
>
> as suggested in https://coolestguidesontheplanet.com/
> get-apache-mysql-php-and-phpmyadmin-working-on-osx-10-
> 11-el-capitan/#disqus_thread
>

That page appears to be assuming Homebrew or some other installation
method. MacPorts does not use /usr/local, it uses /opt/local. Also, because
multiple mysql versions may be installed concurrently, paths may differ for
direct access; you can use `port select` to make one directly available.

-- 
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 libffi on Mac OSX

2016-07-14 Thread Brandon Allbery
On Thu, Jul 14, 2016 at 4:48 PM, Asra Hassan  wrote:

> I'm trying to download demeter on m Mac OS X 10.11 El Capitan and to do
> so, I followed the steps as listed on the website by downloading xcode and
> xcode command line, I agreed to the license and I downloaded macport of my
> version of OSx. However, every time I try to run the following *sudo port
> install xorg-server demeter*  it gives me the following error msgs*
> failed to install libfii* and *processing of port demeter failed,*"file
> of the full error msg attached". I was wondering if anyone can help me
> solving this problem, it will be highly appreciated.


You appear to be running in archive-only mode, as the port install is
aborting immediately after failing to download an archive. Not all ports
are available prebuilt, for various reasons; archive-only mode is not
recommended for normal use. Since your command line doesn't have -b in it,
this is either a shell alias or "buildfromsource: never" in
/opt/local/etc/macports/macports.conf.

-- 
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: pyaudio

2016-07-10 Thread Brandon Allbery
On Sat, Jul 9, 2016 at 2:21 PM, Daniel R. Marlow 
wrote:

> appeared to go just fine, but when I run python and try to import pyaudio,
> I get an  “ImportError: No module name pyaudio” message.
>
>
>
>  Is there a PYTHONPATH setting that I am missing?
>

If it happens to be pure Python and not dependent on Python build options,
it might work with Apple's python that way. But it is not intended for use
with Apple's python because no guarantees can be made. Mismatches will
manifest as a load error, or occasionally (if Python build options are
subtly wrong) a core dump.

MacPorts will have installed python under /opt/local/bin/pythonVER (at the
moment this should be python2.7); to use Python modules installed with
MacPorts, run that python. You can make it the default with:

$ sudo port select --set python python27
$ hash -r

-- 
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: Issues with install

2016-06-10 Thread Brandon Allbery
On Fri, Jun 10, 2016 at 1:17 PM, Michael McGahan  wrote:

> I am unable to run any port commands from the terminal window. I've
> restarted terminal, I've verified I have the firewall is off (based on
> prior post) and have installed; xcode,accepted the eula, installed  Xcode
> command line and mac ports for El Capitan.


Your path wasn't set right for some reason, possibly because you have both
~/.profile and ~/.bash_profile and the install picked the wrong one. You'll
have to modify the correct shell dotfile to add /opt/local/bin and
/opt/local/sbin to the front of your 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: kerberos5 update error

2016-05-27 Thread Brandon Allbery
On Fri, May 27, 2016 at 6:05 AM, Bjarne D Mathiesen <
macint...@mathiesen.info> wrote:

> On the other hand, my Xcode 4.0.1 on my 64bit 10.6.8 hasn't given me any
> problems at all !?! but I chose to downgrade anyway ;-)
>

I ran with that configuration for several years and never saw a problem. I
think it's only 32 bit that it gets 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: use of cpus in building

2016-05-25 Thread Brandon Allbery
On Wed, May 25, 2016 at 5:22 PM, Christopher Jones  wrote:
>
> you don’t. Its automatic for the ports that allow it.


And this is also true, if that was not clear. Using multiple cores is *on
by default*. You are already getting it, unless you at some point in the
past overrode buildmakejobs in macports.conf.

-- 
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: use of cpus in building

2016-05-25 Thread Brandon Allbery
On Wed, May 25, 2016 at 5:06 PM, Comer Duncan 
wrote:

> So, where to I set 'make -j 4' so I get ports to try with 4 cores?


"buildmakejobs" in /opt/local/etc/macports/macports.conf

-- 
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: use of cpus in building

2016-05-25 Thread Brandon Allbery
On Wed, May 25, 2016 at 5:00 PM, Comer Duncan 
wrote:

> I am wondering whether the macports build system automatically uses as
> many cpus as are installed?  I have a macbook pro with 4 cores and would
> hope I can help speed up builds by making all four cores be used.  Am I
> dreaming?


MacPorts does builds with "make -j" (defaulting to one job per core) except
where ports specifically override it because they are known to not build
correctly in parallel.

-- 
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 add variant when upgrading octave

2016-05-20 Thread Brandon Allbery
On Fri, May 20, 2016 at 5:17 PM, Murray Eisenberg  wrote:

> sudo port upgrade octave +gfortran


sudo port upgrade octave -gcc48 +gfortran

-- 
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: Getting rid of port binaries in /software

2016-05-18 Thread Brandon Allbery
On Tue, May 17, 2016 at 6:38 PM, Nicolas Martin  wrote:

> Would it be safe then to have some of /opt/local/var/macports symlink-ed
> on an external hard drive ?


I used to do this on my MacBook Air. One trick was to have .../sources
symlinked as well as .../software and .../build; this meant port
sync/install/activate/deactivate and friends failed safely if I didn't have
the drive attached. (I don't know if this is still true; haven't used it in
a while, and there have been a few updates to MacPorts itself since then.)

-- 
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: mpv and python

2016-05-05 Thread Brandon Allbery
Ideally the code in there would also handle the case where a requested
Python variant isn't known to it, instead of crapping out with an undefined
variable error in Tcl.

On Thu, May 5, 2016 at 9:31 AM, Macports  wrote:

> Issues like this bug me too. I have filed a ticket [1] requesting a
> python35 variant be added.
>
>
> Cheers!
> Frank
>
> [1] 
>
> On May 5, 2016, at 7:09 AM, Russell Jones 
> wrote:
>
> It seems to have been pretty generically coded, so it may well work if you
> add 35 to the list. waf says it only works with 3.4 at
> https://github.com/waf-project/waf but maybe that's out of date?
>
>
> Russell
>
> On 05/05/16 13:53, Mark Bestley wrote:
>
> I had decided that I want python3 variants as much as possible and set
> -python27 +python35 in my variants.conf instead of setting up each variant
> manually on the command line
>
> However I tried to install mpv (which does not have a direct python
> dependency just via youtube-dl) and I got
>
> Error: org.macports.patch for port mpv returned: can't read
> "python.version": no such variable
>
> Why is it looking for python?
>
> Mark
>
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
>
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
>
>
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
>
>


-- 
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: kerberos5 update error

2016-05-03 Thread Brandon Allbery
On Tue, May 3, 2016 at 11:16 AM, Richard L. Hamilton 
wrote:

> I don't know if you have a /usr/bin/gcc-4.2 that's different from
> /usr/bin/llvm-gcc-4.2, but I did.  That might vary according to the history
> of Xcode versions installed, or some such.
>

There are gcc packages in MacPorts, and once installed you can select one
of them with configure.compiler. Someone might do this, and then file a
ticket at 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: py27-wxpython-* not working

2016-04-30 Thread Brandon Allbery
On Sat, Apr 30, 2016 at 7:10 PM, Brandon Allbery <allber...@gmail.com>
wrote:

> it's prone to tell you what a *new* shell will see --- not what your
> *current* shell is doing, because shells cache what they've already seen


I should mention that it is possible to make the shell forget what it's
seen: "hash -r" in most shells, "rehash" in *csh.

-- 
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: de/activate and Time Machine

2016-04-27 Thread Brandon Allbery
On Tue, Apr 26, 2016 at 1:26 PM, René J.V.  wrote:

> >I think you can rely on that for maybe 95% of things, but the remaining
> >5%... I've had to help people fix things afterward.
>
> Do you remember what kind of issue? I'm curious to know under what
> conditions "base" cares whether supposedly installed files are actually
> present when you do a deactivate? (Not that I ever pushed this to the
> limit...)


I was apparently headed into a brainfog when I wrote that.. recovered today
but catching up on stuff. And I think it was actually the opposite
situation that was happening: someone tried to restore /opt/local from a
backup, found that there were port components not under /opt/local missing
(notably the symlinks into launchd's directories), and a
deactivate/reactivate fixed.

-- 
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: de/activate and Time Machine

2016-04-26 Thread Brandon Allbery
On Tue, Apr 26, 2016 at 1:02 PM, René J.V.  wrote:

> Is that really a problem? IIRC I've already had restored files that had
> "mysteriously" gone missing by (force) deactivating the corresponding port
> and then activating it again


I think you can rely on that for maybe 95% of things, but the remaining
5%... I've had to help people fix things 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: de/activate and Time Machine

2016-04-26 Thread Brandon Allbery
On Tue, Apr 26, 2016 at 7:19 AM, René J.V.  wrote:

> Is there a good way to exclude most of MacPorts from being backed up while
> retaining the possibility to reinstall without rebuilding? I'm thinking of
> backing up selected bits from var/macports (notably the registry and
> software directory), probably etc/macports and libexec/macports. There's
> however the issue of user config files; are there designated locations to
> install such files?
> I have already excluded var/macports/{build,log}.
>

I back up /opt/local/etc for config files; otherwise, software/ is good to
keep archives.

The registry's a bit of a risk, since it will be logically inconsistent if
you aren't backing up the whole install. If I needed to worry about this,
I'd look to dump out just the registry parts relating to archives and write
that to somewhere that is backed up. This could be tricky, as you might
well need to munge entries relating to activated packages so they look like
inactive ones. You'd also want a simple record of what packages were
activated at the time, so the system could be reconstituted from the
inactive dump and then running port activate over the active list. (Come to
think of it. this means backing up /opt/local/etc separately so config
files don't possibly get overwritten. Yes, that would indicate Portfile
bugs, but an emergency restore is the wrong time to discover and try to
deal with those bugs.)

-- 
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: VLC fails to build

2016-04-23 Thread Brandon Allbery
On Sat, Apr 23, 2016 at 4:50 AM,  wrote:

> A search for 'DISPATCH_QUEUE_SERIAL' brought me to
>
> <
> http://stackoverflow.com/questions/10075083/restkit-undeclared-identifier-dispatch-queue-serial-inside-rkobjectmanager
> >
>
> which offered a potential solution.
>
> I am not experienced with the phases in macports build process, so here is
> my question:
>
> How to pass NULL for the second parameter to dispatch_queue_create() ?
>

You would provide a patch file modifying the source code as originally
unpacked. See https://guide.macports.org/chunked/development.patches.html
(and the rest of https://guide.macports.org/chunked/ for more information
on Portfile development). This patch should only be applied on pre-10.7
systems.


> the config log gives an error, too:
> > conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
> > #include 
>

The filename it's talking about should be a hint... it's a deliberate
failure, and if that had succeeded then configure would have aborted with a
complaint about your C compiler being broken.

Lots of configure tests fail, because configure checks for include files,
libraries, and functions that may or may not exist on any given OS or
release thereof. If the compiler doesn't error out when it should, then it
can't check what functionality works on your system.

-- 
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: php55 extension to use __()?

2016-04-22 Thread Brandon Allbery
On Fri, Apr 22, 2016 at 4:18 PM, Jim Hu  wrote:

> From what I can find online, __() is a shortcut for a translation function
> used in internationalization.


What I am seeing is that in phpMyAdmin 4.6 this is not part of gettext but
is defined in sql-parser/src/common.php.

-- 
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: iso-codes_3.43 not found but seems to be the default

2016-04-20 Thread Brandon Allbery
On Wed, Apr 20, 2016 at 2:40 PM, Patty J Bragger-Wilkinson <
bragger_patt...@lilly.com> wrote:

> What am I doing wrong here?  Or is this something that I need to report to
> the maintainers of iso-codes?


The latter. Each port exists at a defined version; you can't use the
@version syntax to specify a version to install (it only works with
activate/deactivate). So its Portfile wants 3.43 and would have to be
updated to a more recent version. File a ticket 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: Why does Git depend on perl?

2016-04-10 Thread Brandon Allbery
On Mon, Apr 11, 2016 at 12:01 AM, Carlo Tambuatco 
wrote:

> This is standard git, not some exotic variant?


Yes. Debian splits it into 'git' (the whole thing including those scripts)
and 'git-core' (the absolute minimum), but most people install the full
package and I gather maintaining the separate packages in a ports-style
system was becoming too annoying, so they were combined in MacPorts (at one
point they were separate).

-- 
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 Git depend on perl?

2016-04-10 Thread Brandon Allbery
On Sun, Apr 10, 2016 at 9:21 PM, Michael  wrote:

> Why does git need perl? Yes, my perl was outdated -- why does git need it?


left-ear Z$ file /opt/local/libexec/git-core/* | grep perl
/opt/local/libexec/git-core/git-add--interactive: a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-archimport:   a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-cvsexportcommit:  a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-cvsimport:a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-cvsserver:a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-difftool: a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-relink:   a
/opt/local/bin/perl5.22 script text executable
/opt/local/libexec/git-core/git-send-email:   a
/opt/local/bin/perl5.22 script text executable

-- 
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: WebKit2-GTK: quartz VS XQuartz

2016-04-06 Thread Brandon Allbery
On Wed, Apr 6, 2016 at 4:17 AM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> Error: org.macports.archivefetch for port zlib returned: archivefetch
> failed for zlib @1.2.8_0
>
> Error: Failed to install zlib
>

E, how did port end up in archive-only (port -b) 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: WebKit2-GTK: quartz VS XQuartz

2016-04-05 Thread Brandon Allbery
On Tue, Apr 5, 2016 at 1:42 PM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> every single module was erroring when it was trying to fetch it.


That sounds like you tried it while the MacOSForge infrastructure was down
yesterday, then. (
https://lists.macosforge.org/pipermail/macports-users/2016-April/040834.html
)

-- 
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: WebKit2-GTK: quartz VS XQuartz

2016-04-05 Thread Brandon Allbery
On Tue, Apr 5, 2016 at 1:31 PM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> `sudo port install epiphany` doesn't actually work. It stops installing
> any module as soon as it starts, probably because the amount of
> dependencies is too big.


I've never had it *stop* because of many dependencies, unless something is
really hosed (e.g. corrupt sqlite registry).

-- 
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: About mozjs24 being built

2016-04-05 Thread Brandon Allbery
On Tue, Apr 5, 2016 at 3:08 AM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> Ryan it's like this: `sudo port install xorg-server` didn't install
> XQuartz, I had to manually download XQuartz and install it or no display
> was ever found.


Did you log out and back in to activate the laund stuff after installing
the port? (as per "port notes xinit")

-- 
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: WebKit2-GTK: quartz VS XQuartz

2016-04-04 Thread Brandon Allbery
On Mon, Apr 4, 2016 at 4:21 AM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> wouldn't be better if MacPorts GTK3 was using by default quartz


Wouldn't it be better if gtk3 actually worked correctly? Which currently
means +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: About mozjs24 being built

2016-04-03 Thread Brandon Allbery
On Sun, Apr 3, 2016 at 10:53 AM, Brandon Allbery <allber...@gmail.com>
wrote:

> Install XQuartz


I should mention that MacPorts defaults to building gtk with +x11 because
many gtk-using programs either do not build or do not work properly with
gtk +quartz. If you want to try it anyway, you would remove the gtk ports
and all dependents, install gtk2 and/or gtk3 with the +quartz variant, then
reinstall the dependents you need.

Some of those may fail to install (usual symptom is failure to find
gtk/x11.h). xchat/hexchat will build but won't scroll properly. Other
things may also behave strangely.

-- 
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: About mozjs24 being built

2016-04-03 Thread Brandon Allbery
On Sun, Apr 3, 2016 at 10:49 AM, Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:

> I've also noticed, after successfully installing `gjs`, that it doesn't
> work anyway.
>
> ```
> gjs -c 'imports.gi.Gtk.init(null);'
>
> (gjs 999): Gtk-WARNING **: cannot open display:
> ```
>

Install XQuartz, either via the xquartz.macosforge.org installer or via
MacPorts (xorg-server and xinit ports).

-- 
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: Unable to read CDs

2016-04-02 Thread Brandon Allbery
On Sat, Apr 2, 2016 at 12:52 PM, Michael <keybou...@gmail.com> wrote:
>
> On 2016-04-02, at 6:15 AM, Brandon Allbery <allber...@gmail.com> wrote:
> > On Sat, Apr 2, 2016 at 3:55 AM, Paul Rands <paul00...@gmail.com> wrote:
> > > It is a music cataloging program called Tellico, and is a KDE app.
> Apart from not being > able to open up a CD / DVD drive, it works
> flawlessly.
> >
> > The Finder "owns" the CD/DVD drive; you would have to disable Finder
> support for the drive to be able to use it directly instead of via OS X
> services.
>
> How do you disable Finder's ownership of the DVD drive?
>

You can;t turn it off completely without disabling all automounting, as I
understand it.
You can do it as a one-shot by using "diskutil list" to see what device
(diskN) the DVD is (this is dynamic and will depend on what other fixed and
removable media is mounted) and then "diskutil unmint diskN" to unmount it;
the automount stuff will then ignore the drive until you are done with it
and either "diskutil mount" or "diskutil eject" it.

Why does Finder own it?
> What service/benefit does Finder provide by owning it?
>

Automounting, primarily. Opening Finder windows when you insert a CD or DVD.


> And how then does Disk Utility do it's stuff?
>

Uses OS X services to release the drive, as I mentioned earlier.

-- 
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: Unable to read CDs

2016-04-02 Thread Brandon Allbery
On Sat, Apr 2, 2016 at 3:55 AM, Paul Rands  wrote:

> It is a music cataloging program called Tellico, and is a KDE app. Apart
> from not being able to open up a CD / DVD drive, it works flawlessly.


The Finder "owns" the CD/DVD drive; you would have to disable Finder
support for the drive to be able to use it directly instead of via OS X
services. Or modify the program to use the appropriate OS X services
instead of Linux/FreeBSD-style direct access.

-- 
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: ports install but not from source (no distfiles)

2016-03-24 Thread Brandon Allbery
On Thu, Mar 24, 2016 at 11:26 AM, Tabitha McNerney 
wrote:

> I have a Mac running OS X Yosemite 10.10.5. I made and installed MacPorts
> 2.3.3 from source on this machine (with Xcode 7.2.1). All seems well (I've
> been using MacPorts for many years).
>
> After sudo port selfupdate runs successfully, when I attempt to install a
> new port with the proverbial "port install xyz" where xyz is the name of
> the port, the port installs fine but the port's distfile does not show up
> in the expected location. Take ncurses for example, for my standard
> configuration (where the prefix is /opt/local) I should see both:
>

MacPorts has had the ability to install prebuilt packages when a port has a
compatible license and is requested with default variants for many years.
It's only relatively recently that we've had the ability to *build* those
packages, though (buildbot infrastructure and storage). If you watch the
install closely, you'll see it trying to download a prebuilt package before
downloading distfiles and building locally.

If you need to have things only built locally, you can use the -s option or
modify the "buildfromsource" option
in /opt/local/etc/macports/macports.conf. (If you've been using a MacPorts
installation on that machine for a long time, you may want to review that
file against /opt/local/etc/macports/macports.conf.default to see what
options have been added and maybe change their defaults if needed.)

-- 
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 terminates under OS X 10.11.4

2016-03-22 Thread Brandon Allbery
On Tue, Mar 22, 2016 at 10:50 PM, Merton Campbell Crockett <
m.c.crock...@roadrunner.com> wrote:

> I upgraded to OS X 10.11.4 this afternoon.  Also, I upgraded Xcode to
> Xcode 7.3.  I thought that I should check for any MacPorts updates and
> encountered the following error.
>
> Error: Current platform "darwin 15" does not match expected platform
> "darwin 14"
> Error: If you upgraded your OS, please follow the migration instructions:
> https://trac.macports.org/wiki/Migration
>
> OS platform mismatch
> while executing
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform
> mismatch
>
> It seems strange that the Darwin version would change with OS X 10.11.4.
> Have I just been “lucky” with using the port command since upgrading to OS
> X 10.11?
>

You've been lucky, yes; past OS upgrades without following the Migration
steps have led to lots of pain for people, as applications continue to work
but libraries can end up quite broken.
You need to do more than just reinstall MacPorts base, unless you want to
end up with an impossible mess.

-- 
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 terminal after quitting python3

2016-03-20 Thread Brandon Allbery
On Sun, Mar 20, 2016 at 7:29 PM, Jason Swails 
wrote:

> Type "reset". I think that's the answer you're looking for here based on
> my understanding of the question.


"reset" does a bit more, like losing scrollback. "stty sane" is sufficient
and doesn't make the terminal emulator itself reset, just the stty settings
that python3 is messing up.

-- 
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 terminal after quitting python3

2016-03-20 Thread Brandon Allbery
On Sun, Mar 20, 2016 at 3:13 PM,  wrote:

> Still lost keyboard. When I start new terminal I see what I have typed
> into the dead one in command history.
> I will try to reinstall python33 with +readline.


Sorry, I meant that's what to type into the "dead" terminal to make it
behave again. When python3 is using libedit, for some reason it doesn't
reset to linemode+echo on exit. Seeing stuff in command history would seem
to confirm this.

(You could make a script to automate this, if readline turns out to be
unacceptable for some reason:

#! /bin/sh
tty="$(stty -g)"
python3 ${1+"$@"}
rc=$?
stty "$tty"
exit $rc
)

-- 
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 terminal after quitting python3

2016-03-20 Thread Brandon Allbery
On Sun, Mar 20, 2016 at 1:47 PM,  wrote:

> I found a problem in my installation. When I use python3 in terminal I am
> loosing keyboard input in the terminal after leaving the python. I have to
> quit the terminal and open another one. Python27 works OK.


I think that's known? Try typing "stty sane" and press control-J instead of
enter.
Something about it using libedit incorrectly; a workaround is to build it
with +readline.

-- 
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: Trying to execute LibcxxOnOlderSytems (2nd ed.)

2016-03-13 Thread Brandon Allbery
On Sun, Mar 13, 2016 at 10:10 PM, Chris Jones 
wrote:

> Unordered_set is only available in C++11, which the ancient gcc 4.2
> compiler being used will not support...


Then something has gone wrong because, per subject line, it's supposed to
be using a newer clang built with libc++ (aka C++11) support.

-- 
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: Trying to execute LibcxxOnOlderSytems (2nd ed.)

2016-03-13 Thread Brandon Allbery
On Sun, Mar 13, 2016 at 5:18 AM, [ftp83plus]  wrote:

> Now it's getting even more confusing for me: why would a commented out
> line still be run?


The comment is showing you what the default action is if you don't say
anything.

-- 
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 gdk-pixbuf from mpkg

2016-03-12 Thread Brandon Allbery
On Sat, Mar 12, 2016 at 6:52 PM, Ben Letham  wrote:

> I'm trying to run a simple Gtk3 PyGObject app which includes an image (and
> so uses gdk-pixbuf). When I install py35-gobject3 and gtk3 through port I
> can run the app just fine using macports python.
>
> I want to be able to distribute this to other computers without having to
> install xcode and macports, so I used macports to build mpkg's for
> py35-gobject3 and gtk3. When I install these mpkg's on a computer without
> macports, it seems that gdk-pixbuf isn't being set up correctly.
> (...)
> Is this something that I should expect to work? Any ideas on how to debug
> this?
>

Generated pkg / mpgs files make no attempt to recreate postinstall scripts;
this cannot be automated in a reliable way. You will need to inspect the
Portfile for gtk-pixbuf and for any of its dependencies to see what needs
to be run (there are a number of post-install commands that must be run for
gdk-pixbuf to work properly, IIRC).

In general you should not be trying to use those targets. Instead install a
separate MacPorts tree in a path other than /opt/local, build/install
packages using the `port` command in that path (ideally move your real
MacPorts installation out of the way and make sure it is not on $PATH, so
opportunistic configure or cmake scripts do not find and link to it), and
copy the entire tree to another machine. This still won't catch things like
launchd plists; you'll need to watch out for those manually and handle them
as necessary.

-- 
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 do so many builds fail?

2016-03-10 Thread Brandon Allbery
On Wed, Mar 9, 2016 at 11:24 PM, Bachsau  wrote:

> It is just somewhat frustrating when you're coding and get in need for
> some librarys, then do a port install or port upgrade outdated and it
> breaks the whole thing.


OS X is probably not the platform you want to use if you're doing this
often. Likewise any other rolling upgrade platform (*BSD ports, Linux
Arch/Gentoo/derivatives thereof, Debian unstable or testing, etc.). (Fink
doesn't roll quite as often as MacPorts and Homebrew, but it's still not a
stable development platform; it's more like Debian testing.)

-- 
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: Time Machine restore

2016-03-05 Thread Brandon Allbery
On Sat, Mar 5, 2016 at 8:47 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
>
> > On Mar 5, 2016, at 7:38 PM, Brandon Allbery <allber...@gmail.com> wrote:
> >
> > On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen <mark.bret...@gmail.com>
> wrote:
> > I had my hard drive wiped with a clean install of El Capitan. I noticed
> in the Time Machine checklist a MacPorts item with a message that MacPorts
> Home would moved to my user (size was zero kb). What is this and do I need
> to re-install macports? port command seems to work fine and I did not
> change operating systems.
> >
> > MacPorts sets up a non-GUI user that it does builds under (instead of
> doing them as root). Apparently Time Machine doesn't like this and wants to
> make it match your user,
> >
> > I would skip that part of it and reinstall MacPorts to make sure the
> user is set up properly. I don't know offhand if TM will restore things
> like launchd plists properly, or if you should follow Migration to make
> sure installed ports haven't lost anything.
>
> Does that include all of the ports I have installed?
>

Just reinstalling MacPorts would not affect installed ports. The Migration
stuff (https://trac.macports.org/wiki/Migration) would involve removing and
reinstalling ports.

I suppose you could just reinstall the MacPorts base and then verify that
all active ports have all their files. Reinstall any ports that report
missing files.

oIFS="$IFS"
# note that this is a single newline in single quotes
IFS='
'
for port in $(port -q echo active); do
  for file in $(port -q contents "$port" | sed -n 's/^  //p'); do
test -e "$file" || echo "MISSING from $port: $file"
  done
done
IFS="$oIFS"

-- 
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: Time Machine restore

2016-03-05 Thread Brandon Allbery
On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen  wrote:

> I had my hard drive wiped with a clean install of El Capitan. I noticed in
> the Time Machine checklist a MacPorts item with a message that MacPorts
> Home would moved to my user (size was zero kb). What is this and do I need
> to re-install macports? port command seems to work fine and I did not
> change operating systems.


MacPorts sets up a non-GUI user that it does builds under (instead of doing
them as root). Apparently Time Machine doesn't like this and wants to make
it match your user,

I would skip that part of it and reinstall MacPorts to make sure the user
is set up properly. I don't know offhand if TM will restore things like
launchd plists properly, or if you should follow Migration to make sure
installed ports haven't lost anything.

-- 
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: Creating the macports user

2016-03-03 Thread Brandon Allbery
On Thu, Mar 3, 2016 at 4:16 PM, Kendall Shaw 
wrote:

> Actually, I would still like to know what information is needed to create
> the macports user since I have to wait until an appropriate time to go
> through the migration steps.


Just installing macports via the installer dmg will do it, without
disrupting installed ports (but again, you will have disrupted some of
those anyway through missing their startupitems etc.).

-- 
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: Creating the macports user

2016-03-03 Thread Brandon Allbery
On Thu, Mar 3, 2016 at 3:56 PM, Kendall Shaw 
wrote:

> I copied macports files from a hard drive onto a new mac. It’s been a
> while but I think I just copied /opt/local.


That's far from sufficient. Other things you would be missing include
startupitems for installed ports, native apps (which are under
/Applications/MacPorts), etc. See https://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: apache2 v openssl 1.0.2g

2016-03-01 Thread Brandon Allbery
On Tue, Mar 1, 2016 at 6:23 PM, Mark Napier  wrote:

> I did a port selfupdate/port upgrade outdated today.
> Trying to restart apache2, I get
>
> httpd: Syntax error on line 101 of /opt/local/apache2/conf/httpd.conf:
> Cannot load /opt/local/apache2/modules/mod_ssl.so into server:
> dlopen(/opt/local/apache2/modules/mod_ssl.so, 10): Symbol not found:
> _SSLv2_client_method\n  Referenced from:
> /opt/local/apache2/modules/mod_ssl.so\n  Expected in:
> /opt/local/lib/libssl.1.0.0.dylib\n in /opt/local/apache2/modules/mod_ssl.so
>
> should I have a 1.0.2 version of the libssl dylib? Or did the port miss
> updating the ssl.so? If I understand the error, it is looking for obsolete
> SSLv2 bits that I would assume have been removed from 1.0.2g
>

openssl was updated without revbumping a whole bunch of dependents (sigh),
and there was a major code change (SSLv2 was completely removed from the
default build). We're still catching up on the fallout.

-- 
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: jupyter-notebook failing today?

2016-03-01 Thread Brandon Allbery
On Tue, Mar 1, 2016 at 2:16 PM, Joseph C Slater, PhD, PE <
joseph.sla...@wright.edu> wrote:

> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_
> ssl.cpython-35m-darwin.so
>
> , 2): Symbol not found: _SSLv2_method
>

Sounds like a revbump needed, or maybe even patching, for the latest SSL
issue which led to SSL2 being disabled in openssl.

-- 
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: Spawning ping for packages.macports.org failed

2016-02-26 Thread Brandon Allbery
On Fri, Feb 26, 2016 at 8:10 AM, Rainer Müller  wrote:

> In particular, do you have a /opt/local/bin/grep which fails to execute?


I don't think this matters much since it tries the fetch anyway and that
also fails to resolve the hostname.

-- 
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 are texlive-fonts-recommended stored?

2016-02-24 Thread Brandon Allbery
On Wed, Feb 24, 2016 at 7:36 PM, Jerry  wrote:

> When installing texlive-fonts-recommended, are the indicated fonts stored
> in /opt/local/ or in the usual system font place(s).


port contents texlive-fonts-recommended
?


-- 
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 install webkit-gtk and gimp2 as xsane dependencies

2016-02-15 Thread Brandon Allbery
On Mon, Feb 15, 2016 at 4:38 PM, [ftp83plus]  wrote:

> This is on OS X 10.6.8. Should I manually install the required Python
> version first?


Don't replace Apple's python. Installing a MacPorts Python won't help; the
port was changed to specifically use Apple's. Presumably this should be
reported as a bug at 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: Can't install webkit-gtk and gimp2 as xsane dependencies

2016-02-15 Thread Brandon Allbery
On Sun, Feb 14, 2016 at 11:35 PM, [ftp83plus]  wrote:

> The Python version being run doesn't look explicit to me. Any idea if it
> attempts to run a version that is not installed?
>

:info:build /usr/bin/python ./Tools/gtk/generate-
inspector-gresource-manifest.py --output
DerivedSources/WebInspectorUI/GResourceBundle.xml
"./Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js"
"./Source/WebInspectorUI/UserInterface/*.html"
"./Source/WebInspectorUI/UserInterface/*.js"
"./Source/WebInspectorUI/UserInterface/*.css" "./Source/WebInspectorUI/
UserInterface/Images/gtk/*.png" "./Source/WebInspectorUI/
UserInterface/Images/gtk/*.svg" "./Source/WebInspectorUI/
UserInterface/External/CodeMirror/*.js" "./Source/WebInspectorUI/
UserInterface/External/CodeMirror/*.css"

Although I note Apple's Python has argparse, so I'm no sure what's going on
unless this is a different Python invocation. (You might try building with
build.jobs=1 so the output isn't interleaved between threads.)

-- 
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: libgstchromaprint is busted

2016-02-14 Thread Brandon Allbery
On Sun, Feb 14, 2016 at 9:00 PM, Dave Horsfall  wrote:

> --->  Updating database of binaries
> --->  Scanning binaries for linking errors
> --->  Found 1 broken file(s), matching files to ports
> --->  Found 1 broken port(s):
>  gstreamer1-gst-plugins-bad @1.6.2
>  /opt/local/lib/gstreamer-1.0/libgstchromaprint.so
>
> And I don't even know what it is...
>

Some codec for gstreamer1. This might be caused by a missing dependency in
the Portfile, such that it was not automatically marked for rebuilding when
that dependency was updated.

Did rev-upgrade try to reinstall it? Or do you have that in report-only
mode? If the latter, try just reinstalling gstreamer1-gst-plugins-bad. Or
figure out why it was installed in the first place (presumably a dependency
of something else) and maybe remove it if it's not wanted.

-- 
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 install webkit-gtk and gimp2 as xsane dependencies

2016-02-13 Thread Brandon Allbery
On Sat, Feb 13, 2016 at 3:37 PM, [ftp83plus]  wrote:

> Hello to all,
>
> I am trying to install xsane to access a shared scanner. However, it fails
> when trying to install gimp2 and webkit-gtk as dependencies.
>
> In the webkit-gtk log, the last lines show:
> :info:build Traceback (most recent call last):
> :info:build   File "./Tools/gtk/generate-inspector-gresource-manifest.py",
> line 18, in 
> :info:build import argparse
> :info:build ImportError: No module named argparse
>

Could have used a couple lines before this to see which python is being run.


> And why would it try to add another Gimp version although I do have the
> Mac-native one installed?
>

Similar to https://trac.macports.org/wiki/FAQ#ownlibs
MacPorts cannot make *any* assumptions about any program you might have
installed from another source, if it wants to have any chance of
guaranteeing that something will work as intended once it is installed.

-- 
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: Trying to execute LibcxxOnOlderSytems (2nd ed.)

2016-02-08 Thread Brandon Allbery
On Mon, Feb 8, 2016 at 1:07 AM, [ftp83plus]  wrote:

>
> I assumed that because it is extremely rare not to get an answer from
> either Brandon, Ryan or Adam. I see them having an answer to practically
> every single request on the list…
>

I don't know much about this one, unfortunately.

-- 
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: dolfin on el capitan

2016-02-08 Thread Brandon Allbery
On Mon, Feb 8, 2016 at 7:27 PM, Gideon Simpson 
wrote:

> :info:build [ 14%] Built target vtkCommon
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1'
> :info:build make: *** [all] Error 2
>

Full log please; the above is an independent branch of a parallel build
finishing, then make exiting because all branches independent of the
failing one have completed.

-- 
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: dolfin on el capitan

2016-02-08 Thread Brandon Allbery
On Mon, Feb 8, 2016 at 7:31 PM, Gideon Simpson 
wrote:

> The log file is 5 megs, should I open a new ticket and post it to the
> site? Or send it to the list serve?


Ticket, upload to something like Dropbox --- or:

  sudo port clean vtk5; sudo port install vtk5 +python +tcltk build.jobs=1

which may be slower but won't keep building a bunch of other stuff after
the error.

-- 
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: A screenshot/webpage capture app like Shutter?

2016-02-07 Thread Brandon Allbery
On Sun, Feb 7, 2016 at 3:48 PM, bunk3m  wrote:

> I don't like using non-opensource, but it looks like only OneNote and
> Evernote allow capture of the text, links and pictures.  Both allow the
> links to continue to function and the ability to copy text.  I only wish
> they worked consistently.  :-( SOHONotes was better ... when it worked.
> Sigh.


I use Evernote's clipper with Chrome and it works pretty consistently. The
only time I have problems is when my network is acting up --- in which case
it's not going to work very well 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: installer doesn't modify root path

2016-02-02 Thread Brandon Allbery
On Tue, Feb 2, 2016 at 10:22 AM, Harald Hanche-Olsen 
wrote:

> Okay, now I am curious. How does the macports installation manipulate the
> path? As far as I know, the above method is standard, even though it may
> not be what macports does. (If I installed that file there, I must have
> done it because it didn’t work otherwise.)


The problem with paths.d is that it adds path entries *after* the standard
ones, whereas users tend to expect that e.g. /opt/local/bin/python
"overrides" Apple's /usr/bin/python. So MacPorts edits your .bash_profile
or .profile to prepend /opt/local/bin to $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: installer doesn't modify root path

2016-02-02 Thread Brandon Allbery
On Tue, Feb 2, 2016 at 9:57 AM, Harald Hanche-Olsen 
wrote:

> Well, you did not say in the bug report that you were using sudo, so no
> wonder it got closed.
>

? sudo is the recommended way to do this.


> My own systems are too heavily modified at the moment for me to be sure,
> but I have a file /etc/paths.d/45-macports containing the two lines
>
> /opt/local/bin
> /opt/local/sbin
>

This is not standard.


> These should be enough to ensure that those directories appear in the path
> when you run sudo. You can check by running “sudo printenv PATH”. I believe
> that file is installed by the macports installer? If not, you can install
> it yourself. But from what you say, I gather you must have this file? What
> about /etc/sudoers? Have you made any modifications to that file?
>

I would also suspect a sudoers modification here. The default should retain
the user's PATH, but you can configure sudo to always use the target user's
PATH instead, which would lead to this. It would be up to you to arrange
that MacPorts and other software continues to work after such a change.

-- 
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: installer doesn't modify root path

2016-02-02 Thread Brandon Allbery
On Tue, Feb 2, 2016 at 10:33 AM, Harald Hanche-Olsen 
wrote:

> An alternative would have been to modify /etc/paths instead? Or is that
> too global, or something?


Same problem, IIRC.

-- 
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: Full Disk?

2016-02-01 Thread Brandon Allbery
On Mon, Feb 1, 2016 at 6:34 PM, Ryan Schmidt 
wrote:

> Probably our recommendation at this time is: do not let your disk get more
> than 90% full. OS X already has dialog boxes that warn you when your disk
> is very full; don't ignore them.


...which you don't see over ssh

-- 
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   >