Changeset 98492


Ignore:
Timestamp:
Oct 7, 2012, 12:03:16 AM (12 years ago)
Author:
blair@…
Message:

py-shiboken: add libxslt to depends_lib.

Both libxslt and libxml2 are found and used at configure time:

-- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework
/Versions/2.7/Python (found suitable version "2.7.3", required is "2.6")
-- !!! The generated bindings will be installed on /opt/local/lib/p
ython2.7/site-packages, is it right!?
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found suitable version "2.8.0", required is "2.6.32")
-- Found LibXslt: /opt/local/lib/libxslt.dylib (found suitable version "1.1.26", required is "1.1.19")

This was found by doing an archive only install of py27-pyside:

x ./opt/local/include/PySide/QtGui/pyside_qtgui_python.h
x ./opt/local/include/PySide/QtGui/qpytextobject.h
x ./opt/local/include/PySide/QtDeclarative/pyside_qtdeclarative_python.h
x ./opt/local/include/PySide/QtCore/pyside_qtcore_python.h
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 98.6%
Could not open /opt/local/lib/libxslt.1.dylib: Error opening or reading file (referenced from /opt/local/bin/shiboken)
---> 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-shiboken @1.1.2

---> Computing dependencies for py27-shiboken.
---> Scanning binaries for linking errors: 98.6%
Could not open /opt/local/lib/libxslt.1.dylib: Error opening or reading file (referenced from /opt/local/bin/shiboken)
---> Scanning binaries for linking errors: 100.0%
---> Found 1 broken file(s), matching files to ports
Port py27-shiboken still broken after reinstalling -- can't rebuild due to binary-only mode

while executing

"error "Port $portname still broken after reinstalling -- can't rebuild due to binary-only mode""

(procedure "revupgrade_scanandrebuild" line 258)
invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5)
invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2)
invoked from within

"action_revupgrade $action $portlist $opts"

(procedure "action_target" line 94)
invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 95)
invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 4784)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-shiboken/Portfile

    r97380 r98492  
    88name                py-${realname}
    99version             1.1.2
     10revision            1
    1011python.versions     25 26 27
    1112python.default_version 27
     
    3738                        filename_collision.patch
    3839
    39     depends_lib-append  port:qt4-mac port:python${python.version}
     40    depends_lib-append  port:qt4-mac \
     41                        port:python${python.version} \
     42                        port:libxslt
    4043    use_configure   yes
    4144    configure.args-append -DBUILD_TESTS:BOOL=FALSE \
Note: See TracChangeset for help on using the changeset viewer.