Re: kmymoney4 broken after update

2016-09-30 Thread Bradley Giesbrecht
The version/revision of active dependencies can be confirmed with:
port installed active and depof:kmymoney4


Regards,
Bradley Giesbrecht (pixilla)



> On Sep 30, 2016, at 12:55 PM, Stan Sanderson <stans...@gmail.com> wrote:
> 
> I have been very intentional about keeping my files current. I believe I am 
> working with
> the latest versions. As mentioned, by activating the previous versions of 
> gpgme and
> kdepimlibs4 the previously installed version of KMyMoney4 runs without 
> apparent error.
> 
> 
> 
> 
> 
> Stan
> 
>> On Sep 30, 2016, at 2:10 PM, Jonathan Stickel <jjstic...@gmail.com> wrote:
>> 
>> It looks like this bug is affecting you:
>> 
>> https://trac.macports.org/ticket/52342
>> 
>> Supposedly fixed now but I haven't synced and tested myself yet. Have you 
>> done sync/selfupdate recently?
>> 
>> Jonathan
>> 
>> 
>>> On 9/29/16 13:00 , macports-users-requ...@lists.macosforge.org wrote:
>>> Date: Thu, 29 Sep 2016 09:41:30 -0500
>>> From: Stanton Sanderson <stans...@gmail.com>
>>> To: MacPorts Users <macports-users@lists.macosforge.org>
>>> Subject: kmymoney4 broken after update
>>> Message-ID: <ced450ee-00d2-401f-88b5-2131cfb34...@gmail.com>
>>> Content-Type: text/plain; charset=utf-8
>>> 
>>> OS- El Capitan
>>> 
>>> Kmymoney4 is broken after yesterday updating yesterday (and again today). 
>>> The message received
>>> is
>>> Error rebuilding kmymoney4
>>>   while executing
>>> "error "Error rebuilding $portname""
>>>   (procedure "revupgrade_scanandrebuild" line 395)
>>>   invoked from within
>>> "revupgrade_scanandrebuild broken_port_counts $opts"
>>>   (procedure "macports::revupgrade" line 5)
>>>   invoked from within
>>> "macports::revupgrade $opts"
>>>   (procedure "action_revupgrade" line 2)
>>>   invoked from within
>>> "action_revupgrade $action $portlist $opts"
>>>   (procedure "action_upgrade" line 25)
>>>   invoked from within
>>> "$action_proc $action $portlist [array get global_options]"
>>>   (procedure "process_cmd" line 103)
>>>   invoked from within
>>> "process_cmd $remaining_args"
>>>   invoked from within
>>> "if { [llength $remaining_args] > 0 } {
>>> 
>>>   # If there are remaining arguments, process those as a command
>>>   set exit_status [process_cmd $remaining..."
>>>   (file "/opt/local/bin/port" line 5268)
>>> 
>>> The log file shows
>>> 
>>> ?
>>> :info:configure -- Found gpgme-config at /opt/local/bin/gpgme-config
>>> :info:configure -- Found gpgme v1.7.0, checking for flavours...
>>> :info:configure --  Found flavour 'vanilla', checking whether it's 
>>> usable...yes
>>> :info:configure --  Found flavour 'pthread', checking whether it's 
>>> usable...yes
>>> :info:configure CMake Error at 
>>> /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 
>>> (message):
>>> :info:configure   Could NOT find QGpgme (missing: _QGPGME_EXTRA_LIBRARY)
>>> :info:configure Call Stack (most recent call first):
>>> :info:configure   
>>> /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 
>>> (_FPHSA_FAILURE_MESSAGE)
>>> :info:configure   /opt/local/share/apps/cmake/modules/FindQGpgme.cmake:43 
>>> (find_package_handle_standard_args)
>>> :info:configure   CMakeLists.txt:72 (find_package)
>>> :i..
>>> ??
>>> A few days ago, one of updated ports would not install (gpgme ? ), citing a 
>>> conflict but suggesting the use of
>>> force-install. I (foolishly?) forced the install, but wasn?t too worried as 
>>> Kmymoney continued to function. However, after the latest update it is 
>>> broken.
>>> 
>>> I?m not sure what to do, don?t want to break anything else, and am 
>>> desperate to restore Kmymoney4.
>>> I?ve considered uninstalling gpgme @1.7.0_0 (which is active) and 
>>> reinstalling it, but would appreciate some advice before
>>> making a bigger mess of things.
>>> 
>>> Thanks in advance,
>>> 
>>> Stan
> ___
> 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


Re: Problem w/ MySQL57 install

2016-07-25 Thread Bradley Giesbrecht
> On Jul 25, 2016, at 8:02 PM, Bill Christensen <billc_li...@greenbuilder.com> 
> wrote:
> 
> > On Jul 25, 2016, at 12:04 AM, Bill Christensen 
> > <billc_li...@greenbuilder.com> wrote:
> 
> >
> > When I load MySQL and try to connect I get
> >
> >  Can't connect to local MySQL server through socket 
> > '/opt/local/var/run/mysql57/mysqld.sock' (2)
> 
> On Mon, Jul 25, 2016 at 4:57 PM, Bradley Giesbrecht <pixi...@macports.org> 
> wrote: 
> 
> If the mysql.sock file does not exist and mysql57 is running
> 
> Just to be clear:  I run 
> 
>  ps -ax | grep mysql
> 
> and get only 
> 
>  751 ttys0160:00.01 grep mysql
> 
> which appears to me to indicate that mysql is NOT running.  Correct?   

Yes, mysql is not running.

You could try running mysqld directly to see if it gives any clues as to what 
the problem is:

sudo /opt/local/lib/mysql57/bin/mysqld --user=_mysql


Regards,
Bradley Giesbrecht (pixilla)


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


Re: Problem w/ MySQL57 install

2016-07-25 Thread Bradley Giesbrecht
> On Jul 25, 2016, at 12:04 AM, Bill Christensen  
> wrote:
> 
> Hi folks,
> 
> in the instructions at https://trac.macports.org/wiki/howto/MySQL (written to 
> MySQL56, though I'm using the same instructions to install MySQL57 instead), 
> it says to run
> 
>   sudo -u _mysql mysql_install_db
> 
> Doing so for MySQL57 gives the message:
> 
>  [WARNING] mysql_install_db is deprecated. Please consider switching to 
> mysqld --initialize
> 
> I tried
> 
> sudo -u _mysql mysqld --initialize
> 
> but that gave me 
> 
> [ERROR] --initialize specified but the data directory has files in it. 
> Aborting.
> 
> which appears to be true Is there a different command I should be using, 
> or are there some missing options which need to be specified?
> 
> When I load MySQL and try to connect I get
> 
>  Can't connect to local MySQL server through socket 
> '/opt/local/var/run/mysql57/mysqld.sock' (2)

If the mysql.sock file does not exist and mysql57 is running then there is 
likely a my.cnf options file in one of the paths that mysql searches.

http://dev.mysql.com/doc/refman/5.7/en/option-files.html

Rename or delete the options file if found.


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


Re: Problem w/ MySQL57 install

2016-07-25 Thread Bradley Giesbrecht
> On Jul 25, 2016, at 12:04 AM, Bill Christensen <billc_li...@greenbuilder.com> 
> wrote:
> 
> Hi folks,
> 
> in the instructions at https://trac.macports.org/wiki/howto/MySQL (written to 
> MySQL56, though I'm using the same instructions to install MySQL57 instead), 
> it says to run
> 
>   sudo -u _mysql mysql_install_db
> 
> Doing so for MySQL57 gives the message:
> 
>  [WARNING] mysql_install_db is deprecated. Please consider switching to 
> mysqld —initialize

Since this is warning and not an error this command likely did what you wanted.

> I tried
> 
> sudo -u _mysql mysqld --initialize
> 
> but that gave me 
> 
> [ERROR] --initialize specified but the data directory has files in it. 
> Aborting.
> 
> which appears to be true Is there a different command I should be using, 
> or are there some missing options which need to be specified?
> 
> When I load MySQL and try to connect I get
> 
>  Can't connect to local MySQL server through socket 
> '/opt/local/var/run/mysql57/mysqld.sock' (2)
> 
> Any hints on where I'm going wrong?

Did you install the mysql57-server port?

sudo port install mysql57-server
sudo port load mysql57-server


Regards,
Bradley Giesbrecht (pixilla)




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


Re: How to discover what TeXLive ports I need

2016-05-19 Thread Bradley Giesbrecht
> On May 19, 2016, at 5:59 PM, Dan Ports <dpo...@macports.org> wrote:
> 
> On Thu, May 19, 2016 at 02:11:44PM +0200, Mojca Miklavec wrote:
>> *Personally* I would find it most useful if I could search for, say,
>> "prettyref.sty" with a command like
>>port searchfile "prettyref.sty"
> 
> I'd find that to be a pretty useful feature in general (like apt-file).
> One could imagine that since we're building packages now we could build
> an index of which files are in all of the packages…

I useful idea resurfaces.

+1

And put the searchable index on the MacPorts website as well.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Dovecot Setup Issue.

2016-05-05 Thread Bradley Giesbrecht
> On May 4, 2016, at 6:35 PM, Karl Willoughby <k...@wyltowyn.nzld.com> wrote:
> 
> Hi MacPorts Users.
>  
> I have a Mac mini running OS X Yosemite and I'm attempting to follow these 
> instructions:
> https://trac.macports.org/wiki/howto/SetupDovecot 
> <https://trac.macports.org/wiki/howto/SetupDovecot>
I did not realize this wiki article exists. It should be removed as the 
“dovecot” port is ancient.

You should use the “dovecot2” port. If you want virtual users look at one of 
the sql variants:
port variants dovecot2

Example for virtual users in mysql:
sudo port install dovecot2 +mysql56

If you want sieve support (server side filtering) install the dovecot2-sieve 
port:
sudo port install dovecot2-sieve

If you want to train/retrain messages as spam by dragging message from/to a 
“Junk” folder install the dovecot2-antispam port:
sudo port install dovecot2-antispam

After that you should be able to follow most any dovecot2 configuration howto, 
skipping the install parts.


Regards,
Bradley Giesbrecht (pixilla)

___
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-28 Thread Bradley Giesbrecht
> On Apr 28, 2016, at 12:35 AM, René J.V. Bertin <rjvber...@gmail.com> wrote:
> 
> On Wednesday April 27 2016 23:10:20 Brandon Allbery wrote:
> 
>> I was apparently headed into a brainfog when I wrote that.. recovered today
> 
> Heh, why do I seem to relate ... :)
> 
>> backup, found that there were port components not under /opt/local missing
>> (notably the symlinks into launchd's directories), and a
>> deactivate/reactivate fixed.
> 
> That also sounds familiar in the sense of been there, done that.
> 
> Good, so it should indeed be possible to come up with a script or the like 
> that sets up Time Machine to do only an "economic" kind of backing up of 
> ${prefix}. Supposing that all ports that do use site-specific configuration 
> files store those files under etc/ .

Apache2 (2.2) stores files in prefix/apache2. Apache24-devel (2.4) fixes that.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: How do I find out who requested a port?

2016-04-14 Thread Bradley Giesbrecht
port echo leaves
man port

port uninstall leaves


Regards,
Bradley Giesbrecht (pixilla)




> On Apr 13, 2016, at 4:42 PM, Jeremy Lavergne <jer...@lavergne.gotdns.org> 
> wrote:
> 
> Check out port requested (or perhaps port echo requested if it isn't 
> available in the first form).
> 
> If you asked for the installation explicitly, it'll show up in that list. 
> Anything is an automatic installer to fulfill dependency requirements.
> 
> Note if the requested package was removed or never installed, the 
> notrequested (another key word you can likely use in a port command) will say 
> no dependents and not requested. These are called leaves and can be safely 
> pruned: I believe there's a port to automate that removal, port_cutleaves.
> 
> On April 13, 2016 7:02:09 PM EDT, Michael <keybou...@gmail.com> wrote:
>> 
>> On 2016-04-13, at 3:50 PM, Jeremy Lavergne <jer...@lavergne.gotdns.org>
>> wrote:
>> 
>>> Check out `port dependents gdk-pixbuf2` (with port deps being the
>> other direction).
>> 
>> keybounceMBP:Mlp michael$ port dependents xorg-libX11
>> gdk-pixbuf2 depends on xorg-libX11
>> mesa depends on xorg-libX11
>> xorg-libXext depends on xorg-libX11
>> xorg-libXfixes depends on xorg-libX11
>> xorg-libXt depends on xorg-libX11
>> xrender depends on xorg-libX11
>> keybounceMBP:Mlp michael$ port dependents mesa
>> mesa has no dependents.
>> keybounceMBP:Mlp michael$ port dependents gdk-pixbuf2
>> gtk2 depends on gdk-pixbuf2
>> keybounceMBP:Mlp michael$ 
>> 
>> Hmm, so mesa is one of them, and nothing depends on mesa (so who asked
>> for it / why is it there?)
>> 
>> But also gtk2. I thought gtk3 was the current version -- gtk2 isn't
>> even maintained if I understood correctly.
>> 
>> keybounceMBP:Mlp michael$ port dependents gtk2
>> gtk2 has no dependents.
>> 
>> And who asked for it?
>> 
>>> On April 13, 2016 6:42:42 PM EDT, Michael <keybou...@gmail.com>
>> wrote:
>>>> How do I find out which port requested another port?
>>>> 
>>>> Specifically, lets say I'd rather have quartz-based, rather than
>>>> x11-based, ports installed.
>>>> 
>>>> Attempting to install gtk3 -x11 +quartz gave me the error message
>> that
>>>> gdk-pixbuf2 must be installed without +x11.
>>>> 
>>>> So I've got X11 installed, without realizing it, and without wanting
>>>> it.
>>>> How would I go about tracing down all the ports that I'd need to
>>>> re-install without X11?
>>>> 
>>>> ---
>>>> Entertaining minecraft videos
>>>> http://YouTube.com/keybounce
>>>> 
>>>> ___
>>>> macports-users mailing list
>>>> macports-users@lists.macosforge.org
>>>> https://lists.macosforge.org/mailman/listinfo/macports-users
>>> 
>> 
>> ---
>> Entertaining minecraft videos
>> http://YouTube.com/keybounce
> 
> ___
> 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


Re: Disabling MySQL skip-networking ??

2016-02-24 Thread Bradley Giesbrecht
> On Feb 24, 2016, at 5:31 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> 
> On Feb 24, 2016, at 5:10 PM, David Herron wrote:
> 
>> I want to have MySQL on my laptop with no skip-networking and with
>> 
>> bind-address=127.0.0.1
>> 
>> 
>> 
>> The problem is that the /opt/local/etc/mysql56/macports-default.cnf has 
>> skip-networking
>> 
>> The reasoning given is so we can run multiple simultaneous MySQL's 
>> side-by-side.
>> 
>> But.. what if I am okay with using just one MySQL and want/need to use a 
>> TCP/IP connection to access the database?
>> 
>> As it is, the MacPorts MySQL sets skip-networking in a file which will be 
>> overwritten whenever I upgrade (via selfupdate or whatever).  Which means 
>> even if I commented out skip-networking, it can reappear some later time and 
>> I might not remember about this setting. 
>> 
>> That's what just happened to me.  I remember now a few weeks ago having 
>> pulled my hair out over why I couldn't access MySQL, and then finding the 
>> skip-networking option and commenting it out.  Then today I again spent most 
>> of the day tearing my hair out, then finding that option had mysteriously 
>> uncommented itself.
>> 
>> Would it be enough to remove the "!include" line from my.cnf?  Would the 
>> macports-default.cnf then be ignored?
> 
> Yes, if you don't want the behavior of the macports default config, don't 
> include it in your my.cnf. Your my.cnf file is yours to edit; MacPorts won't 
> touch it.

David, I feel your pain, we tried to make it clear in the notes, perhaps the 
notes could be improved:
port notes mysql56


Regards,
Bradley Giesbrecht (pixilla)

___
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-11 Thread Bradley Giesbrecht
> On Feb 11, 2016, at 10:37 AM, [ftp83plus] <ges...@ftp83plus.net> wrote:
> 
> Not working, ld64-136 must be uninstalled first:
> 
> --->  Deactivating llvm-3.4 @3.4.2_8
> --->  Unable to deactivate llvm-3.4 @3.4.2_8, the following ports depend on 
> it:
> --->  ld64-136 @136_2+llvm34
> Error: org.macports.deactivate for port llvm-3.4 returned: Please uninstall 
> the ports that depend on llvm-3.4 first.
> 
> Is my assumed syntax correct? Or should I simply add ld64-136 to the 
> "deactivate" line?

Yes, llvm-3.4 is installed with the +llvm34 variant which is preventing the 
deactivation of llvm-3.4.

Regards,
Bradley Giesbrecht (pixilla)

___
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-11 Thread Bradley Giesbrecht
> On Feb 11, 2016, at 1:08 PM, [ftp83plus] <ges...@ftp83plus.net> wrote:
> 
> Did you mean "ld64-136 is installed with the +llvm64 variant" ?
> 
> Just want to be sure
> 
> El 11 févr. 2016, a las 15:16, Bradley Giesbrecht escribió:
> 
>>> On Feb 11, 2016, at 10:37 AM, [ftp83plus] <ges...@ftp83plus.net> wrote:
>>> 
>>> Not working, ld64-136 must be uninstalled first:
>>> 
>>> --->  Deactivating llvm-3.4 @3.4.2_8
>>> --->  Unable to deactivate llvm-3.4 @3.4.2_8, the following ports depend on 
>>> it:
>>> --->ld64-136 @136_2+llvm34
>>> Error: org.macports.deactivate for port llvm-3.4 returned: Please uninstall 
>>> the ports that depend on llvm-3.4 first.
>>> 
>>> Is my assumed syntax correct? Or should I simply add ld64-136 to the 
>>> "deactivate" line?
>> 
>> Yes, llvm-3.4 is installed with the +llvm34 variant which is preventing the 
>> deactivation of llvm-3.4.

Correct, I meant to say “ld64-136 is installed with the +llvm34 variant”.

port info --depends ld64-136 +llvm34
depends_build: path:include/mach-o/arm/reloc.h:libmacho-headers
depends_run: 
depends_fetch: 
depends_lib: port:llvm-3.4
depends_extract: 


Regards,
Bradley Giesbrecht (pixilla)

___
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-08 Thread Bradley Giesbrecht
> On Feb 7, 2016, at 10:51 PM, Clemens Lang <c...@macports.org> wrote:
> 
> On February 7, 2016 9:48:22 PM GMT+01:00, bunk3m <bun...@gmail.com> wrote:
>> FF does capture a png of the site page.  While a png is good, it will 
>> not allow copy and paste of any of the text and as you mentioned, it 
>> won't allow using the links.
> 
> If you don't need JavaScript-support and the page you're trying to dump is 
> accessible without cookies, maybe wkhtmltopdf is for you? Unfortunately it 
> doesn't seem like we have it ported in macports yet - any takers? 
> 
> Otherwise it seems that going for the "save page with assets" option would 
> also fulfill your needs. 


I had a port for wkhtmltopdf a few years ago; I’ll try to locate it.


Regards,
Bradley Giesbrecht (pixilla)

___
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 Bradley Giesbrecht
Qsnap with Safari worked for my needs a while back.

Regards,
Bradley Giesbrecht (pixilla)


> On Feb 7, 2016, at 12:52 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sun, Feb 7, 2016 at 3:48 PM, bunk3m <bun...@gmail.com 
> <mailto:bun...@gmail.com>> 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 <mailto:allber...@gmail.com>  
> ballb...@sinenomine.net <mailto:ballb...@sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net 
> <http://sinenomine.net/>___
> 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


Re: New Mac OS Forge administrator

2015-11-20 Thread Bradley Giesbrecht
> On Nov 19, 2015, at 6:49 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> Dear MacPorts users and developers,
> 
> I'm pleased finally to be able to tell you that I have been hired to be your 
> new Mac OS Forge administrator. I have been involved in improving MacPorts 
> for years as a committer and as a manager, and now as a Mac OS Forge 
> administrator I will work on ensuring our infrastructure runs smoothly too.
> 
> I apologize for the downtime we've experienced in the past months. My 
> priority right now is to resolve the existing issues, as I become familiar 
> with the systems.
> 
> Please continue to report new problems with MacPorts infrastructure (server 
> not working) as you have before, using the server/hosting component in Trac 
> or via email to admin at macosforge dot org. And continue to report MacPorts 
> administrative issues (mailing list issues, commit access requests) to 
> portmgr at macports dot org.
> 
> Thanks for your patience and support and thank you for using MacPorts.
> 
> -Ryan

Bam, confidence restored!

Congratulations.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Tickets #45740 and #45739

2015-11-11 Thread Bradley Giesbrecht
> On Nov 11, 2015, at 8:46 AM, Mark Brethen <mark.bret...@gmail.com> wrote:
> 
> There are a couple of tickets I have been working on for over a year that I 
> would like to get checked out.


Convenience links:
https://trac.macports.org/ticket/45740
https://trac.macports.org/ticket/45739


Regards,
Bradley Giesbrecht (pixilla)

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


Re: openssl vs. libressl

2015-11-11 Thread Bradley Giesbrecht
> On Nov 11, 2015, at 4:15 AM, René J.V. Bertin <rjvber...@gmail.com> wrote:
> 
> - when a user made the opposite choice (say libressl instead of openssl), 
> doing `port install curl` (for example) will translate to `port install curl 
> +libressl` which means s/he won't benefit of binary packages for curl when 
> curl has not expressed a preference for libressl.

I believe most openssl dependent ports are not binary distributable due to the 
openssl license.

If libressl has a better license this would be a good reason to make it the 
default ssl and openssl the alternative.


Regards,
Bradley Giesbrecht (pixilla)

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


Xcode major version upgrades, migration?

2015-09-17 Thread Bradley Giesbrecht
The migration guide [1] says the migration is not if you are only upgrading 
Xcode. Does this hold for Xcode major version upgrades?

[1] http://trac.macports.org/wiki/Migration

Regards,
Bradley Giesbrecht (pixilla)




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


Re: Xcode major version upgrades, migration?

2015-09-17 Thread Bradley Giesbrecht
Thank you Brandon.

Regards,
Bradley Giesbrecht (pixilla)


> On Sep 17, 2015, at 11:22 AM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Thu, Sep 17, 2015 at 2:13 PM, Bradley Giesbrecht <pixi...@macports.org 
> <mailto:pixi...@macports.org>> wrote:
> The migration guide [1] says the migration is not if you are only upgrading 
> Xcode. Does this hold for Xcode major version upgrades?
> 
> Yes; while it may provide new compilers, the runtime part of libraries such 
> as libSystem, libc++, etc. come with the OS and are upgraded with the OS --- 
> and it is these whose compatibility issues require the Migration steps. 
> (Otherwise, an Xcode upgrade would need to include an OS upgrade, and would 
> cause Apple many support headaches.)
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com <mailto:allber...@gmail.com>  
> ballb...@sinenomine.net <mailto:ballb...@sinenomine.net>
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net 
> <http://sinenomine.net/>
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: uninstalling gimp

2015-09-11 Thread Bradley Giesbrecht
> On Sep 10, 2015, at 4:21 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> On Sep 10, 2015, at 17:55, David Epstein wrote:
>> 
>> It took me a long time to uninstall gimp.
>> 
>> I tried
>> port list gimp
>> and got the reply
>> gimp   @2.8.14 graphics/gimp
>> 
>> Was I supposed to realise from this reply that I needed to give the command
>> sudo port uninstall gimp2
>> ??
>> 
>> I initially tried
>> sudo port uninstall gimp
>> and the command completed without comment or response.
>> 
>> Is this difficulty special to gimp, or is there some MacPorts convention or 
>> rule that I don’t know about?
> 
> "port list" tells you about ports that are available, not ports that are 
> installed. If you want to know what ports are installed, for example so that 
> you can uninstall some of them, use the command "port installed". 
> 
> If you want to restrict the list of installed ports to those containing a 
> certain substring such as "gimp" you can use "port installed name:gimp". 

The port man page is pretty good:

$ man port

Regards,
Bradley Giesbrecht (pixilla)

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


Re: mariadb upgrade fetch fail last

2015-08-19 Thread Bradley Giesbrecht
 On Aug 18, 2015, at 1:12 PM, Stan Sanderson stans...@gmail.com wrote:
 
 
 On Aug 18, 2015, at 2:13 PM, Jan Steinman j...@ecoreality.org wrote:
 
 From: Stan Sanderson stans...@gmail.com
 
 Re: fail to fetch on OS 10.10.5, MacBook Air- I copied 
 mariadb-5.5.43.tar.gz from the iMac into the dist file on the Air. I then 
 ran port upgrade outdated and achieved success.
 
 No idea why it wouldn?t fetch, despite 4 tries at different times, going 
 through the list of available mirrors.

It sounds like there was a problem with one/some of the MacPorts mirrors.

Stan and Jan, do you know the mirrors you were fetching from?

For me, “port fetch mariadb” fetched the mariadb sources without issue from the 
following mirror.
http://distfiles.macports.org/mariadb/mariadb-5.5.43.tar.gz  

—
Bradley Giesbrecht (pixilla)

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


Re: mariadb upgrade fetch fail last

2015-08-19 Thread Bradley Giesbrecht
On Aug 19, 2015, at 7:34 AM, Bradley Giesbrecht pixi...@macports.org wrote:
 
 On Aug 18, 2015, at 1:12 PM, Stan Sanderson stans...@gmail.com 
 mailto:stans...@gmail.com wrote:
 
 
 On Aug 18, 2015, at 2:13 PM, Jan Steinman j...@ecoreality.org 
 mailto:j...@ecoreality.org wrote:
 
 From: Stan Sanderson stans...@gmail.com mailto:stans...@gmail.com
 
 Re: fail to fetch on OS 10.10.5, MacBook Air- I copied 
 mariadb-5.5.43.tar.gz from the iMac into the dist file on the Air. I then 
 ran port upgrade outdated and achieved success.
 
 No idea why it wouldn?t fetch, despite 4 tries at different times, going 
 through the list of available mirrors.
 
 It sounds like there was a problem with one/some of the MacPorts mirrors.
 
 Stan and Jan, do you know the mirrors you were fetching from?
 
 For me, “port fetch mariadb” fetched the mariadb sources without issue from 
 the following mirror.
 http://distfiles.macports.org/mariadb/mariadb-5.5.43.tar.gz 
 http://distfiles.macports.org/mariadb/mariadb-5.5.43.tar.gz  


I’m updating the mariadb port to 5.5.45 and will commit after a test build.

Lets see if this problem disappears with mariadb 5.5.45.

—
Brad___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: mariadb upgrade fetch fail last

2015-08-19 Thread Bradley Giesbrecht
 On Aug 19, 2015, at 10:13 AM, Stan Sanderson stans...@gmail.com wrote:
 
 
 On Aug 19, 2015, at 11:50 AM, Bradley Giesbrecht pixi...@macports.org 
 mailto:pixi...@macports.org wrote:
 
 On Aug 19, 2015, at 7:34 AM, Bradley Giesbrecht pixi...@macports.org 
 mailto:pixi...@macports.org wrote:
 
 On Aug 18, 2015, at 1:12 PM, Stan Sanderson stans...@gmail.com 
 mailto:stans...@gmail.com wrote:
 
 
 On Aug 18, 2015, at 2:13 PM, Jan Steinman j...@ecoreality.org 
 mailto:j...@ecoreality.org wrote:
 
 From: Stan Sanderson stans...@gmail.com mailto:stans...@gmail.com
 
 Re: fail to fetch on OS 10.10.5, MacBook Air- I copied 
 mariadb-5.5.43.tar.gz from the iMac into the dist file on the Air. I 
 then ran port upgrade outdated and achieved success.
 
 No idea why it wouldn?t fetch, despite 4 tries at different times, going 
 through the list of available mirrors.
 
 It sounds like there was a problem with one/some of the MacPorts mirrors.
 
 Stan and Jan, do you know the mirrors you were fetching from?
 
 For me, “port fetch mariadb” fetched the mariadb sources without issue from 
 the following mirror.
 http://distfiles.macports.org/mariadb/mariadb-5.5.43.tar.gz 
 http://distfiles.macports.org/mariadb/mariadb-5.5.43.tar.gz  
 
 
 I’m updating the mariadb port to 5.5.45 and will commit after a test build.
 
 Lets see if this problem disappears with mariadb 5.5.45.
 
 —
 Brad
 
 Regarding the mirrors- I know of no reason the iMac would be using a 
 different set of mirrors than the MacBook. When using the MacBook on the 
 evening of the 17th and subsequently additional attempts on the following 
 day, the Fetch phase went through the entire list of mirrors before Port 
 Upgrade gave up. Each time the fetch hung at 99%. Later a manual port fetch 
 reported 99.9%. It was as if the final handshake was never acknowledged (or 
 something like that!). Unfortunately, I didn’t pay attention to the byte 
 count.

Network?

I just pushed mariadb 5.5.45.

https://trac.macports.org/changeset/139519 
https://trac.macports.org/changeset/139519


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Can we get a port for LyX dev?

2015-07-23 Thread Bradley Giesbrecht
On Jul 23, 2015, at 3:35 AM, Jerry lancebo...@qwest.net wrote:
 
 I'm not sure how to contact the maintainer of the LyX port

port info LyX

or

port info --maintainers LyX

—
Bradley Giesbrecht (pixilla)

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


Re: [MacPorts] #47755: Broken symlink left by select code when selected port is deactivated causes poppler and other ports using aclocal to fail during configuration.

2015-06-23 Thread Bradley Giesbrecht

 On Jun 23, 2015, at 2:09 PM, Jeremy Lavergne jer...@lavergne.gotdns.org 
 wrote:
 
 On Tue, June 23, 2015 16:53, Brandon Allbery wrote:
 On Tue, Jun 23, 2015 at 4:30 PM, Christopher David Ramos 
 m74z00...@gmail.com wrote:
 
 Still, I think the Macports version of git should have
 some mechanism, or some warning -- something -- to warn or prevent
 conflicts between Macports and git projects.
 
 
 Umm, AI much?
 
 
 Basically you seem to be asking for something that can magically analyze
 random source code and determine that it will conflict. This is not as
 simple as you seem to think it is; in fact it's a very unsolved problem.
 
 Even MacPorts doens't know which of its ports will cause a conflict; it
 relies solely on the package maintainers to manually declare them as much.
 
 If only we tracked what each package installed: we could find all
 conflicts before they happen, and we could tell people what packages to
 install for a given binary!

+1

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


Re: Anybody have a G5?

2015-06-02 Thread Bradley Giesbrecht
On Jun 2, 2015, at 7:36 AM, Ryan Schmidt ryandes...@macports.org wrote:

 I'm looking for a volunteer who has a working Mac with a PowerPC G5 processor 
 and MacPorts installed, who could run a small test for me.

I have a G5 that I haven't run in a year and a half. If given a day or two I 
could turn it up. What OS would you want to run?


Regards,
Bradley Giesbrecht (pixilla)

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


Re: what was up with ntp again?

2015-03-24 Thread Bradley Giesbrecht

On Mar 23, 2015, at 11:10 AM, Mihai Moldovan io...@macports.org wrote:

 On 23.03.2015 07:05 PM, Christopher Jones wrote:
 I also do not have /etc/ntp.drift on either of my OSX10.10 machines.
 On 23 Mar 2015, at 5:54pm, Brandon Allbery allber...@gmail.com
 mailto:allber...@gmail.com wrote:
 
 No /etc/ntp.drift on my 10.9 machine either.
 
 
 I do have 
 
 /private/var/db/ntp.drift
 
 But this one exists.

10.8.5, 10.9.5 and 10.10.2:
/private/var/db/ntp.drift: ASCII text
/private/etc/ntp.drift:cannot open `/private/etc/ntp.drift' (No such file 
or directory)


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: port migration

2015-03-03 Thread Bradley Giesbrecht

On Mar 3, 2015, at 8:59 AM, Brandon Allbery allber...@gmail.com wrote:

 On Tue, Mar 3, 2015 at 11:56 AM, Bradley Giesbrecht pixi...@macports.org 
 wrote:
 You could boot the old computer to target disk mode, attach it to the new 
 computer with a firewire cable and execute 
 /Volumes/volume_name/opt/local/bin/port installed.
 
 That's assuming it's old *enough*. :)

Put old disk in external inclosure or drive dock :)

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: port migration

2015-03-03 Thread Bradley Giesbrecht
On Mar 2, 2015, at 3:24 PM, Fielding, Eric J (329A) 
eric.j.field...@jpl.nasa.gov wrote:

 My old computer is already unplugged. I was hoping there was a way to run the 
 “port installed” command on the /opt/local in my Time Machine backup, but now 
 I see that Time Machine did not backup the /opt directory. I guess I will 
 have to reassemble the old computer if I want to get the list of ports that I 
 had installed before.

You could boot the old computer to target disk mode, attach it to the new 
computer with a firewire cable and execute 
/Volumes/volume_name/opt/local/bin/port installed.

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Is it generally okay to uninstall all inactive leaves?

2015-02-15 Thread Bradley Giesbrecht

On Feb 15, 2015, at 10:25 AM, Carlo Tambuatco oraclmas...@gmail.com wrote:

 If I do:
 
 $ port list leaves and inactive

# port list probably doesn't do what you think:
man port | less +/  list

# try these:
port installed leaves
port installed inactive

# you may be interested in port -u upgrade outdated:
man port | less +/  -u


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: On reloading MacOS

2015-02-14 Thread Bradley Giesbrecht
Restore to alternate disk (external) and boot from it.

Regards,
Bradley Giesbrecht (pixilla)

On Feb 14, 2015, at 3:07 PM, semaphor...@yahoo.com wrote:

 And how do it test a Time Machine backup exactly? I am genuinely curious as 
 mine got badly corrupted thanks to low quality of current HDDs.
 
 Enviado desde mi iPad
 
 El 14/02/2015, a las 18:00, Michael Crawford mdcrawf...@gmail.com escribió:
 
 Make more than one backup.
 
 Test them both before you wipe.
 Michael David Crawford, Consulting Software Engineer
 mdcrawf...@gmail.com
 http://www.warplife.com/mdc/
 
  Available for Software Development in the Portland, Oregon Metropolitan
 Area.
 
 
 On Sat, Feb 14, 2015 at 2:34 PM, René J.V. rjvber...@gmail.com wrote:
 On Sunday February 15 2015 09:24:52 Dave Horsfall wrote:
 
 So, before I wipe the thing, does anyone have any horror stories?  Can I
 put complete trust in my Time Capsule etc?
 
 What are you intending to do? A clean install, or just a format and then 
 reinstall from backup which will hopefully leave you with little to no free 
 space fragmentation (supposing you have a HDD)?
 
 I myself have a confirmed faith in CCC (Carbon Copy Cloner) combined with a 
 series of external harddisks. Either make a fresh clone, wipe your main 
 boot disk, and clone back onto it, or do a fresh install and then use the 
 Migration Assistant to pull of everything you want from the clone (yes, 
 that'll work though you may have to boot off the external once for 
 everything to be in place).
 
 In the TC's defence, I've only ever had to use it once, when I deleted the
 wrong file...  I had to go back about a week.  Whew!
 
 That's what TM is great for. But I wouldn't want to have to do without the 
 possibility to boot off an external with a recent clone of my set-up!
 
 R.
 ___
 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



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht

On Feb 12, 2015, at 5:24 PM, Murray Eisenberg murrayeisenb...@gmail.com wrote:

 I should add that whereas the command sudo port load mysql56-server runs 
 without returning any error to the terminal, the next command, beginning 
 /opt/local/lib/mysql56/bin/mysql bombs out, returning the error:
 
 ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
 '/opt/local/var/run/mysql56/mysqld.sock' (61)

You should be able to find the socket path with:
/opt/local/lib/mysql56/bin/mysqladmin variables | grep socket

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht

On Feb 12, 2015, at 5:24 PM, Murray Eisenberg murrayeisenb...@gmail.com wrote:

 I should add that whereas the command sudo port load mysql56-server runs 
 without returning any error to the terminal, the next command, beginning 
 /opt/local/lib/mysql56/bin/mysql bombs out, returning the error:
 
 ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
 '/opt/local/var/run/mysql56/mysqld.sock' (61)

Do you have another my.cnf file being read before /opt/local/etc/mysql56/my.cnf:
/opt/local/lib/mysql56/bin/mysqld --help --verbose 21 | grep -A 1 Default 
options | tail -n +2


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't start mysql56 after move datadir

2015-02-13 Thread Bradley Giesbrecht

On Feb 13, 2015, at 12:38 PM, Murray Eisenberg murrayeisenb...@gmail.com 
wrote:

 Since I cannot get mysql server to run, from
 
  /opt/local/lib/mysql56/bin/mysqladmin variables | grep socket
 
 I obtain output:
 
  /opt/local/lib/mysql56/bin/mysqladmin: connect to server at 'localhost' 
 failed
 error: 'Can't connect to local MySQL server through socket 
 '/opt/local/var/run/mysql56/mysqld.sock' (61)'
 Check that mysqld is running and that the socket: 
 '/opt/local/var/run/mysql56/mysqld.sock' exists!
 
 The same thing happens if I try to execute sudo port load mysql56-server. 
 Evidently mysql is never starting with my non-default datadir location.

What happens when you start mysqld manually:
sudo /opt/local/lib/mysql56/bin/mysqld --gdb --user=_mysql


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: can't start mysql56 after move datadir

2015-02-12 Thread Bradley Giesbrecht
I am not familiar with mysql.server but using the mysql56-server port to start 
and stop mysqld works as expected:

sudo port install mysql56-server
sudo port load mysql56-server
/opt/local/lib/mysql56/bin/mysql -S /opt/local/var/run/mysql56/mysqld.sock 
-uroot -p -e 'show variables like datadir;'
# Enter password: 
# +---++
# | Variable_name | Value  |
# +---++
# | datadir   | /opt/local/var/db/mysql56/ |
# +---++
# sudo port unload mysql56-server
sudo mv /opt/local/var/db/mysql56 /Users/brad/
sudo mv /opt/local/etc/mysql56/my{,-orig}.cnf
sudo sh -c 'cat  /opt/local/etc/mysql56/my.cnf'  EOF
[mysqld]
datadir = /Users/brad/mysql56
EOF
sudo port load mysql56-server
/opt/local/lib/mysql56/bin/mysql -S /opt/local/var/run/mysql56/mysqld.sock 
-uroot -p -e 'show variables like datadir;'
# Enter password: 
# +---+--+
# | Variable_name | Value|
# +---+--+
# | datadir   | /Users/brad/mysql56/ |
# +---+--+
# sudo port unload mysql56-server
sudo mv /opt/local/etc/mysql56/my{-orig,}.cnf
sudo mv /Users/brad/mysql56 /opt/local/var/db/



Regards,
Bradley Giesbrecht (pixilla)



On Feb 12, 2015, at 2:34 PM, Murray Eisenberg murrayeisenb...@gmail.com wrote:

 CORRECTION:  The command I use to start the mysql server is indeed the one 
 for the Macports version, namely:
 
   sudo /opt/local/share/mysql56/support-files/mysql.server start
 
 (Sorry for the typo.)
 
 On 12 Feb2015, at 5:05 PM, Murray Eisenberg murrayeisenb...@gmail.com 
 wrote:
 
 After upgrading from OS X Mavericks to Yosemite, I did the standard 
 procedure for migrating macports. But I found that the mysql server would 
 not start. So I uninstalled mysql56 completely and installed anew. Worked 
 just fine.
 
 But, I want my datadir to be someplace else from the default, so I edited 
 my.cnf as shown below, then did an _exact_ copy (* preserving permissions *) 
 of /opt/local/var/db/mysql56 to new location ~/Databases/mysql/data, i.e.,
 /Volumes/MacHD/Users/thisuser/Databases/mysql/data.
 
 When I execute
 
  sudo /usr/local/mysql/support-files/mysql.server start
 
 now I get the dreaded message
 
  Starting MySQL
 . ERROR! The server quit without updating PID file 
 (/Volumes/MacHD/Users/thisuser/Databases/mysql/data/MyMachineName.local.pid).
 
 In MyMachineName.local.err, I see the following:
 
 = extract from [MyMachineName].local.err ==
 
 150212 16:53:28 mysqld_safe mysqld from pid file 
 /Volumes/MacHD/Users/thisuser/Databases/mysql/data/MyMachineName.local.pid 
 ended
 150212 16:59:05 mysqld_safe Starting mysqld daemon with databases from 
 /Volumes/MacHD/Users/thisuser/Databases/mysql/data
 2015-02-12 16:59:05 0 [Warning] TIMESTAMP with implicit DEFAULT value is 
 deprecated. Please use --explicit_defaults_for_timestamp server option (see 
 documentation for more details).
 2015-02-12 16:59:05 82301 [Warning] Setting lower_case_table_names=2 because 
 file system for /Volumes/MacHD/Users/thisuser/Databases/mysql/data/ is case 
 insensitive
 150212 16:59:06 mysqld_safe mysqld from pid file 
 /Volumes/MacHD/Users/thisuser/Databases/mysql/data/MyMachineName.local.pid 
 ended
 
  end extract ===
 
 So the mysql server does seem to be using the datadir I specified. And the 
 ownership on this datadir are the same (_mysql:_mysql) as on 
 /opt/local/var/db/mysql56.
 
 What's wrong?
 
 Below is my /opt/local/etc/mysql56/my.cnf.
 
 
  == begin file my.cnf ===
 
 # Use default MacPorts settings
 !include /opt/local/etc/mysql56/macports-default.cnf
 
 [mysqld]
 datadir = /Volumes/MacHD/Users/thisuser/Databases/mysql/data 
 port = 3306
 socket = /opt/local/var/run/mysql56/mysqld.sock
 
 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 
 
 [client]
 socket = /opt/local/var/run/mysql56/mysqld.sock
 
    end file =
 ---
 Murray Eisenberg murrayeisenb...@gmail.com
 503 King Farm Blvd #101  Home (240)-246-7240
 Rockville, MD 20850-6667 Mobile (413)-427-5334



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Not really MacPorts problem, I don't think.

2015-01-27 Thread Bradley Giesbrecht

On Jan 23, 2015, at 10:32 PM, Joshua Root j...@macports.org wrote:

 On 2015-1-24 14:40 , William H. Magill wrote:
 
 On Jan 23, 2015, at 2:36 AM, Joshua Root j...@macports.org wrote:
 
 At 8:42 PM -0600 1/22/15, Ryan Schmidt wrote:
 So launchd is launching apache too early. I believe there are some 
 keys one can use in a launchd plist that would affect when launchd 
 tries to launch a service. If you can find a launchd plist key/value 
 that fixes this issue, MacPorts could be enhanced to offer portfile 
 authors a way to use that key, or to use that key/value by default 
 even.
 
 I'm not expert, but would the NetworkState key help?  See:
 
 http://launchd.info/
 
 Goto Configuration, scroll down to ...Depending on Network 
 Availability:
 
 We do have startupitem.netchange.
 
 I'm confused.
 
 The implication of startupitem.netchange :
 Cause the daemon to be restarted when a change in network state is 
 detected.
   
 https://guide.macports.org/chunked/reference.startupitems.html
 
 is different from NetworkState
 Setting this subkey to true will start the job when/while any network 
 is/becomes available. Setting this subkey to false will start the job 
 when/while all network connections are down.
   http://launchd.info
 
 Yes, it's not the same thing, but it would probably fix the problem that
 started this thread.
 
 And there is no indication on the guide.macports.org page as to what the 
 output of startupitem.netchange might generate.
 
 i.e. no translation between the syntax of launchd and startupitems.
 
 It doesn't change how launchd handles the job, it simply adds
 --restart-netchange to the arguments passed to daemondo.
 
 As I've said many times in the past, the StartupItem code could really
 use some love. Especially allowing jobs to not use daemondo if they
 support running directly from launchd, and exposing more of launchd's
 functionality.

+1
Could be a GSoC 2015 project.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: /opt/local/macports/software

2015-01-20 Thread Bradley Giesbrecht

On Jan 20, 2015, at 3:42 PM, Ryan Schmidt ryandes...@macports.org wrote:

 On Jan 20, 2015, at 2:12 AM, Akim Demaille wrote:
 
 Le 19 janv. 2015 à 11:07, Ryan Schmidt a écrit :
 
 On Jan 19, 2015, at 3:59 AM, Akim Demaille wrote:
 
 You're talking implementation details, I'm talking feature.  And the
 implementation is straightforward: rm -f 
 /opt/local/macports/software/PORT
 when PORT was activated.
 
 It's quite a lot more than just that. You're asking for a way for the user 
 to opt in to auto-removal of archives and opt out of the ability to use the 
 deactivate feature. MacPorts currently relies on the deactivate feature 
 during uninstallation, so there would be changes required there as well.
 
 I have a question: what exactly is in the archive?
 
 You can decompress it yourself to take a look: it contains all the files 
 installed by the port, and also a copy of the Portfile itself and some other 
 metadata.
 
 Why is that that
 deactivate does not archive what was installed on the disk?  I mean,
 if the archives is exactly what is deployed, then it's pure duplication,
 including in an activate/deactivate scenario: one copy should be enough,
 be it deployed, or compressed, no?  Maybe that would be less invasive,
 I don't know.
 
 Because nobody (at least not me) thought to program it that way.
 
 There is also a problem which occurs more often than it should, which is 
 this: a user installs MacPorts in its default prefix, and installs some 
 ports, and then installs a third-party software installer, which was itself 
 built with MacPorts in its default prefix. Developers should not create 
 installers of MacPorts-provided software with MacPorts in its default prefix 
 (they should custom-configure MacPorts to a prefix unique to their software), 
 but they do. Users should not install such misconfigured installers, but they 
 do. And the consequence is that the files of some the user's installed ports 
 are now overwritten with older versions, or versions built for the wrong 
 architecture. Currently, a user can work around that by deactivating the port 
 (i.e. deleting all the files the port installed), then reactivating the port 
 (i.e. decompressing the archive which contains the correct versions of the 
 files).

This is a wonderful sanity check. Unsure? Deactivate/activate, certainty 
restored.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: scope of local PortGroup definition files

2015-01-09 Thread Bradley Giesbrecht

On Jan 9, 2015, at 4:32 AM, René J.V. Bertin rjvber...@gmail.com wrote:

 Correction: 
 
 This is not limited to the compiler blacklist portgroup, nor to Linux.
 
 Exactly as I feared, my changes to the qt4, qt5 and kde4 portgroups need to 
 be copied to the portgroup directory in the default tree if they are to be 
 visible to all ports and not just to the ports in the local repository.

Is your local tree in sources.conf?
grep -v -E (^ *#|^$) /opt/local/etc/macports/sources.conf

 Which means that every selfupdate will undo any changes you might have 
 applied.
 
 Out of curiosity, what if I set my local repository to be the default? Will 
 selfupdate update that tree, or will it continue to update the one under 
 ${prefix}/var/macports/source/ ?

If you used svn instead of rsync port sync you would not experience this 
overwrite issue.

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: scope of local PortGroup definition files

2015-01-09 Thread Bradley Giesbrecht

On Jan 9, 2015, at 8:36 AM, René J.V. Bertin rjvber...@gmail.com wrote:

 On Friday January 09 2015 07:28:43 Bradley Giesbrecht wrote:
 
 Is your local tree in sources.conf?
 grep -v -E (^ *#|^$) /opt/local/etc/macports/sources.conf
 
 Yes. It's my understanding that is required if you want it to be taken into 
 account ...

You can have a local ports that are not in sources.conf and you interact with 
them by giving port the path to the port dir rather then the name.

 If you used svn instead of rsync port sync you would not experience this 
 overwrite issue.
 
 Until a change to the file in question was pushed, at which time you'd 
 probably get a conflict error?

Not an error as much as question, incoming change on locally modified file, 
what do you want to do. The svn documentation can better explain what your 
options would be, theirs full, mine full, etc.

 `port sync` updates all sources that aren't marked nosync in sources.conf.
 
 The comments in sources.conf
 #  To prevent a source from synchronizing when `port sync` is used,
 #  append [nosync] at the end as shown in this example:
 #  Example: file:///Users/landonf/misc/MacPorts/ports [nosync]
 suggest that a local repo will also be synced if not marked that way, but 
 from what/where?
 
 So, should I change my current
 
 file:///opt/local/site-ports
 rsync://rsync.macports.org/release/ports/ [default]
 
 into
 
 file:///opt/local/site-ports [default] [nosync]
 rsync://rsync.macports.org/release/ports/
 
 or will that prevent me from getting updates at all?

I suggest switching to svn for syncing:
https://trac.macports.org/wiki/howto/SyncingWithSVN

and then in sources.conf:
file:///opt/local/site-ports [nosync]
file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports/ [default]

or if you want to keep using rsync:
file:///opt/local/site-ports [nosync]
rsync://rsync.macports.org/release/ports/ [default]


With svn there is less reason to use a local repo.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Is trac.macports.org down?

2014-12-18 Thread Bradley Giesbrecht

On Dec 18, 2014, at 7:39 AM, Arno Hautala a...@alum.wpi.edu wrote:

 On Thu, Dec 18, 2014 at 10:15 AM, Daniel J. Luke dl...@geeklair.net wrote:
 
 why would homebrew pull the patch from trac.macports.org (instead of 
 svn.macports.org)?
 
 Whoever wrote that brewfile probably copied the build configuration
 from MacPorts, or copied just the patch when it became an issue. They
 just didn't bother to rehost it.
 
 On Thu, Dec 18, 2014 at 10:27 AM, Brandon Allbery allber...@gmail.com wrote:
 
 Homebrew's been reusing stuff for a while now.
 
 It's a bit ironic, but aside from that, the potential for breakage
 when the patch changes, and the lapse in etiquette of not rehosting is
 there any problem here? Is the patch released under some license that
 would restrict reuse like this?
 
 I feel like Homebrew has backed down a bit from their initial
 hostility towards this project.

Agreed. I like homebrew. I have never used it myself but I know many that do 
and I have looked at homebrew patches and configure args on occasion.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Identifying newly available ports

2014-12-17 Thread Bradley Giesbrecht
On Dec 15, 2014, at 11:41 PM, Joshua Root j...@macports.org wrote:

 Howdy all.
 
 I’ve been using macports for a number of years, but have never figured out 
 how to readily identify NEW ports (newly available ports, not updates of 
 existing packages).  I am forced to root around in the ports list or the 
 categories among thousands of files, like a pig after a shiny, smelly new 
 truffle. Am I overlooking something obvious?
 
 Thanks.
 DMW
 
 There isn't really a good way, but this works as a first approximation
 of what you want:
 
 svn log --search new
 https://svn.macports.org/repository/macports/trunk/dports

Does this work:
svn log -v -r{2014-11-30}:HEAD 
https://svn.macports.org/repository/macports/trunk/dports | grep ^   A | grep 
/Portfile


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: smartd automated scanning failing

2014-12-06 Thread Bradley Giesbrecht

On Dec 6, 2014, at 1:42 AM, Ubence Quevedo that...@gmail.com wrote:

 
 What happens if you run smartd manually in debug mode and without forking:
 sudo port unload smartmontools
 sudo /opt/local/sbin/smartd -n -d -c /opt/local/etc/smartd.conf
 
 When I ran manually without sudo smartd complained about not being able to 
 write a state file to:
 /opt/local/var/lib/smartmontools/smartd.Hitachi_HDS722020ALA330-JK1174YAK4MZ3W.ata.state
 
 
 When I ran the smartd like you did from the command line like the above, it 
 seems to work properly:
 
 Ubences-Intel-iMac:etc uquevedo$ sudo /opt/local/sbin/smartd -n -d -c 
 /opt/local/etc/smartd.conf
 smartd 6.2 2013-07-26 r3841 [x86_64-apple-darwin14.0.0] (local build)
..
 There is an entry on the Mac Ports Trac site for an upgrade to 6.3 here:  
 https://trac.macports.org/ticket/45982
 
 I’m going to try compiling smartmontools from source and give that a try to 
 see if I still run into the same issue and hope that the 6.3 update whenever 
 it is released from Mac Ports will fix this problem.
 
 I’ll also likely post a bug report since there doesn’t seem to be one for 
 this already.

I noticed smartd has a -n no-fork flag. I'm testing with this modified launchd 
script:
?xml version='1.0' encoding='UTF-8'?
!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN
http://www.apple.com/DTDs/PropertyList-1.0.dtd; 
plist version='1.0'
dict
keyLabel/keystringorg.macports.smartd/string
keyProgramArguments/key
array
string/opt/local/sbin/smartd/string
string-n/string
string-c/string
string/opt/local/etc/smartd.conf/string
/array
keyKeepAlive/keytrue/
/dict
/plist


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: smartd automated scanning failing

2014-12-04 Thread Bradley Giesbrecht

On Nov 27, 2014, at 7:04 AM, Ubence Quevedo that...@gmail.com wrote:

 Hi All,
 
 I'm not sure that this is the right place to post this, but it seems that 
 smartmontools that I have installed through port isn't scanning drive when I 
 have the appropriate configuration file at /opt/local/etc/smartd.conf 
 configured.
 
 Here's the relevant line to run a short scan at 5AM every morning and then a 
 long scan at 6AM:
 /dev/disk0 -H -l error -l selftest -f -s (S/../.././05|L/../.././06) -m 
 ...@x.xxx
 
 I took a look at the console, and saw the following lines when the scanning 
 was supposed to occur:
 Nov 25 05:22:24 Ubences-Intel-iMac.local smartd[152]: Authorization, server 
 not available
 Nov 25 05:22:24 Ubences-Intel-iMac.local smartd[152]: Device: /dev/disk0, 
 execute Short Self-Test failed.
 Nov 25 06:22:25 Ubences-Intel-iMac.local smartd[152]: Device: /dev/disk0, 
 execute Long Self-Test failed.
 
 What stands out to me is the first line Authorization, server not available.
 
 I've tried looking for info on this particular output, but I can't find 
 anything to trace back to how this is occurring?

Are your users local or in opendirectory/activedirectory/ldap?

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: smartd automated scanning failing

2014-12-04 Thread Bradley Giesbrecht

On Dec 4, 2014, at 5:08 PM, Ubence Quevedo that...@gmail.com wrote:

 On Dec 4, 2014, at 3:46 PM, Bradley Giesbrecht pixi...@macports.org wrote:
 
 
 On Nov 27, 2014, at 7:04 AM, Ubence Quevedo that...@gmail.com wrote:
 
 Hi All,
 
 Hi from Turlock:)
 
 
 Greetings from Merced!
 
 I'm not sure that this is the right place to post this, but it seems that 
 smartmontools that I have installed through port isn't scanning drive when 
 I have the appropriate configuration file at /opt/local/etc/smartd.conf 
 configured.
 
 Here's the relevant line to run a short scan at 5AM every morning and then 
 a long scan at 6AM:
 /dev/disk0 -H -l error -l selftest -f -s (S/../.././05|L/../.././06) -m 
 ...@x.xxx
 
 I took a look at the console, and saw the following lines when the scanning 
 was supposed to occur:
 Nov 25 05:22:24 Ubences-Intel-iMac.local smartd[152]: Authorization, server 
 not available
 Nov 25 05:22:24 Ubences-Intel-iMac.local smartd[152]: Device: /dev/disk0, 
 execute Short Self-Test failed.
 Nov 25 06:22:25 Ubences-Intel-iMac.local smartd[152]: Device: /dev/disk0, 
 execute Long Self-Test failed.
 
 What stands out to me is the first line Authorization, server not 
 available.
 
 I've tried looking for info on this particular output, but I can't find 
 anything to trace back to how this is occurring?
 
 Can you run smartctl successfully?
 sudo smartctl -P show /dev/disk0
 sudo smartctl -t short /dev/disk0
 sudo smartctl -a /dev/disk0
 
 
 I can run all of those, and I’ve never had to sudo them:

I didn't either but all the man/doc pages I was reading used sudo so I thought 
it better to add it.

What happens if you run smartd manually in debug mode and without forking:
sudo port unload smartmontools
sudo /opt/local/sbin/smartd -n -d -c /opt/local/etc/smartd.conf

When I ran manually without sudo smartd complained about not being able to 
write a state file to:
/opt/local/var/lib/smartmontools/smartd.Hitachi_HDS722020ALA330-JK1174YAK4MZ3W.ata.state


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Virtual machines and OS X

2014-11-17 Thread Bradley Giesbrecht

On Nov 17, 2014, at 7:20 AM, Michael keybou...@gmail.com wrote:

 I'd like to know what VM's are able to run OS X, and how well.

All the VM solutions have worked well for me, I currently use VirtualBox.

 First, being able to run 10.6 as a guest -- it's my understanding that this 
 was technically possible, but restricted by the license,

The OS X Server 10.6 license permitted running as a VM guest provided the VM 
host was running on Apple hardware.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Thank you!

2014-11-15 Thread Bradley Giesbrecht
On Nov 12, 2014, at 1:24 PM, Eneko Gotzon enekogot...@gmail.com wrote:

 What a pleasure getting software so easily installed!
 Thank you all MacPorters! :)

You are most welcome.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: digikam 4.3.0 (was: depends_build on minimal version?)

2014-09-19 Thread Bradley Giesbrecht

On Sep 19, 2014, at 8:18 AM, René J.V. Bertin rjvber...@gmail.com wrote:

 On Friday September 19 2014 10:56:20 Lawrence Velázquez wrote:
 
 
 So does the CMake build add -I arguments for the included headers or not? 
 Can you add them?
 
 
 For me it didn't, and I honestly have no idea how to add them if the existing 
 CMake code doesn't already.
 I could put my Portfile on trac so that someone more intimate with MacPorts' 
 internals (and CMake file writing) can have a look, is that an idea?

Have you tried configure.cppflags [1]?

configure.cppflags  -I${worksrcpath}/include
or
configure.cppflags  -I${worksrcpath}/include -I${prefix}/include


Regards,
Bradley Giesbrecht (pixilla)

[1] https://guide.macports.org/index.html#reference.phases.configure



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: depends_build on minimal version?

2014-09-18 Thread Bradley Giesbrecht

On Sep 18, 2014, at 3:55 AM, René J.V. Bertin rjvber...@gmail.com wrote:

 On Thursday September 18 2014 05:23:15 Ryan Schmidt wrote:
 
 No, and ports shall not care what version of another port is selected. The 
 port select mechanism is for a user's convenience only, and shall not 
 influence any port build.
 
 I wasn't asking about port select ... 
 
 You realise that this also implies that there isn't even an easy way to warn 
 a user that s/he will need to install a newer port version of some dependency 
 in order to build a given port, if the configure mechanism doesn't do this?

Pick the ruby you prefer to depend on and provide variants or subports for the 
other ruby versions you think should be supported.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Poll: Of Qt and KDE applications on OS X, and the About/Preferences menu.

2014-09-17 Thread Bradley Giesbrecht

On Sep 17, 2014, at 12:53 AM, René J.V. Bertin rjvber...@gmail.com wrote:

 [...] I'll take it as a vote in favour of a Qt patch (or default variant) 
 that disables the guess-based menu reorganisation ... as in its current 
 implementation it's exactly that.

+1 Qt patch
+1 Submit upstream


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: MySQL install steps at https://trac.macports.org/wiki/howto/MAMP; what is basedir??

2014-09-16 Thread Bradley Giesbrecht

On Sep 16, 2014, at 8:32 AM, Murray Eisenberg murrayeisenb...@gmail.com wrote:

 
 On 15 Sep2014, at 5:15 PM, Ryan Schmidt ryandes...@macports.org wrote:
 
 ...I haven't been very involved with MySQL in awhile. I handed the MacPorts 
 MySQL ports over to Bradley (pixilla) a couple years ago.
 
 I didn't originally write the MAMP wiki page and my preference would be for 
 it to be rewritten in separate pages (one for PHP, one for MySQL) and 
 updated for the current versions of those ports.
 
   
 
 The instructions in that page to chown using the mysql user date from OS X 
 10.4 and earlier. As of OS X 10.5, the user changed to _mysql.[EMPHASIS 
 ADDED]
 ***  
 
 
 I think the wiki is a great place to gather information about how to use 
 ports. Feel free to edit pages or create new ones.
 
 
 The port file at
 
  https://trac.macports.org/browser/trunk/dports/databases/mysql56/Portfile
 
 includes:
 
 
if {darwin eq ${os.platform}  ${os.major}  8} {
   set mysqluser   _mysql
} else {
   set mysqluser   mysql
}
 
 Doesn't that mean that the change in name of the mysqluser is in fact as of 
 OS X 10.8 rather than as of 10.5?
 
 If so, I'll edit the wiki page accordingly.
 
 If not, is the port file code wrong?

Darwin release numbers [1] are not the same as OS X release numbers. The 
variable os.major refers to the first number in the Darwin release of the form 
major.minor.release.
So  ${os.major}  8 is greater than  Darwin 8 or OS X 10.4 Tiger.

[1] http://en.wikipedia.org/wiki/Darwin_(operating_system)#Release_history

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: config files for mysql

2014-09-16 Thread Bradley Giesbrecht

On Sep 15, 2014, at 2:20 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Sep 13, 2014, at 12:38 PM, Murray Eisenberg wrote:
 
 What exactly is the relationship among the following files installed by 
 mysql56-server?
 
  /private/etc/my_macports.conf
  /opt/local/etc/mysql56/my-new.cnf
  /opt/local/share/mysql56/support-files/macports/my.cnf
 
 And in which of these should one change settings? Or should one do it in a 
 file my.cnf somewhere else?
 
 (This is very muddled given that the MacPorts port distributes files into 
 somewhat different locations, relative to /opt/local, than the native MySQL 
 distribution does, relative to /usr/local.)
 
 MySQL uses a configuration file called my.cnf. Any file not named my.cnf 
 is not used.
 
 There are many locations where MySQL looks for this file, and in a particular 
 order. My recollection is that /etc/my.cnf (also known on OS X as 
 /private/etc/my.cnf because /etc is a symlink to /private/etc) is the first 
 location checked (so if my.cnf is found there then other locations are not 
 checked) but I don't want to mislead you so I would refer you to the MySQL 
 documentation which should list all the locations. The exception is the 
 location that is specific to each MacPorts MySQL version, for example 
 /opt/local/etc/mysql56/my.cnf for the mysql56 port. I don't remember with 
 what precedence that location is checked.

Please refer to the mysql docs, look for On Unix, Linux and Mac OS X, MySQL 
programs read startup options from the following files, in the specified order 
:
http://dev.mysql.com/doc/refman/5.6/en/option-files.html

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: mysql56-server: what is basedir? and where put my.cnf?

2014-09-16 Thread Bradley Giesbrecht

On Sep 15, 2014, at 12:22 PM, Murray Eisenberg murrayeisenb...@gmail.com 
wrote:

 (1) Right now for my installation of mysql56-server (and mysql56), I've put 
 all my configuration settings in 
 
/opt/local/etc/mysql56/my.cnf
 
(a) With _no_ setting there for basedir, mysql server and client work just 
 fine.
 
(b) If I use basedir =  /opt/local/lib/mysql56, then the server won't 
 start. I get error:
The server quit without updating PID file 
 (/opt/local/var/db/mysql56/Blackstone.local.pid).
 
So what should the value of basedir be, in other words, for the MacPorts 
 port just what _is_ the installation 
directory (as the MySQL docs say the value should be)??

There is _no_ need to set these options. The only non-default option set by 
MacPorts is in /opt/local/etc/mysql56/macports-default.cnf and this can be 
easily removed by simply removing/commenting the include line in the default 
cat /opt/local/etc/mysql56/my.cnf file.

It is probably best to start with an empty /opt/local/etc/mysql56/my.cnf 
options file and add settings as you discover a need for them.
An empty /opt/local/etc/mysql56/my.cnf should just work.

If you elect to override mysql defaults please refer to the mysql documentation:
http://dev.mysql.com/doc/refman/5.6/en/server-options.html
http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html

 (2) For the MacPorts version of mysql, what is the recommended or preferred 
 location for my.cnf?  
 
Possibilities are:
 
/opt/local/etc/mysql56/my.cnf(which I'm using)
This is the default my.cnf file.

/opt/local/etc/my.cnf
Please remove or rename this file.

/private/etc/my.cnf
Please remove or rename this file.



Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: mysql56: Cannot create databases

2014-09-15 Thread Bradley Giesbrecht

On Sep 13, 2014, at 12:07 PM, Murray Eisenberg murrayeisenb...@gmail.com 
wrote:

 
 On 12 Sep 2014 21:02:03 -0400, Murray Eisenberg murrayeisenb...@gmail.com 
 wrote:
 
 I installed  mysql56-server @5.6.19_1 under OS X 10.9.4. 
 
 Following instructions at https://trac.macports.org/wiki/howto/MAMP, I 
 executed:
 
  sudo port select mysql mysql56
 
  sudo -u _mysql /opt/local/lib/mysql56/bin/mysql_install_db   [NOT _db5]
 
 Result:
 
 WARNING: Could not write to config file /opt/local/etc/mysql56/my-new.cnf: 
 Permission denied
 
 FATAL ERROR: Could not find /fill_help_tables.sql
 
 I tried doing chown _mysql:_mysql /opt/local/etc/mysql56/my-new.cnf, which 
 did cure the first error.
 
 However, the 2nd error persist. 
 
 In fact, after updating the located, an mdfind reveals:
 
  mdfind -name fill_help_tables.sql
  /opt/local/share/mysql56/fill_help_tables.sql
 
 So how should this be fixed?
 
 (I submitted ticket, too.)
 
 I _think_ the problem was conflicting settings in existing my.cnf files from 
 a native MySQL installation (from mysql.com), in /private/etc and 
 /usr/local/mysql-5.6.20-osx10.8-x86_64.

Correct, mysql will pull settings from various places:
http://dev.mysql.com/doc/refman/5.6/en/option-files.html


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: problem with qt4-mac-mysql5-plugin

2014-09-12 Thread Bradley Giesbrecht

On Sep 12, 2014, at 2:12 AM, vic hug xelnagazch...@hotmail.com wrote:

 
 Thanks a lot everyone
 
 So now i know that i'm not alone and that if i had searched the tickets, i 
 would have seen the answer ; sorry for that. I'm not very good at using 
 MacPorts.
 If i sum everything that has been said, what i should try is :
 
 sudo port uninstall --follow-dependencies akonadi
 then
 sudo port install akonadi +mysql51

This will install akonadi and mysql 5.1.72 which is pretty old.

Akonadi defaults to using mariadb 5.5.39 which is probably a better option 
unless you have a need for an older mysql.

To install akonadi with default mariadb use:
sudo port uninstall akonadi qt4-mac-mysql5-plugin mysql5 mysql5-server mysql51 
mysql51-server
sudo port install akonadi


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: php56-pear missing?

2014-09-05 Thread Bradley Giesbrecht
On Sep 2, 2014, at 5:38 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Sep 2, 2014, at 3:55 PM, Murray Eisenberg wrote:
 
 The port of php56 was just released, along with various php56 modules, e.g., 
 php56-apache2-handler, php56-mysql, etc.
 
 But there seems to be no php56-pear. And port info php56 does not show any 
 variant of php56 itself that is for pear.
 
 Any information about availability of a php56-pear?
 
 Please file a ticket in the issue tracker requesting this subport be added.

A php56-pear subport has been added.

Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: mariadb install failed

2014-08-10 Thread Bradley Giesbrecht

On Aug 9, 2014, at 5:33 AM, James Rome jamesr...@gmail.com wrote:

 The server still does not start:

Start mariadb-10.1-server using port load:
$ sudo port load mariadb-10.1-server

To start mariadb-10.1's mysqld manually start it as the _mysql user:
$ sudo -u _mysql /opt/local/lib/mariadb-10.0/bin/mysqld_safe 
--datadir='/opt/local/var/db/mariadb-10.0'

Connect using mariadb-10.0 client:
$ /opt/local/lib/mariadb-10.0/bin/mysql


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Weird happenings with mysql

2014-08-06 Thread Bradley Giesbrecht

On Aug 5, 2014, at 7:12 PM, Jeff Greenberg listmail.ayendesi...@gmail.com 
wrote:

 My bigger point of confusion is WHERE to do this or even how to confirm what 
 I'm running.

$ ps ax | grep mysqld

 Further, though 'which mysql' points to /opt/local, starting and stopping the 
 service is accomplished via a mysql page with a button via the OSX (10.8.5) 
 settings page. When it is off, there is no mysql client available.

If you are using one of the mysql databases supplied by MacPorts the preferred 
way of starting and stopping the database is by loading and unloading the 
*.server port.

Example for mysql55-server:
$ sudo port install mysql55-server
$ sudo port load mysql55-server

 finds only two, one in /opt/local/etc/mysql5 and the other in 
 /opt/local/etc/mysql55.

Please use mysql55 or newer. If you need help moving your databases I can help, 
it is usually very easy.

 mysql client: show variables like %version%;

What command are you typing to call the mysql client?



Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Weird happenings with mysql

2014-08-06 Thread Bradley Giesbrecht
Lets see which MacPorts packages relating to php and mysql you have installed:
$ port echo active and 
name:^(mysql[0-9]{1,2}|mariadb[0-9.-]{0,5}|percona|apache2|php[0-9]{1,2}||php[0-9]{1,2}-mysql)$


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Questions about MediWiki port

2014-07-31 Thread Bradley Giesbrecht

On Jul 31, 2014, at 12:25 PM, William H. Magill mag...@mac.com wrote:

 1- How does the MacPorts installation of MediaWiki integrate with OSX Server 
 under Maverick -- OSX 10.9.4 and Server 3.1.2. (anybody tried it with 
 Yosemite yet?)

The MacPorts MediaWiki port installs the MediaWiki files and some basic 
dependencies. The configuration is left to the MacPorts user.
If by  integrate you are looking for OpenDirectory integration have a look at 
this MediaWiki extension [1]

 2- Does the MediaWiki port integrate with ImageMagick or GD?

These are MediaWiki configuration options you will need to do yourself [2].

To use the MacPorts ImageMagick convert command adding this to 
LocalSettings.php should do the trick.
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = /opt/local/bin/convert;

Note: presumes MacPorts default prefix.

 3- The port listed in the portfiles web-page was version 1.17.0  last updated 
 7 months ago
 The current version of MediaWiki (just released  7/30) is either 1.23.2 or 
 1.22.9  -- apparently the intervening releases were security releases.

Look at MacPorts Trac Reports [3] for an Update ticket and if none exist open 
a new Update ticket [4] following the Trac Ticket guide [5].

 Anybody else working with MediaWiki on OSX Server?

Not specifically OS X Server but I have installed MediaWiki many times over 
many different OS X versions. I have not used the MediaWiki LDAP extension to 
auth using OS X Servers OpenDirectory but I am about to try. You are welcome to 
email me privately if share our progress.


[1] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication
[2] 
http://www.mediawiki.org/wiki/Manual:Installing_third-party_tools#ImageMagick
[3] https://trac.macports.org/report/16?max=100PORT=mediawiki
[4] https://trac.macports.org/newticket
[5] https://trac.macports.org/wiki/TracTickets


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Questions about MediWiki port

2014-07-31 Thread Bradley Giesbrecht

On Jul 31, 2014, at 3:40 PM, Eric Gallager eg...@gwmail.gwu.edu wrote:

 On Thu, Jul 31, 2014 at 5:30 PM, Bradley Giesbrecht pixi...@macports.org 
 wrote:
 On Jul 31, 2014, at 12:25 PM, William H. Magill mag...@mac.com wrote:
  3- The port listed in the portfiles web-page was version 1.17.0  last 
  updated 7 months ago
  The current version of MediaWiki (just released  7/30) is either 1.23.2 or 
  1.22.9  -- apparently the intervening releases were security releases.
 
 Look at MacPorts Trac Reports [3] for an Update ticket and if none exist 
 open a new Update ticket [4] following the Trac Ticket guide [5].
 
 One does actually already exist; I opened it a while ago: 
 https://trac.macports.org/ticket/39053

Updated to 1.23.2.
https://trac.macports.org/changeset/122857


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: a) Searching the Archives b) Uninstalling

2014-07-31 Thread Bradley Giesbrecht

On Jul 31, 2014, at 5:46 PM, David Winsemius dwinsem...@comcast.net wrote:

 Apologies if I am retracing old ground, but I could not find a FAQ or a link 
 to a search facility to the Archives on the user-support page: 
 https://lists.macosforge.org/mailman/listinfo/macports-users .  
 
 a) I'm a regular reader and contributor to r-help and typically use Markmail 
 for searching the R-help archives, but do not see that this macports is 
 archived there.  Where or how do people generally search?

Is MacPorts List Archives [1] what you are after?

 b) I'm trying to adhere to the conventions that the official Mac port of R is 
 using and they do not like packages installed with Macports, homebrew or Fink 
 because R modules (if that is the right word) are statically linked and they 
 do not feel that the choice of where packages get put by these installation 
 services end up in the canonical directory. So I am trying to update my curl 
 installation and I think it was installed with macports, probably some time 
 ago before I updated to Lion v 10.7.5. I don;'t see much point in updating to 
 ML and there are current problems with Mavericks installation of R so I'm not 
 ready to take that leap forward, either.
 
 At the moment I'm getting this response to my efforts at even  updating 
 Macpoorts:
 
 david-winsemiuss-mac-pro:~ davidwinsemius$ sudo port selfupdate
 ---  Updating MacPorts base sources using rsync
 MacPorts base version 2.1.3 installed,
 MacPorts base version 2.3.1 downloaded.
 ---  Updating the ports tree
 ---  MacPorts base is outdated, installing new version 2.3.1
 Warning: Disabling readline support due to readline in /usr/local

You might move /usr/local [2] out of the way before you perform sudo port 
selfupdate.

mv /usr/local{,-moved}
sudo port selfupdate
mv /usr/local{-moved,}


 Installing new MacPorts release in /opt/local as root:admin; permissions 
 0755; Tcl-Package in /Library/Tcl
 
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new 
 MacPorts base: command execution failed
 -
 
 I've read that trying to uninstall macPorts can be dangerous and advised to 
 pose my question here. What advice can anyone offer.

Perhaps reading Migrating a MacPorts install to a new major OS [3] will help 
you be more comfortable uninstalling and reinstalling ports that are important 
to you.


[1] https://trac.macports.org/wiki/MailingLists
[2] https://trac.macports.org/wiki/InstallingMacPorts#source_privileged
[3] https://trac.macports.org/wiki/Migration



Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installing along Homebrew

2014-06-11 Thread Bradley Giesbrecht
On Jun 11, 2014, at 5:23 PM, Brandon Allbery allber...@gmail.com wrote:
 
 On Wed, Jun 11, 2014 at 7:55 PM, semaphor...@yahoo.com wrote:
 I wanted to upgrade my MKVToolnix from 6.2.0 to 7.0.0, but it seems it's not 
 compiled for Mac OS X Snow Leopard. For that reason, I looked into other ways 
 to install it, and it seems only Homebrew has an updated version.
 
 I was going to suggest filing a ticket requesting that it be updated, but I 
 see it's nomaintainer :(

Filing an update ticket is a good even absent a maintainer. I just bumped the 
version to 7.0.0 to see if the existing port builds. I'll commit untested if it 
succeeds.


Regards,
Bradley Giesbrecht (pixilla)




signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Installing along Homebrew

2014-06-11 Thread Bradley Giesbrecht
On Jun 11, 2014, at 5:39 PM, Ryan Schmidt ryandes...@macports.org wrote:
 
 On Jun 11, 2014, at 7:36 PM, Bradley Giesbrecht pixi...@macports.org wrote:
 
 On Jun 11, 2014, at 5:23 PM, Brandon Allbery allber...@gmail.com wrote:
 
 Filing an update ticket is a good even absent a maintainer. I just bumped 
 the version to 7.0.0 to see if the existing port builds. I'll commit 
 untested if it succeeds.
 
 Consider the existing update patch provided here:
 
 https://trac.macports.org/ticket/43222


Thanks, 43222 patches apply more cleanly.

MKVToolnix 7.0.0 requires ruby = 1.9.x.

Any reason not to go with ruby21?

port echo name:^ruby[0-9]{2,}
ruby19  
ruby20  
ruby21  
ruby186 


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: 2 quick KDE questions

2014-06-03 Thread Bradley Giesbrecht
On Jun 3, 2014, at 11:41 AM, Marko Käning mk-macpo...@techno.ms wrote:
 Hi René,
 
 On 03 Jun 2014, at 14:32 , René J.V. Bertin rjvber...@gmail.com wrote:
 1) Why is it that the KDE wallet always opens behind (all) other windows, 
 instead of in front? Any chance to make it come to the front?
 I’ve seen something similar stuff happening for some aqbanking5 dialogs when 
 running kmymoney4(-devel) and have no clue how to avoid it.
 
 I guess the kwallet question should be directed to a KDE mailing list. You 
 could try KDE-MAC for a start, since that’s where we try to collect 
 Mac-specific questions.


I believe this kwallet issue can give them impression of freeze when there is 
an issue with kwallet. I chose to secure kwallet with pgp and I chose a 
signature kwallet did not like and now I get endless looping with kwallet not 
being able to read and because the kwallet window is behind kontact or 
whatever, it feels like kontact is frozen but it's really waiting for kwallet 
to respond.

I didn't mean to usurp your thread but wanted add support that this kwallet 
window issue can cause blame to be cast at the wrong app.


Regards,
Bradley Giesbrecht (pixilla)



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: amavisd-new pre-req p5.12-parse-recdescent config fails

2014-03-31 Thread Bradley Giesbrecht

On Mar 31, 2014, at 4:09 PM, Horst Simon horst.si...@optusnet.com.au wrote:

 I tries again to install amavisd-new and getting now a different error during 
 the config of p5.12-parse-recdescent”.
 
 :info:configure ExtUtils::MakeMaker version 6.62 required--this is only 
 version 6.56 at Makefile.PL line 3.”
 
 I am using MAC OS/X with latest Xcode and March 2014 command line tools, 
 attached is the main.log file

The attached log is for squid3.

To find the p5.12-parse-recdescent log file use:
$ port logfile p5.12-parse-recdescent


Regards,
Bradley Giesbrecht (pixilla)

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


Re: amavisd-new pre-req p5.12-parse-recdescent config fails

2014-03-31 Thread Bradley Giesbrecht

On Mar 31, 2014, at 5:20 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Mar 31, 2014, at 18:51, Bradley Giesbrecht wrote:
 
 On Mar 31, 2014, at 4:09 PM, Horst Simon wrote:
 
 I tries again to install amavisd-new and getting now a different error 
 during the config of p5.12-parse-recdescent”.
 
 :info:configure ExtUtils::MakeMaker version 6.62 required--this is only 
 version 6.56 at Makefile.PL line 3.”
 
 I am using MAC OS/X with latest Xcode and March 2014 command line tools, 
 attached is the main.log file
 
 The attached log is for squid3.
 
 To find the p5.12-parse-recdescent log file use:
 $ port logfile p5.12-parse-recdescent
 
 The attached log is for p5.12-parse-recdescent. :)


Then Mail.app is having fun with me :)

On my system the attached log file ends with:

:info:build Warning: targets not executed for squid3: org.macports.activate 
org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port squid3 for details:
/opt/local/var/macports/logs/_private_tmp_squid3-r70223/squid3/main.log
 

On my system the second log file from Horst is definitely for 
p5.12-parse-recdescent.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: MacPorts Statistics (was Re: usage numbers for macports vs. homebrew?)

2014-03-23 Thread Bradley Giesbrecht

On Mar 22, 2014, at 12:55 PM, Clemens Lang c...@macports.org wrote:

 I’m not arguing that the data should be completely public, but checking where
 we are were the data to become completely public through accident or hack,
 etc. And maybe I’m suggesting that it might not be so dangerous to make the
 data available to a trusted committer as a step toward improving the
 system...
 
 What about people who are not committers? Plus, development can be done with
 random auto-generated data and there even is a script to generate some in the
 source tree.


Thanks, random auto-generated data is fine for me, I'll look for the script.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: MacPorts Statistics (was Re: usage numbers for macports vs. homebrew?)

2014-03-21 Thread Bradley Giesbrecht

On Mar 20, 2014, at 3:54 AM, Clemens Lang c...@macports.org wrote:

 As a port maintainer, one key thing I'd like to know is the breakdown
 of OS versions that my users are running.  The data is available for
 that, right?  Just a matter of extracting and presenting it?
 
 Yes, that data is available. I think all the graphs need to be given a little 
 thought. If somebody has the time to make a list of graphs that might be 
 useful given the data we have, feel free to make a wiki page for that or even 
 just reply to that email. Anything helps :)

Does anyone have a quick link to the db schema or better yet a data dump from 
stats.macports.neverpanic.de;) ?


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Lmod for macports?

2014-03-15 Thread Bradley Giesbrecht

On Mar 11, 2014, at 12:01 PM, Comer Duncan comer.dun...@gmail.com wrote:

 I have in the past found that lmod 
 (http://sourceforge.net/projects/lmod/files/) is quite useful for managing 
 environments and associated software needed for a particular project or 
 projects.  However, I have only used it in a supercomputer environment. I 
 wonder whether some of you may know about lmod and have developed a port for 
 it under mavericks?  I have searched for lmod and modules but do not seem to 
 find anything which I can be sure represents a port of it. So, can those in 
 the know please let me know about the present status, if  any, of a port of 
 lmod?  

It appears lua-lpeg is an lmod module:
port cat lua-lpeg | grep lmod
set lua_lmod [exec ${prefix}/bin/pkg-config lua --variable INSTALL_LMOD]
${destroot}${lua_lmod} \
xinstall ${worksrcpath}/re.lua ${destroot}${lua_lmod}


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Tried to upgrade php5 now completely messed up

2014-03-06 Thread Bradley Giesbrecht
On Mar 6, 2014, at 9:53 AM, Greg Gulik g...@gulik.org wrote:

 
 I tried to do a simple port upgrade php5 since I was very behind and now I 
 cannot get php working again.
 I uninstalled all php related packages, did a port clean all and now 
 re-installing fails:
 
 # port install php5 +apache2
 ---  Computing dependencies for php5
 ---  Fetching archive for php5
 Warning: Your DNS servers incorrectly claim to know the address of 
 nonexistent h
 osts. This may cause checksum mismatches for some ports.

You might read this:
http://trac.macports.org/ticket/39868#comment:9

 ---  Attempting to fetch php-5.3.28.tar.bz2 from 
 http://jm.php.net/get/php-5.3.28.tar.bz2/from/this/mirror?dummy=

You might visit this fetch target in you web browser and check result:
http://jm.php.net/get/php-5.3.28.tar.bz2/from/this/mirror?dummy=


On my system there is no ip for jm.php.net:
$ dig +noall +short +time=2 jm.php.net
$ dig +noall +short +time=2 us1.php.net
php-mirror.nexcess.net.
208.69.120.58


You can try downloading the php5 distfiles from a different mirror:
$ sudo port clean --dist php5
$ sudo curl http://us1.php.net/distributions/php-5.3.28.tar.bz2 -o 
/opt/local/var/macports/distfiles/php5/php-5.3.28.tar.bz2
$ sudo port -v checksum php5
$ sudo port install php5


Regards,
Bradley Giesbrecht (pixilla)

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


Re: libjpeg-devel?

2014-02-26 Thread Bradley Giesbrecht
On Feb 25, 2014, at 5:42 PM, Terry Barnum te...@dop.com wrote:

 I'm having a go at installing freeswitch (VOIP server, www.freeswitch.org) on 
 a 10.9.1 macmini and it has a half dozen dependencies that I'm hoping can be 
 taken care of with macports. The freeswitch Mac wiki says to use Brew 
 http://wiki.freeswitch.org/wiki/Installation_and_Setup_on_OS_X. I'm a 
 macports guy so I want to see if I can get it working with macports and have 
 them update the wiki.
 
 freeswitch wants libjpeg-devel for header files. The jpeg macport doesn't 
 seem to satisfy this and I don't see a libjpeg-devel or jpeg-devel port. Am I 
 out of luck?


$ port contents jpeg | grep /include/
  /opt/local/include/jconfig.h
  /opt/local/include/jerror.h
  /opt/local/include/jmorecfg.h
  /opt/local/include/jpeglib.h


Terry, I'm willing to help you develop a MacPorts Portfile for freeswitch, if 
you are interested contact me off list.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Problem with Macports, homebrew, and ghostscript

2014-02-11 Thread Bradley Giesbrecht
You might want to rebuild your ports to ensure they did not link against 
/usr/local.

This probably works for this purpose:
sudo mv /usr/local{,-moved-for-macports}
port echo installed  port-installed.txt
port echo requested and active  port-requested-active.txt
sudo port -f uninstall installed
cat port-requested-active.txt | xargs sudo port install

Regards,
Bradley Giesbrecht (pixilla)


On Feb 11, 2014, at 1:24 PM, Sterling Smith smit...@fusion.gat.com wrote:

 Adding the list.
 
 On Feb 11, 2014, at 4:55AM, Sterling Smith wrote:
 
 Fellow User,
 
 According to 
 
 https://trac.macports.org/wiki/FAQ#usrlocal
 
 you could try to rename /usr/local.  MacPorts doesn't install anything to 
 /usr/local.  If there is anything that stops working, then try to install it 
 from MacPorts instead.  For instance:
 
 port search lyx
 ...
 Found 2 ports.
 port search latex
 ...
 Found 34 ports.
 
 Also note that texlive is broken into smaller pieces
 http://trac.macports.org/wiki/TeXLivePackages
 
 Hope that helps,
 Sterling
 
 
 On Feb 11, 2014, at 1:08AM, macosforge.99.ky...@spamgourmet.com wrote:
 
 (I apologize if this message appears more than once; I haven't used the 
 list in a long time, and I had some problem figuring out how I set it up 
 the first time. I have tried a few times to post, but it has failed to 
 appear...I think I was using the right address this time, though I also 
 tried to post via gmane)
 
 Based on some bad internet advice I appear to have installed homebrew 
 without realizing it is not compatible (so to speak) with macports, and so 
 I installed ghostscript via homebrew, without realizing that I had already 
 installed it via macports, and that it appears to have been already 
 installed natively...
 
 What I mean is:
 
 If I port installed I can see
 ghostscript @9.10_0
 ghostscript @9.10_2+x11 (active)
 
 If I brew list installed I see
 ghostscript: stable 9.07, HEAD
 but actually it is not linked, and I get a message
 Could not symlink file: /usr/local/Cellar/ghostscript/9.07/bin/wftopfa
 Target /usr/local/bin/wftopfa already exists. You may need to delete it.
 
 but if I just run gs straight from the terminal, I have
 GPL Ghostscript 9.05 (2012-02-08)
 
 I don't know how I created this mess...but am not sure what to do.
 
 Should I delete ghostscript from homebrew? If I do will I destroy it from 
 macports? Will I destroy the 9.05 version?
 I know that I am using ghostscript with LyX and some other TeX programs...I 
 will have to figure out how to make sure they will still function but I 
 think they all look for gs in usr/local/bin...ack!
 ___
 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


Re: php and 'client denied problems' with macports apache2

2014-02-11 Thread Bradley Giesbrecht

On Feb 11, 2014, at 3:44 PM, Tim Johnson t...@akwebsoft.com wrote:

 I'm on OSX 10.7
 This is a followup to subject 
 Howto enable gd for PHP 5.3.28
 
 I have installed the following :
 php55, php55-intl, php55-memcache, php55-gd, php55-mysql,
 php55-sqlite, php55-gd, php55-opcache, apache2 and
 php55-apache2handler.
 
 php55 was set as the php binary by
sudo port select php php55
 
 To enable php55-apache2handler, I ran:
  cd /opt/local/apache2/modules
sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php55.so

You probably need to add this line somewhere near the bottom of 
prefix/apache2/conf/httpd.conf:
Include conf/extra/mod_php55.conf


 apache2 was started as follows 
  sudo port load apache2
 
 I see the following processes
  /opt/local/apache2/conf/httpd.conf
  /opt/local/apache2/conf/httpd.conf
 
 Modifications to httpd.conf included changes to
 User, Group, ServerAdmin, ScriptAlias, DocumentRoot consistent with
 the prior configuration for the Apple apache2.
 DocumentRoot and ScriptAlias settings seemed to be interpolated
 properly by the browser. cgi-bin appears to be working as normal.

You might want to make fewer change at a time and verify results as you go.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: php and 'client denied problems' with macports apache2

2014-02-11 Thread Bradley Giesbrecht

On Feb 11, 2014, at 4:38 PM, Tim Johnson t...@akwebsoft.com wrote:

 * Bradley Giesbrecht pixi...@macports.org [140211 15:25]:
 ... 
 You probably need to add this line somewhere near the bottom of 
 prefix/apache2/conf/httpd.conf:
 Include conf/extra/mod_php55.conf
   Thanks Bradley. Now I have php working but I am still getting the 
   client denied by server configuration


http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Which SOAP?

2014-01-28 Thread Bradley Giesbrecht

On Jan 28, 2014, at 7:15 PM, Bill Christensen billc_li...@greenbuilder.com 
wrote:

 Hi folks,
 
 I need to install SOAP on a 10.8.5/Apache2.x/PHP 5.3.x machine, and I have no 
 idea which of the variants to install.
 
 It's for a FedEx plugin for WooCommerce. 
 http://www.woothemes.com/products/fedex-shipping-module/


The site linked above does not mention extension or class so I'm guessing that 
the WooCommerce FedEx plugin wants the php soap extension.

If I am correct you want one of these that matches the php version you are 
using:
$ port echo name:php.*soap
php5-soap
php53-soap
php54-soap
php55-soap


Regards,
Bradley Giesbrecht (pixilla)

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


Re: phinze/homebrew-cask on the same system like MacPorts

2013-12-19 Thread Bradley Giesbrecht
On Dec 19, 2013, at 5:17 AM, Clemens Lang wrote:

 On Thu, Dec 19, 2013 at 08:52:52AM +0800, James Linder wrote:
 I hate answers that are opinions without justifing
 
 If you are aware and technical enough to avoid the pitfalls then it's
 easy and works well
 
 It will be easier to avoid the pitfalls after the next MacPorts release
 (or now, when running trunk) by using trace mode (port -t ...) for
 everything. It does add a little performance overhead, but it
 effectively ensures a build doesn't see any files installed in
 /usr/local or any other non-standard location.
 
 I've been running this configuration for weeks for every installation
 and update I've attempted and it works pretty well for me.


Clemens: can trace mode be set in macports.conf?

Regards,
Bradley Giesbrecht (pixilla)

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


Re: Where do I find the changelog of a port package?

2013-11-29 Thread Bradley Giesbrecht
On Nov 29, 2013, at 12:11 AM, Ryan Schmidt wrote:

 
 On Nov 28, 2013, at 04:45, Kurt Pfeifle wrote:
 
 Is there a canonical way to get access to a changelog?
 
 tl;dr: no
 
 Ideally, if a port has one, the maintainer has installed it in 
 ${prefix}/share/doc/${name}. However, not all software developers write 
 changelogs; not all ports whose software includes changelogs install them 
 there, or at all; and the name of the file can vary.


Use port contents to look for a changelog:
port contents port-name | grep /share/
port contents port-name | grep change


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Downgrading squid3

2013-10-21 Thread Bradley Giesbrecht

On Oct 21, 2013, at 6:13 AM, Gaurav Arora wrote:

 Hi,
 
 First time posting to this list so please go easy on me. :)
 
 I am trying to downgrade squid3 to version 3.1.6 to address an issue we're 
 having. I have downgraded subversion in the past and have done so using a 
 checkout of the portfile at a specific revision from the macports svn. 
 However I am unable to find the repo for squid3. Could someone please point 
 me to it? Also, is there an easy way to figure out which revision uses 3.1.6 
 version of squid?


svn log $(port dir squid3)


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Downgrading squid3

2013-10-21 Thread Bradley Giesbrecht

On Oct 21, 2013, at 6:44 AM, Bradley Giesbrecht wrote:

 
 On Oct 21, 2013, at 6:13 AM, Gaurav Arora wrote:
 
 Hi,
 
 First time posting to this list so please go easy on me. :)
 
 I am trying to downgrade squid3 to version 3.1.6 to address an issue we're 
 having. I have downgraded subversion in the past and have done so using a 
 checkout of the portfile at a specific revision from the macports svn. 
 However I am unable to find the repo for squid3. Could someone please point 
 me to it? Also, is there an easy way to figure out which revision uses 3.1.6 
 version of squid?
 
 
 svn log $(port dir squid3)


If your MP tree is not svn then you can look at the log on the MP svn servers:

svn log http://svn.macports.org/repository/macports/trunk/dports/net/squid3


Regards,
Bradley Giesbrecht (pixilla)

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


Re: vox-launcher

2013-10-14 Thread Bradley Giesbrecht

On Oct 14, 2013, at 6:04 AM, Yasaman Sepanj wrote:

 Dear all, 
 
 I'm trying to use google's vox-launcher on mac.
 
 I have attached the install documentation which explains installation on a 
 Linux machine. 
 
 I believe to install some of the packages mentioned I can use macports which 
 i have now installed but I fail to find the names packages on the list.
 
 Can anyone point me to the right direction?


MacPorts python package are frequently name py*-package-name.

$ port echo name:^py.*gtk2 or name:^py.*gobject or name:^py.*dbus or 
name:^py.*alsa or name:^py.*simplejson or name:^py.*notify
$ port info name:^py.*gtk2 or name:^py.*gobject or name:^py.*dbus or 
name:^py.*alsa or name:^py.*simplejson or name:^py.*notify


Regards,
Bradley Giesbrecht (pixilla)

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


Re: my mail

2013-09-18 Thread Bradley Giesbrecht

On Sep 18, 2013, at 9:30 AM, andrea bertana wrote:

 I was trying to install pymvpa (the current version is 2.6) but i got a 
 problem installing the port shotgun.
 
 Error: To install pymvpa with the shogun variant, shogun must be installed 
 with the python variant.
 Error: org.macports.fetch for port py26-pymvpa returned: incompatible shogun 
 installation.

Try this:
sudo port -n upgrade --enforce-variants shogun +python26
sudo port clean py26-pymvpa
sudo port install py26-pymvpa

 Now, i tried either to install python26 + the variants (ucs4 and universal) 
 adding shogun but o got the same error.
 and i used also sudo port install py26-pymvpa - shogun  but nothing change.


Do you have as space between the hyphen and shogun?
With space does not work:
port info py26-pymvpa - shogun

Without space works:
port info py26-pymvpa -shogun



The py26-pymvpa ports shogun variant seems oddly implemented.
$ port variants py26-pymvpa
py26-pymvpa has the variants:
[+]shogun: Do not build shogun

I would expect +shogun TO BUILD  shogun.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Looking for a clue... where do I start if I want to contribute a patch to a broken port?

2013-09-13 Thread Bradley Giesbrecht

On Sep 13, 2013, at 7:05 AM, Patrick Doyle wrote:

 I feel like I should have the proper skills to contribute a patch for a 
 broken port, but I am lacking even the first clue as to where to start.
 
 I just tried installing the gcl (GNU Common Lisp) port and it failed.  
 Following the instructions on the wiki, I have filed ticket #40468.
 
 Suppose I wanted to contribute a patch to fix this problem myself.  Where 
 would I start?  Illustrating the amount of my cluelessness:
 
 1) Where would I learn how MacPorts builds packages from a portfile?

You might start here:
http://guide.macports.org/#development

The man pages can be helpful:
man port macports.conf portfile portgroup portstyle porthier

 2) Do I edit patches  the portfile in place on my /opt filesystem, or can I 
 build a port from within my own source tree?

Either will work. If you work in /opt consider switching from rsync to svn to 
preserve your work:
http://guide.macports.org/#installing.macports.subversion
See item 3 in above link.
https://trac.macports.org/wiki/howto/SyncingWithSVN

 3) If you found that a particular port didn't build, what would you do first?

# Start clean for complete log
port clean port name
port build port name
port log port name

 4) If you found that the port didn't build because of some (possibly obscure) 
 autoconf problem, what would you do?

Develop a patch of the Portfile and/or sources, open a trac ticket and attach 
the patch.

 Perhaps the first place I could start would be to write up a wiki page 
 describing how to fix broken ports.  Would that be of use?

Yes, or if one exists possibly improve it.


Thank you for your interest in contributing.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Looking for a clue... where do I start if I want to contribute a patch to a broken port?

2013-09-13 Thread Bradley Giesbrecht

On Sep 13, 2013, at 7:05 AM, Patrick Doyle wrote:

 I feel like I should have the proper skills to contribute a patch for a 
 broken port, but I am lacking even the first clue as to where to start.
 
 I just tried installing the gcl (GNU Common Lisp) port and it failed.  
 Following the instructions on the wiki, I have filed ticket #40468.
 
 Suppose I wanted to contribute a patch to fix this problem myself.  Where 
 would I start?  Illustrating the amount of my cluelessness:
 
 1) Where would I learn how MacPorts builds packages from a portfile?

You might scan this as well:
http://trac.macports.org/wiki/PortfileRecipes


Regards,
Bradley Giesbrecht (pixilla)

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


Re: openDKIM, unbound, ldns

2013-08-21 Thread Bradley Giesbrecht

On Aug 21, 2013, at 4:11 PM, Ryan Schmidt wrote:

 
 On Aug 21, 2013, at 11:24, Stubbs Jeff wrote:
 
 On Aug 21, 2013, at 12:07 AM, Ryan Schmidt wrote:
 
 On Aug 20, 2013, at 21:04, Stubbs Jeff wrote:
 
 I'm going to start testing the system shortly, but was curious if any one 
 was able to install the ports without modification?
 
 Yes, I can install them OK on Mountain Lion without changes.
 
 Must be a powerpc issue, then.
 
 I would say it's a Leopard issue. I can reproduce the ldns build failure on 
 Leopard on i386.
 
 
 But the openssl port doesn't seem to have a variant for the that config 
 option
 
 Should it? I would rather the openssl port always configure itself correctly, 
 without need for user intervention.
 
 
 modified the deployment target to macosx_deployment_target 10.5
 (Don't know why I modified the target, but it didn't have any visible 
 effect)
 
 MacPorts automatically sets MACOSX_DEPLOYMENT_TARGET to the correct value 
 for all ports.
 
 I thought so, but it was explicitly called out in the port file. 
 
 Ah, I see, the portfile explicitly changes MACOSX_DEPLOYMENT_TARGET to 10.4 
 on 10.5:
 
 platform darwin 9 {
macosx_deployment_target 10.4
 }
 
 This was added in r35712 (on 2008-04-03) but without explanation why. It 
 looks like it was just copied from a similar darwin 8 block that had already 
 been in the portfile since r22077 (on 2007-02-17) again without explanation.
 
 MacPorts base didn't start setting MACOSX_DEPLOYMENT_TARGET globally until 
 r34541 (on 2008-02-27) which was not released to the public until MacPorts 
 1.7.0 (on 2008-12-13). So the manual setting of MACOSX_DEPLOYMENT_TARGET in 
 the ldns portfile is an anachronism that should be removed.

ldns 1.6.16 builds on ppc 10.5.8 with these Portfile changes:

$ svn diff $(port dir ldns) | grep -E ^(-|\+)
--- 
/opt/local/var/macports/sources/svn.macports.org/trunk/dports/net/ldns/Portfile 
(revision 109906)
+++ 
/opt/local/var/macports/sources/svn.macports.org/trunk/dports/net/ldns/Portfile 
(working copy)
-configure.args  --mandir=${prefix}/share/man --with-ssl=${prefix}
+configure.args  --mandir=${prefix}/share/man --with-ssl=${prefix} 
--disable-ecdsa
-platform darwin 9 {
-macosx_deployment_target 10.4
-}
-

Unbound fails for me on ppc 10.5.8.

Is there a ticket yet?


Regards,
Bradley Giesbrecht (pixilla)

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


Re: homebrew and macports together?

2013-08-09 Thread Bradley Giesbrecht
Please enlighten, convert people to what and why?


Regards,
Bradley Giesbrecht (pixilla)

On Aug 9, 2013, at 6:32 AM, Mark Anderson wrote:

 :) Not much, if any. But the reverse is constantly true. LaTeX is the one 
 that got me to convert people in the CS department.
 
 —Mark
 ___
 Mark E. Anderson e...@emer.net
 
 
 On Fri, Aug 9, 2013 at 7:08 AM, Chris Jones jon...@hep.phy.cam.ac.uk wrote:
 
 Create a homebrew port of awesome.
 
 That way, not only will you get what you wanted,
 but everyone will benefit from the fruits of your labor.
 
  ... or take the more enlightened route and switch to using exclusively 
 MacPorts ;) Is there anything Homebrew has than MP doesn't ?

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


Re: list problem with MacPorts 2.2.0

2013-08-06 Thread Bradley Giesbrecht

On Aug 5, 2013, at 11:02 PM, Lawrence Velázquez wrote:

 On Aug 6, 2013, at 12:29 AM, Richard Stanton stan...@haas.berkeley.edu 
 wrote:
 
 If I try and do this in one step with the command port list py*, I get
 just a single result:
 
 python-mode.el @1.0lang/python-mode.el
 
 Is this a bug or am I missing something?
 
 You probably have to escape the asterisk, or your shell will use it to 
 perform filename generation.
 
% port list py\*
% port list py*
% port list 'py*'


Thanks for this, I have been typing the longer:
$ port echo name:^py


Regards,
Bradley Giesbrecht (pixilla)

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


mysql5 should be replaced_by mysql55, mysql56 or mariadb

2013-08-03 Thread Bradley Giesbrecht
It appears many major distributions are switching from mysql to mariadb:

Redhat  Fedora:
http://linux.slashdot.org/story/13/06/14/1225257/red-hat-ditches-mysql-switches-to-mariadb
http://fedoraproject.org/wiki/Features/ReplaceMySQLwithMariaDB

Slackware and Arch Linux:
https://blog.mariadb.org/slackware-and-arch-linux-switch-to-mariadb-as-a-default/

OpenSUSE:
http://www.muktware.com/5148/opensuse-dumps-mysql-makes-mariadb-default-database



Those interested please vote or comment.


My vote:
+1 mariadb


Regards,
Bradley Giesbrecht (pixilla)

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


Re: mysql5 should be replaced_by mysql55, mysql56 or mariadb

2013-08-03 Thread Bradley Giesbrecht
The mysql51, mysql55, mysql56, mariadb and percona ports do not conflict so 
there are no common files, if thats what you meant.

I would like MacPorts to have an [un]official default mysql port that ports can 
depend on or the ports can provide variants or subports for the other mysql's 
when desired.


Regards,
Bradley Giesbrecht (pixilla)


On Aug 3, 2013, at 9:13 AM, Jeremy Lavergne wrote:

 Maria is a drop-in open source replacement for mysql. It also has many 
 features that mysql has avoided adding (for future profit model?).
 
 Mysql has already had some gaffs where they're hinting at closing up the 
 source.
 
 
 
 It's pretty clear mysql is on the way out, but it may not be there yet. Can 
 you compare the installed files to find a common one we can check for a 
 path:-style dependency?
 
 On Aug 3, 2013, at 12:10 PM, Bradley Giesbrecht wrote:
 
 It appears many major distributions are switching from mysql to mariadb:
 
 Redhat  Fedora:
 http://linux.slashdot.org/story/13/06/14/1225257/red-hat-ditches-mysql-switches-to-mariadb
 http://fedoraproject.org/wiki/Features/ReplaceMySQLwithMariaDB
 
 Slackware and Arch Linux:
 https://blog.mariadb.org/slackware-and-arch-linux-switch-to-mariadb-as-a-default/
 
 OpenSUSE:
 http://www.muktware.com/5148/opensuse-dumps-mysql-makes-mariadb-default-database
 
 
 
 Those interested please vote or comment.
 
 
 My vote:
 +1 mariadb
 
 
 Regards,
 Bradley Giesbrecht (pixilla)
 
 ___
 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


Re: weirdness setting default perl version

2013-06-27 Thread Bradley Giesbrecht

On Jun 27, 2013, at 10:51 AM, Puneet Kishor wrote:

   $ which perl
   /opt/local/bin/perl
   $ perl -v
 
   This is perl 5, version 12, subversion 4 (v5.12.4) built for 
 darwin-thread-multi-2level
   ..
 
   $ port installed perl5.14
   The following ports are currently installed:
 perl5.14 @5.14.2_1
 perl5.14 @5.14.2_2 (active)
 
   $ sudo port activate perl5.14 @5.14.2_2
   ---  Computing dependencies for perl5.14
   ---  Cleaning perl5.14
 
   $ which perl
   /opt/local/bin/perl
   $ perl -v
 
   This is perl 5, version 12, subversion 4 (v5.12.4) built for 
 darwin-thread-multi-2level
 
   ..
 
 Now what can I do?


$ port provides /opt/local/bin/perl
$ port variants perl5
$ sudo port -n upgrade --enforce-variants perl5 -perl5_12 +perl5_14
$ perl -v

Regards,
Bradley Giesbrecht (pixilla)

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


Re: Suggestion

2013-06-11 Thread Bradley Giesbrecht

On Jun 11, 2013, at 6:46 AM, Jan Stary wrote:

 On May 28 21:36:58, jon...@hep.phy.cam.ac.uk wrote:
 Hi,
 
 On 28 May 2013, at 08:12 PM, Jean-François Caron jfca...@phas.ubc.ca wrote:
 
 While download statistics might not be a good system, I do concur that 
 MacPorts very much would benefit from having a discovery mechanism by 
 which users find out about useful ports.  Searching is nice, but it's not 
 discovery.  Some kind of top ports list (however implemented) would be 
 useful, imho.
 
 Personally, I fail to see how a 'top ports' list would tell me much. The 
 ports i find essential are likely very different from others, so i don't see 
 how using some sort of a list showing the most used ports would help me in 
 any way in choosing new ones to install. Some ports likely have a low user 
 base, but never less are critical to those that need them, such as more 
 esoteric ports from the science section.
 
 +1
 
 let's say it turns out people download firefox a lot.
 then what?

Say we need/want to update a port that has many dependents; knowing the install 
base of the dependents could help us determine the support ramifications of 
different update approaches.

ie: moving apache2 install files to conform to porthier. Are 10 or 10,000 
people likely to hit the MP mailing list asking what the bleep happened.


Regards,
Bradley Giesbrecht (pixilla)

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


Re: mysql fails to start after upgrade to Mountain Lion OS

2013-06-11 Thread Bradley Giesbrecht

On Jun 11, 2013, at 8:01 AM, Harwood, John E wrote:

 I've upgrade to Mountain Lion and can't get MySQL started.  I've done all 
 kinds of internet searches and am having no luck.

Which mysql port are you trying to use?
This will show the installed and active mysql ports I am aware of:
$ port installed active and \( name:^mysql{5,51,55}{,-server}$ or 
name:^percona{,-server}$ or name:^mariadb{,-server}$ \)

 Previously I could shut down the OS included version of MySQL and start-up 
 the MacPort version with a couple of Terminal commands.

Assuming mysql55-server:
$ sudo port load mysql55-server

 I'm getting a log of mysql.sock can be found and Manager of pid-file quit 
 without updating file. errors.

What is the log file are you reading? Can you show the complete lines?

What command are you executing?

Is mysqld running?
$ ps ax | grep mysqld

 Does anyone with this same experience have a step-by-step of how to overcome 
 this mess?


Did Mountain Lion add my.cnf files that are causing problems?
$ cat /etc/my.cnf /etc/mysql/my.cnf



Regards,
Bradley Giesbrecht (pixilla)

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


Re: Suggestion

2013-05-29 Thread Bradley Giesbrecht
On May 29, 2013, at 6:04 AM, Ryan Schmidt wrote:

 
 On May 28, 2013, at 19:46, Craig Treleaven wrote:
 At 5:26 PM -0500 5/28/13, Ryan Schmidt wrote:
 On May 28, 2013, at 17:17, Chris Jones wrote:
 On 28 May 2013, at 10:59 PM, Ryan Schmidt wrote:
 On May 28, 2013, at 16:56, Craig Treleaven wrote:
 
 I'd like to know that a port has been successfully installed, recently.  
 IOW that it hasn't suffered bitrot!
 
 To some degree, you can answer that already, by checking if there is a 
 recent package on the packages server.
 
 
 
 True but a non-trivial fraction of ports not able to be distributed as 
 binaries.
 
 I was about to say the same. To my mind, this question is much 
 better/simply answered by just checking to see if the build bots 
 successfully built the port question. I don't see what you gain by getting 
 user stats as well.
 
 Just because the buildbots could build the port when it was last updated 
 doesn't mean that anybody can still build it today. For example, one of its 
 dependencies could have been updated in a way that is incompatible.
 
 Am I missing something; how does one look up whether/when the buildbots 
 built a specific port?
 
 I'm not aware of a way to look it up. If there's a package on the packages 
 server, then it was built by the buildbots. But the absence of a package on 
 the packages server does not necessarily indicate a buildbot failure; as you 
 say, many ports are not distributable.
 
 We should think about incorporating information about whether a port was 
 successfully built into the main web site.


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


Re: error message in Macports

2013-05-24 Thread Bradley Giesbrecht
On May 24, 2013, at 12:42 PM, Madden, Lisa E. (GSFC-619.0)[ADNET SYSTEMS INC] 
wrote:

 Hi all,
 
 Newbie to Macports so excuse if this is a dumb question….
 
 We cannot use rsync so am updating using svn.  Anyway, I type port sync, and 
 it comes back with this error:
 
 Synchronization of the local ports tree failed doing an svn update
 Port sync failed: synchronization of 1 source(s) failed
 
 
 WHAT does this mean and how do I find out which source failed?

I'm not sure.

Make port more verbose and see if you get any clues.

$ sudo port -d sync



Regards,
Bradley Giesbrecht (pixilla)

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


Re: Why does Virtualbox need Universal binaries?

2013-05-16 Thread Bradley Giesbrecht

On May 16, 2013, at 10:16 AM, John Ruschmeyer wrote:

 A further question:
 
 Does the virtualbox-guest-additions port install the additions on the 
 current system (i.e., a VM of Mac OS X) or install the multi-platform .iso 
 file?

This might answer your question:
$ port distfiles virtualbox-guest-additions
...
http://download.virtualbox.org/virtualbox/4.2.12/VBoxGuestAdditions_4.2.12.iso
...


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Why does Virtualbox need Universal binaries?

2013-05-15 Thread Bradley Giesbrecht
On May 15, 2013, at 1:40 PM, Ryan Schmidt wrote:

 
 On May 15, 2013, at 15:38, John Ruschmeyer wrote:
 
 I decided to install Virtualbox via MacPorts as opposed to installing the 
 binary from Oracle. What has happended, though, is that MacPorts has started 
 recompiling dependencies with +Universal (currently on glib2).
 
 What I don't understand is why this is necessary, particularly since 
 Virtualbox will never run on anything other than an Intel-based system?
 
 Virtualbox installs a kernel extension. So it needs to build for the same 
 architecture as your kernel.
 
 Your Mac is presumably one of the early Intel Macs that uses a 32-bit kernel, 
 therefore Virtualbox builds itself 32-bit. In order to do that, MacPorts must 
 first rebuild all of its dependencies universal (32-bit and 64-bit).

buildbot +universal would be nice


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Foolish

2013-04-17 Thread Bradley Giesbrecht

On Apr 17, 2013, at 7:37 PM, James Linder wrote:

 I allowed myself to be seduced by 'self upgrade' and 'upgrade outdated' (I 
 was installing git)
 sooo
 can the Maintainers of MythTV attend to the totally broken port please.
 
 mythtv-core.25 @0.25.3-Fixes-20121025 (multimedia)
 
 ...
 :info:build make[2]: Nothing to be done for `first'.
 :info:build make[2]: Leaving directory 
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythui'
 :info:build ld: warning: directory '-L/opt/local/lib -arch x86_64 
 /System/Library/Frameworks -Wl,-dynamic,-search_paths_first' following -F not 
 found
 :info:build ld: file not found: /opt/local/lib/libx264.119.dylib
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [libmythupnp-0.25.0.25.0.dylib] Error 1
 :info:build make[2]: Leaving directory 
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv-core.25/mythtv-core.25/work/mythtv-117b611e/mythtv/libs/libmythupnp'
 :info:build make[1]: *** [sub-libmythupnp-make_default] Error 2
 ...


Possibly a missing dependency by some port on port:x264:
$ port provides /opt/local/lib/libx264.128.dylib 
/opt/local/lib/libx264.128.dylib is provided by: x264



Regards,
Bradley Giesbrecht (pixilla)

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


Re: Path Out of Control

2013-04-03 Thread Bradley Giesbrecht
On Apr 2, 2013, at 7:22 PM, Ryan Schmidt wrote:

 
 On Apr 2, 2013, at 21:00, Ryan Schmidt wrote:
 
 The code that changes your .profile hasn't really changed in a long time. It 
 should not have added to your .profile if the path was already set properly.
 
 The code the installer runs to set up your .profile is here, by the way:
 
 https://trac.macports.org/browser/trunk/base/portmgr/dmg/postflight?rev=92903#L241
 
 If you can see anything wrong in the code that might account for this 
 problem, please let us know.

MacPorts installer could do something like this and ports that need to effect 
the users ENV could drop files in $MP_PREFIX/etc/macports/profile.d/:
$ tail -n1 ~/.bash_profile:
. /opt/local/etc/macports/profile
$
$ cat /opt/local/etc/macports:
export MP_PREFIX=/opt/local
if [ -z ${OLDPATH} ]; then
export OLDPATH=$PATH
fi
if [ -z ${OLDMANPATH} ]; then
export OLDMANPATH=$MANPATH
fi
export PATH=$MP_PREFIX/bin:$MP_PREFIX/sbin:$OLDPATH
export MANPATH=$MP_PREFIX/share/man:$OLDMANPATH
. $MP_PREFIX/etc/macports/profile.d/*
$
$ cat /opt/local/etc/macports/profile.d/apache2:
export PATH=$MP_PREFIX/apache2/bin:$PATH


Regards,
Bradley Giesbrecht (pixilla)

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


Re: Disable antivirus when building this port.

2013-02-27 Thread Bradley Giesbrecht
On Feb 27, 2013, at 1:05 AM, Jan Stary wrote:

 Should the port
 job recognize notes that need to displayed
 _before_ the build even starts, display them
 up front and pause?

Pausing would make building a large dependency chain a real hassle and not work 
well for the buildbots unless overridden.

Perhaps we could simply make port notes more prominent in the online 
documentation and suggest users read the notes before install/upgrade.

$ port notes outdated
$ sudo port upgrade outdated



Regards,
Bradley Giesbrecht (pixilla)



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


Re: Notes...that flash by and are gone...(was Re: any good audio/video editing apps in macports?)

2013-02-26 Thread Bradley Giesbrecht
On Feb 25, 2013, at 3:42 PM, Jan Stary wrote:

 The modification IMHO belongs to port(1) itself:
 remember what was installed in this run, then
 print out all the messages (as opposed to printing
 every message just after the given port is installed),
 so that they are in one place and the user doesn't
 have to watch for it or scan the output.

Re-posting all the notes at the end of an install/upgrade run may not give all 
the details you are looking for. What if all the dependencies were already 
installed and the current version?

What is wrong with this current functionality for getting at the notes:
$ port notes depof:kdenlive

or more complete:
$ port notes rdepof:kdenlive

and less noisy:
$ port notes rdepof:kdenlive | grep -v has no notes.


Regards,
Bradley Giesbrecht (pixilla)



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


Re: NTFS-3G fuse4x dependency

2013-02-26 Thread Bradley Giesbrecht

On Feb 26, 2013, at 11:02 AM, Chris Murphy wrote:

 NTFS-3G on Macports lists fuse4x as a dependency. Does that mean when 
 building  NTFS-3G as an installer package, that it will install fuse4x?
 
 Since fuse4x has been merged into OSXFUSE, when can Macports depending on 
 fuse4x be expected to depend on OSXFUSE instead? And in the meantime, is it 
 recommended to install/re-install OSXFUSE anytime a fuse4x dependent port is 
 installed, to make sure OSXFUSE is used instead of fuse4x?

Fuse ports would need a osxfuse port to depend on and MacPorts does not 
currently provide one.

I don't see where anyone has opened a trac ticket requesting a osxfuse port:
https://trac.macports.org/search?q=osxfuse

Please open a new trac ticket request for osxfuse. If you can supply a osxfuse 
Portfile that would be a plus.


Regards,
Bradley Giesbrecht (pixilla)



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


Re: Notes...that flash by and are gone...(was Re: any good audio/video editing apps in macports?)

2013-02-25 Thread Bradley Giesbrecht

On Feb 25, 2013, at 5:42 AM, Jim Graham wrote:

 On Mon, Feb 25, 2013 at 02:05:07PM +0100, Jan Stary wrote:
 On Feb 24 20:50:52, ctrelea...@cogeco.ca wrote:
 
 3) Deliver the messages in another manner:  eg, cause them to open
 in TextEdit or a browser window.
 
 That needs the capability to open a window.
 No way.
 
 There may be something I'm missing here, but why No way ?

Where would the window open for remote installs via ssh?


Regards,
Bradley Giesbrecht (pixilla)



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


  1   2   3   4   5   6   >