Re: MacPorts rsync server in Germany - is this the current "normal"?
Also yes, it's normal. $ dig nue.de.rsync.macports.org ftp.fau.de. ftp.rrze.uni-erlangen.de. 131.188.12.211 On 08/05/2016 08:26 AM, Jeremy Lavergne wrote: > https://trac.macports.org/wiki/Mirrors > > Also using that mirror in Boston. > > > On 08/05/2016 08:21 AM, PhilDobbin wrote: >> I'm seeing it too here in London. > > ___ > 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: MacPorts rsync server in Germany - is this the current "normal"?
https://trac.macports.org/wiki/Mirrors Also using that mirror in Boston. On 08/05/2016 08:21 AM, PhilDobbin wrote: > I'm seeing it too here in London. ___ 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?
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
Re: How do I find out who requested a port?
Check out `port dependents gdk-pixbuf2` (with port deps being the other direction). On April 13, 2016 6:42:42 PM EDT, Michaelwrote: >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 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: port [m]dmg and PackageMaker
PackageMaker should be available on the Apple developer site. On April 12, 2016 10:42:24 AM EDT, "René J.V. Bertin"wrote: >On Tuesday April 12 2016 09:34:06 Ryan Schmidt wrote: > >> The MacPorts release process depends on the "port pkg" and "port dmg" >commands: >> >> https://trac.macports.org/browser/trunk/base/portmgr/ReleaseProcess >> >> So it worked for us when we released MacPorts 2.3.4. > >Did you create packages/dmgs on multiple OS X versions? I guess the >"base" code I am running (slightly newer than 2.3.4) should still >function on 10.6 and maybe 10.7; anything that still runs Xcode 4.3 in >fact. > >And it's the pkg step that requires PackageMaker ... > >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
Re: Upgrading guile18 fails
Create a ticket and upload the full log please. The error was not in the previous email. On Aug 23, 2015, at 7:57 PM, Dave Horsfall wrote: Nearly 5000 lines in main.log so I won't attach it (unless someone really wants it), but the important bit seems to be: ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: mariadb upgrade fetch fail last
Connections terminating prematurely is a signature of sandvine-like deep packet inspection ordering the connection closed. It could entirely just be the network. On Aug 19, 2015, at 10:40 PM, Brandon Allbery wrote: Sigh. I think ykf.ca has been a problem in the past, at least I recall once having to manually delete it from the mirror sites to get things to work. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Two User-Experience Problems
from macports.conf # Lowered scheduling priority to use for commands run during configure, # build, and destroot. Accepted values are 0 (normal priority) through # 20 (lowest priority). #buildnicevalue 0 check out Apple command line utility: pmset noidle On Aug 20, 2015, at 3:13 PM, Jean-François Caron wrote: 1) I want ports to build in parallel when possible, but I’d like to select a maximum number of cores assigned to the job. My CPU has 8 cores with hyperthreading, and when upgrading e.g. clang, my OS and apps are seriously laggy. If could limit the number of cores assigned to the job, I’m guessing this wouldn’t happen. According to my Googles, my only option is to disable parallel builds entirely. Would it be feasible to add an extra option like “buildmaxcores” or something? 2) Since my OS is unusable during long builds, I walk away from the computer, but then it goes to sleep the build is paused. The current advice is to get a non-macports app called Caffeine to do some magic, or write a custom port wrapper to use pmset noidle before and after the port command. This should be an option in the MacPorts configuration somewhere, one shouldn’t have to resort to 3rd-party apps or scripting to get user-friendiness out of MacPorts. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Installing igraph
Somehow you have Python2.7 files already present in /Application/MacPorts/Python2.7. I'm mostly curious how that occurred, which is likely what Russell hinted: MacPorts was only partially removed at some point. But yes, I'd recommend letting MacPorts take over its own directory again via forcing activation. On Jul 3, 2015, at 10:46 AM, Floriane B wrote: Error: org.macports.activate for port python27 returned: Image error: /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python27. Use 'port -f activate python27' to force the activation. Error: Failed to install python27 Please see the log file for port python27 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log Error: The following dependencies were not installed: py27-setuptools python27 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-igraph failed Do you think i should force the activation of port python27 ? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: 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.
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! ___ 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.
Goodness that appeared terrifyingly manual. Now that we have buildbots, I'd hope we consider letting them come up with this as an infrastructure matter. On Tue, June 23, 2015 17:28, Daniel J. Luke wrote: oh, you mean like contents list? https://trac.macports.org/changeset/1528/trunk/base/src/port1.0/portregis try.tcl everything old is new again ;-) [see also https://trac.macports.org/changeset/1748/trunk/base/doc/exampleport/Portf ile and https://trac.macports.org/changeset/2241/trunk/base/doc/portstyle.7] ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: HELP
If Apple apache config file is overriding the macports one, that means the apple one is actually running. Step One of getting a LAMP stack going is to shut off the Apple version: https://trac.macports.org/wiki/howto/Apache2 https://trac.macports.org/wiki/howto/MAMP On Jun 2, 2015, at 8:59 AM, Cheesy One wrote: I am using a macbook pro running os x yosemite (10.10). I am setting up a local developer environment using macports. in trying to simplify the installation of soctware i decided to try and use macports for apache 2.4, php 5.5 and mysql, i seem to have gotten stuck. My apache installation went properly at first. but no i am trying to set up a virtual host environment to be located in a folder in my desktop. and after 8 hours of fiddling with various recommendation s from online, i have discovered that my webbrowser is not recognizing my macports configuration file. that is httpd.conf. it only seems to recognized the file previously installed by apple. As you already know yosemite ships with php and apache. how do i get the laptop to point to the correct httpd.conf file? there are two...one installed by apple and one by macports. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: `port -pf upgrade outdated` is incredibly unsafe ??
End users probably don't read the man pages to even know these flags exist. We're left wondering how and why you're even using them. -p Despite any errors encountered, proceed to process multiple ports and com- mands. -f force mode (ignore state file) Do you run force mode on all your system commands and never check the result before the next one? That's an analogy here. MacPorts upgrades dependencies by default. The routine you employ here breaks that in the worst way possible: it ignores problems and safeties with prejudice. For what purpose are you using these flags? On May 28, 2015, at 1:09 PM, Kurt Pfeifle wrote: Ok then: which one of the two switches is the unsafe one? I guess the -f? Or has the combination of the two even more damage potential? I started to make it a habit using them, because so often the upgrade does not run through to continue with a few hundred other packages because of just one or two or three packages fail… And this requires me to restart the upgrade every so often, with a changed list of package names. If the -f (or the combo of -pf) is indeed so terribly unsafe as you say (I do not doubt your statement, even though I do not understand the reason for it), then there should be at least one of the following: • Add a warning (including the reason for it) to the port manpage. • Emit a warning on the command line, whenever this option is used. Currently none of the two is present. So do not wonder, if (some of the few) users who read man pages also make use of it :) ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: `port -pf upgrade outdated` is incredibly unsafe ??
I'm confused about the purpose of the thread. The documentation indicates why what you're doing is a bad thing. You should just run random commands without knowing what they do. To quote IRC: things break so often that i decided that the best course of action was to ignore the breakage It sounds like you don't actually want help. On May 28, 2015, at 1:34 PM, Kurt Pfeifle wrote: On Thu, May 28, 2015 at 7:28 PM, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: End users probably don't read the man pages to even know these flags exist. That's what I already hinted at in my last mail. We're left wondering how and why you're even using them. -p Despite any errors encountered, proceed to process multiple ports and com- mands. -f force mode (ignore state file) Do you run force mode on all your system commands Nope, I don't. and never check the result before the next one? I gave up to do this for MacPorts upgrades, because it is so time consuming. I do however always check *afterwards* what problems did occur. That's an analogy here. That sentence I do not understand. For what purpose are you using these flags? I outlined that already in my last mail. :-) ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: libjpeg vs. libjpeg-turbo
On May 24, 2015 11:07:37 PM EDT, Mihai Moldovan io...@macports.org wrote: On 25.05.2015 04:52 AM, Ryan Schmidt wrote: On May 24, 2015, at 8:52 PM, Lawrence Velázquez wrote: Replacing libjpeg with libjpeg-turbo. I think this point is off-topic, as this discussion is primarily about maintainability and not performance. ...I assumed it was also about performance. If we object to changes IJG is making to jpeg, we can also just stop updating jpeg past 9, or we can downgrade it to 8. For me, it also is. I'm dependent upon a fast JPEG decompressor for another application I'm part of upstream. I do not particularly care what the default JPEG port is in MacPorts as long as there is a choice for being able to switch to libjpeg-turbo (i.e., a path-based dependency), but I very much prefer libjpeg-turbo for speed and compatibility reasons (again, Linux distributions switched to libjpeg-turbo and a cross-platform application benefits from the same toolchain even on the other platforms.) Mihai ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users The fact that you want the turbo one for comparability speaks volumes. Echoed by other package a man gets doing this should also speak volumes. All the other concerns should be dwarfed by this. If it was a real issue, ALL the world is in trouble. Clearly, this is not the case. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: port selfupdate not working
On April 11, 2015 6:31:04 AM EDT, Ryan Schmidt ryandes...@macports.org wrote: On Apr 11, 2015, at 2:50 AM, Pragati Srivastava wrote: When i m trying to sync ports tree using subversion, the following command giving error $svn co http://svn.macports.org/repository/macports/trunk/dports/ . Error: svn: E175002: Unable to connect to a repository at URL 'http://svn.macports.org/repository/macports/trunk/dports' svn: E175002: OPTIONS of 'http://svn.macports.org/repository/macports/trunk/dports': could not connect to server (http://svn.macports.org) Then your network's proxy is blocking OPTIONS and other WebDav methods used by Subversion. You can circumvent that block by using https instead of http, since a proxy cannot see the content of encrypted connections. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users Well, a proxy can see inside https if it simply provides a trusted certificate to the client. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem with selfupdate
It's likely the network you're on blocking rsync. Thank whomever for providing a less than useful experience on the network. A work around is: http://trac.macports.org/wiki/howto/SyncingWithSVN On Apr 7, 2015, at 3:09 PM, David Epstein wrote: One possible explanation that occurs to me is that I am connecting to the Internet from behind some kind of firewall. However, that is just wild conjecture. But it is true that I’m not at the usual place from where I have in the past successfully run selfupdate without a problem. Maybe someone more knowledgeable than I am can say what they think, and let me know if there is a workaround. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Search for port contents for any port...?
No. You can manually achieve this if prebuilt archives of the software are distributable. You would download the archive and list the contents. For example, to see what's in qt5-mac you would: 1 download an archive from https://packages.macports.org/qt5-mac/ such as `curl -O https://packages.macports.org/qt5-mac/qt5-mac-5.3.2_1.darwin_14.x86_64.tbz2` 2 list the files of the archive such as `tar jtf qt5-mac-5.3.2_1.darwin_14.x86_64.tbz2` On Apr 3, 2015, at 10:55 PM, Carlo Tambuatco wrote: Is there some sort of method for listing the port contents of any port whether it is installed or not? Like say I want to find out exactly what files a given port will install before I actually install it? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Port install fails for curl, requires gcc4.2
On March 4, 2015 7:04:04 PM EST, Ryan Schmidt ryandes...@macports.org wrote: On Mar 4, 2015, at 11:29 AM, Tom Emmert wrote: 20+ hrs later, DONE! No swapping that I could see. I just never imagined that it would take that long! My apologies for not digging deeper the first time! Now, let's see how long wireshark takes! Thank you very much for your help, Tom Great, glad it worked. 1 GB RAM should be ok for compiling most ports; my PowerPC test machine has only 512 MB. But your 500 MHz processor is slow. It may be the fastest G3 Apple shipped, but it's still much slower than my 1.67 GHz G4. And when I do updates on mine, I typically set them to go at night and check on them in the morning. Compiling compilers is one of the slowest tasks though. Most ports should build much quicker. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users Apple employee indicates an iBook had a 900mhz g3 (2003l. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: php53 ipv6 and file_get_contents getaddrinfo failed
On March 4, 2015 8:22:01 PM EST, Ryan Schmidt ryandes...@macports.org wrote: On Mar 4, 2015, at 9:48 AM, Jim Hu wrote: New to the listserv and sorry if this is an old issue that I couldn't find an answer to via Google. I've been running an older OSX 10.6 (Snow Leopard) XServe server for some time. It's an older Mac that can't be updated further. I have MacPorts running on it, but until recently I was using the MacPorts PHP53 with Apple's built-in apache2 by including LoadModule php5_module /opt/local/apache2/modules/mod_php53.so in /etc/apache2/httpd.conf Recently my campus security people wanted me to update the apache version being run on this server, so I inactivated the apple apache2 and restarted using the MacPorts version. Suddenly I started getting this error in my apache error logs: file_get_contents(): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in... Googling this, there were a number of suggestions that this is an ipV6 problem, and indeed, if I inactivate ipv6 using ip6 -x and then restart apache (using stop and start) the functionality that uses file_get_contents starts working again. But once or twice per day, something breaks it again and I have to stop and start apache2 again. I don't understand why this would be an apache issue, but I think I've seen this for over a year because the reason I was running Apple's built in apache up until now, despite using MacPorts PHP is that certain functionalities on my site stopped working when I previously tried to switch to MacPorts apache2. I'm not even sure if ipv6 is the real problem, or whether the apache stop and start was what was providing the fix. Since this doesn't seem to be a problem for others, I suspect that there is a configuration problem on my server of some kind. But I can't figure out what it is. Any suggestions would be welcome. I haven't run into this, but I don't do much PHP programming anymore. All I can suggest is that, since PHP 5.3 is at end of life, you try a newer version of PHP. We have php54, php55 and php56 in MacPorts as well. Of course you may need to change your project's code to be compatible with these versions. There are guides on the PHP web site for how to do that, links to which are printed by running port notes php53. If you suspect this is related to using Apache, you could also consider trying a different web server, such as nginx which I understand is very popular. Under such a web server, you would no longer be using the PHP Apache SAPI (in the php*-apache2handler ports), but instead the PHP FastCGI Process Manager SAPI (in the php*-fpm ports). ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users You should use php fpm regardless of the web server. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: ipython 3.0 issue
On Mon, March 2, 2015 17:25, Gideon Simpson wrote: I upgraded to ipython 3.0, and when I try to convert an ipython notebook to PDF or HTML, I get the error: ImportError: No module named mistune It's entirely possible. Which python's ipython did you install? Once that pythonx.y's pip is installed, I'd recommend using it to install mistune. The general workflow would be: sudo port install pip-X.Y sudo port select pip pip-X.Y sudo pip-X.Y install mistune ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: ipython 3.0 issue
On Mon, March 2, 2015 18:36, Gideon Simpson wrote: py27-ipython @3.0.0_0+notebook+parallel+scientific Ok, installing mistune through pip solved the problem. Version 3.0 also requires py-jsonschema, which is not a current dependency. -gideon Good find! https://trac.macports.org/ticket/47004 I'm adding your details to this ticket. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: updating a very old Macports install
On Wed, February 11, 2015 21:32, Bruce J. Carter wrote: I need some suggestions or ideas, I've been trying upgrade a Macports install that's at least 3 years old, there has been two OS upgrades in between (Mavericks Yosemite). I get to a certain point and I get errors. Some errors I've been able to over come, but I am stuck at this point, I have a bunch of built ports that won't install that are inactive. I am trying to avoid cleaning and reinstalling everything. But that's precisely what you should do... https://trac.macports.org/wiki/Migration ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: script to generate macports dependency graph
On Wed, January 21, 2015 20:58, Murray Eisenberg wrote: Where should one place those two scripts on one's computer? It looks like they can both run from anywhere, making use of your $PATH to find MacPorts. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: /opt/local/macports/software
When MS Office singlehandedly uses up all the drive on those tiny drives, I cannot feel sorry that there's no room left for MacPorts--because there's already no room left for anything before MacPorts even enters the picture. On January 19, 2015 9:49:43 PM EST, Craig Treleaven ctrelea...@macports.org wrote: At 8:20 PM + 1/19/15, Chris Jones wrote: On 19 Jan 2015, at 7:13 pm, Craig Treleaven ctrelea...@macports.org wrote: At 3:11 PM + 1/19/15, Chris Jones wrote: ... Does anyone else find it bizarre that, in 2015, we've got such an active thread about saving a few gigs of space? Nope. Saving disk space when not required is always a good idea. If I buy a sub-compact car, I can hardly complain that my skiis won't fit inside. I truly understand cost constraints and tradeoffs. However, if a compressed archive of MacPorts-installed packages is the tipping point for your system...I'd say you're running far too close to the edge. If one has a too-small SSD, it seems more-than-a-little strange to complain that building/installing a bunch of software packages consumes it. Get a bigger drive. Or smaller expectations. And how pray does one do that in a Mac Book with non-upgradable Solid state storage... Upgrade: http://eshop.macsales.com/shop/SSD/OWC Or the time-honoured fashion in the Apple world...trade up. Craig ___ 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: script to generate macports dependency graph
You might consider adding this to the MacPorts respository, alongside the Tcl version of your script: http://trac.macports.org/browser/contrib/port-depgraph/port-depgraph On Sat, January 17, 2015 10:28, Mathias Laurin wrote: I am into graphs these days and I wrote a short python script to generate a dot file (input for graphviz) of the dependencies of ports. It can be fed with several ports e.g. $(port echo outdated) and understands variants. I actually find it useful so I thought I would share... In any case it is free at https://github.com/Synss/macports_deptree Some ideas come from http://www.puredarwin.org/developers/macports/macports-dependencies-overvi ew although I did not try reading the 400+ lines of shell script... ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: antlr3 install
On Fri, January 16, 2015 11:21, James Rome wrote: The antlr3 site https://github.com/hnw/macports-repos-hnw/wiki/package:-antlr3 says: |$ sudo port install antlr3 | Installed files * /opt/local/bin/antlr3 * /opt/local/share/antlr3/lib/antlr-2.7.7.jar * /opt/local/share/antlr3/lib/antlr-3.1.3.jar * /opt/local/share/antlr3/lib/antlr-runtime-3.1.3.jar * /opt/local/share/antlr3/lib/stringtemplate-3.2.jar * /opt/local/share/antlr3/LICENSE.txt * /opt/local/share/antlr3/README.txt But when I install antlr3 with the above command, I do not get files at any of these locations (for python 3.2) Where are they hiding, and how do I get python to see them I would first check where the files went with this command: port contents antlr3 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: antlr3 install
On Fri, January 16, 2015 12:37, James Rome wrote: It is in /opt/local/share/java but if I put this into PYTHONPATH, it still is not found. Why is the documentation so far off? If it's in a java folder, I suspect what is installed is not a python module. Are there any other antlr ports that indicate they install python modules? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: antlr3 install
On Fri, January 16, 2015 12:58, James Rome wrote: When I do port install antlr3 it says it is installed and well. Ditto for: sudo port install py-antlr3 --- Computing dependencies for py-antlr3 --- Cleaning py-antlr3 --- Scanning binaries for linking errors --- No broken files found. jarmac-2:src jar$ port contents py-antlr3 Port py-antlr3 contains: /opt/local/share/doc/py-antlr3/README which says it is a stub port, whatever that means What should PYTHONPATH be set to? We're getting closer to the PYTHONPATH step, spotting that py-antlr3 port. We're not there yet. Were there any version-specific py-antlr3s, such as py27-antlr3 or in your case py32-antlr3? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: error installing qgis
:notice:build Please see the log file for port qgis for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/main.log ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Recent failure of macports
Please send some actual output, or logs. On Nov 26, 2014, at 4:04 PM, DD wrote: Recently I installed youtube-dl with no problems. As I do from time to time I did a selfupdate to keep the tree current a few days later. I'm no longer ABLE to use macports. There are error messages to a failure of curl to find various things as though the location it was expecting has changed. The gettext is an example if I try a fresh install of youtubes-dl. I do most things in terminal and have snow leopard still. With the most recent os10 update has there been some change to the way macports works that might be the source of my problem that appeared with the tree update? Could I reinstall the snow leopard version and start from scratch as a possible solution? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: something's not right
Oh the irony. On Nov 23, 2014, at 1:19 PM, Jeremy Lavergne wrote: # A list of rsync mirrors is available at # https://trac.macports.org/wiki/Mirrors#Portfiles. On Nov 23, 2014, at 1:13 PM, Mark Brethen wrote: Is there a mirror we can use, until these are back online? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: something's not right
# A list of rsync mirrors is available at # https://trac.macports.org/wiki/Mirrors#Portfiles. On Nov 23, 2014, at 1:13 PM, Mark Brethen wrote: Is there a mirror we can use, until these are back online? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: something's not right
Sounds like macports cannot connect to download the list of packages available. Are you able to run the rsync command manually? Any rsync outside your network? On November 22, 2014 11:40:05 PM EST, Mark Brethen mark.bret...@gmail.com wrote: After a clean install of Mavericks, I installed xcode 6.1, the command line tools for 6.1 and MacPorts-2.3.3-10.9-Mavericks.pkg. But when try 'port search', port search emacs Warning: Can't open index file for source: rsync://rsync.macports.org/release/tarballs/ports.tar Error: search for name emacs failed: No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'. and then, localhost:~ marbre$ sudo port -v selfupdate Password: --- Updating MacPorts base sources using rsync rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9] Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs Exit code: 10 Error: Error synchronizing MacPorts sources: command execution failed Mark ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Macports problems after upgrading to Yosemite
Yes. On Nov 21, 2014, at 14:25, Chris Freyberg ch...@furor.co.nz wrote: Has anyone followed exactly those uninstall instructions ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: upgrading XCode on 10.9
MacPorts tends to work fine without Xcode unless a package needs xcodebuild. On Nov 20, 2014, at 10:41, René J.V. Bertin rjvber...@gmail.com wrote: MacPorts should do fine with the commandline tools, no? (xcode-select -p /Library/Developer/CommandLineTools) ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Port update outdated problem.
Yosemite introduced a new version of the database software that MacPorts uses, making MacPorts horrifically slow presently. Please let the process complete next time. A (not yet released) version of MacPorts will address the database changes from Yosemite. On Nov 19, 2014, at 17:37, Merton Campbell Crockett m.c.crock...@roadrunner.com wrote: I was performing an update of outdated software and ran into this problem when updating Wireshark. --- Computing dependencies for boost --- Fetching archive for boost --- Attempting to fetch boost-1.56.0_2+no_single+no_static+python27.darwin_14.x86_64.tbz2 from http://packages.macports.org/boost --- Attempting to fetch boost-1.56.0_2+no_single+no_static+python27.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/boost --- Installing boost @1.56.0_2+no_single+no_static+python27 --- Cleaning boost --- Computing dependencies for boost --- Deactivating boost @1.56.0_1+no_single+no_static+python27 At this point update stops until a Control C is entered. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Port update outdated problem.
https://trac.macports.org/ticket/45645 It's already documented in the ticket tracker. On Nov 19, 2014, at 9:14 PM, Merton Campbell Crockett wrote: Jeremy: Your assertion that the problem is related to a new version of the database software included in the Yosemite software distribution bothers me. It would seem to me that if there were a general problem with changes to the database software, I should have seen delays when the 15 outdated software packages were processed before processing the boost package. I probably should have noted that it was “hung” on the deactivating step around 10 minutes before I entered the Control-C ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Statically linked binaries killed by signal 9 on Yosemite
http://stackoverflow.com/questions/26564125/yosemite-and-valgrind From the above, Valgrind is notorious for taking their sweet time supporting new versions of OSX. You're just going to have to wait. On Nov 15, 2014, at 7:11 PM, Dave Horsfall wrote: Hmmm... The port for 10.10 not yet available? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Apache quit after last macports update...
Is PHP installed? Also, don’t manually do things inside the directories that Macports owns. It’ll just bite you harder than this if you aren’t mindful of the consequences. On Nov 10, 2014, at 11:27, SH Development listacco...@starionline.com wrote: What happened here, and how do I fix it? Can I just copy that module back into the modules folder? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Apache quit after last macports update...
Okay, it’s starting to sound like apxs needs run since php5 was made obsolete (that’s the package libphp5.so belonged to). I’d just follow the next steps for setting up php56 with Apache to get you up and running again (uses php56-apache2handler), after deleting that libphp5.so reference from line 118 of /opt/local/apache2/conf/httpd.conf: http://trac.macports.org/wiki/howto/MAMP#php On Nov 10, 2014, at 12:06, SH Development listacco...@starionline.com wrote: It was installed and working before the update, but when I do: which php I get usr/bin/php not the one that macports would have installed, so it appears that it may have gotten hosed as well. When I install php56, it acts like it's already installed. Same with apache2. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: pykde4
I think Python builds as a framework, so you’d want to check the Library/Framework/Python/ directories instead. On Nov 10, 2014, at 16:06, René J.V. Bertin rjvber...@gmail.com wrote: /opt/local/lib/pythonX/site-packages ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Customisation of the MacPorts download method
Can you elaborate on the issues? Rather than avoiding the problem it’d be best to fix it. On Oct 27, 2014, at 11:38, Artur Szostak aszos...@partner.eso.org wrote: Am I correct in assuming that MacPorts uses curl or the curl library to perform source code downloads? And is there any way to customise this? for example, get MacPorts to use wget instread? The reason is that I am experiencing problems with curl, while wget works. Kind regards. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Customisation of the MacPorts download method
You’re running into a deadlock with FTP: the machines on both sides of the connection have restrictive firewalls, so additional ports cannot be opened for listening. This means you just need to disable passive mode for the ports whose servers need that, which should be simply adding this when applicable: fetch.use_epsv no There is only integration with curl. On Oct 27, 2014, at 13:47, Artur Szostak aszos...@partner.eso.org wrote: The virtual machine is using NAT. I already checked with using a bridged network instead. With this setup curl download works again. But this workaround no longer works when bringing the VM up with vagrant. Considering no one has told me how to change the MacPorts default download method, am I to assume there is no such option? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Customisation of the MacPorts download method
Each server’s networking restrictions may be different; this might be the only server needing the change and all other FTP servers would break from it. I’d definitely take this one port at a time, or figure out the VM networking situation. On Oct 27, 2014, at 14:41, Artur Szostak aszos...@partner.eso.org wrote: Thank you. That turns out to be exactly the problem and indeed your solution works. Is there any way to set this option globally? The only way I can see is to modify the default value in the source code: /opt/local/libexec/macports/lib/port1.0/portfetch.tcl ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Customisation of the MacPorts download method
Deadlines that rely on third parties are the best. Anyways, a few other options from macports.conf: * FTP_PROXY env seems to be supported * proxy_ftp can be set in macports.conf * macports.conf also has a host_blacklist for bad FTP hosts which MacPorts will then skip * and the opposite, a preferred_hosts list On Oct 27, 2014, at 14:54, Artur Szostak aszos...@partner.eso.org wrote: Yes, I agree. I am just about to post a bug report for wcslib. But in the mean time I have deadlines and need workarounds to make progress :-) ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem with Install of ImageMagick on OS X Yosemite
It sounds like you installed ImageMagick, and not its PHP extension. `port search imagemagick` will show you some of the options available. You likely want to install one of the php**-imagick packages. On Oct 27, 2014, at 15:03, Michael Matassa matass...@gmail.com wrote: I'm a new user of MacPorts and ImageMagick (and, truthfully, somewhat of a PHP novice) and after spending a couple of days attempting to unsuccessfully install ImageMagick manually I stumbled across a web page that suggested using MacPorts. I installed MacPorts and executed the suggested command in terminal to install ImageMagick. The resulting install lasted approximately 6 hours and as far as I could tell installed successfully. I added extension=imagick.so to php.ini but after restarting Apache ImageMagick is not found in phpinfo and I can't locate the imagick.so file anywhere on my Mac. Is there some novice mistake I'm making or is there a problem with the MacPorts install? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Installing Metis V4
It seems parmetis is still version 4.0.3. If you need regular metis, you can find the newest version 4.0.3: http://trac.macports.org/browser/trunk/dports/math/metis/Portfile?rev=84527 You'll want to setup a local ports tree so that this file is deemed canonical over MacPorts': https://guide.macports.org/#development.local-repositories http://trac.macports.org/wiki/howto/SyncingWithSVN On Oct 23, 2014, at 10:01 AM, L.Bryce Whitson Jr. wrote: I have a need to install Metis V4 for a project that I am working on right now. I notice that the Metis in Macports is V5 and unfortunately the code I have won't compile under V5. Is there an easy way to install V4 using the Macports infrastructure? - - - - - - - - - - - - - - - - - L.Bryce Whitson Jr. ___ 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: Updating database of binaries step very slow under Yosemite?
Perhaps we can better judge the time spent scanning binaries if we had a final count indicating how many were scanned. I suspect that sometimes, such as when a build fails, all the successfully installed dependents have not been scanned. Only once a successful build occurs do all new binaries get added, right? On Oct 22, 2014, at 10:43 AM, Craig Treleaven wrote: I'd don't think this is a Yosemite-only problem. I just installed colordiff and it took close to 2 minutes to 'Update database of binaries'. MBP Core i7, OS X 10.6.8, MacPorts 2.3.2. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Updating database of binaries step very slow under Yosemite?
On Oct 22, 2014, at 3:47 PM, Arno Hautala wrote: I'm pretty sure that the scan only checks newly installed files. Correct. Only new (yet-to-be-scanned) files get added, then only the applicable files are checked during rev-upgrade. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Updating database of binaries step very slow under Yosemite?
On Oct 22, 2014, at 4:06 PM, René J.V. Bertin wrote: What's the point in scanning newly installed files? I thought the whole idea was to scan already installed files for ABI issues due to the newly installed (dylib) files? Or are we talking about the (other?) scan that bugs you after you cleaned out all those useless doc or translation files, claiming that such or so file is missing? :) Just because something installed doesn't mean it actually built correctly... ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Updating database of binaries step very slow under Yosemite?
http://en.wikipedia.org/wiki/Logical_volume_management On Oct 22, 2014, at 6:42 PM, René J.V. Bertin wrote: For instance, the boot volume is converted to a Core Storage logical volume on upgrade. I know it's off-topic, but what on earth does that mean? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Migrating to Yosemite---cannot run 'port -qv installed' after OS upgrade
If there's a missing dependency that's used, upgrade will pull in files from the old (possibly broken) packages to build new ones. Uninstalling everything first then building, or using trace mode for upgrade, eliminates this possibility. On Oct 19, 2014, at 3:00 PM, Carlo Tambuatco wrote: So uninstalling and reinstalling as people suggested before would only replicate those useless ports again...so functionally, how is what I did (using sudo port -u upgrade outdated) different from uninstall/reinstalling everything? And how is it going to change the situation of my ports that fail to build? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Yosemite upgrade
If you've already installed Yosemite, then your existing MacPorts will likely not function. Simply re-install MacPorts to get it running again. Once running, you can do selfupdate and make the usual list of requested packages in a file and uninstall/reinstall everything. Another option is using trace mode for the updates: sudo port -t -u upgrade outdated. On Oct 18, 2014, at 3:07 PM, Comer Duncan wrote: Yesterday I installed Yosemite but have not yet done either selfupdate or upgrade outdated. Before I do that I am wondering whether there are any recommendations as to whether it is too early to upgrade since perhaps macports code developers need some time to get essentials ready for such? I sort of expect that the macports developers and maintainers had access to Yosemite earlier than those who waited for the official release to be made available, so maybe I don't need to be timid about proceding. What do you guys think? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Yosemite upgrade
You only need to reinstall the macports binary. The reinstalled MacPorts can read the existing software list, there is no reason to panic about it losing track of what was installed. On Oct 18, 2014, at 3:47 PM, Fisher, Jay L. wrote: One warning. I just installed Yosemite, then tried to follow the macports instructions on migrating. As part of the instructions on the page, it says to save your installed ports and then uninstall the ports. However, after upgrading, my port command doesn’t work - it only complains that the current platform darwin 14 doesn’t match the expected platform darwin 13. So unless you know a way around this, it looks like we need to do a completely new installation manually of our ports, and won’t be able to use the migration instructions to restore ports. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: database install point-no destroot
You might checkout this repair script: http://trac.macports.org/wiki/ProblemHotlist#corruptdatabase On Oct 14, 2014, at 16:56, Robert Broome robert.bro...@softhome.net wrote: A crash or disk error at the wrong time (and place) could explain much. The more interesting question is how to rebuild the database without having to reinstall all ports! Robert: your best bet may be to restore the latest snapshot from *before* your last selfupdate from a TimeMachine (or other) backup, and try again from there. If all else fails you can try a `port installed requested` and reinstall from scratch following the same instructions that also apply for upgrading MacPorts after an OS upgrade. That is, if your database is not so damaged that it can no longer provide the list of ports you installed explicitly ... R. I am looking for the database that needs to be restored. I found this: /opt/local/var/macports/registry/registry/db is that the one that I should restore? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: /bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier
Off the top of my head: * Rosetta (for PPC) * Apple Mail in Mavericks cannot do any searching without spotlight (among other bugs) * Mavericks Messages keeps records of every chat you’ve had, the option to explicitly “close” can cause deletion when set but previously iChat didn’t try to horde data like this * Gatekeeper makes you jump through hoops to install from un-identified developers” ($) You can decide how negative these issues are overall (I only use Mavericks on the go, when I’m not really using the computer), and I’m sure there are further reasons. On Oct 9, 2014, at 18:09, Dave Horsfall d...@horsfall.org wrote: Is there any good reason to stay with Snow Leopard, when the upgrade to Mavericks is both free and painless? And if you had Xcode then you get that for free as well. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: KDE: launch communication
Is that precisely what `port load` does? On Sep 15, 2014, at 9:44, Brandon Allbery allber...@gmail.com wrote: The -w in those commands tells launchd to record them so that they will also be started on future logins. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: renaming MacPorts' install directory - how to handle the TM backup(s)?
You made sure it counted unique inode filesize and not recount them each time? On September 7, 2014 2:10:12 PM EDT, René J.V. Bertin rjvber...@gmail.com wrote: On Sunday September 07 2014 13:16:50 Brandon Allbery wrote: Yes, I was saying any operation other than actually writing the file should be safe, and then saying what would be needed in the actually-writing-the-file case to make it safe. /Volumes/Time Machine Backups/Backups.backupdb/portia 36808955 0 drwxrwxr-x+ 19 bertin admin 782 Sep 2 18:57 2014-09-07-021603/Work/MP6/ 36982951 0 drwxrwxr-x+ 19 bertin admin 782 Sep 7 19:12 Latest/Work/MP6/ 36982951 0 drwxrwxr-x+ 19 bertin admin 782 Sep 7 19:12 2014-09-07-194315/Work/MP6/ and 9.6Gb was copied. The 2 (sic) directories above are each 9.8Gb tall, so it would seem that despite my efforts to make the most recent backup reflect the changes I made since then, the full MacPorts tree was copied. Meh. It also seems that more than half the space MacPorts takes on my work disk is taken up by files I've excluded from being backed 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
Re: Port Selfupdate failed - Mountain Lion OS X
The problem is you don't know what else is wrong. You should eagerly reinstall. Now. On August 30, 2014 5:13:00 PM EDT, vignesh babu jvigneshb...@gmail.com wrote: Is there a way to replace only the sh ? just in case if I can avoid the reinstall... On Sun, Aug 31, 2014 at 2:32 AM, Brandon Allbery allber...@gmail.com wrote: You have a problem. That /bin/sh appears to not be a shell at all, but gcc (based on the error messages). I'm not even sure how that system is still *running*. Depending on what else got replaced with unexpected things, you may be looking at an OS reinstall. On Sat, Aug 30, 2014 at 4:54 PM, vignesh babu jvigneshb...@gmail.com wrote: Apples-MacBook-Pro:/ apple$ type sh sh is hashed (/bin/sh) On Sun, Aug 31, 2014 at 2:22 AM, Brandon Allbery allber...@gmail.com wrote: On Sat, Aug 30, 2014 at 4:47 PM, vignesh babu jvigneshb...@gmail.com wrote: Apples-MacBook-Pro:/ apple$ sh -c '/bin/echo -n $IFS | hexdump' sh: error: /bin/echo -n $IFS | hexdump: No such file or directory *facepalm* What does type sh say? Because that's not Apple's /bin/sh. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: MacVim fails to fetch
Can you attach the log for this attempt? The file is accessible for me: $ curl -I https://retracile.net/raw-attachment/blog/2013/09/12/23.00/vim-7.4.16-fc19-breakindent.patch HTTP/1.1 200 Ok Date: Thu, 31 Jul 2014 14:47:39 GMT Server: Apache/2.2.15 (CentOS) ETag: W/anonymous/Thu, 12 Sep 2013 22:54:06 GMT/False Content-Disposition: attachment Content-Length: 34619 Last-Modified: Thu, 12 Sep 2013 22:54:06 GMT Set-Cookie: trac_session=69390bd3ff2cb72e340dfe95; expires=Wed, 29-Oct-2014 14:47:39 GMT; Path=/ Connection: close Content-Type: text/x-diff; charset=iso-8859-15 $ sudo port fetch MacVim +breakindent Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. --- Fetching distfiles for MacVim --- Attempting to fetch MacVim-7.4.snapshot73.zip from http://github.com/b4winckler/macvim/zipball/snapshot-73 --- Attempting to fetch vim-7.4.16-fc19-breakindent.patch from https://retracile.net/raw-attachment/blog/2013/09/12/23.00/ On Jul 31, 2014, at 10:38, Ryan Jamison ryan.d.jami...@gmail.com wrote: Weird. I tried again this morning and this is what I get (same as before). It can find MacVim but not the breakindent patch. Any ideas? I can go to https://retracile.net/raw-attachment/blog/2013/09/12/23.00/ and download the file manually but Macports doesn't seem to be able to get it for me. $ port checksum macvim +huge +breakindent --- Fetching distfiles for MacVim --- Attempting to fetch MacVim-7.4.snapshot73.zip from http://github.com/b4winckler/macvim/zipball/snapshot-73 --- Attempting to fetch MacVim-7.4.snapshot73.zip from http://distfiles.macports.org/MacVim --- Attempting to fetch vim-7.4.16-fc19-breakindent.patch from https://retracile.net/raw-attachment/blog/2013/09/12/23.00/ ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: eveyshi.sty is missing from my TeX installation
http://tex.stackexchange.com/questions/53912/where-do-i-get-the-everyshi-sty-file-from The above indicates it’s part of the “ms” package. http://trac.macports.org/wiki/TeXLivePackages The above indicates ms is part of texlive-latex-recommended. On Jul 31, 2014, at 13:44, Jan Stary h...@stare.cz wrote: I am getting the following error while trying to compile a LaTeX file: ! LaTeX Error: File `everyshi.sty' not found. I have the following texlive-* package installed: texlive-basic @34245_0+doc texlive-bin@2014_1+x11 texlive-common @2014_0 texlive-lang-czechslovak @34201_0+doc texlive-latex @34192_0+doc texlive-pictures @34010_0+doc Can someone please advise me on which of the other texlive packages I need to install to have thr everyshi.sty style? Thank you Jan ___ 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: Need help: Some port fetches consistently fail
According to your log, all your requests are being met with 403 Forbidden from any/all web servers. Are you sure you don’t continue to have something blocking these requests on your end? On Jul 28, 2014, at 14:49, Sam Finn lsf...@gmail.com wrote: Hi, Since my upgrade to Mavericks I’ve had a problem with some port fetches consistently running through a long list of mirrors before eventually failing. Your help in resolving this problem will be greatly appreciated. Here is an example of the problem: Appletree [138] Yeah? sudo port install gettext --- Computing dependencies for gettext --- Dependencies to be installed: expat libiconv --- Fetching distfiles for expat --- Attempting to fetch expat-2.1.0.tar.gz from http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://distfiles.macports.org/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://switch.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://garr.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://cjj.kr.distfiles.macports.org/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://internode.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://waix.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat --- Attempting to fetch expat-2.1.0.tar.gz from http://netcologne.dl.sourceforge.net/project/expat/expat/2.1.0 --- Attempting to fetch expat-2.1.0.tar.gz from http://svn.macports.org/repository/macports/distfiles/expat Error: org.macports.fetch for port expat returned: fetch failed Error: Failed to install expat Please see the log file for port expat for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log Error: The following dependencies were not installed: expat libiconv To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gettext failed [Attached is the log file noted in the error message.] This happens with most, but not all, ports. There appears to be no rhyme or reason to which succeed or which fail, except that ports that fail on the fetch consistently fail on the fetch. This is happening with all of my systems (three: home, work, and laptop). All three systems are * MacOS Version: 10.9.4 * MacPorts Version: 2.3.1 Things I’ve tried: * firewall(s) off; * different IPs on the same network; * different networks (home, work, public hotspots, other
Re: Need help: Some port fetches consistently fail
I would employ curl to check headers on a request, though any tool of choice should work: curl -I URL For the superb-dca2 mirror, I see it’s running nginx/0.8.55. Is that what you see? $ curl -I http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1 200 OK Server: nginx/0.8.55 Date: Mon, 28 Jul 2014 19:24:23 GMT Content-Type: application/x-gzip Content-Length: 562616 Last-Modified: Sat, 24 Mar 2012 19:19:12 GMT Connection: close Accept-Ranges: bytes Similarly, the macports mirror is lighttpd: $ curl -I http://cjj.kr.distfiles.macports.org/expat/expat-2.1.0.tar.gz HTTP/1.1 200 OK Content-Type: application/x-gzip Accept-Ranges: bytes ETag: 683330017 Last-Modified: Tue, 04 Sep 2012 23:59:26 GMT Content-Length: 562616 Date: Mon, 28 Jul 2014 19:25:24 GMT Server: lighttpd/1.4.28 If those are different, and the “replacement” server signature doesn’t appear reasonable, we might start looking into DNS records to see if they’re being hijacked. On Jul 28, 2014, at 15:22, Sam Finn lsf...@gmail.com wrote: Doesn’t a 403 indicate that the server received and understood the request, but refused to act on it? In any event, there is no proxy and I’ve checked that my firewalls (the mac os firewall and intego net barrier) are down. Am I missing something? Other information that may (or may not) be helpful: * I’m reaching the network through an apple AirPort Extreme, which is providing both NAT and DHCP services * The computer I’m working on right now is set-up as the default host (i.e., it has a DHCP reservation, whose IP is the default host). Thanks very much for any and all help! ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: where does macports installs programs?
After installation, you can run this to find what was installed where by the root port: port contents root5 On Jul 9, 2014, at 17:23, Fabrizio Salvatore p.fabrizio.salvat...@googlemail.com wrote: sudo port install root5 will install the program? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: cmake howto: ignoring /usr/local
Don't forget we set our own PATH as well. Perhaps cmake actually respects it. On July 6, 2014 11:30:07 AM EDT, René J.V. Bertin rjvber...@gmail.com wrote: A quick question concerning the MacPorts cmake-fu: I've noticed that you've managed to get cmake to ignore everything installed in /usr/local . I've tried invoking /opt/local/bin/cmake directly (= not through port) with the exact same arguments as port uses, but then it does find libraries I installed myself in /usr/local . So: how do you manage to let /usr/local be ignored - clearly you don't rename it temporarily, nor is cmake executed in a chroot ... Thanks in advance :) 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
Re: How to find default variants
Port variants. It indicates which variants are on based on your variants.conf On July 5, 2014 8:52:08 PM EDT, Jerry lancebo...@qwest.net wrote: Before installing a port, how does one discover the default variants for that port? I gather that one could search the port text file for default_variants but it seems like there should be a command for this, perhaps port default_variants foo. Jerry ___ 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: Troubles installing ports with Macports 2.3.1
I suppose that, during the Computing dependencies for auto-multiple-choice phase, a lot of http requests are made to obtain port information and that these requests are not fully closed either by Macports or by the proxy. As this problem is recent (at least for me), it is perhaps related to a recent Java update (the proxy is a java application). During computing dependencies, no http requests would be made by MacPorts, as far as I know. Port information for all ports is already on your computer; that's what you're updating every time you run sudo port sync or sudo port selfupdate. Computing dependencies would however involve opening the portfile and portgroup files for each port that is a dependency of the port you're installing that's not already installed. If you have not yet installed (m)any ports, and the port you've requested has a lot of dependencies, this could be a lot of files and take some minutes. According to port rdeps auto-multiple-choice, there are 300 ports to be considered. So you could possibly improve the situation by installing some of the dependencies individually first. Look at the output of port deps auto-multiple-choice and sudo port install some of those ports by themselves. Then later, return to trying to install auto-multiple-choice itself. Are you suggesting MacPorts doesn't closed files after reading them? That would be an extreme error, and likely break Migration between system versions. It would also get spotted by any other user trying to install a huge dependency tree—yet we haven’t seen that. This red herring will needlessly breaking users' `requested` flags in MacPorts. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Pango, Webkitgtk, Quartz and Application Bundle
Fontconfig’s portfile has this post-activate hook: post-activate { # fc-cache can fail due to /Network/Library/Fonts being unavailable, so force success. system ${prefix}/bin/fc-cache -sv || true system ${prefix}/bin/fc-cache -v || true” } This hints you need to run those commands when you put it on a new machine. On Jun 20, 2014, at 15:19, Tony Kubalak a...@uwalumni.com wrote: Fontconfig error: Cannot load default config file Do I have to add fonts to the bundle? Is there a way to use the fonts on the local machine? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How would I Upgrade Outdated but hold back or not update one specific package?
Rather than uninstall, you should deactivate MyPaint. After upgrades are done, you can then activate MyPaint again. On Jun 17, 2014, at 11:34, bunk3m bun...@gmail.com wrote: Is there a way to specifically reinstall MyPaint 1.1.0_2 as it compiled OK before? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Migration questions
If you’ve time/bandwidth, just go ahead and reinstall everything. On Jun 13, 2014, at 22:06, Ryan Schmidt ryandes...@macports.org wrote: Hmm. Maybe rebuilding would help. The dependencies you got from our binary packages would hopefully not need to be rebuilt. Although we cannot check which of your ports were installed from binaries, if you let us know what MacPorts ports your program is using (i.e. py27-pygtk, I presume, and its dependencies? Any others?) we can check which of those ports have binaries available, and assume that they got used; then you can just rebuild the ones that were built on your machines from source. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Installing along Homebrew
Trace mode (port -t) creates sandboxes during MacPorts operation. This keeps compiler used by MacPorts from accessing Homebrew, but you have to deal with Homebrew building against MacPorts. This is why classically only one package manager is recommended. On Jun 11, 2014, at 19:55, semaphor...@yahoo.com wrote: How can I properly install Homebrew along with MacPorts, without running into tons of problems? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: error when trying to sync with svc
Typically, you need to run cleanup on the directory or its parent. svn cleanup . ; svn cleanup .. I’m assuming you’re in the cited path: /opt/local/var/macports/sources/svn.macports.org/trunk/dports On May 28, 2014, at 9:49, Madden, Lisa E. (GSFC-619.0)[ADNET SYSTEMS INC] lisa.e.mad...@nasa.gov wrote: Synchronizing local ports tree from file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports/ DEBUG: /usr/bin/svn update --non-interactive /opt/local/var/macports/sources/svn.macports.org/trunk/dports svn: E155004: Working copy '/opt/local/var/macports/sources/svn.macports.org/trunk/dports' locked svn: E200031: sqlite: attempt to write a readonly database svn: E200031: sqlite: attempt to write a readonly database svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) ... Anyone know how to unlock the working copy? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: macports' wget difficulty
Since you have curl-ca-bundle, the fix seems to be putting CA_CERTIFICATE in ~./wgetrc: http://superuser.com/a/451857 On May 20, 2014, at 13:48, Roger Pack rogerdpa...@gmail.com wrote: Hello all. Ran into this today: $ sudo port install wget $ wget https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz --2014-05-20 11:43:44-- https://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz Resolving sparsehash.googlecode.com (sparsehash.googlecode.com)... 74.125.28.82, 2607:f8b0:400e:c04::52 Connecting to sparsehash.googlecode.com (sparsehash.googlecode.com)|74.125.28.82|:443... connected. ERROR: The certificate of ‘sparsehash.googlecode.com’ is not trusted. ERROR: The certificate of ‘sparsehash.googlecode.com’ hasn't got a known issuer. (I do have curl-ca-bundle installed as well, FWIW). ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: X windows and applications advice
...And the ability to use a package manager to keep xorg updated. On May 20, 2014, at 16:44, Ryan Schmidt ryandes...@macports.org wrote: And in case it's not clear, XQuartz is the same software that's available in MacPorts in the xorg-* ports. The versions in MacPorts are just usually a little bit newer. I prefer to install X11 with MacPorts for this reason, and because there will be less duplication of files. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Scripts Requiring a MacPorts Version (was Re: Troubles using port_binary_distributable.tcl)
Do our version numbers mean nothing? It would seem our own scripts that do break on releases should be smart enough to realize a change in MacPorts version. On May 20, 2014, at 22:45, Ryan Schmidt ryandes...@macports.org wrote: On May 20, 2014, at 19:56, Jeremy Lavergne wrote: Is this something we should have the scripts check before running? If the MacPorts version is newer than they’re expecting, demand the user download a fresh copy. This seems like overkill to me. Most MacPorts releases haven't made the types of internal changes that were made in 2.3.0 that cause changes in scripts to be necessary. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: port upgrade failed after mac upgrade
When migrating to a new OS, be sure to reinstall MacPorts. For minimum support of MacPorts, you need the Command Line Tools, which can be installed using xcode-select --install. If you are installing MacPorts from source, you will also want to run sudo xcodebuild -license. Note that some ports will require a full Xcode installation, which is available for free on the Mac App Store. http://trac.macports.org/wiki/Migration On May 12, 2014, at 16:20, Shiyuan gshy2...@gmail.com wrote: Macports used to work well on Mac 10.8. After a upgrade to mac 10.9 ... :info:extract sh: /usr/bin/gnutar: No such file or directory ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Older version of mysql starting up after Mavericks upgrade
Hi, I just upgraded my mac to mavericks. Then I had to reinstall macports from the dmg to get it to work. You need to follow the Migration instructions when changing the operating system out from under MacPorts. http://trac.macports.org/wiki/Migration Now I have two problems: 1) An older version of MySql launches. Guess it should have been deleted at a previous stage. The old one is here: /opt/local/var/run/mysql5 The macports version is here: /usr/local/mysql-5.6.10-osx10.7-x86_64 Really? MacPorts in /usr/local? How do I get the newest one to launch instead of the old one.? This problem might be related to this other problem: 2) sudo port upgrade outdated reports an error at configuring db46 config.log says: configure:4851: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_db46/db46/work/db-4.6.21/build_unix': configure:4853: error: C compiler cannot create executables Found some hints on installing command-line-tools, which I did with xcode-select --install However, with the same result. Probably all your problems will go away after following Migration. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Any interest in relative (--enable-load-relative) variant for Ruby?
I have been trying to use MacPorts Ruby as the basis for deploying a standalone Ruby-Tk app on Mavericks, just as many developers use MacPorts Python (with PyQt, for instance). This was not working for me because Ruby hard-codes its load path when built, so the binary and dylibs could not be relocated into an app bundle using install_name_tool. After doing some additional research, I found the --enable-load-relative flag, which removes hard-coding of the load path and instead allows loading of the libraries relative to the Ruby installation. After editing my portfile and doing some more jiggering, I was able to relocate my build of Ruby into an app bundle without too much difficult. Is there any interest in supporting a relative variant for Ruby? The portfile edit is trivial, cf below: variant relative description Enable relative loading of libraries to allow for relocation of binaries. { #enable relative loading configure.args-append --enable-load-relative } This might open up Ruby as a continued language for desktop development on the Mac in the wake of MacRuby's demise on Mavericks. I've seen some interest among Ruby developers on other platforms who want to port their Ruby app to the Mac, but the lack of deployment tools is a hindrance. While I'm not going to go as far as creating a rb2app tool, I will likely post a how-to article with some sample code and build scripts. How should I submit a variant patch? Make a ticket and attach the patch there: http://guide.macports.org/#project.tickets ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How use jarbundler to create an .app from JPortsUI.jar?
I have the MacPorts ports of jarbundler (@2.2.0_0) and apache-ant (@1.9.3_0) installed and active. I have the file JPortsUI.jar in the folder ~/jPorts. Trying to make sense of the docs at http://informagen.com/JarBundler/, I created in that same folder the file build.xml taskdef name=jarbundler classname=net.sourceforge.jarbundler.JarBundler / as well as file jarbundler: jarbundler dir=. name=jPort mainclass=JPortsUI jar=./JPortsUI.jar / I tried now: cd ~/JPorts ant build.xml This generates error: Buildfile: /Users/[myuserdirname]/jPorts/build.xml BUILD FAILED /Users/[myuserdirname]/jPorts/build.xml:2: Unexpected element {}tasked {antlib:org.apache.tools.ant}taskdef My understanding of the error is that “taskdef” tag must be inside a wrapper tag. Consider this from StackOverflow: http://stackoverflow.com/a/3582036 Question: What am I doing wrong? A couple of particular questions: (i) Should there be an extension to file jarbundler and, if so, what? (ii) The docs at http://informagen.com/JarBundler/ say to move the file jarbundler-2.3.1.jar into your local ANT lib directory. Given the configuration of MacPorts, with ports going into /opt, what does that mean I also need to do, if anything? I note that /opt/local/lib has no ant subdirectory. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How use jarbundler to create an .app from JPortsUI.jar?
According to ant.apache.org/manual/running.html All JARs in $ANT_HOME/lib were added to the $CLASSPATH automatically, and perhaps now also $HOME/.ant/lib Ant further takes the -lib argument for passing further specific paths. Does setting the path to the missing class solve the issue? On Apr 28, 2014, at 14:48, Murray Eisenberg murrayeisenb...@gmail.com wrote: OK, so I changed build.xml to: ?xml version=1.0? project name=JPortsUI taskdef name=jarbundler classname=net.sourceforge.jarbundler.JarBundler / /project Now running ant build.xml gives a different error: Buildfile: /Users/[myuserdirname]/jPorts/build.xml BUILD FAILED /Users/[myuserdirname]/jPorts/build.xml:4: taskdef class net.sourceforge.jarbundler.JarBundler cannot be found using the classloader AntClassLoader[] I don't know where the MacPorts apache-ant port is supposed to put that unfound file. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Macports tasks not launching at boot. policy?
Did the user run `port load …` ? On Apr 24, 2014, at 10:48, Julien T julien@gmail.com wrote: macports is never setting 'keyRunAtLoad/key' it seems. any option to do so? Any policy about it? for provided plist, put it as a comment, enable it by default? Some are daemons, some are agents. It seems agents are started only for user while I was using them more for cron-like tasks and also agents cannot be launched as another user [1]. is it right? So usually, most macports plist should be in LaunchDaemons. [1] http://apple.stackexchange.com/questions/110336/launchd-wont-load-plists-at-boot ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: port install ksh93 fails
My guess is that the darwin.i386-64” part is incorrect in your situation. Was this built +universal? I’d do a clean build to attach to a ticket: sudo port clean ksh93 sudo port install ksh93 attach `port logfile ksh93` to the ticket On Apr 16, 2014, at 9:59, j. van den hoff veedeeh...@googlemail.com wrote: work/ksh93-2012-08-01/arch/darwin.i386-64/bin/ksh ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: XDG dirs
I recently removed, then reinstalled, MacPorts 2.2.1 trying to diagnose a problem with glib. The problem was that when meld tried to write into the director glib’s g_get_user_dir(), it would get a a permission denied because this directory was under /opt/local/share, which is a system directory. After some digging, I found that MacPorts modified my .tcshrc I can’t find this being done in glib2 or meld. Which port caused your ~.tcshrc to be modified? with three variables that override the glib defaults. These variables, and their values are: setenv XDG_DATA_DIRS /opt/local/share setenv XDG_DATA_HOME /opt/local/share setenv XDG_CONFIG_DIRS /opt/local/etc/xdg The problem is that these XDG directories are all supposed to be user specific, not system specific. I don’t know why MacPorts picked these values, but they’re clearly wrong. Simply removing these lines caused glib to revert back to reasonable defaults. This looks like a bug in the install script. I don’t know who else is having this problem, but the install scripts should never be using these values for these directories, since these directories should never writable by normal users. In fact, I suspect that the system will work just fine without setting these variables at all. Thanks. -- jonathankoren ___ 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 pyton PIL
Since you’re able to use port but the wrong python is picked up, it sounds like MacPorts was put as a suffix rather than prefix. As Chris said, consider sharing: echo $PATH You might also check: which -a python On Apr 15, 2014, at 9:31, Chris Jones jon...@hep.phy.cam.ac.uk wrote: macmini ~ echo $PATH /opt/local/bin:/opt/local/sbin:/Users/chris/bin/:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problem pyton PIL
/System/Library is not /Library. On Apr 15, 2014, at 16:25, Spinxer spin...@wolke7.net wrote: Where did /Library/Frameworks/Python.framework come from? It’s not provided by Apple, Are you sure? Cite: The Apple-provided build of Python is installed in /System/Library/Frameworks/Python.framework and /usr/bin/python, respectively. You should never modify or delete these, as they are Apple-controlled and are used by Apple- or third-party software. Found here: https://docs.python.org/2/using/mac.html ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
Attach the log to a ticket, assuming there isn’t already one. On Apr 14, 2014, at 14:52, Comer Duncan comer.dun...@gmail.com wrote: --- Building py27-zmq Error: org.macports.build for port py27-zmq returned: command execution failed Please see the log file for port py27-zmq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: macports ssh slower than osx ssh
If it was just these two tests in this order, I’d assume DNS resolution for the first request had an impact. Got more tests or more information? On Apr 9, 2014, at 10:47, Brad Allison brad.alli...@gmail.com wrote: Why is macports ssh 4 seconds slower than osx built in ssh when using gss-api? brad-allison-pro:~ brad.allison$ time /opt/local/bin/ssh -2 -v -l root m2inf-kerberostest-01 date /tmp/kerbtest-ssh-macports.txt 21 real0m20.890s user0m0.007s sys 0m0.008s brad-allison-pro:~ brad.allison$ time /usr/bin/ssh -2 -v -l root m2inf-kerberostest-01 date /tmp/kerbtest-ssh-osx.txt 21 real0m15.894s user0m0.011s sys 0m0.008s ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: build failure dbus 1.8 on OS X 10.6
Rather than a variant, it is now a macports-wide setting. On April 3, 2014 7:08:19 PM EDT, René J.V. Bertin rjvber...@gmail.com wrote: https://bugs.freedesktop.org/show_bug.cgi?id=77032 I checked the source for the version currently in Debian/Testing: O_CLOEXEC is not passed to open() there. Nope, as you can see: ... +startupitem used to be the default, but no longer is. What I meant and thought to understand is that +startupitem specified a behaviour that is (now) the default, i.e. it is no longer necessary to ask for it by selecting this variant. Am I wrong? 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
Re: How change pert5.18 to perl5.16?
Did you happen to clean mod_perl2 first? The attached log indicates your old 5.18 build is simply being resumed: until cleaned it will continue building with 5.18 which is not what you want. :info:build /usr/bin/clang -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/src/modules/perl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.7/xs -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/apache2/include -pipe -Os -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include -I/opt/local/lib/perl5/5.18.2/darwin-thread-multi-2level/CORE -DMOD_PERL -DMP_COMPAT_1X -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -O3 \ On Mar 30, 2014, at 17:43, Murray Eisenberg murrayeisenb...@gmail.com wrote: % sudo port -ns upgrade --force mod_perl2 --- Computing dependencies for mod_perl2 --- Building mod_perl2 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How do I cause standalone X11 apps to use MacPorts X11?
This might really depend on the application: is it checking for x11 or giving up based on the OS? On March 26, 2014 12:44:52 PM EDT, Kevin Reid kpr...@switchb.org wrote: When I run X11 applications built by MacPorts, they open in the X11 server “app” built by MacPorts (/Applications/MacPorts/X11.app). When I run separately distributed Mac-packaged X11 applications (MCEdit, Closure (the game)), it opens the “X11 is no longer included with OS X” dialog. How do I get these applications to recognize MacPorts' X11? I tried searching for existing advice and the most relevant-sounding thing I found was this: http://superuser.com/questions/459273/x11-and-mountain-lion-how-to-use-macports-xorg-server which suggested such mucking-about-with-system-files as sudo ln -s /opt/X11 /usr/X11. Is there a clean way to get these apps working? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How do I cause standalone X11 apps to use MacPorts X11?
Instructions from the maintainer of MacPorts' xorg-server (from the -dev list): On Mar 26, 2014, at 14:28, Jeremy Huddleston Sequoia jerem...@macports.org wrote: The stubs are there for projects that linked against /usr/X11. All you really need to do is setup symlinks to redirect them to your MP prefix. I recommend starting with the XQuartz hook (which is installed on the system to setup the links to /opt/X11) and then just changing them to the MacPorts prefix (/opt/local in the example below): sudo port -v install xorg launchctl load -w /Library/LaunchAgents/org.macports.startx.plist sudo /usr/X11/libexec/xquartz_postinst.sh sudo rm /usr/X11 sudo rm /usr/X11R6 sudo ln -s /opt/local /usr/X11 sudo ln -s /opt/local /usr/X11R6 Note that loading the launchd.plist requires logout and login for $DISPLAY to propagate. --Jeremy ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: MacPorts 2.3.0-beta1 now available for testing
It is build.jobs=1 René J.V. Bertin rjvber...@gmail.com wrote: Just a though/suggestion, if still in time: would it be possible to add an option to the port command allowing to override the number of build jobs configured in macports.conf ? Most of the time I let MacPorts builds grind away in the background, and so allow only 2 out of my 4 (virtual) cores, but there are times I'd like to go higher without having to edit the configuration file ... 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
Re: postfix build fails with clang error
I’d open a ticket, since whatever variant causes code to build with -R is at fault. -R means nothing to clang (hence extraneous flags error). On Mar 22, 2014, at 20:07, te...@digital-outpost.com wrote: :info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-command-line-argument-hard-error-in-future] ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: postfix build fails with clang error
I suspect this takes us to which version of clang is in use. As the “suggested work around warning flag” suggests: [-Wunused-command-line-argument-hard-error-in-future] Perhaps it was a warning and is now an error (or wasn’t a warning and now is, and warnings are treat as errors). On Mar 22, 2014, at 21:19, te...@digital-outpost.com wrote: Thanks Jeremy. I created a ticket. Same clang error on a core i5 iMac, OS X 10.9.2, Xcode 5.1 No clang error on an iMac core2 duo running 10.8.5 with Xcode 5.0. postfix with variants builds fine. Why? ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: sudo port install nmap bombs of mavericks
So, first up that might be outdated software you’re installing: run selfupdate. Secondly, a missing gnutar means you’ve pulled in a non-mavericks installation. http://trac.macports.org/wiki/Migration On Mar 21, 2014, at 15:46, Brad Allison brad.alli...@gmail.com wrote: I upgraded to Mavericks, now my port seems to be broken: brad-allison-pro:~ brad.allison$ sudo port install nmap Password: Warning: port definitions are more than two weeks old, consider using selfupdate :info:extract sh: /usr/bin/gnutar: No such file or directory ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: advice for wipe and reinstall
Port setrequesred $portname to set a package as requested. Most packages check for a confug rather than clobbering files. If you haven't had a problem during any upgrades then you are safe to restore prior to installing packages. On March 21, 2014 5:24:27 PM EDT, Terry Barnum te...@dop.com wrote: Thank you Jeremy. 'port echo requested' doesn't return all the ports I've explicitly requested. Notably, postfix is missing. Is there a way to refresh/recreate this requested list? /opt/local/etc is where I thought port configurations would live but wasn't sure. Do you think it would be best after reformatting and installing 10.8 to install macports, then copy /opt/local/etc from backups, then reinstall the ports? -Terry On Mar 21, 2014, at 1:36 PM, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: I’d expect all configuration to be available in /opt/local/etc/ The list of packages is available either with `port echo requested` or `port echo installed`, depending on your intention of installing just what you wanted or making sure everything is back. The output of those `port echo …` commands can be used to tell macports what to install: port install name1 @vers+variant name2 @vers+variant … On Mar 21, 2014, at 16:32, Terry Barnum te...@dop.com wrote: I've got a MacPro3,1 that after updating from 10.6 to 10.7 has intermittently been having its builtin Gb network interface go deaf. Nothing short of a reboot can bring it back. I began suspecting hardware and added a SmallTree NIC with their driver thinking that would solve it, but after two days the machine went deaf again. So now I'm thinking that a reformat and clean install of 10.8 and all macports might be the solution. This is an active mailserver with many packages installed with macports (postfix, dovecot, antispam, dspam, sieve, etc.) and I don't want to lose any of their configurations. I have nightly CCC and hourly Timemachine backups. What's the recommended way to reinstall previously installed ports (in 10.7) with all previous configuration onto a fresh system running 10.8? Thanks for any advice. Terry Barnum digital OutPost http://www.dop.com ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: MacPorts automake and python
Isn’t this a pythonism, things install to python’s site-packages directory? On Mar 20, 2014, at 15:25, Adam Mercer r...@macports.org wrote: Since automake was bumped to 1.14.1_1 it can't be used to build any python software outside of MacPorts as it always tries to install the python modules into MacPorts prefix. I understand why we want to ensure that ports always installs modules into the MacPorts prefix, but I can't understand why we would force this for everything using MacPorts python. When I questioned this I was told that I should be using a non MacPorts python if I don't want the modules to end up in the MacPorts prefix? If that is the case what's the point of MacPorts? I was under the impression that the goal of the project was to provide an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the OS X operating system. But now I'm getting told that I shouldn't be using MacPorts but I should be installing things locally if I don't want to install modules into the MacPorts prefix. This change seems like a very bad idea and is surely going to cause problems down the line, in fact at work several users have already been bitten by this. ___ 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?)
Regarding the console spam, we can only avoid it if the user “cleanly uninstalls MacPorts [1]. Then if the stats cron job is treated or installed as a typical port, the cron job would be uninstalled. However, if, as suggested, the user just deletes /opt/local/* then we can’t really cleanup anything. 1 http://guide.macports.org/#installing.macports.uninstalling On Mar 19, 2014, at 16:03, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: What is the user wants to get rid of MacPorts and deletes /opt/local/*. My experience is that launchd will _never_ stop trying to run the missing job and will spam the Console log with complaints about it. Are you saying no one ever should use launchd? It doesn’t sound like this is our problem. ___ 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?)
On Mar 19, 2014, at 15:16, Craig Treleaven ctrelea...@cogeco.ca wrote: As I understand it, the statistics process arose in GSOC 11, right? Is it pretty much as described at: https://trac.macports.org/wiki/MacPortsStatisticsGSoC2011 There is a (short) thread about the proposal here: https://lists.macosforge.org/pipermail/macports-dev/2011-March/014384.html which suggests it is inspired by Debian's Popcon tool (Popularity Contest”). Inspired, sure. But that doesn’t mean we’re going for 1:1. Is the above accurate? I understand that Popcon tracks the last access time (atime) for files in a port and that our implementation does not. From what I can see, our tool will not gather whether a port was Requested or not. I think that's a key data point. Some libs will get installed very frequently as dependencies but will seldom be requested. At the time of GSoC11, I don’t think MacPorts even had the notion of requested ports. Nothing prevents this from being added at any later date. Also, this is implemented as a weekly launchd job. What happens if there is a problem somewhere between the users machine and the server receiving the data? Does the user job abort gracefully? Try again? Port uses curl to submit, and then catches and prints any errors. Finally returns 0. But don’t take my word for it: the code would reveal the truth there. http://trac.macports.org/changeset/82920/ What is the user wants to get rid of MacPorts and deletes /opt/local/*. My experience is that launchd will _never_ stop trying to run the missing job and will spam the Console log with complaints about it. Are you saying no one ever should use launchd? It doesn’t sound like this is our problem. Do we have a sample statistics page for a port/all ports? I believe Clemens has a test box. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users