Re: Conflicty between MacPorts and Anaconda

2021-09-01 Thread Ruben Di Battista
Conda sera the prompt to help you remembering your within a conda environment. It makes some sort of sense. But the aggressive environment messing up, for me, is unacceptable. :) On Wed, 1 Sep 2021, 11:48 Gerben Wierda via macports-users, < macports-users@lists.macports.org> wrote: > What

Re: Specify port for file dependency

2021-08-30 Thread Ruben Di Battista
> wrote: > > Hi, lilypond uses this below although I’ve not tested it. > > # Either 'pango' or 'pango-devel' will do, thus we depend on its > # pkgconfig file. > depends_lib-append path:lib/pkgconfig/pango.pc:pango \ > > > > Kurt > > On Aug 30, 2021

Specify port for file dependency

2021-08-30 Thread Ruben Di Battista
Let’s assume I want to install a port that depends on pango via a file dependency. How do I tell Macports to use `pango-devel` instead of `pango`? _ -. .´ | ', ;|∞∞ ˜˜ |∞ RdB | https://rdb.is ,.,|∞∞ .' '. | -'

Re: Conflicty between MacPorts and Anaconda

2021-08-30 Thread Ruben Di Battista
(for easier virtualenv management and dep tracking there's poetry, that's amazing) On Mon, 30 Aug 2021, 17:52 Ruben Di Battista, wrote: > /rant on > > Here we are again. I've been ranting on Twitter about this so much! Almost > 80% of the problems I need to troubleshoot in

Re: Conflicty between MacPorts and Anaconda

2021-08-30 Thread Ruben Di Battista
/rant on Here we are again. I've been ranting on Twitter about this so much! Almost 80% of the problems I need to troubleshoot in my HPC team are associated to people installing Anaconda, that messes up the user environment, and forgetting that they did it. Anaconda messes up also when building

Re: "port install meld" does not yield working executable

2021-03-16 Thread Ruben Di Battista
Are you up to date with the ports? - sudo port selfupdate - sudo port upgrade outdated On Tue, Mar 16, 2021 at 7:47 PM joerg van den hoff wrote: > > > On 16.03.21 19:41, Ruben Di Battista wrote: > > If you run `port notes dbus` it should tell you how to enable the service > &

Re: "port install meld" does not yield working executable

2021-03-16 Thread Ruben Di Battista
, 19:31 joerg van den hoff, wrote: > > > On 16.03.21 19:24, Ruben Di Battista wrote: > > Did you enable dbus as per its notes? > > that was fast... :). no, I did not. didn't see any notes either. you mean > "notes of dbus" rather > than "meld" I presume?

Re: "port install meld" does not yield working executable

2021-03-16 Thread Ruben Di Battista
Did you enable dbus as per its notes? On Tue, 16 Mar 2021, 19:23 joerg van den hoff, wrote: > after "port install meld", on trying to start the program I get on the > command line from which it is > started the message > > " > dbus[70231]: Dynamic session lookup supported but failed: launchd

Re: How to search by package name

2021-01-24 Thread Ruben Di Battista
https://guide.macports.org/chunked/using.html Here you can find tips on how to tune your regex. You can use a regex expression matching just the port name port search --name --line --regex 'sed$’ This returns all the ports ending with *sed. Notably, what are you looking for, I guess, is gsed,

Re: Desolate Condition

2021-01-24 Thread Ruben Di Battista
What do you mean? 100% of the ports I'm using (969) are building correctly. Do you have a specific problem with a port? Open a Ticket! :) On Mon, Jan 25, 2021 at 12:05 AM Tom wrote: > MacPorts is in a desolate condition. > Nearly nothing is building. > Can somebody try to build everything and

Re: Qt

2020-12-29 Thread Ruben Di Battista
Hello Tom, theoretically the QT5 ports are building correctly. Can you maybe provide more information? * What's your Macports version? * What's your macOs version? * Can you attach the build log? On Tue, Dec 29, 2020 at 8:38 PM Tom wrote: > > Hello, > > is there a qt port, which ist building?

Re: Removing all non-requested ports?

