Hi,
Following your advice, I built petsc using the shared libraries:
port install petsc +shared
then I did run:
port -d -y rev-upgrade
Attached is the output, It seems the petsc library built this way is not
properly working (that's what port says)
Romain
DEBUG: Copying /Users/jolivetinsar/Library/Preferences/com.apple.dt.Xcode.plist
to /opt/local/var/macports/home/Library/Preferences
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-fat
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-fat3
since this system can't run it anyway
DEBUG: skipping ppc64 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-fat
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-fat3
since this system can't run it anyway
DEBUG: skipping ppc64 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/share/examples/py27-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/Frameworks/Python.framework/Versions/3.2/Python
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/share/examples/py27-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/TinyTinyEdit
since this system can't run it anyway
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/share/examples/py27-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/python
DEBUG: skipping ppc in
/opt/local/share/examples/py27-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/python
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-fat
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-fat3
since this system can't run it anyway
DEBUG: skipping ppc64 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bundletemplate/prebuilt/main-fat
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bundletemplate/prebuilt/main-fat3
since this system can't run it anyway
DEBUG: skipping ppc64 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bundletemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bundletemplate/prebuilt/main-universal
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/share/examples/py26-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/Frameworks/Python.framework/Versions/3.2/Python
since this system can't run it anyway
DEBUG: skipping ppc in
/opt/local/share/examples/py26-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/TinyTinyEdit
since this system can't run it anyway
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/share/examples/py26-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/python
DEBUG: skipping ppc in
/opt/local/share/examples/py26-py2app/PyObjC/TinyTinyEdit/dist.â¬/TinyTinyEdit.app/Contents/MacOS/python
since this system can't run it anyway
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/bugpoint
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llc
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/lli
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-ar
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-as
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-bcanalyzer
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-cov
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-diff
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-dis
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-dwarfdump
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-extract
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-ld
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-link
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-mc
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-nm
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-objdump
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-prof
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-ranlib
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-rtdyld
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/llvm-size
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/macho-dump
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/llvm-3.0/bin/opt
DEBUG: Ignoring loadcommand containing @executable_path in
/opt/local/libexec/ld64/ld
DEBUG: Missing architecture arm in file /usr/lib/libc++abi.dylib
DEBUG: Missing architecture arm in file outside prefix referenced from
/opt/local/lib/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/libstdc++.dylib
DEBUG: Missing architecture arm in file /usr/lib/libSystem.B.dylib
DEBUG: Missing architecture arm in file outside prefix referenced from
/opt/local/lib/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/libstdc++.dylib
DEBUG: skipping ppc in
/opt/local/share/cmake-2.8/Modules/CPack.OSXScriptLauncher.in since this system
can't run it anyway
DEBUG: Marking /opt/local/lib/petsc/lib/libparmetis.dylib as broken
---> Scanning binaries for linking errors
Could not open
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/petsc-3.3-p0/darwin/lib/libmetis.dylib:
Error opening or reading file (referenced from
/opt/local/lib/petsc/lib/libparmetis.dylib)
DEBUG: Marking /opt/local/lib/petsc/lib/libpetsc.dylib as broken
Could not open
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/petsc-3.3-p0/darwin/lib/libparmetis.dylib:
Error opening or reading file (referenced from
/opt/local/lib/petsc/lib/libpetsc.dylib)
DEBUG: Marking /opt/local/lib/petsc/lib/libpetsc.dylib as broken
---> Found 3 broken file(s), matching files to ports
---> Found 1 broken port(s), determining rebuild order
DEBUG: Broken: petsc
DEBUG: Processing port petsc @0:3.3-p0_0 +shared
---> Rebuilding in order
petsc @3.3-p0 +shared
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: petsc 3.3-p0_0 exists in the ports tree
DEBUG: petsc 3.3-p0_0 is the latest installed
DEBUG: petsc 3.3-p0_0 +shared is active
DEBUG: Merging existing variants '+shared' into variants
DEBUG: new fully merged portvariants: shared +
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/petsc
DEBUG: OS darwin/11.4.0 (Mac OS X 10.7) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure.
Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing
procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Executing variant shared provides shared
DEBUG: rev-upgrade override ... upgrading!
DEBUG: Not following dependencies
Skipping deactivate petsc @3.3-p0_0+shared (dry run)
Skipping activate petsc @3.3-p0_0+shared (dry run)
DEBUG: Rebuilding port petsc finished with status 0
Warning: If this was no dry run, rev-upgrade would now run the checks again to
find unresolved and newly created problems
Romain Jolivet
Highland Park, Los Angeles, CA
[email protected]
+1 (626) 560 6356
On Jul 18, 2012, at 3:00 AM, Clemens Lang wrote:
> Hi,
>
> On Tue, Jul 17, 2012 at 11:52:12PM -0700, Romain Jolivet wrote:
>> The port that is broken is petsc (I guess, as it rebuilds it, and not
>> the dependencies). I'll try with --no-rev-upgrade flag and get back
>> to you if I cannot make it
>
> of course you can ignore the problem, but the proper way to do this
> would be to fix the problem. Can you run
> port -d -y rev-upgrade
> and post the output?
>
> --
> Clemens Lang
>
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users