Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Ryan Schmidt
On May 31, 2018, at 00:39, Ken Cunningham wrote: > pbzip2 is using libstdc++ (this installation is configured to use libc++) I can't see why this would be. The build only invokes the C++ compiler once, and does pass the -stdlib flag when doing so. Please file a ticket with a main.log and any

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Ryan Schmidt
On May 31, 2018, at 12:21, iEFdev wrote: > I have some 5-6 ports that show this (gptfdisk, flac, etc.). gptfdisk: https://github.com/macports/macports-ports/pull/1910 flac: I do not see anything wrong with the port. Every invocation of the clang++ already specifies the -stdlib flag. If that's

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Ryan Schmidt
On May 31, 2018, at 10:44, Dr M J Carter wrote: > On Thu, May 31, 2018 at 07:49:23AM -0700, Ken Cunningham wrote: >> >> On 2018-05-30, at 11:04 PM, Joshua Root wrote: >> >>> On 2018-5-31 15:39 , Ken Cunningham wrote: gcc5 is using libstdc++ (this installation is configured to use libc++)

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Ken Cunningham
On 2018-05-31, at 5:53 PM, Joshua Root wrote: > Those that do provide or use C++ libraries need to be fixed to use the > C++ stdlib that they are being told to use. And indeed, that is the exact point of having this test and check ... to find and fix these broken ports. Ken

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Joshua Root
On 2018-6-1 09:49 , iEFdev wrote: > > Aah, ok… So, for flac it need its own. > > I made a test using: “configure.cxx_stdlib libFLAC++” instead, and that > was working as well. Sorry if I wasn't clear: libFLAC++ is a library provided by the flac port. It is linked to the C++ stdlib. Programs that

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread iEFdev
On 6/1/18 0:36 , Joshua Root wrote: > On 2018-6-1 07:24 , iEFdev wrote: >> I made a quick test on flac, adding: >> >> # flac is using libstdc++ (this installation is configured to use libc++) >> configure.cxx_stdlib libstdc++ >> >> …and the rev-upgrade let it pass. >> >>> Please open tickets or b

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Joshua Root
On 2018-6-1 07:24 , iEFdev wrote: > > I made a quick test on flac, adding: > > # flac is using libstdc++ (this installation is configured to use libc++) > configure.cxx_stdlib libstdc++ > > …and the rev-upgrade let it pass. > >> Please open tickets or better yet PRs for affected ports. >> >> -

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread iEFdev
On 5/31/18 21:24 , Joshua Root wrote: > On 2018-6-1 03:21 , iEFdev wrote: >> Hi, >> >> I have some 5-6 ports that show this (gptfdisk, flac, etc.). Do you have >> an example how to use the cxx_stdlib_overridden.tcl, or are there any >> documentation to read more how to use it. Sorry, if it's obvi

Re: Startupitems for non-root user

2018-05-31 Thread Joshua Root
On 2018-6-1 04:36 , macpo...@parvis.nl wrote: > - launchd knows when the job died. Why is daemondo even used for an > executable startupitem? Unfortunately, launchd also "knows" that a process died when it calls daemon() or does the equivalent. A lot of daemons do this, and that's the main reason

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Joshua Root
On 2018-6-1 03:21 , iEFdev wrote: > Hi, > > I have some 5-6 ports that show this (gptfdisk, flac, etc.). Do you have > an example how to use the cxx_stdlib_overridden.tcl, or are there any > documentation to read more how to use it. Sorry, if it's obvious, but I > couldn't find it. > > /// Since

Startupitems for non-root user

2018-05-31 Thread macports
Looking through all Portfiles for examples, I found these: executable sudo -u ${cassandrauser} env \ executable sudo -u elasticsearch ${prefix}/bin/${name} So I tried this: startupitem.create yes startupitems \ name munin-asyncd \ executable sudo -u munin ${prefix}/lib/munin/m

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread iEFdev
Hi, I have some 5-6 ports that show this (gptfdisk, flac, etc.). Do you have an example how to use the cxx_stdlib_overridden.tcl, or are there any documentation to read more how to use it. Sorry, if it's obvious, but I couldn't find it. /// Since I'm using 10.7.5 with the CXX-fix

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Dr M J Carter
On Thu, May 31, 2018 at 07:49:23AM -0700, Ken Cunningham wrote: > > On 2018-05-30, at 11:04 PM, Joshua Root wrote: > > > On 2018-5-31 15:39 , Ken Cunningham wrote: > >> gcc5 is using libstdc++ (this installation is configured to use libc++) > >> gcc6 is using libstdc++ (this installation is confi

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Rainer Müller
On 2018-05-31 16:49, Ken Cunningham wrote: > > On 2018-05-30, at 11:04 PM, Joshua Root wrote: > >> On 2018-5-31 15:39 , Ken Cunningham wrote: >>> gcc5 is using libstdc++ (this installation is configured to use libc++) >>> gcc6 is using libstdc++ (this installation is configured to use libc++) >>>

Re: multiple ports with stdlibc++ mismatches (all on 10.13)...

2018-05-31 Thread Ken Cunningham
On 2018-05-30, at 11:04 PM, Joshua Root wrote: > On 2018-5-31 15:39 , Ken Cunningham wrote: >> gcc5 is using libstdc++ (this installation is configured to use libc++) >> gcc6 is using libstdc++ (this installation is configured to use libc++) >> gcc7 is using libstdc++ (this installation is confi