2020-12-03 Thread Ruben Di Battista
`port_cutleaves`? I think you need to install it. `port info port_cutleaves` _ -. .´ | ', ;|∞∞ ˜˜ |∞ RdB ,.,|∞∞ .' '. | -' `’ https://rdb.is On 3 December 2020 at 10:09:09, Michael (keybou...@gmail.com) wrote: What's

I keep getting the warning about CLT

2020-10-17 Thread Ruben Di Battista
Hello, I keep getting the error described here: https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt. I reinstall the CLT, but it lasts until the next Xcode update. Is there a way to fix it definitely? _ -. .´ | ', ;|∞∞ ˜˜ |∞ RdB ,.,

Re: port select --set gcc not symlinking `cc` command

2020-10-14 Thread Ruben Di Battista
Ok, thanks Ryan. Any specific show stoppers? Or the reason for not fixing it is just lack of time and low priority? On Wed, Oct 14, 2020 at 11:30 AM Ryan Schmidt wrote: > > On Oct 13, 2020, at 08:38, Ruben Di Battista wrote: > > > I just passed a week to solve a compiler e

Re: Failure to upgrade outdated

2020-09-29 Thread Ruben Di Battista
'port -f activate libgcc10' > to force the activation. > > Each time I did "port -f activate foo” I repeated the "port upgrade outdated" > command plus a few other things at other times. > > Should I file a ticket for this? > > Jerry > > > > On Sep 26, 2

Re: Failure to upgrade outdated

2020-09-26 Thread Ruben Di Battista
n you do. > > try > > sudo port -f deactivate libgcc > > ignore the warning, then try updating again. > > Chris > >> On 23 Sep 2020, at 12:12 pm, Ruben Di Battista wrote: >> >> Did you already tried to do what it suggest? >> >> ``` >> Please d

Re: ImageMagick port outdated

2020-09-25 Thread Ruben Di Battista
Moreover, HEIC format seems to be included here: https://github.com/macports/macports-ports/pull/6021 Are there any problems? On Fri, Sep 25, 2020 at 5:58 PM Ruben Di Battista wrote: > > Hello Christoph, > > here's there's a discussion about version 7: > https://github.com/ma

Re: ImageMagick port outdated

2020-09-25 Thread Ruben Di Battista
Hello Christoph, here's there's a discussion about version 7: https://github.com/macports/macports-ports/pull/5014 and here https://trac.macports.org/ticket/51310. It probably will be provided as a separate port. On Fri, Sep 25, 2020 at 5:40 PM Christoph Kukulies wrote: > > I was seeking for a

Re: Apple ARM binary codesign issue

2020-09-24 Thread Ruben Di Battista
Ok, that's what I didn't know. I thought It was mandatory for Apple Store software and not everything...  On Thu, 24 Sep 2020, 13:35 Ryan Schmidt, wrote: > On Sep 23, 2020, at 03:37, Ruben Di Battista wrote: > > > Can't be an easier choice to push globally a linker switch, if

Re: Failure to upgrade outdated

2020-09-23 Thread Ruben Di Battista
Did you already tried to do what it suggest? ``` Please deactivate this port first, or use 'port -f activate libgcc10' to force the activation. ``` So deactivate the libgcc port and run the upgrade again? On Wed, 23 Sep 2020, 12:43 list_email--- via macports-users, <

Re: Apple ARM binary codesign issue

2020-09-23 Thread Ruben Di Battista
Can't be an easier choice to push globally a linker switch, if it exists, to disable codesigning altogether for MP software? On Wed, 23 Sep 2020, 03:09 Saagar Jha, wrote: > As far as I understand, ad-hoc codesigning is not actually really meant to > protect a file on disk because you can just

Re: Weird GNUPLOT problem (but *not* just Gnuplot)

2020-09-13 Thread Ruben Di Battista
Ehi Dave, Did you try to launch the binary from the terminal and see which errors it spits out? On Sun, 13 Sep 2020, 10:07 Dave Horsfall, wrote: > No replies? Am I the only person on the planet having this problem? > > It's not confined to Gnuplot, but pretty much anything that wants to save

Re: On building poppler

2020-04-12 Thread Ruben Di Battista
Hi Dave,  That is standard practice. I don’t know the real reason for it, didn’t bother to investigate, but you just need to follow what is written there: that is deactivating Poppler before upgrading it.  `sudo port -f deactivate popper` `sudo port upgrade popper`. I guess it is a safety

Different environment (apparently) calling make from python subprocess

2020-04-12 Thread Ruben Di Battista
I just discovered this anomaly: https://bugs.python.org/issue40261. TL, DR: if I run a `make` command from within a subprocess, the build of Python from source behaves differently and breaks. Could any of you try the step to reproduce and see if he/she is getting the same weird behavior I’m

Re: Strange behaviour of subprocess_check_output with Macports Python in virtualenv

2020-03-13 Thread Ruben Di Battista
The problem has been solved with the updated of virtualenv, that is currently in a PR for Macports.  On Fri, 13 Mar 2020, 00:09 Ryan Schmidt, wrote: > I am dropping macports-dev from Cc because the question is not about > developing MacPorts. > > On Feb 7, 2020, at 18:42, Ruben

Re: Call for contributors to macOS port of GDB

2020-02-15 Thread Ruben Di Battista
I mean, I guess you just need a registrar with an API for setting DNS records and a Python script to get your own DDNS service. I did for OVH, for example:  https://pypi.org/project/ovh-dynhost/ ^^ But I guess we’re going off topic... _ -. .´ | ', ;|∞∞ ˜˜

Strange behaviour of subprocess_check_output with Macports Python in virtualenv

