Fabio,

There's a cleaner way to pass parameters to the build process:

# echo "--nodeps" > \ /opt/qmailtoaster-plus/etc/rpmbuild/spamassassin-toaster

before running qtp-newmodel. This way build parameters can be specified for
a particular package, and do not effect other packages detrimentally.

Be sure to redo the sandbox afterwards (or make the same change in the sandbox).


Fabio A. Olaechea wrote:
> Hi list,
> 
> this is a workaround for this problem. My solution is to ignore the
> dependencies of the rpm, because I know that they are installed.
> 
> So before to try this check that you have installed:
> 
>  perl(Archive::Tar) >= 1.23
>  perl(HTML::Parser) >= 3.43
>  perl(IO::Zlib) >= 1.04
> 
> Then
> 
> 1) run qtp-newmodel
> ...
> ...
> Installing spamassassin-toaster-3.2.4-1.3.13 in the sandbox ...
> qtp-build-rpms - rpm -Uvh failed for spamassassin-toaster-3.2.4-1.3.13
> qtp-build-rpms - see
> /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
> 
> Build failed, Exiting.
> 
> 
> 2) umount the sandbox
> 
> # qtp-umount-sandbox
> qtp-umount-sandbox v0.2.6
> qtp-umount-sandbox: sandbox umounted successfully
> 
> 
> 3) edit qtp-build-rpms
> # vi +143 /opt/qmailtoaster-plus/bin/qtp-build-rpms
> 
> on line 143 change
>     rpm -Uvh $updateparm $install_pkgs >>$logfile 2>&1
> to
>     rpm -Uvh --nodeps $updateparm $install_pkgs >>$logfile 2>&1
> 
> save & exit, :x
> 
> 4) run qtp-newmodel to build and install spamassassin-toaster,
> clamav-toaster.. .
> 
> IMO the problem is inside of spamassassin-toaster-3.2.4-1.3.13, not on
> qtp.. . but this worked for me.
> 
> bye
> 
> Fabio Olaechea

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to