Re: 'LANG=' produces German output

2020-02-15 Thread Werner LEMBERG
 on my Lion box, calling
 
 LANG= bison ...
 
 I suddenly get *German* output!  [...]
>> 
>> It's seems to be a new feature of gettext 0.21, which comes with
>> improved MacOS support.  In the NEWS file I read
> 
> Then you should not be seeing this problem with MacPorts since we
> still use gettext 0.19.8.1.

OK.  Maybe it's another change, but essentially it doesn't matter :-)
I added a patch to my lilypond-devel PR (which will also be soon part
of lilypond upstream) to fix it.


Werner


Re: provided, was Re: Befuddled

2020-02-15 Thread Mojca Miklavec
On Sat, 15 Feb 2020 at 12:47, Richard L. Hamilton wrote:
> > On Feb 15, 2020, at 05:45, Mojca Miklavec wrote:
> >
> >  (We should set up a database of all the
> > files provided by the individual packages at some point.)
>
> Variants complicate that, I think.

Yes, variants definitely complicate that, but having a database of
files provided by the default variants would already be enormously
helpful.

Buildbot already prints the list of files as it builds ports. All we
need is to enter those data into the web app, no need to crowdsource
information collection, and crowdsourcing (telemetry) would not by
itself solve the problem of someone needing to do the coding necessary
to make the information nicely accessible and searchable (within the
scope of the website made last year during GSOC).

As far as accurate info goes: you cannot get that unless you really
build every single port with every single variant combination. And
even then you might get ports which opportunistically find
dependencies and change behaviour based on that, so the info would not
be 100% accurate anyway.

> So much as I'd enjoy the quick response it might provide, I wonder about the 
> real-world utility given the effort (and what else might benefit more from 
> the effort).

I'm not sure I understood what you wanted to ask / say here.

Mojca


Mojca


Re: Befuddled

2020-02-15 Thread Jeff Greenberg
Thanks, all. I did the following, which ended up eventually resolving the 
problem. Just want to make sure I did this correctly and that there wasn’t just 
a port fubar option that would have done it :)

First I used port dependents to find what was dependent on gtk-doc. Then I did 
port dependents on those, and eventually found quite a few ports that nothing 
was dependent on, so I uinstalled them in reverse order. 

Then I finally got port upgrade outdated to run cleanly, but still no 
connection to localhost.

I then installed the apache2 port and reinstalled it, which completed cleanly. 
I received a message about enabling it for the first time, executed that 
command, and that went cleanly, but still no connection.

At that point, though, I could actually do a /opt/local/sbin/apachectl start 
and voila! A web server!!

> On Feb 15, 2020, at 9:18 AM, Ryan Schmidt  wrote:
> 
> On Feb 15, 2020, at 00:22, Jeff Greenberg wrote:
> 
>> 
>> 
>> Hi. After restarting my mac, localhost is refusing connections, and 
>> attempting to restart apachectl results in this error message:
>> 
>> httpd: Syntax error on line 168 of /opt/local/etc/apache2/httpd.conf: Cannot 
>> load lib/apache2/modules/mod_php72.so into server: 
>> dlopen(/opt/local/lib/apache2/modules/mod_php72.so, 10): Library not loaded: 
>> /opt/local/lib/libicui18n.58.dylib\n  Referenced from: 
>> /opt/local/lib/apache2/modules/mod_php72.so\n  Reason: image not found
> 
> This is https://trac.macports.org/ticket/59439 
> 
> 
> I guess you had not updated your ports in awhile, and just now updated from 
> icu 58 to 65. 
> 
> Below we see that rev-upgrade has correctly detected the problem and would 
> rebuild the affected port, were it not for the problem rebuilding gtk-doc 
> that interrupted it. 
> 
> 
>> Having had this error after upgrading gimp, I tried doing what I had to do 
>> then:
>> 
>> /opt/local/bin$ sudo port upgrade icu -Rf
> 
> You should not be attempting to force things unnecessarily. And I don't 
> believe you're successfully forcing anything, since single-dash flags like -f 
> and -R must be placed between the word "port" and the command verb that 
> follows it in order to have any effect. 
> 
> 
>> which yields the following:
>> 
>> --->  Updating database of binaries
>> --->  Scanning binaries for linking errors
>> --->  Found 27 broken files, matching files to ports 
>> --->  Found 6 broken ports, determining rebuild order
>> You can always run 'port rev-upgrade' again to fix errors.
>> The following ports will be rebuilt:
>>  avahi @0.7+gtk+gtk3+x11
>>  graphviz @2.40.1+pangocairo+x11
>>  php72-apache2handler @7.2.16
>>  gimp2 @2.8.22+python27
>>  boost @1.66.0+no_single+no_static+python27
>>  sane-backends @1.0.27+avahi
>> Continue? [Y/n]: Y
> 
> 
>> --->  Building gtk-doc
>> Error: Failed to build gtk-doc: command execution failed
>> Error: See 
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log
>>  for details.
>> Error: Problem while installing gtk-doc
>> Error: rev-upgrade failed: Error rebuilding avahi
>> Error: Follow https://guide.macports.org/#project.tickets 
>>  to report a bug.
>> 
>> The log file is attached.
> 
> The log says the problem is:
> 
> :info:build /opt/local/bin/ranlib: object: .libs/libtester.a(tester.o) 
> malformed object (unknown load command 1)
> 
> But I don't know why. Maybe you need a newer cctools and/or ld64, possibly 
> using the xcode/ld64_xcode variant. Or maybe those ports just need to be 
> upgraded first; I think they were just updated to new versions a few days 
> ago. 



