Opened 10 years ago

Closed 10 years ago

#43837 closed defect (worksforme)

py27-qscintilla @2.8.1: QScintilla 2.7.2 is being used but the Python bindings 2.8.1 are being

Reported by: bpabbott@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: py27-qscintilla

Description

This may be related to defect ticket:38655.

I've just upgraded to MacPorts 2.3.0 on Mac OS 10.9.3. The upgrade went fine. However, upgrading py27-qscintilla failed with;

--->  Computing dependencies for py27-qscintilla
--->  Fetching archive for py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-qscintilla
--->  Fetching distfiles for py27-qscintilla
--->  Verifying checksums for py27-qscintilla
--->  Extracting py27-qscintilla
--->  Applying patches to py27-qscintilla
--->  Configuring py27-qscintilla
Error: org.macports.configure for port py27-qscintilla returned: configure failure: command execution failed
Please see the log file for port py27-qscintilla for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Bens-MacBook-Pro:octave bpabbott$ edit /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/main.log

The "main.log" file is below.

version:1
:msg:main --->  Computing dependencies for py27-qscintilla:info:main .:debug:main py27-qscintilla has no conflicts
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:debug:main Searching for dependency: qscintilla
:debug:main Found Dependency: receipt exists for qscintilla
:debug:main Searching for dependency: py27-pyqt4
:debug:main Found Dependency: receipt exists for py27-pyqt4
:msg:main 
:debug:main Executing org.macports.main (py27-qscintilla)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Tue May 27 20:06:43 EDT 2014
:msg:archivefetch --->  Fetching archive for py27-qscintilla
:debug:archivefetch Executing org.macports.archivefetch (py27-qscintilla)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/py27-qscintilla
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-qscintilla
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch py27-qscintilla-2.8.1_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-qscintilla
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue May 27 20:06:44 EDT 2014
:notice:fetch --->  Fetching distfiles for py27-qscintilla
:debug:fetch Executing org.macports.fetch (py27-qscintilla)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue May 27 20:06:44 EDT 2014
:notice:checksum --->  Verifying checksums for py27-qscintilla
:debug:checksum Executing org.macports.checksum (py27-qscintilla)
:info:checksum --->  Checksumming QScintilla-gpl-2.8.1.tar.gz
:debug:checksum Calculated (rmd160) is 7301f1d9bea71b15cc9d98a20a2ece2b6843f3aa
:debug:checksum Correct (rmd160) checksum for QScintilla-gpl-2.8.1.tar.gz
:debug:checksum Calculated (sha256) is fbf3db4fe876152af56b5c9d5ec6f101c96bf97c05fdc5a87f358c707801c422
:debug:checksum Correct (sha256) checksum for QScintilla-gpl-2.8.1.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Tue May 27 20:06:44 EDT 2014
:notice:extract --->  Extracting py27-qscintilla
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (py27-qscintilla)
:info:extract --->  Extracting QScintilla-gpl-2.8.1.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/qscintilla/QScintilla-gpl-2.8.1.tar.gz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/qscintilla/QScintilla-gpl-2.8.1.tar.gz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/qscintilla/QScintilla-gpl-2.8.1.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Tue May 27 20:06:46 EDT 2014
:debug:patch Executing org.macports.patch (py27-qscintilla)
:notice:patch --->  Applying patches to py27-qscintilla
:info:patch --->  Applying patch-Python-configure.py.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-qscintilla/files/patch-Python-configure.py.diff'
:info:patch patching file Python/configure.py
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Tue May 27 20:06:47 EDT 2014
:notice:configure --->  Configuring py27-qscintilla
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (py27-qscintilla)
:debug:configure Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
MOC='/opt/local/bin/moc'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
QMAKE='/opt/local/bin/qmake'
QMAKESPEC='macx-g++'
QTDIR='/opt/local'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1/Python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1/Python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64 
:info:configure Error: QScintilla 2.7.2 is being used but the Python bindings 2.8.1 are being
:info:configure built. Please use matching versions.
:info:configure PyQt 4.10.4 is being used.
:info:configure Qt 4.8.5 is being used.
:info:configure sip 4.15.5 is being used.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1/Python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64 
:info:configure Exit code: 1
:error:configure org.macports.configure for port py27-qscintilla returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for py27-qscintilla: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Please see the log file for port py27-qscintilla for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/main.log

If I manually attempt the command that fails, I get the error in the summary.

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.1/Python"
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64
PyQt 4.10.4 is being used.
Qt 4.8.5 is being used.
sip 4.15.5 is being used.
Error: QScintilla 2.7.2 is being used but the Python bindings 2.8.1 are being
built. Please use matching versions

Attachments (1)

