#38505 closed defect (fixed)
py27-spatialite @2.6.2: patch failure
Reported by: | bernard-giroux (Bernard Giroux) | Owned by: | anddam (Andrea D'Amore) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | mountainlion | Cc: | |
Port: | py-spatialite |
Description (last modified by anddam (Andrea D'Amore))
OS X 10.8.3 Xcode 4.6.1
I got this problem while trying to install qgis.
I cleaned everything, did
sudo port -n upgrade --force python27
to no avail
---> Computing dependencies for py27-spatialite ---> Applying patches to py27-spatialite Error: org.macports.patch for port py27-spatialite returned: command execution failed Please see the log file for port py27-spatialite for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spatialite/py27-spatialite/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-spatialite failed
log file attached.
Attachments (2)
Change History (9)
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to and.damore@… |
---|---|
Port: | py-spatialite added |
Summary: | py27-spatialite @2.6.2 Failed to install → py27-spatialite @2.6.2: patch failure |
comment:2 Changed 12 years ago by anddam (Andrea D'Amore)
Description: | modified (diff) |
---|---|
Status: | new → assigned |
Changed 12 years ago by anddam (Andrea D'Amore)
Attachment: | py-spatialite.log added |
---|
comment:3 Changed 12 years ago by anddam (Andrea D'Amore)
Keywords: | mountainlion added |
---|
comment:4 follow-up: 5 Changed 12 years ago by anddam (Andrea D'Amore)
My guess is that you had a non-clean py27-spatialite work directory, see line 252.
Run
port clean py27-spatialite port upgrade py27-spatialite
I'm not sure why your python27 upgrade command tried to upgrade py27-spatialite without a -R option, and why did you try to upgrade python27 in order to install qgis.
Changed 12 years ago by bernard-giroux (Bernard Giroux)
comment:5 follow-up: 6 Changed 12 years ago by bernard-giroux (Bernard Giroux)
Hi,
Thanks for the input. I'm traveling right now, with another machine (same OS & Xcode, but on which "sudo port -n upgrade --force python27" was _not_ done). I get this (log file also uploaded):
{521}torngat:~% sudo port clean --all py27-spatialite dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Cleaning py27-spatialite {522}torngat:~% sudo port install py27-spatialite dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for py27-spatialite ---> Fetching archive for py27-spatialite ---> Attempting to fetch py27-spatialite-2.6.2_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-spatialite ---> Attempting to fetch py27-spatialite-2.6.2_1.darwin_12.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/py27-spatialite ---> Installing py27-spatialite @2.6.2_1 ---> Activating py27-spatialite @2.6.2_1 ---> Cleaning py27-spatialite ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order py27-spatialite @2.6.2 ---> Computing dependencies for py27-spatialite ---> Cleaning py27-spatialite ---> Scanning binaries for linking errors: 100.0% ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order py27-spatialite @2.6.2 ---> Computing dependencies for py27-spatialite ---> Cleaning py27-spatialite ---> Unable to uninstall py27-spatialite @2.6.2_1, the following ports depend on it: ---> qgis @1.8.0_0+postgis2+postgresql91+python27 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating py27-spatialite @2.6.2_1 ---> Unable to deactivate py27-spatialite @2.6.2_1, the following ports depend on it: ---> qgis @1.8.0_0+postgis2+postgresql91+python27 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning py27-spatialite ---> Uninstalling py27-spatialite @2.6.2_1 ---> Cleaning py27-spatialite ---> Computing dependencies for py27-spatialite ---> Fetching distfiles for py27-spatialite ---> Attempting to fetch pyspatialite-2.6.2-spatialite.2.3.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-spatialite ---> Verifying checksum(s) for py27-spatialite ---> Extracting py27-spatialite ---> Applying patches to py27-spatialite Error: reinplace: sed: RE error: illegal byte sequence Error: org.macports.patch for port py27-spatialite returned: reinplace sed(1) failed Please see the log file for port py27-spatialite for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spatialite/py27-spatialite/main.log ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
comment:6 follow-up: 7 Changed 12 years ago by anddam (Andrea D'Amore)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to bernard.giroux@…:
another machine (same OS & Xcode, but on which "sudo port -n upgrade --force python27" was _not_ done)
Error: reinplace: sed: RE error: illegal byte sequence Error: org.macports.patch for port py27-spatialite returned: reinplace sed(1) failed
This is a different issue than the first one, here the patch files are correctly applied and then mp breaks on the post-patch reinplace command.
The issue is due to change to sed engine in Mountain Lion (I've no access to a ML system), see ticket #35421. Should be fixed in r104414.
This ticket is about the original problem, my guess is that a port clean (no need to use --all) will fix that as well so I'm closing the ticket. Feel free to reopen it if that's not the case.
comment:7 Changed 12 years ago by bernard-giroux (Bernard Giroux)
Replying to and.damore@…:
Replying to bernard.giroux@…:
another machine (same OS & Xcode, but on which "sudo port -n upgrade --force python27" was _not_ done)
Error: reinplace: sed: RE error: illegal byte sequence Error: org.macports.patch for port py27-spatialite returned: reinplace sed(1) failedThis is a different issue than the first one, here the patch files are correctly applied and then mp breaks on the post-patch reinplace command.
The issue is due to change to sed engine in Mountain Lion (I've no access to a ML system), see ticket #35421. Should be fixed in r104414.
I confirm the fix on my "traveling" ML machine.
This ticket is about the original problem, my guess is that a port clean (no need to use --all) will fix that as well so I'm closing the ticket. Feel free to reopen it if that's not the case.
Thanks, I'll test when I get back home later this week.
In the future, please Cc relevant port maintainers and provide log output as an attachment (instead of pasting it into the ticket description or comments).