Re: Befuddled

2020-02-15 Thread Ryan Schmidt
On Feb 15, 2020, at 00:22, Jeff Greenberg wrote:
> 
> 
> 
> Hi. After restarting my mac, localhost is refusing connections, and 
> attempting to restart apachectl results in this error message:
> 
> httpd: Syntax error on line 168 of /opt/local/etc/apache2/httpd.conf: Cannot 
> load lib/apache2/modules/mod_php72.so into server: 
> dlopen(/opt/local/lib/apache2/modules/mod_php72.so, 10): Library not loaded: 
> /opt/local/lib/libicui18n.58.dylib\n  Referenced from: 
> /opt/local/lib/apache2/modules/mod_php72.so\n  Reason: image not found

This is https://trac.macports.org/ticket/59439

I guess you had not updated your ports in awhile, and just now updated from icu 
58 to 65. 

Below we see that rev-upgrade has correctly detected the problem and would 
rebuild the affected port, were it not for the problem rebuilding gtk-doc that 
interrupted it. 


> Having had this error after upgrading gimp, I tried doing what I had to do 
> then:
> 
> /opt/local/bin$ sudo port upgrade icu -Rf

You should not be attempting to force things unnecessarily. And I don't believe 
you're successfully forcing anything, since single-dash flags like -f and -R 
must be placed between the word "port" and the command verb that follows it in 
order to have any effect. 


> which yields the following:
> 
> --->  Updating database of binaries
> --->  Scanning binaries for linking errors
> --->  Found 27 broken files, matching files to ports 
> --->  Found 6 broken ports, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt:
>  avahi @0.7+gtk+gtk3+x11
>  graphviz @2.40.1+pangocairo+x11
>  php72-apache2handler @7.2.16
>  gimp2 @2.8.22+python27
>  boost @1.66.0+no_single+no_static+python27
>  sane-backends @1.0.27+avahi
> Continue? [Y/n]: Y


> --->  Building gtk-doc
> Error: Failed to build gtk-doc: command execution failed
> Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log
>  for details.
> Error: Problem while installing gtk-doc
> Error: rev-upgrade failed: Error rebuilding avahi
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
> 
> The log file is attached.

The log says the problem is:

:info:build /opt/local/bin/ranlib: object: .libs/libtester.a(tester.o) 
malformed object (unknown load command 1)

But I don't know why. Maybe you need a newer cctools and/or ld64, possibly 
using the xcode/ld64_xcode variant. Or maybe those ports just need to be 
upgraded first; I think they were just updated to new versions a few days ago. 

provided, was Re: Befuddled

2020-02-15 Thread Richard L. Hamilton



> On Feb 15, 2020, at 05:45, Mojca Miklavec  wrote:
> 
>  (We should set up a database of all the
> files provided by the individual packages at some point.)
> 
Variants complicate that, I think. Telemetry for each OS version and variant 
combination actually used by anyone could address that, _if_ people opted in 
for the telemetry.

Short of that, IMO better accurate info than quick but misleading info; one can 
always (space permitting) forcibly deactivate and reinstall to get accurate 
info.

So much as I'd enjoy the quick response it might provide, I wonder about the 
real-world utility given the effort (and what else might benefit more from the 
effort).

Re: Befuddled

2020-02-15 Thread Mojca Miklavec
On Sat, 15 Feb 2020 at 07:22, Jeff Greenberg wrote:
>
> Hi. After restarting my mac, localhost is refusing connections, and 
> attempting to restart apachectl results in this error message:
>
> httpd: Syntax error on line 168 of /opt/local/etc/apache2/httpd.conf: Cannot 
> load lib/apache2/modules/mod_php72.so into server: 
> dlopen(/opt/local/lib/apache2/modules/mod_php72.so, 10): Library not loaded: 
> /opt/local/lib/libicui18n.58.dylib\n  Referenced from: 
> /opt/local/lib/apache2/modules/mod_php72.so\n  Reason: image not found

Try to run
port provides /opt/local/lib/apache2/modules/mod_php72.so
to see which port is broken.
You need to update that port. (We should set up a database of all the
files provided by the individual packages at some point.)

