Evening everyone! I'm pleased to announce that MacPorts 1.5.1 has been released through selfupdate, comprising the following fixes and enhancements: Release 1.5.1 (11-August-2007 at branches/release_1_5/base's r27646, by jmpp): - Remove sed rules taking care of dp based comments in the macports.conf file from the upgrade target in base/Makefile.in, they were causing problems for people with /opt/dports or similar prefixes (jmpp in r27618). - Facelift to the PortIndex2MySQL.tcl script to make it selfcontained and work with the new macports1.0 api to generate SQL statements with information extracted from Portfiles (jmpp in r27415). - Always print the livecheck regex in debug mode, not only when it fails (ryandesign in r27379). - Detect some mtree violations within ${prefix}. Test can be overriden by "destroot.violate_mtree yes" in a Portfile (mww in r27199). - Fix version comparison in MacPorts initialization to properly detect Tcl versions 8.4.7 and later (sfiera in r27127). - Fix double de-escaping of livecheck.regex inadvertently introduced in r26041 (eridius in r27079). - Added new Portfile options to the configure stage for selecting compiler(s) (mww in r27018, r27021, r27022 and r27053) - New logic in the upgrade target to account for cases where the old and new versions consist of different numbers of segments (sfiera in r26921). - Remove dead OpenDarwin mirrors from our mirrors list (jmpp in r26903) - New tests for violations of common directory structure (and option to override them for special cases) - Added new variable ${os.major} that contains the Darwin major version (eridius r26693, ticket #12224). Selfupdate at will (in a couple of minutes to allow for the updates to reach the rsync sever ;-) and report any problems you might encounter to our lists and/or as tickets on trac.macports.org. Thanks again to all those working hard to improve MacPorts with every single one of our releases, most appreciated! To everyone else, enjoy 1.5.1! Regards,... -jmpp
On Aug 11, 2007, at 3:32 AM, Juan Manuel Palacios wrote:
- Detect some mtree violations within ${prefix}. Test can be overriden by "destroot.violate_mtree yes" in a Portfile (mww in r27199).
Just a note. Upgraded MP to 1.5.10, went to install apache2 with: "port install apache2 +workermpm" resulted in: ########################################################### # A startup item has been generated that will aid in # starting apache2 with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/ org.macports.apache2.plist ########################################################### Error: violation by /opt/local/apache2 Error: Target org.macports.destroot returned: mtree violation! Error: Status 1 encountered during processing. Nothing installed in the /opt directory. Uninstalled & cleaned previous install (switched from db44 to sqlite3 as apr-util's backend) Jeff
On Aug 11, 2007, at 11:26 AM, Jeff Stubbs wrote:
On Aug 11, 2007, at 3:32 AM, Juan Manuel Palacios wrote:
- Detect some mtree violations within ${prefix}. Test can be overriden by "destroot.violate_mtree yes" in a Portfile (mww in r27199).
Just a note. Upgraded MP to 1.5.10, went to install apache2 with:
"port install apache2 +workermpm"
resulted in:
########################################################### # A startup item has been generated that will aid in # starting apache2 with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/ org.macports.apache2.plist ########################################################### Error: violation by /opt/local/apache2 Error: Target org.macports.destroot returned: mtree violation! Error: Status 1 encountered during processing.
Nothing installed in the /opt directory. Uninstalled & cleaned previous install (switched from db44 to sqlite3 as apr-util's backend)
Jeff
This is a new feature in MacPorts 1.5.1 to detect violations of the pre-established hierarchy that governs the ${prefix} tree, so as to keep a sense of order when installing software. In order to minimize conflicts with the bundled Apache, Apache 2 installs its entire world onto its own prefix within MacPorts' ${prefix}, ${prefix}/apache2/ {bin,lib,include,<etc>}, so that its files are not readily found by a default configured shell; this setup violates the default hierarchy and thus produces the error you saw when upgrading to MacPorts 1.5.1. I just added and committed workaround to the Portfile to indicate the violation is intended in this case, "destroot.violate_mtree yes". Please re-sync your tree in about half an hour from this posting and try installing again, report back to me if you still experiencing the same problem. Thanks for the feedback! Regards,... -jmpp
On Aug 11, 2007, at 12:05 PM, Juan Manuel Palacios wrote:
Please re-sync your tree in about half an hour from this posting and try installing again, report back to me if you still experiencing the same problem.
That fixed the problem. Figured that the install location triggered the error, but being a relative nu-bee, better to raise the red flag. Thanks, Jeff
On Aug 11, 2007, at 12:05 PM, Juan Manuel Palacios wrote:
I just added and committed workaround to the Portfile to indicate the violation is intended in this case, "destroot.violate_mtree yes". Please re-sync your tree in about half an hour from this posting and try installing again, report back to me if you still experiencing the same problem.
Apache2 installed fine, and started perfectly. However,.....
apollo:~ jeff$ sudo port install subversion +mod_dav_svn +no_bdb +tools Password: ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion ---> Building subversion with target all mucc ---> Staging subversion into destroot Error: violation by /opt/local/apache2 Error: Target org.macports.destroot returned: mtree violation! Error: Status 1 encountered during processing. apollo:~ jeff$
Has to be related to the apache2 install location. Checked my machine's copy of the port file against: http://svn.macports.org/ repository/macports/trunk/dports/devel/subversion/Portfile They look identical. Do you think everything that hooks into apache2 will trigger the mtree error? I'm running out the door, or I would tweak the subversion portfile to see if it builds correctly. php5 would be my next install. Thanks, Jeff
I get the same error for php5 Just thought I would throw that into the ring as well. (think my last post got deleted, sorry if this produces a double post) Jeff Stubbs-3 wrote:
On Aug 11, 2007, at 12:05 PM, Juan Manuel Palacios wrote:
I just added and committed workaround to the Portfile to indicate the violation is intended in this case, "destroot.violate_mtree yes". Please re-sync your tree in about half an hour from this posting and try installing again, report back to me if you still experiencing the same problem.
Apache2 installed fine, and started perfectly. However,.....
apollo:~ jeff$ sudo port install subversion +mod_dav_svn +no_bdb +tools Password: ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion ---> Building subversion with target all mucc ---> Staging subversion into destroot Error: violation by /opt/local/apache2 Error: Target org.macports.destroot returned: mtree violation! Error: Status 1 encountered during processing. apollo:~ jeff$
Has to be related to the apache2 install location. Checked my machine's copy of the port file against: http://svn.macports.org/ repository/macports/trunk/dports/devel/subversion/Portfile They look identical.
Do you think everything that hooks into apache2 will trigger the mtree error?
I'm running out the door, or I would tweak the subversion portfile to see if it builds correctly. php5 would be my next install.
Thanks,
Jeff
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/MacPorts-1.5.1-released-tf4252711.html#a12109483 Sent from the MacPorts - Users mailing list archive at Nabble.com.
I just added: destroot.violate_mtree yes above post-destroot {...} in the php5 Portfile like was done in the apache2 Portfile. Ideally this should fix it. If you don't hear back from me, it did... =) Thanks for this fix! logix218 wrote:
I get the same error for php5 Just thought I would throw that into the ring as well. (think my last post got deleted, sorry if this produces a double post)
Jeff Stubbs-3 wrote:
On Aug 11, 2007, at 12:05 PM, Juan Manuel Palacios wrote:
I just added and committed workaround to the Portfile to indicate the violation is intended in this case, "destroot.violate_mtree yes". Please re-sync your tree in about half an hour from this posting and try installing again, report back to me if you still experiencing the same problem.
Apache2 installed fine, and started perfectly. However,.....
apollo:~ jeff$ sudo port install subversion +mod_dav_svn +no_bdb +tools Password: ---> Fetching subversion ---> Verifying checksum(s) for subversion ---> Extracting subversion ---> Applying patches to subversion ---> Configuring subversion ---> Building subversion with target all mucc ---> Staging subversion into destroot Error: violation by /opt/local/apache2 Error: Target org.macports.destroot returned: mtree violation! Error: Status 1 encountered during processing. apollo:~ jeff$
Has to be related to the apache2 install location. Checked my machine's copy of the port file against: http://svn.macports.org/ repository/macports/trunk/dports/devel/subversion/Portfile They look identical.
Do you think everything that hooks into apache2 will trigger the mtree error?
I'm running out the door, or I would tweak the subversion portfile to see if it builds correctly. php5 would be my next install.
Thanks,
Jeff
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/MacPorts-1.5.1-released-tf4252711.html#a12110723 Sent from the MacPorts - Users mailing list archive at Nabble.com.
participants (3)
-
Jeff Stubbs
-
Juan Manuel Palacios
-
logix218