Re: Deactivation error

2012-02-17 Thread Joshua Root
On 2012-2-18 08:15 , Blair Zajac wrote: > :msg:deactivate ---> Deactivating mercurial @2.0.1_0+bash_completion > :debug:deactivate > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mercerial/locale/zh_CN/LC_MESSAGES/hg.mo > does not exist. > > > Looks like

Re: clang moved in Xcode 4.3

2012-02-17 Thread Joshua Root
On 2012-2-18 13:17 , Jack Howarth wrote: >It appears that the following change will be required for Xcode 4.3 in > port's > /opt/local/share/macports/Tcl/port1.0/portconfigure.tcl due to the fact that > clang/clang++ > only resides in /usr/bin now It doesn't only reside in /usr/bin, and

Re: how to generate the checksums with CMake?

2012-02-17 Thread Joshua Root
On 2012-2-18 18:31 , Erik Sjölund wrote: > Hi, > I am trying to create a Portfile for some software that is using the > build system CMake. > I was wondering if anyone managed to automatically create the Portfile > from within CMake. > > In CMake I can do "make package_source" to create a source t

how to generate the checksums with CMake?

2012-02-17 Thread Erik Sjölund
Hi, I am trying to create a Portfile for some software that is using the build system CMake. I was wondering if anyone managed to automatically create the Portfile from within CMake. In CMake I can do "make package_source" to create a source tar.gz file. I then need to compute some checksums of th

Re: XCode 4.3

2012-02-17 Thread Joshua Root
On 2012-2-18 11:19 , Jeremy Lavergne wrote: >> It does have the correct kMDItemCFBundleIdentifier, and the mdfind >> command does work now, although it didn't before... weird. > > Probably wasn't done indexing for whatever reason--long live locate. hehe Because locate never has to update its db?

Re: Xcode 4.3 missing X1SDK?

2012-02-17 Thread Guido Soranzio
On Feb 17, 2012, at 11:01 PM, Ryan Schmidt wrote: >> >> "Yep, Apple has depreciated it. They give you a link to download quartz >> when you launch X11.app in /Applications/Utilities" >> >> () > > *X*Quartz, please. Quartz is a graphics techno

clang moved in Xcode 4.3

2012-02-17 Thread Jack Howarth
It appears that the following change will be required for Xcode 4.3 in port's /opt/local/share/macports/Tcl/port1.0/portconfigure.tcl due to the fact that clang/clang++ only resides in /usr/bin now --- portconfigure.tcl.orig 2012-02-17 21:00:58.0 -0500 +++ portconfigure.tcl

Re: Xcode 4.3: where do xcode-select, xcodebuild, xcrun, etc, come from?

2012-02-17 Thread Dan Ports
On Fri, Feb 17, 2012 at 02:45:23PM -0800, James Berry wrote: > (1) Do these tools exist on a machine if Xcode has never been > installed? (i.e., are they part of the core os?) Yes -- it looks like they are installed by the 10.7.3 update. Dan -- Dan R. K. Ports MIT CSAIL

Re: Xcode 4.3: where do xcode-select, xcodebuild, xcrun, etc, come from?

2012-02-17 Thread James Berry
On Feb 17, 2012, at 2:45 PM, James Berry wrote: > The idea behind Xcode 4.3, as I understand it, is that it can be a > first-class App Store app: it doesn't need to install anything as root, or > outside of its sandbox: it uses external installers for this (witness the > Command Line Tools ins

Re: XCode 4.3

2012-02-17 Thread Jeremy Lavergne
> It does have the correct kMDItemCFBundleIdentifier, and the mdfind > command does work now, although it didn't before... weird. Probably wasn't done indexing for whatever reason--long live locate. hehe smime.p7s Description: S/MIME cryptographic signature _

Re: XCode 4.3

