[Mailman-Users] Re: Wrapper Not Working

Todd Freedom_Lover at pobox.com
Fri Sep 26 00:08:43 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SoloCDM wrote:
> Does anyone know the solution to the rpm build at the Segmentation
> fault below?
>
> rpm -bb --clean --target=i586 mailman.spec
> Building target platforms: i586
> Building for target i586
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.45549
> +rpm-tmp.45549 line 19: umask 022
> +rpm-tmp.45549 line 20: cd /usr/src/RPM/BUILD
> +rpm-tmp.45549 line 21: cd /usr/src/RPM/BUILD
> +rpm-tmp.45549 line 22: rm -rf mailman-2.0.13
> +rpm-tmp.45549 line 23: /usr/bin/bzip2 -dc 
> /usr/src/RPM/SOURCES/mailman-2.0.13.tar.bz2
> +rpm-tmp.45549 line 23: tar -xf -
> +rpm-tmp.45549 line 24: STATUS=0
> +rpm-tmp.45549 line 25: '[' 0 -ne 0 ']'
> +rpm-tmp.45549 line 28: cd mailman-2.0.13
> ++rpm-tmp.45549 line 1: /usr/bin/id -u
> +rpm-tmp.45549 line 29: '[' 0 = 0 ']'
> +rpm-tmp.45549 line 29: /bin/chown -Rhf root .
> ++rpm-tmp.45549 line 1: /usr/bin/id -u
> +rpm-tmp.45549 line 30: '[' 0 = 0 ']'
> +rpm-tmp.45549 line 30: /bin/chgrp -Rhf root .
> +rpm-tmp.45549 line 31: /bin/chmod -Rf a+rX,g-w,o-w .
> +rpm-tmp.45549 line 32: echo 'Patch #0 
> (mailman-buildroot-check.patch.bz2):'
> Patch #0 (mailman-buildroot-check.patch.bz2):
> +rpm-tmp.45549 line 33: /usr/bin/bzip2 -d
> +rpm-tmp.45549 line 33: patch -p1 -b --suffix .buildroot -s
> /var/tmp/rpm-tmp.45549: line 33: 14253 Done                    
> /usr/bin/bzip2 -d 
> </usr/src/RPM/SOURCES/mailman-buildroot-check.patch.bz2
>      14254 Segmentation fault      | patch -p1 -b --suffix .buildroot -s
> Bad exit status from /var/tmp/rpm-tmp.45549 (%prep)

I can't tell for sure if it's bombing on the unzipping of the patch or the
application of the patch, though it looks like it's the former.  I think
there should be a c option in addition to the -d for the bzip2 command if
it's piping the output directly to patch, but that's just a guess since I
don't know what the spec file is actually doing.

You might want to try a newer RPM from whatever vendor you're trying to
build this on.  And while you're at it, I'd spend the time to build Mailman
2.1.2 instead of the rather old 2.0.13.  There are many useful improvements
in 2.1.2.  If there isn't an RPM for your platform (that builds cleanly),
it's really straightforward to build Mailman from tarballs.  Plus, you can
then be more sure that you've done everything required to make it work with
your setup instead of hoping that the RPM packager did it right.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
Stop tolerating in your leaders what you would not tolerate in your friends.
    -- Michael Ventura

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/c2druv+09NZUB1oRAnHiAJ9rit/XAcFasL+1fMuRma8xA4/QjgCfacPb
W33elQnWb1/17eQgHwCkKJo=
=dD+K
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list