Hi, I have upgraded to Leopard and many builds seems to fail. I cannot get a working emacs in a new install, xdvi-xaw.bin failed in an attempt to update an existing MacPorts tree, and there seems to be some consistent havoc about Leopard. I also was not able to usefully search the archived email of this list--is there something I am missing? Thanks, Rob
On Dec 28, 2007, at 07:47, Rob MacLeod wrote:
I have upgraded to Leopard and many builds seems to fail. I cannot get a working emacs in a new install, xdvi-xaw.bin failed in an attempt to update an existing MacPorts tree, and there seems to be some consistent havoc about Leopard.
I also was not able to usefully search the archived email of this list--is there something I am missing?
Leopard's linker is a little different and causes some ports to fail. Also, Leopard is "fully UNIX-compliant"; to do that, Apple had to change some things, which breaks some software. For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
Hi, Thanks for this information but I am afraid I have to ask some more questions. How do I search the issue tracker? Each time I try and follow the link to any error reporting, it asks for a username and password that I have not received. Thanks, Rob On Dec 28, 2007, at 8:31 AM, Ryan Schmidt wrote:
On Dec 28, 2007, at 07:47, Rob MacLeod wrote:
I have upgraded to Leopard and many builds seems to fail. I cannot get a working emacs in a new install, xdvi-xaw.bin failed in an attempt to update an existing MacPorts tree, and there seems to be some consistent havoc about Leopard.
I also was not able to usefully search the archived email of this list--is there something I am missing?
Leopard's linker is a little different and causes some ports to fail. Also, Leopard is "fully UNIX-compliant"; to do that, Apple had to change some things, which breaks some software.
For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
On Dec 28, 2007, at 09:36, Rob MacLeod wrote:
On Dec 28, 2007, at 8:31 AM, Ryan Schmidt wrote:
For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
Thanks for this information but I am afraid I have to ask some more questions.
How do I search the issue tracker? Each time I try and follow the link to any error reporting, it asks for a username and password that I have not received.
You'll have to sign up for an account in the issue tracker if you want to file new tickets or add comments to existing ones, but you should be able to just search without logging in. Go to http:// www.macports.org/ and click Support & Development in the left navigation. Then click View Tickets in the top navigation. Then click Custom Query over on the right. Then select Summary from the Add Filter menu. Then type your search string into the text box and click Update. To register for an account or log into an existing one, click Register or Log In at the top right of any issue tracker page.
Hi, OK, I found the Leopard patch, managed to install the patch (instructions on this process could use some expansion and updating), and the build seemed to work: [airfriday:~]$ sudo port -v install emacs ---> Installing emacs 22.1_1 ---> Activating emacs 22.1_1 ---> Cleaning emacs ---> Removing build directory for emacs However, the emacs binary did not end up in the /opt/local/bin, even though it does exist in /opt/local/var/macports/software/emacs/22.1_1/usr/local/bin Is there some final magic I need to do in order to get things in their rightful place. Obviously, I can copy manually but I assumed the install script should take care of this sort of detail? On another note, if there has been a patch available for emacs for a month now, why is it not part of the current install? I mean, why should it still be necessary to apply the patch this long after it is in place? Thanks, Rob On Dec 28, 2007, at 9:47 AM, Ryan Schmidt wrote:
On Dec 28, 2007, at 09:36, Rob MacLeod wrote:
On Dec 28, 2007, at 8:31 AM, Ryan Schmidt wrote:
For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
Thanks for this information but I am afraid I have to ask some more questions.
How do I search the issue tracker? Each time I try and follow the link to any error reporting, it asks for a username and password that I have not received.
You'll have to sign up for an account in the issue tracker if you want to file new tickets or add comments to existing ones, but you should be able to just search without logging in. Go to http://www.macports.org/ and click Support & Development in the left navigation. Then click View Tickets in the top navigation. Then click Custom Query over on the right. Then select Summary from the Add Filter menu. Then type your search string into the text box and click Update.
To register for an account or log into an existing one, click Register or Log In at the top right of any issue tracker page.
On Dec 29, 2007, at 08:28, Rob MacLeod wrote:
OK, I found the Leopard patch, managed to install the patch (instructions on this process could use some expansion and updating), and the build seemed to work:
Which patch are you talking about? Is it attached to a ticket? Which ticket?
[airfriday:~]$ sudo port -v install emacs ---> Installing emacs 22.1_1 ---> Activating emacs 22.1_1 ---> Cleaning emacs ---> Removing build directory for emacs
However, the emacs binary did not end up in the /opt/local/bin, even though it does exist in /opt/local/var/macports/software/emacs/22.1_1/usr/local/bin
Apparently it has ended up in /usr/local/bin instead of /opt/local/ bin. Assuming your MacPorts prefix is /opt/local as per usual, this is an error. Without knowing what patch you're talking about, I don't know yet whether this is a fault in the patch or an unrelated issue.
Is there some final magic I need to do in order to get things in their rightful place. Obviously, I can copy manually but I assumed the install script should take care of this sort of detail?
Yes, MacPorts should take care of installing things in the right place for you. If it does not, it is a bug.
On another note, if there has been a patch available for emacs for a month now, why is it not part of the current install? I mean, why should it still be necessary to apply the patch this long after it is in place?
Presumably because the maintainer of the emacs port has not gotten around to testing the patch. Our policy is that if a maintainer does not react to an issue within 72 hours, any other committer may do so. I myself would not feel completely comfortable committing any Leopard emacs bugfixes, since I don't have Leopard and I don't use emacs. But hopefully someone else here meets at least one of those criteria. If you'll tell us which ticket it is, hopefully someone will have a look.
On Dec 28, 2007, at 9:47 AM, Ryan Schmidt wrote:
On Dec 28, 2007, at 09:36, Rob MacLeod wrote:
On Dec 28, 2007, at 8:31 AM, Ryan Schmidt wrote:
For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
Thanks for this information but I am afraid I have to ask some more questions.
How do I search the issue tracker? Each time I try and follow the link to any error reporting, it asks for a username and password that I have not received.
You'll have to sign up for an account in the issue tracker if you want to file new tickets or add comments to existing ones, but you should be able to just search without logging in. Go to http:// www.macports.org/ and click Support & Development in the left navigation. Then click View Tickets in the top navigation. Then click Custom Query over on the right. Then select Summary from the Add Filter menu. Then type your search string into the text box and click Update.
To register for an account or log into an existing one, click Register or Log In at the top right of any issue tracker page.
Hi Rob, although you appear to have working emacs installation now, let me ask if you have tried the emacs-app port (version 23.0.0_NS-9.0rc3)? This works very well for me on Leopard and I like that emacs version better than the Carbon version (which apparently is in the emacs port package) anyway. I tried the Carbon version by downloading it from apple.com[1]. I always start emacs from the command line, and so I created the following alias (which, I know, will break with every new version): emacs='/opt/local/var/macports/software/emacs-app/23.0.0_NS-9.0rc3_0/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --no-splash' As someone being new to both MacOS and MacPorts, coming from Debian/ Ubuntu, I am also not happy with the initial state of MacPorts on Leopard, but judging from the activity on this mailing list and the rate of improvements (when I first tried it, the emacs-app package, version rc2, also did not build on Leopard) the situation is likely to improve steadily and quickly. Regards, Vlado [1] http://www.apple.com/downloads/macosx/unix_open_source/carbonemacspackage.ht...
On 28 Dec 2007, at 13:47, Rob MacLeod wrote:
I have upgraded to Leopard and many builds seems to fail. I cannot get a working emacs in a new install, xdvi-xaw.bin failed in an attempt to update an existing MacPorts tree, and there seems to be some consistent havoc about Leopard.
I also was not able to usefully search the archived email of this list--is there something I am missing?
As a technique for dealing with build problems in general, I find it sometimes helps to install with -d (debugging/verbose mode)--then you often get some clue as to what's going wrong (perhaps an undeclared dependency). --M. -- http://beebo.org +44 78 2118 9049
Thanks Vlado. I did get emacs-app to work and will give it a try. I have not been happen with any of the previous carbon or aqua versions and just stuck with the X11 edition. But I am happy to see if things have improved. Cheers, Rob On Dec 30, 2007, at 3:23 AM, Vlado Plaga wrote:
Hi Rob,
although you appear to have working emacs installation now, let me ask if you have tried the emacs-app port (version 23.0.0_NS-9.0rc3)? This works very well for me on Leopard and I like that emacs version better than the Carbon version (which apparently is in the emacs port package) anyway. I tried the Carbon version by downloading it from apple.com[1].
I always start emacs from the command line, and so I created the following alias (which, I know, will break with every new version): emacs='/opt/local/var/macports/software/emacs-app/23.0.0_NS-9.0rc3_0/ Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --no-splash'
As someone being new to both MacOS and MacPorts, coming from Debian/ Ubuntu, I am also not happy with the initial state of MacPorts on Leopard, but judging from the activity on this mailing list and the rate of improvements (when I first tried it, the emacs-app package, version rc2, also did not build on Leopard) the situation is likely to improve steadily and quickly.
Regards, Vlado
[1] http://www.apple.com/downloads/macosx/unix_open_source/carbonemacspackage.ht...
On Dec 29, 2007, at 1:04 PM, Ryan Schmidt wrote:
On Dec 29, 2007, at 08:28, Rob MacLeod wrote:
OK, I found the Leopard patch, managed to install the patch (instructions on this process could use some expansion and updating), and the build seemed to work:
Which patch are you talking about? Is it attached to a ticket? Which ticket?
# 13294
[airfriday:~]$ sudo port -v install emacs ---> Installing emacs 22.1_1 ---> Activating emacs 22.1_1 ---> Cleaning emacs ---> Removing build directory for emacs
However, the emacs binary did not end up in the /opt/local/bin, even though it does exist in /opt/local/var/macports/software/emacs/22.1_1/usr/local/bin
Apparently it has ended up in /usr/local/bin instead of /opt/local/ bin. Assuming your MacPorts prefix is /opt/local as per usual, this is an error. Without knowing what patch you're talking about, I don't know yet whether this is a fault in the patch or an unrelated issue.
Thanks, Rob
Is there some final magic I need to do in order to get things in their rightful place. Obviously, I can copy manually but I assumed the install script should take care of this sort of detail?
Yes, MacPorts should take care of installing things in the right place for you. If it does not, it is a bug.
On another note, if there has been a patch available for emacs for a month now, why is it not part of the current install? I mean, why should it still be necessary to apply the patch this long after it is in place?
Presumably because the maintainer of the emacs port has not gotten around to testing the patch. Our policy is that if a maintainer does not react to an issue within 72 hours, any other committer may do so. I myself would not feel completely comfortable committing any Leopard emacs bugfixes, since I don't have Leopard and I don't use emacs. But hopefully someone else here meets at least one of those criteria. If you'll tell us which ticket it is, hopefully someone will have a look.
On Dec 28, 2007, at 9:47 AM, Ryan Schmidt wrote:
On Dec 28, 2007, at 09:36, Rob MacLeod wrote:
On Dec 28, 2007, at 8:31 AM, Ryan Schmidt wrote:
For each port you find that fails to install, please search the issue tracker to see if it has already been reported. If it has, check the ticket to see if there's a patch. If there is, try it out. If it works for you, say so in the ticket so we'll know we can commit the patch. If there's no patch but a workaround, that might let you bypass the problem as well. If there's no ticket filed, please file one.
Thanks for this information but I am afraid I have to ask some more questions.
How do I search the issue tracker? Each time I try and follow the link to any error reporting, it asks for a username and password that I have not received.
You'll have to sign up for an account in the issue tracker if you want to file new tickets or add comments to existing ones, but you should be able to just search without logging in. Go to http://www.macports.org/ and click Support & Development in the left navigation. Then click View Tickets in the top navigation. Then click Custom Query over on the right. Then select Summary from the Add Filter menu. Then type your search string into the text box and click Update.
To register for an account or log into an existing one, click Register or Log In at the top right of any issue tracker page.
participants (4)
-
Michael Stillwell
-
Rob MacLeod
-
Ryan Schmidt
-
Vlado Plaga