[Samba] RPM build error 3.0.0

Zenon Panoussis oracle at provocation.net
Thu Oct 2 10:34:05 GMT 2003


Building from samba-3.0.0/packaging/RedHat/samba.spec in the
September 25 samba-3.0.0.tar.bz2 ends with

   + mkdir -p /var/tmp/samba-3.0.0-root/usr/share/swat/images
        /var/tmp/samba-3.0.0-root/usr/share/swat/help
        /var/tmp/samba-3.0.0-root/usr/share/swat/include
        /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba
   + mkdir -p /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba/figs
        /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba/gifs
   + mkdir -p
   mkdir: too few arguments
   Try `mkdir --help' for more information.
   error: Bad exit status from /var/tmp/rpm-tmp.34059 (%install)

The problem seems to be

    mkdir -p $RPM_BUILD_ROOTMANDIR_MACRO

in line 108 of the spec file. Shouldn't that be something like

    mkdir -p $RPM_BUILD_ROOT/%{_mandir}

instead?

Z






More information about the samba mailing list