2012-02-17 Thread Dan Ports
On Fri, Feb 17, 2012 at 03:05:51PM -0800, James Berry wrote: > It would be interesting to know what xcode-select -print-path returns at this > point. Sure would. Unfortunately, I changed the path before I thought to try that. (Things do seem to be working now that I've done that, BTW.) > > Yes,

Re: XCode 4.3

2012-02-17 Thread James Berry
On Feb 17, 2012, at 3:02 PM, Dan Ports wrote: > On Fri, Feb 17, 2012 at 02:53:13PM -0800, James Berry wrote: >> - Was Xcode 4.3 installed at that point? >> >> - Had Xcode been run after the install? (In other words, had you agreed to >> the license?) > > Yes, I had installed Xcode 4.3, launche

Re: XCode 4.3

2012-02-17 Thread Dan Ports
On Fri, Feb 17, 2012 at 02:53:13PM -0800, James Berry wrote: > - Was Xcode 4.3 installed at that point? > > - Had Xcode been run after the install? (In other words, had you agreed to > the license?) Yes, I had installed Xcode 4.3, launched it, accepted its offer to remove the 4.2 installation

Re: XCode 4.3

2012-02-17 Thread James Berry
Hi Dan, On Feb 17, 2012, at 2:43 PM, Dan Ports wrote: > On Fri, Feb 17, 2012 at 12:58:56PM -0800, James Berry wrote: >> On Feb 17, 2012, at 12:41 PM, Daniel J. Luke wrote: >>> I had 4.2 installed, downloaded 4.3 from the app store, ran new Xcode >>> (4.3), told it to uninstall 4.2 (/Developer an

Xcode 4.3: where do xcode-select, xcodebuild, xcrun, etc, come from?

2012-02-17 Thread James Berry
The idea behind Xcode 4.3, as I understand it, is that it can be a first-class App Store app: it doesn't need to install anything as root, or outside of its sandbox: it uses external installers for this (witness the Command Line Tools installer, etc). So if that is indeed the case, I have a que

Re: XCode 4.3

2012-02-17 Thread Dan Ports
On Fri, Feb 17, 2012 at 12:58:56PM -0800, James Berry wrote: > On Feb 17, 2012, at 12:41 PM, Daniel J. Luke wrote: > > I had 4.2 installed, downloaded 4.3 from the app store, ran new Xcode > > (4.3), told it to uninstall 4.2 (/Developer and the installer from > > /Applications), had it install th

Re: Deactivation error

2012-02-17 Thread Dan Ports
On Fri, Feb 17, 2012 at 01:15:35PM -0800, Blair Zajac wrote: > Looks like the filename list has a typo in it with "mercerial" instead of > "mercurial". It's possible that's just random corruption, since that's a single-bit error... Dan -- Dan R. K. Ports MIT CSAILh

Re: Deactivation error

2012-02-17 Thread Blair Zajac
On 2/17/12 1:54 PM, Ryan Schmidt wrote: On Feb 17, 2012, at 15:15, Blair Zajac wrote: Any idea how to clean up this error: $ port -f -v uninstall mercurial ---> Deactivating mercurial @2.0.1_0+bash_completion Error: Target org.macports.deactivate returned: this entry does not own the give

Re: Xcode 4.3 missing X1SDK?

2012-02-17 Thread Ryan Schmidt
On Feb 17, 2012, at 00:26, Guido wrote: > Jack Howarth wrote: > >> I hope this isn't pointing to Apple deprecating >> X11 completely out of Mac OS X with Mountain Lion. Sigh. > > > "Yep, Apple has depreciated it. They give you a link to download quartz > when you launch X11.app in /Applicatio

Re: XCode 4.3

2012-02-17 Thread Daniel J. Luke
On Feb 17, 2012, at 3:58 PM, James Berry wrote: >> I had 4.2 installed, downloaded 4.3 from the app store, ran new Xcode (4.3), >> told it to uninstall 4.2 (/Developer and the installer from /Applications), >> had it install the command line tools, quit and xcode-select -print-path was >> set to

Re: Deactivation error

2012-02-17 Thread Ryan Schmidt
On Feb 17, 2012, at 15:15, Blair Zajac wrote: > Any idea how to clean up this error: > > > $ port -f -v uninstall mercurial > ---> Deactivating mercurial @2.0.1_0+bash_completion > Error: Target org.macports.deactivate returned: this entry does not own the > given file > Warning: the followin

Deactivation error

2012-02-17 Thread Blair Zajac
Any idea how to clean up this error: $ port -f -v uninstall mercurial ---> Deactivating mercurial @2.0.1_0+bash_completion Error: Target org.macports.deactivate returned: this entry does not own the given file Warning: the following items did not execute (for mercurial): org.macports.deactiva

Re: XCode 4.3

2012-02-17 Thread James Berry
Daniel, On Feb 17, 2012, at 12:41 PM, Daniel J. Luke wrote: > On Feb 17, 2012, at 1:41 PM, Jeremy Huddleston wrote: >>> sudo xcode-select -switch /Applications/Xcode.app >> >> The Command Line Tools are not responsible for that. I believe this should >> be done for you when you launch Xcode.ap

Re: XCode 4.3

2012-02-17 Thread Daniel J. Luke
On Feb 17, 2012, at 1:41 PM, Jeremy Huddleston wrote: >> sudo xcode-select -switch /Applications/Xcode.app > > The Command Line Tools are not responsible for that. I believe this should > be done for you when you launch Xcode.app for the first time. That did not happen for me. > If you have Xc

Re: XCode 4.3

2012-02-17 Thread Jeremy Huddleston
On Feb 17, 2012, at 6:33 AM, Jack Howarth wrote: > On Fri, Feb 17, 2012 at 07:39:53PM +1100, Joshua Root wrote: >> On 2012-2-17 18:45 , Jeremy Huddleston wrote: >>> >>> Also, another thing to note is that the command line tools + SDK are >>> available as a separate download. If you don't need

Re: Xcode 4.3 issues, potential solutions

2012-02-17 Thread James Berry
On Feb 17, 2012, at 8:05 AM, James Berry wrote: > Sounds like there are at least several issues that MacPorts is facing with > Xcode, not all of which are new: > > (1) Make sure the Xcode terms have been accepted > > (2) Find the proper Xcode is use. We can no longer assume /Develo

Xcode 4.3 issues, potential solutions

2012-02-17 Thread James Berry
Sounds like there are at least several issues that MacPorts is facing with Xcode, not all of which are new: (1) Make sure the Xcode terms have been accepted (2) Find the proper Xcode is use. We can no longer assume /Developer (3) Ensure the command line tools have been i

Re: [89842] trunk/dports/x11/xorg-libX11/Portfile

2012-02-17 Thread Ryan Schmidt
On Feb 17, 2012, at 01:13, Joshua Root wrote: > On 2012-2-17 18:05 , Andrea D'Amore wrote: >> On Fri, Feb 17, 2012 at 07:53, Joshua Root wrote: >> Wouldn't "${configure.cc} -E" be a sensible value? >> >>> With gcc, that doesn't behave quite the same as running cpp. So probably >>> not if

Re: XCode 4.3

2012-02-17 Thread Jeremy Lavergne
> As expected, a great number of ports don't actually need Xcode to build. Do > you think it'd be worthwhile indicating that people can get by with just the > command line tools until they see an xcodebuild error message? Specifically, this is the error a user who installed only the Command Line

Re: XCode 4.3

2012-02-17 Thread Jeremy Lavergne
> 3) Since XCode is now an app, you no longer have the "UNIX Development" (or > similar, I can never remember the exact naming) installed to / by the > installer. If you goto XCode's preferences, you will see a "Downloads" tab. > You should see it now listed in there as an optional download.

Re: [MacPorts] Migration modified

2012-02-17 Thread Jeremy Lavergne
> Note that the above is a hack. Setting developer_dir to the empty string > instead of /Developer means that ${developer_dir}/usr/bin/foo becomes > /usr/bin/foo, which works until you actually need something that is in > $developer_dir and not /. By all means, edit the wiki to be more correct :-)