main.log (9.5 KB) - added by bpabbott@… 10 years ago.
attachment for comment#4

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: py27-qscintiall removed
Owner: changed from macports-tickets@… to michaelld@…
Port: py27-qscintilla added
Summary: Error: QScintilla 2.7.2 is being used but the Python bindings 2.8.1 are being built.py27-qscintilla @2.8.1: QScintilla 2.7.2 is being used but the Python bindings 2.8.1 are being

What does port installed qscintilla say?

comment:2 Changed 10 years ago by bpabbott@…

$ port installed qscintilla
The following ports are currently installed:
  qscintilla @2.4.6_0
  qscintilla @2.7.2_1 (active)

comment:3 Changed 10 years ago by michaelld (Michael Dickens)

I just updated the Qsci ports to 2.8.2 in r120855. Please do:

sudo port clean *qsci*
sudo port selfupdate
sudo port -p upgrade *qsci*

and see if that fixes the issue.

comment:4 Changed 10 years ago by bpabbott@…

sudo port -p upgrade *qsci*
Error: py-qscintilla is not installed
Error: py25-qscintilla is not installed
Error: py26-qscintilla is not installed
--->  Computing dependencies for py27-sip
--->  Fetching archive for py27-sip
--->  Attempting to fetch py27-sip-4.16.1_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/py27-sip
--->  Attempting to fetch py27-sip-4.16.1_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-sip
--->  Attempting to fetch py27-sip-4.16.1_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-sip
--->  Fetching distfiles for py27-sip
--->  Attempting to fetch sip-4.16.1.tar.gz from http://hivelocity.dl.sourceforge.net/pyqt
--->  Verifying checksums for py27-sip                                               
--->  Extracting py27-sip
--->  Applying patches to py27-sip
--->  Configuring py27-sip
--->  Building py27-sip
--->  Staging py27-sip into destroot
--->  Installing py27-sip @4.16.1_0
--->  Cleaning py27-sip
--->  Computing dependencies for py27-sip
--->  Deactivating py27-sip @4.15.5_0
--->  Cleaning py27-sip
--->  Activating py27-sip @4.16.1_0

py27-sip is available under a PSF license with one addition: 

    4. Licensee may not use SIP to generate Python bindings for any C or
       C++ library for which bindings are already provided by Riverbank. 

GPL-2 or GPL-3 licenses are also available. For details see
/opt/local/share/doc/py27-sip/LICENSE [-GPL2 -GPL3]


--->  Cleaning py27-sip
--->  Computing dependencies for py27-qscintilla
--->  Fetching archive for py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.2_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.2_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-qscintilla
--->  Attempting to fetch py27-qscintilla-2.8.2_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-qscintilla
--->  Fetching distfiles for py27-qscintilla
--->  Attempting to fetch QScintilla-gpl-2.8.2.tar.gz from http://hivelocity.dl.sourceforge.net/pyqt
--->  Verifying checksums for py27-qscintilla                                        
--->  Extracting py27-qscintilla
--->  Applying patches to py27-qscintilla
--->  Configuring py27-qscintilla
Error: org.macports.configure for port py27-qscintilla returned: configure failure: command execution failed
Please see the log file for port py27-qscintilla for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/main.log
Error: Unable to upgrade port: 1
Error: py31-qscintilla is not installed
Error: py32-qscintilla is not installed
Error: py33-qscintilla is not installed
Error: py34-qscintilla is not installed

I'm attaching the log file.

Changed 10 years ago by bpabbott@…

Attachment: main.log added

attachment for comment#4

comment:5 Changed 10 years ago by bpabbott@…

The update for 2.8.2 isn't working. I tried to install it directly, and that also failed.

$ port install qscintilla @2.8.2
--->  Computing dependencies for qscintilla
--->  Cleaning qscintilla
--->  Scanning binaries for linking errors
Warning: Error parsing file /opt/local/libexec/dbus-daemon-launch-helper: Error opening or reading file
--->  No broken files found.
$ port installed qscintilla
The following ports are currently installed:
  qscintilla @2.4.6_0
  qscintilla @2.7.2_1 (active)

comment:6 Changed 10 years ago by michaelld (Michael Dickens)

OK. Try the following and attach the main.log if/when it fails:

sudo port clean qscintilla
sudo port upgrade qscintilla

If this does not fail, then "port installed qscintilla" should now return a 2.8.2 version, which should allow you to upgrade the py27-qscintilla port.

comment:7 Changed 10 years ago by bpabbott@…

Opps ! ... I had a local version in ~/ports.

I've now upgraded. Sorry for my error.

comment:8 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

No problems; glad you got it worked out.

Note: See TracTickets for help on using tickets.