[arch-dev-public] openssl 1.0 rebuild

Dan McGee dpmcgee at gmail.com
Thu Apr 1 05:15:48 CEST 2010


On Wed, Mar 31, 2010 at 8:54 PM, Pierre Schmitz <pierre at archlinux.de> wrote:
> I have rebuild all core and some other packages. It's now time for
> everybody to join the rebuild party. We rebuild heimdal and openssl at
> once. See https://dev.archlinux.org/todo/30/ and
> https://dev.archlinux.org/todo/32/
>
> If you rebuild packages you should build bottom-up; means rebuild the deps
> of a package first. It's probably best to join our irc channel to
> communicate which packages you are about to rebuild. If something doesn't
> build you might find patches at
> http://cvs.fedoraproject.org/viewvc/rpms/$pkgname
>
> And please avoid using versioned deps.
>
> Btw: I think we have a problem with the pacman update. Am I right that a
> -Syu will update pacman first without loading openssl which will result in
> a broken pacman? This might probably the only valid usage of a versiond
> dep. If that's true we might consider to keep openssl in tar.gz, too.

It is less a problem and more intentional. :) Versioned deps are
definitely a tricky subject.

I haven't tried it out yet, but shouldn't a new pacman, compiled with
the right ldflags, no longer link directly against openssl? The reason
that is in there is only because of the libraries it uses; we don't
use ssl methods directly in pacman code. Of course if we are
explicitly telling it to link, then we would still have a problem.
That is what it looks like after pulling down your rebuild; but I'm
confused- it shows it still looking for openssl 0.9.8:

dmcgee at dublin /tmp/pacman-extracted
$ ldd usr/bin/pacman
        linux-gate.so.1 =>  (0xb76ee000)
        libalpm.so.4 => /usr/lib/libalpm.so.4 (0xb76b0000)
        libc.so.6 => /lib/libc.so.6 (0xb7569000)
        libfetch.so => /usr/lib/libfetch.so (0xb755b000)
        libarchive.so.2 => /usr/lib/libarchive.so.2 (0xb751c000)
        libssp.so.0 => /usr/lib/libssp.so.0 (0xb7518000)
        /lib/ld-linux.so.2 (0xb76ef000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb74cf000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb737c000)
        libacl.so.1 => /lib/libacl.so.1 (0xb7374000)
        libattr.so.1 => /lib/libattr.so.1 (0xb736f000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7348000)
        liblzma.so.0 => /usr/lib/liblzma.so.0 (0xb7327000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7316000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7301000)
        libdl.so.2 => /lib/libdl.so.2 (0xb72fd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb72e3000)

-Dan


More information about the arch-dev-public mailing list