Merging rev-upgrade

Bradley Giesbrecht pixilla at macports.org
Mon Dec 12 18:35:06 PST 2011


On Dec 12, 2011, at 2:51 PM, Clemens Lang wrote:

> On Mon, Dec 12, 2011 at 09:53:49AM -0800, Bradley Giesbrecht wrote:
>> Here is what I get when upgrading the "root" port.
>> Does the result below look correct for a failed upgrade?
> 
> No, this is not the expected output, unless the py26-mysql port ships
> broken binaries. Can you please re-run rev-upgrade with -d and attach
> the output so I can have a look?

Output is minimal so here:
$ sudo port -d rev-upgrade
DEBUG: Ignoring loadcommand containing @exectuable_path in /Applications/MacPorts/Pallet.app/Contents/MacOS/Pallet
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-darwin10/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/powerpc-apple-darwin10/4.2.1/libstdc++.dylib
--->  Scanning binaries for linking errors
--->  No broken files found. :)

>> Where would one go from here? I am performing a force upgrade with "-s".
> 
> rev-upgrade should rebuild the port automatically.

It did rebuild, 3 times. But percona (mysql fork) is broken. Shouldn't rev-upgrade have caught this?

$ otool -L /opt/local/lib/mysql5/mysql/libmysqlclient.18.dylib
/opt/local/lib/mysql5/mysql/libmysqlclient.18.dylib:
	/opt/local/lib/libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)


>> Does rev-grade run with precompiled packages downloaded from macports?
> 
> It currently completely ignores them, unless the problem is just a
> missing dependency, in which case it will first try to install from a
> package and then build from source, if the problem persists.
> If this is to work correctly with the pre-built packages the buildbot
> needs to have it's own special version of rev-upgrade.
> 
>> Warning: Could not open /opt/local/lib/libmysqlclient.18.dylib: Error opening or reading file
> 
> Does this file exist? Which port provides it?


The port is percona (mysql 5.5).
See above. The the path to self is correct but the first lib path is wrong.


Regards,
Bradley Giesbrecht (pixilla)






More information about the macports-dev mailing list