Based on the logs it might be php72-apache2handler. Try
sudo port upgrade php72-apache2handler

But generally you need to run
sudo port selfupdate
sudo port upgrade outdated
and this should upgrade all ports.
You were just a bit unlucky that one of the ports was broken and that
broke the rest of the update process.

The error when building gtk-doc says
/opt/local/bin/ranlib: object: .libs/libtester.a(tester.o)
malformed object (unknown load command 1)
but I have no clue what that means.

According to
https://ports.macports.org/port/gtk-doc/builds
the build did succeed on 10.14 in August 2019 and other tickets listed in
https://ports.macports.org/port/gtk-doc/tickets
seem unrelated.

You may not need gtk-doc for now, so if you update all other ports
your system should at least be functional again, and in parallel you
can file a ticket and we can try to diagnose what could go wrong. Run
port outdated
to see what else needs updating. (You could run "sudo port upgrade
outdated and not gtk-doc", and hope that no other ports depends on it,
so that update would continue.)

Mojca


Re: Call for contributors to macOS port of GDB

2020-02-15 Thread Dave Horsfall

On Fri, 14 Feb 2020, Jeffrey Walton wrote:


Send over your SSH authroized_keys file, if interested. I'll send you
my IP address in return.


It's been a while since I had to set up keys, but shouldn't you be asking 
for his public key to add to *your* authorized_keys file?


The downside is, I am in a Verizon DHCP block. You will need to ping me 
on occasion to get my latest IP address.


That's what dynamic DNS is for...  There are various servers offering it.

-- Dave


Re: Call for contributors to macOS port of GDB

2020-02-15 Thread Jeffrey Walton
On Sat, Feb 15, 2020 at 2:12 PM Dave Horsfall  wrote:
>
> On Fri, 14 Feb 2020, Jeffrey Walton wrote:
>
> > Send over your SSH authroized_keys file, if interested. I'll send you
> > my IP address in return.
>
> It's been a while since I had to set up keys, but shouldn't you be asking
> for his public key to add to *your* authorized_keys file?

No, someone who wishes remote access collects their public keys and
puts them in an authorized_keys file. Then, I drop them at
/.ssh/authorized_keys.

Usually what happens is someone sends me a *.pub file and it gets
cat'd into ssh/authorized_keys.

> > The downside is, I am in a Verizon DHCP block. You will need to ping me
> > on occasion to get my latest IP address.
>
> That's what dynamic DNS is for...  There are various servers offering it.

Sorry, I don't use DDNS services.

I tried one about 15 years ago. They sold or shared my information
with Network Solutions, which would not stop spamming me. I tried to
get off their list for about 5 years. I tried normal support channels,
like contacting webmaster@, postmaster@, NS legal department, NS
support, NS executive support, Better Business Bureau  complaints, FCC
complaints and FTC complaints. I finally had to take Network Solutions
to court to get off their damn list. Checkout Walton vs Network
Solutions filed in Montgomery County, MD.

I'll be damned if I go down that road again.

Jeff


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...

  _   
-. .´  |
  ',  ;|∞∞
˜˜ |∞ RdB
,.,|∞∞
  .'   '.  |
-'   `’

https://rdb.is

On 15 February 2020 at 20:29:02, Jeffrey Walton (noloa...@gmail.com) wrote:

On Sat, Feb 15, 2020 at 2:12 PM Dave Horsfall  wrote:  
>  
> On Fri, 14 Feb 2020, Jeffrey Walton wrote:  
>  
> > Send over your SSH authroized_keys file, if interested. I'll send you  
> > my IP address in return.  
>  
> It's been a while since I had to set up keys, but shouldn't you be asking  
> for his public key to add to *your* authorized_keys file?  

No, someone who wishes remote access collects their public keys and  
puts them in an authorized_keys file. Then, I drop them at  
/.ssh/authorized_keys.  

Usually what happens is someone sends me a *.pub file and it gets  
cat'd into ssh/authorized_keys.  

> > The downside is, I am in a Verizon DHCP block. You will need to ping me  
> > on occasion to get my latest IP address.  
>  
> That's what dynamic DNS is for... There are various servers offering it.  

Sorry, I don't use DDNS services.  

I tried one about 15 years ago. They sold or shared my information  
with Network Solutions, which would not stop spamming me. I tried to  
get off their list for about 5 years. I tried normal support channels,  
like contacting webmaster@, postmaster@, NS legal department, NS  
support, NS executive support, Better Business Bureau complaints, FCC  
complaints and FTC complaints. I finally had to take Network Solutions  
to court to get off their damn list. Checkout Walton vs Network  
Solutions filed in Montgomery County, MD.  

I'll be damned if I go down that road again.  

Jeff  


signature.asc
Description: Message signed with OpenPGP using AMPGpg