Re: [MacPorts] Migration modified

2012-02-17 Thread Joshua Root
On 2012-2-18 01:54 , Eric Cronin wrote: >> + 1. Edit macports.conf >> +{{{ >> +`sudo nano ${prefix}/etc/macports/macports.conf` >> +}}} >> +and change >> {{{ >> developer_dir /Developer >> }}} >> -to >> +to >> {{{ >> developer_dir >> }}} > > > This is only necessary if the use

Re: [MacPorts] Migration modified

2012-02-17 Thread Jeremy Lavergne
> Never mind, this is setting it to the empty string which does actually change > something. So the before just needs to be changed to show it was commented > out by default Thanks, updated. ___ macports-dev mailing list macports-dev@lists.macosforge

Re: [MacPorts] Migration modified

2012-02-17 Thread Eric Cronin
On 17.02.2012 09:54, Eric Cronin wrote: + 1. Edit macports.conf +{{{ +`sudo nano ${prefix}/etc/macports/macports.conf` +}}} +and change {{{ developer_dir /Developer }}} -to +to {{{ developer_dir }}} This is only necessary if the user has edited their macports.conf previousl

Re: [MacPorts] Migration modified

2012-02-17 Thread Eric Cronin
+ 1. Edit macports.conf +{{{ +`sudo nano ${prefix}/etc/macports/macports.conf` +}}} +and change {{{ developer_dir /Developer }}} -to +to {{{ developer_dir }}} This is only necessary if the user has edited their macports.conf previously, the default is for this line to be co

Re: [89948] trunk/dports/databases

2012-02-17 Thread Bradley Giesbrecht
On Feb 16, 2012, at 9:06 PM, Ryan Schmidt wrote: > On Feb 16, 2012, at 11:37, pixi...@macports.org wrote: > >> +variant test description {Build tests} { >> + >> +test.runyes >> +test.target verify >> +} > > There's no need to put these directives in a variant.

Re: XCode 4.3

2012-02-17 Thread Jack Howarth
On Fri, Feb 17, 2012 at 07:39:53PM +1100, Joshua Root wrote: > On 2012-2-17 18:45 , Jeremy Huddleston wrote: > > > > Also, another thing to note is that the command line tools + SDK are > > available as a separate download. If you don't need any parts of XCode > > itself, you can probably get by

Re: Xcode 4.3 Command Line Tools installer glitch

2012-02-17 Thread Jeremy Lavergne
>> sudo xcode-select -switch /Applications/Xcode.app > > > You should specify the new /Developer directory: > "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer" does > work. Both forms work for me. ___ macports-dev mailing list ma

Re: XCode 4.3

2012-02-17 Thread Eric Cronin
On Feb 17, 2012, at 1:56 AM, Joshua Root wrote: > On 2012-2-17 15:38 , Eric Cronin wrote: >> The main problem I ran in to is that a number of our ports cache the >> compiler they were built with internally (libtool, python, apr), and then a >> number of other ports interrogate those first set of

Re: XCode 4.3

2012-02-17 Thread Joshua Root
On 2012-2-17 18:45 , Jeremy Huddleston wrote: > > Also, another thing to note is that the command line tools + SDK are > available as a separate download. If you don't need any parts of XCode > itself, you can probably get by with just installing these bits, but I > wouldn't recommend it for the