Re: problem installing gnureadline

2018-04-18 Thread Clemens Lang
Hi,

On Wed, Apr 18, 2018 at 03:44:50PM +0100, Chris Jones wrote:
> > But if one erases everything along the
> > 
> > https://guide.macports.org/chunked/installing.macports.uninstalling.html
> > 
> > what is the use to run macports uninstall ? Isn’t everything wiped
> > out once /opt/local is erased ?
> 
> The page first describes the uninstall command. That will be enough
> for many. The 'rm -rf' is described as a second option, if you
> *really* want to get rid of everything. You can run one or the other,
> take you pick. You can run both, but indeed once you run the second
> whether or not you ran he first is a moot point, its redundant.

No, these are not options. The two steps are meant to be run in-order.
Ports can (and a few exotic ones will) install files in other locations
in the filesystem that are not covered by the rm -rf in the second step.
If you do not uninstall the ports (or at least deactivate them), these
files would be left on your disk, and the next installation of one of
these ports would fail with the same problem you've been seeing.

-- 
Clemens


Re: upcoming removal of components from macOS Server: opportunity?

2018-04-18 Thread Ryan Schmidt

On Apr 18, 2018, at 06:07, William H. Magillwrote:

> One assumes that a big problem with any migration guide (or automated 
> process) will be with Apache and MAMP
> 
> I haven’t run OSX Server for several years now, but the difference in 
> locations between OSX Server’s locations (Site, etc.) and the standard Apache 
> 2 locations were always annoying. Then Apache changed its locations with 
> Apache 2.4 - which we just updated in the  port file notes, and partially 
> updated the MacPorts instructions on the WIKI. ( 
> https://trac.macports.org/wiki/howto/Apache2 ) 

Well, MacPorts changed the locations where we install Apache httpd, when we 
updated the apache2 port from version 2.2.x to 2.4.x. It wasn't related to any 
decision made by the Apache httpd project.


> One presumes that the remainder of the integration products - MAMP - MySQL / 
> PHP — will also be an issue.
> 
> I never used the MediaWiki part of OSX server, but one assumes it will have 
> the same Apache 2.4 integration issues.

macOS Server included MediaWiki? I thought it included a custom Apple-created 
wiki software.



Re: reinstalling Macports

2018-04-18 Thread Ryan Schmidt
Thanks. I think this problem was introduced by a presumably unintentional part 
of this commit:

https://github.com/macports/macports-ports/commit/e3710d6800e803ebaa9528d3bdb38fb2fcade513#diff-5513a677784c8c1520463fedf268a37f

I think that needs to be reverted, and the tk port's revision increased to 
ensure any incorrect builds out there get fixed.

Vince?


On Apr 18, 2018, at 04:08, pagani laurent wrote:

> Ryan,
> 
> I removed explicit tk installation from the myport.txt list, uninstalled tk 
> and restarted restore_ports.tcl myport.txt and all went through nicely.
> Tk has been reinstalled as requested from python ports as dependent port. And 
> in that case, it does not contain explicitly X.h and other such header files 
> as you can see in the new ”port contents tk” command return which I attach to 
> this mail but I also provide directly the difference between the two (left 
> side is the one from requested installation, left one from indirect 
> installation)  :
> 
> Macports>diff tk_contents.txt tk_contents_2.txt 
> 4,12d3
> <   /opt/local/include/X11/X.h
> <   /opt/local/include/X11/Xatom.h
> <   /opt/local/include/X11/Xfuncproto.h
> <   /opt/local/include/X11/Xlib.h
> <   /opt/local/include/X11/Xutil.h
> <   /opt/local/include/X11/cursorfont.h
> <   /opt/local/include/X11/keysym.h
> <   /opt/local/include/X11/keysymdef.h
> <   /opt/local/include/X11/xbytes.h
> 15,16d5
> <   /opt/local/include/tkIntXlibDecls.h
> <   /opt/local/include/tkMacOSX.h
> 18,19d6
> <   /opt/local/lib/Tk.icns
> <   /opt/local/lib/Tk.tiff
> 
> Hope this helps.
> 
> L.
> 
> 



Re: problem installing gnureadline

2018-04-18 Thread Chris Jones




But if one erases everything along the

https://guide.macports.org/chunked/installing.macports.uninstalling.html

what is the use to run macports uninstall ? Isn’t everything wiped out once 
/opt/local is erased ?


The page first describes the uninstall command. That will be enough for 
many. The 'rm -rf' is described as a second option, if you *really* want 
to get rid of everything. You can run one or the other, take you pick. 
You can run both, but indeed once you run the second whether or not you 
ran he first is a moot point, its redundant.





L.


Le 18 avr. 2018 à 15:49, Chris Jones  a écrit :



On 18/04/18 14:44, pagani laurent via macports-users wrote:

You are right of course. So I ended up removing everything which was not 
installed yesterday or today and that cured it but is there a way to clean up 
completely /opt/local without removing Macports itself so that one can reply 
the reinstall script easily ?


If you first follow the instructions at

https://trac.macports.org/wiki/Migration

to create the lists of ports you have installed, you can then if you wish 
replace steps c and d

c Uninstall all installed ports:

sudo port -f uninstall installed

d Clean any partially-completed builds:

sudo rm -rf /opt/local/var/macports/build/*

with the nuke at

https://guide.macports.org/chunked/installing.macports.uninstalling.html

and then still uses the previously saved list of ports to reinstall the ports, 
once you have reinstalled macports.



Laurent

Le 18 avr. 2018 à 15:18, Rainer Müller mailto:rai...@macports.org>> a écrit :

On 2018-04-18 15:07, pagani laurent wrote:

after uninstalling everything and following the ”migration” tuto (and removing 
tk from requested ports), I tried to install py36-jupyter but it stopped again 
with the gnureadline install which still fails in the same way as before 
(complaining about some scipy directory) though in principle there is nothing 
left from outside/weird installations.


No port command will get rid of this file/directory when it is not
provided by a MacPorts port. You will have to clean it up manually.


--->  Configuring py36-gnureadline
--->  Building py36-gnureadline
Error: Failed to build py36-gnureadline: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log
 for details.

(attached)



Is this file provided by a port? If not, you must have installed it in
some other way.

port provides
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info


it says it is a directory.
Note also that py36-scipy was installed earlier today with MP on my request 
without failure.


This file is definitely not coming from the current version of
py36-scipy. I assume you used 'sudo pip install' before (or some script
did) and that installed python packages directly into the MacPorts prefix.

The simplest solution is to just move this directory away:

sudo mv
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
~/Desktop/

Rainer

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)


"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)



Re: reinstalling Macports

2018-04-18 Thread Richard DeLaurell
Hello, I also had tk as a sticking point in my last run of "upgrade
outdated" (after selfupdate to 2.4.3). It came very near the end of
updating everything so I succumbed to temptation and forced it with -f. I
haven't noticed anything going terribly wrong yet, but "tk contents" does
show the X11 header files including X.h in /opt/local/include/X11.

What should I be looking for that might indicate that it is causing
problems and what is the specific procedure to remove/repair this? (I have
read the previous messages in this thread but want to be certain I am not
uninstalling or "nuking" anything beyond what might be absolutely
necessary.) I have El Capitan 10.11.6.

Thanks for any help.

On Wed, Apr 18, 2018 at 4:08 AM pagani laurent via macports-users <
macports-users@lists.macports.org> wrote:

> Ryan,
>
> I removed explicit tk installation from the myport.txt list, uninstalled
> tk and restarted restore_ports.tcl myport.txt and all went through nicely.
> Tk has been reinstalled as requested from python ports as dependent port.
> And in that case, it does not contain explicitly X.h and other such header
> files as you can see in the new ”port contents tk” command return which I
> attach to this mail but I also provide directly the difference between the
> two (left side is the one from requested installation, left one from
> indirect installation)  :
>
>  Macports>diff tk_contents.txt tk_contents_2.txt
> 4,12d3
> <   /opt/local/include/X11/X.h
> <   /opt/local/include/X11/Xatom.h
> <   /opt/local/include/X11/Xfuncproto.h
> <   /opt/local/include/X11/Xlib.h
> <   /opt/local/include/X11/Xutil.h
> <   /opt/local/include/X11/cursorfont.h
> <   /opt/local/include/X11/keysym.h
> <   /opt/local/include/X11/keysymdef.h
> <   /opt/local/include/X11/xbytes.h
> 15,16d5
> <   /opt/local/include/tkIntXlibDecls.h
> <   /opt/local/include/tkMacOSX.h
> 18,19d6
> <   /opt/local/lib/Tk.icns
> <   /opt/local/lib/Tk.tiff
>
> Hope this helps.
>
> L.
>
>


Re: problem installing gnureadline

2018-04-18 Thread pagani laurent via macports-users
Chris,

This is what I wanted to avoid : removing Macports itself. But maybe there is 
no safe way to do that and it is not worth sparing that bit of code.

But if one erases everything along the 

https://guide.macports.org/chunked/installing.macports.uninstalling.html

what is the use to run macports uninstall ? Isn’t everything wiped out once 
/opt/local is erased ?

L.

> Le 18 avr. 2018 à 15:49, Chris Jones  a écrit :
> 
> 
> 
> On 18/04/18 14:44, pagani laurent via macports-users wrote:
>> You are right of course. So I ended up removing everything which was not 
>> installed yesterday or today and that cured it but is there a way to clean 
>> up completely /opt/local without removing Macports itself so that one can 
>> reply the reinstall script easily ?
> 
> If you first follow the instructions at
> 
> https://trac.macports.org/wiki/Migration
> 
> to create the lists of ports you have installed, you can then if you wish 
> replace steps c and d
> 
> c Uninstall all installed ports:
> 
> sudo port -f uninstall installed
> 
> d Clean any partially-completed builds:
> 
> sudo rm -rf /opt/local/var/macports/build/*
> 
> with the nuke at
> 
> https://guide.macports.org/chunked/installing.macports.uninstalling.html
> 
> and then still uses the previously saved list of ports to reinstall the 
> ports, once you have reinstalled macports.
> 
> 
>> Laurent
>>> Le 18 avr. 2018 à 15:18, Rainer Müller >> > a écrit :
>>> 
>>> On 2018-04-18 15:07, pagani laurent wrote:
 after uninstalling everything and following the ”migration” tuto (and 
 removing tk from requested ports), I tried to install py36-jupyter but it 
 stopped again with the gnureadline install which still fails in the same 
 way as before (complaining about some scipy directory) though in principle 
 there is nothing left from outside/weird installations.
>>> 
>>> No port command will get rid of this file/directory when it is not
>>> provided by a MacPorts port. You will have to clean it up manually.
>>> 
 --->  Configuring py36-gnureadline
 --->  Building py36-gnureadline
 Error: Failed to build py36-gnureadline: command execution failed
 Error: See 
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log
  for details.
 
 (attached)
 
> 
> Is this file provided by a port? If not, you must have installed it in
> some other way.
> 
> port provides
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
 
 it says it is a directory.
 Note also that py36-scipy was installed earlier today with MP on my 
 request without failure.
>>> 
>>> This file is definitely not coming from the current version of
>>> py36-scipy. I assume you used 'sudo pip install' before (or some script
>>> did) and that installed python packages directly into the MacPorts prefix.
>>> 
>>> The simplest solution is to just move this directory away:
>>> 
>>> sudo mv
>>> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
>>> ~/Desktop/
>>> 
>>> Rainer
>> "S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise 
>> Shadok)

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)



Re: problem installing gnureadline

2018-04-18 Thread Chris Jones



On 18/04/18 14:44, pagani laurent via macports-users wrote:
You are right of course. So I ended up removing everything which was not 
installed yesterday or today and that cured it but is there a way to 
clean up completely /opt/local without removing Macports itself so that 
one can reply the reinstall script easily ?


If you first follow the instructions at

https://trac.macports.org/wiki/Migration

to create the lists of ports you have installed, you can then if you 
wish replace steps c and d


c Uninstall all installed ports:

sudo port -f uninstall installed

d Clean any partially-completed builds:

sudo rm -rf /opt/local/var/macports/build/*

with the nuke at

https://guide.macports.org/chunked/installing.macports.uninstalling.html

and then still uses the previously saved list of ports to reinstall the 
ports, once you have reinstalled macports.





Laurent

Le 18 avr. 2018 à 15:18, Rainer Müller > a écrit :


On 2018-04-18 15:07, pagani laurent wrote:
after uninstalling everything and following the ”migration” tuto (and 
removing tk from requested ports), I tried to install py36-jupyter 
but it stopped again with the gnureadline install which still fails 
in the same way as before (complaining about some scipy directory) 
though in principle there is nothing left from outside/weird 
installations.


No port command will get rid of this file/directory when it is not
provided by a MacPorts port. You will have to clean it up manually.


--->  Configuring py36-gnureadline
--->  Building py36-gnureadline
Error: Failed to build py36-gnureadline: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log 
for details.


(attached)



Is this file provided by a port? If not, you must have installed it in
some other way.

port provides
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info


it says it is a directory.
Note also that py36-scipy was installed earlier today with MP on my 
request without failure.


This file is definitely not coming from the current version of
py36-scipy. I assume you used 'sudo pip install' before (or some script
did) and that installed python packages directly into the MacPorts prefix.

The simplest solution is to just move this directory away:

sudo mv
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
~/Desktop/

Rainer


"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise 
Shadok)




Re: problem installing gnureadline

2018-04-18 Thread pagani laurent via macports-users
I was considering this indeed but was looking for something intermediate like 
cleaning everything except MacPorts itself to restart quickly with the 
reinstall command of the previously installed packages on request. While this 
seems to erase really everything.

Laurent

> Le 18 avr. 2018 à 15:32, Chris Jones  > a écrit :
> 
> stalled python packages directly into the MacPorts prefix.
>> The simplest solution is to just move this directory away:
>> sudo mv
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
>> ~/Desktop/
> 
> I would suggest the 'nuke macports' command as listed at
> 
> https://guide.macports.org/chunked/installing.macports.uninstalling.html 
> 
> 
> then start again.
> 
> Chris

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)



Re: problem installing gnureadline

2018-04-18 Thread pagani laurent via macports-users
You are right of course. So I ended up removing everything which was not 
installed yesterday or today and that cured it but is there a way to clean up 
completely /opt/local without removing Macports itself so that one can reply 
the reinstall script easily ?

Laurent

> Le 18 avr. 2018 à 15:18, Rainer Müller  > a écrit :
> 
> On 2018-04-18 15:07, pagani laurent wrote:
>> after uninstalling everything and following the ”migration” tuto (and 
>> removing tk from requested ports), I tried to install py36-jupyter but it 
>> stopped again with the gnureadline install which still fails in the same way 
>> as before (complaining about some scipy directory) though in principle there 
>> is nothing left from outside/weird installations.
> 
> No port command will get rid of this file/directory when it is not
> provided by a MacPorts port. You will have to clean it up manually.
> 
>> --->  Configuring py36-gnureadline
>> --->  Building py36-gnureadline
>> Error: Failed to build py36-gnureadline: command execution failed
>> Error: See 
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log
>>  for details.
>> 
>> (attached)
>> 
>>> 
>>> Is this file provided by a port? If not, you must have installed it in
>>> some other way.
>>> 
>>> port provides
>>> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
>> 
>> it says it is a directory.
>> Note also that py36-scipy was installed earlier today with MP on my request 
>> without failure. 
> 
> This file is definitely not coming from the current version of
> py36-scipy. I assume you used 'sudo pip install' before (or some script
> did) and that installed python packages directly into the MacPorts prefix.
> 
> The simplest solution is to just move this directory away:
> 
> sudo mv
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
> ~/Desktop/
> 
> Rainer

"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème" (devise Shadok)



Re: problem installing gnureadline

2018-04-18 Thread Chris Jones

stalled python packages directly into the MacPorts prefix.


The simplest solution is to just move this directory away:

sudo mv
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
~/Desktop/


I would suggest the 'nuke macports' command as listed at

https://guide.macports.org/chunked/installing.macports.uninstalling.html

then start again.

Chris


Re: problem installing gnureadline

2018-04-18 Thread Rainer Müller
On 2018-04-18 15:07, pagani laurent wrote:
> after uninstalling everything and following the ”migration” tuto (and 
> removing tk from requested ports), I tried to install py36-jupyter but it 
> stopped again with the gnureadline install which still fails in the same way 
> as before (complaining about some scipy directory) though in principle there 
> is nothing left from outside/weird installations.

No port command will get rid of this file/directory when it is not
provided by a MacPorts port. You will have to clean it up manually.

> --->  Configuring py36-gnureadline
> --->  Building py36-gnureadline
> Error: Failed to build py36-gnureadline: command execution failed
> Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log
>  for details.
> 
> (attached)
> 
>>
>> Is this file provided by a port? If not, you must have installed it in
>> some other way.
>>
>> port provides
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
> 
> it says it is a directory.
> Note also that py36-scipy was installed earlier today with MP on my request 
> without failure. 

This file is definitely not coming from the current version of
py36-scipy. I assume you used 'sudo pip install' before (or some script
did) and that installed python packages directly into the MacPorts prefix.

The simplest solution is to just move this directory away:

sudo mv
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info
~/Desktop/

Rainer


Re: problem installing gnureadline

2018-04-18 Thread pagani laurent via macports-users
Rainer,

after uninstalling everything and following the ”migration” tuto (and removing 
tk from requested ports), I tried to install py36-jupyter but it stopped again 
with the gnureadline install which still fails in the same way as before 
(complaining about some scipy directory) though in principle there is nothing 
left from outside/weird installations.

--->  Configuring py36-gnureadline
--->  Building py36-gnureadline
Error: Failed to build py36-gnureadline: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-gnureadline/py36-gnureadline/main.log
 for details.

(attached)

> 
> Is this file provided by a port? If not, you must have installed it in
> some other way.
> 
> port provides
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/scipy-0.19.1.dist-info

it says it is a directory.
Note also that py36-scipy was installed earlier today with MP on my request 
without failure. 



main.log
Description: Binary data


Re: upcoming removal of components from macOS Server: opportunity?

2018-04-18 Thread William H. Magill


> On Apr 18, 2018, at 6:07 AM, Rainer Müller  wrote:
> 
>>> https://developer.apple.com/support/macos-server/macOS-Server-Service-Migration-Guide.pdf
>> 
>> This looks like a last note from a frustrated admin
>> leaving a company tomorrow for greener pastures.
> 
> Assuming Apple tested this process, it would be a good idea to check
> whether the instructions given in this document match our ports
> regarding startup items and other configuration options. Any volunteers?
> 
> Rainer

One assumes that a big problem with any migration guide (or automated process) 
will be with Apache and MAMP

I haven’t run OSX Server for several years now, but the difference in locations 
between OSX Server’s locations (Site, etc.) and the standard Apache 2 locations 
were always annoying. Then Apache changed its locations with Apache 2.4 - which 
we just updated in the  port file notes, and partially updated the MacPorts 
instructions on the WIKI. ( https://trac.macports.org/wiki/howto/Apache2 ) 

One presumes that the remainder of the integration products - MAMP - MySQL / 
PHP — will also be an issue.

I never used the MediaWiki part of OSX server, but one assumes it will have the 
same Apache 2.4 integration issues.

T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.13.4
# Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.13.4
# MacPro5,1 Quad-Core Intel Xeon [2.8 GHz - 16 GB 1066 MHz] OSX 10.13.4
mag...@icloud.com
mag...@mac.com
whmag...@gmail.com










Re: upcoming removal of components from macOS Server: opportunity?

2018-04-18 Thread Rainer Müller
On 2018-04-18 10:09, Jan Stary wrote:
> On Apr 16 19:39:11, rlha...@smart.net wrote:
>> "In fall 2018, Apple will stop bundling open source services such as 
>> Calendar Server, Contacts Server, the Mail Server, DNS, DHCP, VPN Server, 
>> and Websites with macOS Server. Customers can get these same services 
>> directly from open-source providers. This way, macOS Server customers can 
>> install the most secure and up-to-date services as soon as they’re 
>> available."  https://support.apple.com/en-us/HT208312 
>> 
>>
>> For which of these (and others listed on the link) is there already a port,
>> esp. for the recommended (or most nearly identical) replacement?
> 
> We have unbound and nsd in the ports.
> 
>> Should there maybe also be a mention on a FAQ or wiki page of the
>> collective availability of easily installable alternatives via MacPorts?
> 
> I don't think this deserves another extra wiki page.
> MP provides software that does not come with MacOS itself.
> This situation is nothing new in that regard.

Similar to the migration guide from Apple linked below, there could be a
document to explain how to migrate these services to MacPorts.

Especially for internet-facing services it would be better to get more
users to install from a maintained repository with regular updates
instead of installing only once from source.

>> Anything else that might be an opportunity
>> to mitigate this annoyance that I haven't mentioned?
> 
> 
> Apple has been replacing fundamental parts of the OS with opensource
> for some time; a lot of the utils come from FreeBSD, the firewall is
> OpenBSD's pf, the SSL implementation is OpenBSD's LibreSSL, etc.
> That's not a bad thing: just use the good code, as opposed to
> reimplementing your own poorly. But e.g. groff (not really server related)
> that comes with the latest MacOS is groff 1.19.2, from 2004. That's ancient.
> And now they are saying they cannot even be bothered to do that anymore
> (after all, Apple is just a multibilion company).
> Dear user, install the actual software yourself.

That is the last version of GNU roff licensed as GPL-2+ before they
changed the license to GPL-3+. This is the reason you do not get any
more recent GNU tools and why GNU make or bash are that old. Apple
avoids the GPLv3 for its patent and anti-tivoization clauses. They are
not alone with this, other companies do the same.

>> https://developer.apple.com/support/macos-server/macOS-Server-Service-Migration-Guide.pdf
> 
> This looks like a last note from a frustrated admin
> leaving a company tomorrow for greener pastures.

Assuming Apple tested this process, it would be a good idea to check
whether the instructions given in this document match our ports
regarding startup items and other configuration options. Any volunteers?

Rainer


Re: reinstalling Macports

2018-04-18 Thread pagani laurent via macports-users
Ryan,

I removed explicit tk installation from the myport.txt list, uninstalled tk and 
restarted restore_ports.tcl myport.txt and all went through nicely.
Tk has been reinstalled as requested from python ports as dependent port. And 
in that case, it does not contain explicitly X.h and other such header files as 
you can see in the new ”port contents tk” command return which I attach to this 
mail but I also provide directly the difference between the two (left side is 
the one from requested installation, left one from indirect installation)  :

 Macports>diff tk_contents.txt tk_contents_2.txt 
4,12d3
<   /opt/local/include/X11/X.h
<   /opt/local/include/X11/Xatom.h
<   /opt/local/include/X11/Xfuncproto.h
<   /opt/local/include/X11/Xlib.h
<   /opt/local/include/X11/Xutil.h
<   /opt/local/include/X11/cursorfont.h
<   /opt/local/include/X11/keysym.h
<   /opt/local/include/X11/keysymdef.h
<   /opt/local/include/X11/xbytes.h
15,16d5
<   /opt/local/include/tkIntXlibDecls.h
<   /opt/local/include/tkMacOSX.h
18,19d6
<   /opt/local/lib/Tk.icns
<   /opt/local/lib/Tk.tiff

Hope this helps.

L.

Port tk contains:
  /opt/local/bin/wish
  /opt/local/bin/wish8.6
  /opt/local/include/tk.h
  /opt/local/include/tkDecls.h
  /opt/local/include/tkPlatDecls.h
  /opt/local/lib/libtk.dylib
  /opt/local/lib/libtk8.6.dylib
  /opt/local/lib/libtkstub8.6.a
  /opt/local/lib/pkgconfig/tk.pc
  /opt/local/lib/tk8.6/bgerror.tcl
  /opt/local/lib/tk8.6/button.tcl
  /opt/local/lib/tk8.6/choosedir.tcl
  /opt/local/lib/tk8.6/clrpick.tcl
  /opt/local/lib/tk8.6/comdlg.tcl
  /opt/local/lib/tk8.6/console.tcl
  /opt/local/lib/tk8.6/demos/README
  /opt/local/lib/tk8.6/demos/anilabel.tcl
  /opt/local/lib/tk8.6/demos/aniwave.tcl
  /opt/local/lib/tk8.6/demos/arrow.tcl
  /opt/local/lib/tk8.6/demos/bind.tcl
  /opt/local/lib/tk8.6/demos/bitmap.tcl
  /opt/local/lib/tk8.6/demos/browse
  /opt/local/lib/tk8.6/demos/button.tcl
  /opt/local/lib/tk8.6/demos/check.tcl
  /opt/local/lib/tk8.6/demos/clrpick.tcl
  /opt/local/lib/tk8.6/demos/colors.tcl
  /opt/local/lib/tk8.6/demos/combo.tcl
  /opt/local/lib/tk8.6/demos/cscroll.tcl
  /opt/local/lib/tk8.6/demos/ctext.tcl
  /opt/local/lib/tk8.6/demos/dialog1.tcl
  /opt/local/lib/tk8.6/demos/dialog2.tcl
  /opt/local/lib/tk8.6/demos/en.msg
  /opt/local/lib/tk8.6/demos/entry1.tcl
  /opt/local/lib/tk8.6/demos/entry2.tcl
  /opt/local/lib/tk8.6/demos/entry3.tcl
  /opt/local/lib/tk8.6/demos/filebox.tcl
  /opt/local/lib/tk8.6/demos/floor.tcl
  /opt/local/lib/tk8.6/demos/fontchoose.tcl
  /opt/local/lib/tk8.6/demos/form.tcl
  /opt/local/lib/tk8.6/demos/goldberg.tcl
  /opt/local/lib/tk8.6/demos/hello
  /opt/local/lib/tk8.6/demos/hscale.tcl
  /opt/local/lib/tk8.6/demos/icon.tcl
  /opt/local/lib/tk8.6/demos/image1.tcl
  /opt/local/lib/tk8.6/demos/image2.tcl
  /opt/local/lib/tk8.6/demos/images/earth.gif
  /opt/local/lib/tk8.6/demos/images/earthmenu.png
  /opt/local/lib/tk8.6/demos/images/earthris.gif
  /opt/local/lib/tk8.6/demos/images/flagdown.xbm
  /opt/local/lib/tk8.6/demos/images/flagup.xbm
  /opt/local/lib/tk8.6/demos/images/gray25.xbm
  /opt/local/lib/tk8.6/demos/images/letters.xbm
  /opt/local/lib/tk8.6/demos/images/noletter.xbm
  /opt/local/lib/tk8.6/demos/images/ouster.png
  /opt/local/lib/tk8.6/demos/images/pattern.xbm
  /opt/local/lib/tk8.6/demos/images/tcllogo.gif
  /opt/local/lib/tk8.6/demos/images/teapot.ppm
  /opt/local/lib/tk8.6/demos/items.tcl
  /opt/local/lib/tk8.6/demos/ixset
  /opt/local/lib/tk8.6/demos/knightstour.tcl
  /opt/local/lib/tk8.6/demos/label.tcl
  /opt/local/lib/tk8.6/demos/labelframe.tcl
  /opt/local/lib/tk8.6/demos/license.terms
  /opt/local/lib/tk8.6/demos/mclist.tcl
  /opt/local/lib/tk8.6/demos/menu.tcl
  /opt/local/lib/tk8.6/demos/menubu.tcl
  /opt/local/lib/tk8.6/demos/msgbox.tcl
  /opt/local/lib/tk8.6/demos/nl.msg
  /opt/local/lib/tk8.6/demos/paned1.tcl
  /opt/local/lib/tk8.6/demos/paned2.tcl
  /opt/local/lib/tk8.6/demos/pendulum.tcl
  /opt/local/lib/tk8.6/demos/plot.tcl
  /opt/local/lib/tk8.6/demos/puzzle.tcl
  /opt/local/lib/tk8.6/demos/radio.tcl
  /opt/local/lib/tk8.6/demos/rmt
  /opt/local/lib/tk8.6/demos/rolodex
  /opt/local/lib/tk8.6/demos/ruler.tcl
  /opt/local/lib/tk8.6/demos/sayings.tcl
  /opt/local/lib/tk8.6/demos/search.tcl
  /opt/local/lib/tk8.6/demos/spin.tcl
  /opt/local/lib/tk8.6/demos/states.tcl
  /opt/local/lib/tk8.6/demos/style.tcl
  /opt/local/lib/tk8.6/demos/tclIndex
  /opt/local/lib/tk8.6/demos/tcolor
  /opt/local/lib/tk8.6/demos/text.tcl
  /opt/local/lib/tk8.6/demos/textpeer.tcl
  /opt/local/lib/tk8.6/demos/timer
  /opt/local/lib/tk8.6/demos/toolbar.tcl
  /opt/local/lib/tk8.6/demos/tree.tcl
  /opt/local/lib/tk8.6/demos/ttkbut.tcl
  /opt/local/lib/tk8.6/demos/ttkmenu.tcl
  /opt/local/lib/tk8.6/demos/ttknote.tcl
  /opt/local/lib/tk8.6/demos/ttkpane.tcl
  /opt/local/lib/tk8.6/demos/ttkprogress.tcl
  /opt/local/lib/tk8.6/demos/ttkscale.tcl
  /opt/local/lib/tk8.6/demos/twind.tcl
  /opt/local/lib/tk8.6/demos/unicodeout.tcl
  /opt/local/lib/tk8.6/demos/vscale.tcl
  /opt/local/li

Re: upcoming removal of components from macOS Server: opportunity?

2018-04-18 Thread Jan Stary
On Apr 16 19:39:11, rlha...@smart.net wrote:
> "In fall 2018, Apple will stop bundling open source services such as Calendar 
> Server, Contacts Server, the Mail Server, DNS, DHCP, VPN Server, and Websites 
> with macOS Server. Customers can get these same services directly from 
> open-source providers. This way, macOS Server customers can install the most 
> secure and up-to-date services as soon as they’re available."  
> https://support.apple.com/en-us/HT208312 
> 
> 
> For which of these (and others listed on the link) is there already a port,
> esp. for the recommended (or most nearly identical) replacement?

We have unbound and nsd in the ports.

> Should there maybe also be a mention on a FAQ or wiki page of the
> collective availability of easily installable alternatives via MacPorts?

I don't think this deserves another extra wiki page.
MP provides software that does not come with MacOS itself.
This situation is nothing new in that regard.

> Anything else that might be an opportunity
> to mitigate this annoyance that I haven't mentioned?


Apple has been replacing fundamental parts of the OS with opensource
for some time; a lot of the utils come from FreeBSD, the firewall is
OpenBSD's pf, the SSL implementation is OpenBSD's LibreSSL, etc.
That's not a bad thing: just use the good code, as opposed to
reimplementing your own poorly. But e.g. groff (not really server related)
that comes with the latest MacOS is groff 1.19.2, from 2004. That's ancient.
And now they are saying they cannot even be bothered to do that anymore
(after all, Apple is just a multibilion company).
Dear user, install the actual software yourself.

But it's a good thing if Apple starts admitting it cannot compete with
open source when it comes to actually providing fundamental software
like a firewall or a dns server or a dhcp server and such.

I wonder how the list was decided.
"DNS on a UNIX server? SMTPd? Nah ..."


> https://developer.apple.com/support/macos-server/macOS-Server-Service-Migration-Guide.pdf

This looks like a last note from a frustrated admin
leaving a company tomorrow for greener pastures.



Re: reinstalling Macports

2018-04-18 Thread pagani laurent via macports-users
Before you mention it,I tried to force activations, I tried to deactivate tk, 
everything fails at some point. 
I tried indeed to uninstall and reinstall MacPorts too but apart from erasing 
all my tools, I am still bumping against this problem (and xemacs running has 
nothing to do with it). So it is even worse today… I am running Sierra 10.12.6 
by the way and XCode 8.3.3. However, trying to open XCode, it asked for some 
components to be installed. Not sure it has something to do with all that, but 
I mention just in case.

I attach the output of port contents tk

Port tk contains:
  /opt/local/bin/wish
  /opt/local/bin/wish8.6
  /opt/local/include/X11/X.h
  /opt/local/include/X11/Xatom.h
  /opt/local/include/X11/Xfuncproto.h
  /opt/local/include/X11/Xlib.h
  /opt/local/include/X11/Xutil.h
  /opt/local/include/X11/cursorfont.h
  /opt/local/include/X11/keysym.h
  /opt/local/include/X11/keysymdef.h
  /opt/local/include/X11/xbytes.h
  /opt/local/include/tk.h
  /opt/local/include/tkDecls.h
  /opt/local/include/tkIntXlibDecls.h
  /opt/local/include/tkMacOSX.h
  /opt/local/include/tkPlatDecls.h
  /opt/local/lib/Tk.icns
  /opt/local/lib/Tk.tiff
  /opt/local/lib/libtk.dylib
  /opt/local/lib/libtk8.6.dylib
  /opt/local/lib/libtkstub8.6.a
  /opt/local/lib/pkgconfig/tk.pc
  /opt/local/lib/tk8.6/bgerror.tcl
  /opt/local/lib/tk8.6/button.tcl
  /opt/local/lib/tk8.6/choosedir.tcl
  /opt/local/lib/tk8.6/clrpick.tcl
  /opt/local/lib/tk8.6/comdlg.tcl
  /opt/local/lib/tk8.6/console.tcl
  /opt/local/lib/tk8.6/demos/README
  /opt/local/lib/tk8.6/demos/anilabel.tcl
  /opt/local/lib/tk8.6/demos/aniwave.tcl
  /opt/local/lib/tk8.6/demos/arrow.tcl
  /opt/local/lib/tk8.6/demos/bind.tcl
  /opt/local/lib/tk8.6/demos/bitmap.tcl
  /opt/local/lib/tk8.6/demos/browse
  /opt/local/lib/tk8.6/demos/button.tcl
  /opt/local/lib/tk8.6/demos/check.tcl
  /opt/local/lib/tk8.6/demos/clrpick.tcl
  /opt/local/lib/tk8.6/demos/colors.tcl
  /opt/local/lib/tk8.6/demos/combo.tcl
  /opt/local/lib/tk8.6/demos/cscroll.tcl
  /opt/local/lib/tk8.6/demos/ctext.tcl
  /opt/local/lib/tk8.6/demos/dialog1.tcl
  /opt/local/lib/tk8.6/demos/dialog2.tcl
  /opt/local/lib/tk8.6/demos/en.msg
  /opt/local/lib/tk8.6/demos/entry1.tcl
  /opt/local/lib/tk8.6/demos/entry2.tcl
  /opt/local/lib/tk8.6/demos/entry3.tcl
  /opt/local/lib/tk8.6/demos/filebox.tcl
  /opt/local/lib/tk8.6/demos/floor.tcl
  /opt/local/lib/tk8.6/demos/fontchoose.tcl
  /opt/local/lib/tk8.6/demos/form.tcl
  /opt/local/lib/tk8.6/demos/goldberg.tcl
  /opt/local/lib/tk8.6/demos/hello
  /opt/local/lib/tk8.6/demos/hscale.tcl
  /opt/local/lib/tk8.6/demos/icon.tcl
  /opt/local/lib/tk8.6/demos/image1.tcl
  /opt/local/lib/tk8.6/demos/image2.tcl
  /opt/local/lib/tk8.6/demos/images/earth.gif
  /opt/local/lib/tk8.6/demos/images/earthmenu.png
  /opt/local/lib/tk8.6/demos/images/earthris.gif
  /opt/local/lib/tk8.6/demos/images/flagdown.xbm
  /opt/local/lib/tk8.6/demos/images/flagup.xbm
  /opt/local/lib/tk8.6/demos/images/gray25.xbm
  /opt/local/lib/tk8.6/demos/images/letters.xbm
  /opt/local/lib/tk8.6/demos/images/noletter.xbm
  /opt/local/lib/tk8.6/demos/images/ouster.png
  /opt/local/lib/tk8.6/demos/images/pattern.xbm
  /opt/local/lib/tk8.6/demos/images/tcllogo.gif
  /opt/local/lib/tk8.6/demos/images/teapot.ppm
  /opt/local/lib/tk8.6/demos/items.tcl
  /opt/local/lib/tk8.6/demos/ixset
  /opt/local/lib/tk8.6/demos/knightstour.tcl
  /opt/local/lib/tk8.6/demos/label.tcl
  /opt/local/lib/tk8.6/demos/labelframe.tcl
  /opt/local/lib/tk8.6/demos/license.terms
  /opt/local/lib/tk8.6/demos/mclist.tcl
  /opt/local/lib/tk8.6/demos/menu.tcl
  /opt/local/lib/tk8.6/demos/menubu.tcl
  /opt/local/lib/tk8.6/demos/msgbox.tcl
  /opt/local/lib/tk8.6/demos/nl.msg
  /opt/local/lib/tk8.6/demos/paned1.tcl
  /opt/local/lib/tk8.6/demos/paned2.tcl
  /opt/local/lib/tk8.6/demos/pendulum.tcl
  /opt/local/lib/tk8.6/demos/plot.tcl
  /opt/local/lib/tk8.6/demos/puzzle.tcl
  /opt/local/lib/tk8.6/demos/radio.tcl
  /opt/local/lib/tk8.6/demos/rmt
  /opt/local/lib/tk8.6/demos/rolodex
  /opt/local/lib/tk8.6/demos/ruler.tcl
  /opt/local/lib/tk8.6/demos/sayings.tcl
  /opt/local/lib/tk8.6/demos/search.tcl
  /opt/local/lib/tk8.6/demos/spin.tcl
  /opt/local/lib/tk8.6/demos/states.tcl
  /opt/local/lib/tk8.6/demos/style.tcl
  /opt/local/lib/tk8.6/demos/tclIndex
  /opt/local/lib/tk8.6/demos/tcolor
  /opt/local/lib/tk8.6/demos/text.tcl
  /opt/local/lib/tk8.6/demos/textpeer.tcl
  /opt/local/lib/tk8.6/demos/timer
  /opt/local/lib/tk8.6/demos/toolbar.tcl
  /opt/local/lib/tk8.6/demos/tree.tcl
  /opt/local/lib/tk8.6/demos/ttkbut.tcl
  /opt/local/lib/tk8.6/demos/ttkmenu.tcl
  /opt/local/lib/tk8.6/demos/ttknote.tcl
  /opt/local/lib/tk8.6/demos/ttkpane.tcl
  /opt/local/lib/tk8.6/demos/ttkprogress.tcl
  /opt/local/lib/tk8.6/demos/ttkscale.tcl
  /opt/local/lib/tk8.6/demos/twind.tcl
  /opt/local/lib/tk8.6/demos/unicodeout.tcl
  /opt/local/lib/tk8.6/demos/vscale.tcl
  /opt/local/lib/tk8.6/demos/widget
  /opt/local/lib/tk8.6/dialog.tcl
  /opt/local/lib/tk8.6/entry.tcl
  /opt/local/l