2020-02-07 Thread Ruben Di Battista
Hello,  I’m experiencing a problem (https://github.com/davidhalter/jedi/issues/1375).  Running this on a Python installed with Macports:  ``` Python 3.8.1 (default, Feb 8 2020, 01:33:23) [Clang 11.0.0 (clang-1100.0.33.16)] on darwin Type "help", "copyright", "credits" or "license" for more

Re: Configuring Python3 on MacOS Macports

2019-12-02 Thread Ruben Di Battista
I still need to release my muscle memory . (in reality I don't use bare virtualenv but more pew and pipenv that I believe use venv for Python 3) On Tue, 3 Dec 2019, 01:42 Ralph Seichter, wrote: > * Ruben Di Battista: > > > What I suggest you is to use virtualenvs. >

Re: Configuring Python3 on MacOS Macports

2019-12-02 Thread Ruben Di Battista
Wait wait wait wait... Why are you doing the `python setup.py` thing? I strongly discourage you to use the system python to install packages globally. What I suggest you is to use virtualenvs. * Install py-virtualenv * Create virtualenv * Activate the virtual environment * Install things

Re: XCode 11 on Mojave problem, again

2019-11-09 Thread Ruben Di Battista
ile it with: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ test.cpp \ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk Mojca On Fri, 8 Nov 2019 at 15:27, Ruben Di Battista wrote: > &

XCode 11 on Mojave problem, again

2019-11-08 Thread Ruben Di Battista
Hello people,  I saw this kind of errors quite often lately around. But this times I’m hitting this with a local project, not a port in Macports. A project that used to build correctly with Xcode 10, now it seems to miss stuff in header. ninja -j 1 [1/48] Building CXX object

Re: Private ports

2019-09-25 Thread Ruben Di Battista
Yes, easiest thing is to provide a folder containing the ports you need to ship (even better a git repository) as a Local Portfile Repository. You’ll need to edit the /opt/local/etc/macports/sources.conf in order to tell macports to look for ports there before.  Is this what you were looking

Re: MacPorts and Anaconda

2019-08-12 Thread Ruben Di Battista
This can be applied also to virtualenv. What you need to do, imho, is to just create conda envs. They're isolated from system interpreters and they should not collide with anything. In these envs you can install whatever you want... And keep it from interfering with system packages... On Mon,

Re: apache2 error: failed to open stream...Failed opening required '/opt/local/var/db/php70/pear/pear-ini.php...

2019-04-09 Thread Ruben Di Battista
Wrong permissions on the `pear-ini.php`? Just guessing,  _ -. .´ | ', ;|∞∞ ˜˜ |∞ RdB ,.,|∞∞ .' '. | -' `’ https://rdb.is On 9 April 2019 at 19:01:56, Murray Eisenberg (murrayeisenb...@gmail.com) wrote: I’m

Re: A general philosophical question about MacPorts

2019-02-20 Thread Ruben Di Battista
To complement people answer, and most of all, "Why macOS"? Well, because there is not another Unix laptop that is as efficiently implemented. For example, take a Windows laptop, put Linux on it, and see your battery life drop at least of 15-20%. Well, i hate it. On my macOS I have very good

Re: cc/gcc programming - where are the includes?

2018-12-19 Thread Ruben Di Battista
If you are using the compiler by hand in the command line, you can set the CPATH env variable to point to the include directory... (/opt/local/include) Even if the system headers should be included by default if I'm not mistaken. On Wed, 19 Dec 2018, 09:33 Christoph Kukulies Does it require a

Re: mpi headers for armadillo

2018-12-04 Thread Ruben Di Battista
I don't know if it's a good example but I added the hdf5 variant to vtk that works as expected with all the variants of mpi. Could you maybe try to take inspiration from that? Il giorno mar 4 dic 2018, 14:25 Marius Schamschula ha scritto: > Hi all, > > In the PR armadillo: fix error with hdf5

Re: Gimp doesn't start

2018-11-28 Thread Ruben Di Battista
Cleaning gimp > ---> Scanning binaries for linking errors > ---> No broken files found. > ---> No broken ports found. > > Same picture. Clicking on the Gimp icon in the launcher doesn’t result in > anything happening and running the app ./GIMP gives the same error message.

Re: Gimp doesn't start

2018-11-28 Thread Ruben Di Battista
Try to install it with `+quartz` variant. I installed it like this on Mojave and it works as expected... Il giorno mer 28 nov 2018, 08:30 Christoph Kukulies ha scritto: > I tried the following: > > Christophs-MBP:MacOS kuku$ pwd > /Applications/MacPorts/GIMP.app/Contents/MacOS >

inkscape +quartz 100% CPU all the time on Mojave

2018-11-25 Thread Ruben Di Battista
Hello,  I just upgraded my OS to Mojave and installed all the ports. I’m encountering a problem with Inkscape. If I run it (both from terminal and app) it is very sluggish and it always gets 100% CPU.  Any idea on how to debug this?  _ -. .´ | ', ;|∞∞ ˜˜