Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Jake Vickers

 On 10/06/2010 04:46 PM, Eric Shubert wrote:

I see. Nice explanation. Not fuzzy at all! :)

Sounds like we need a policy to deal with fuzziness. Having not 
thought much about this, I'll wait to let Jake (and Steve??) chime in 
on this one. Jake will make the final call of course, but it'd be nice 
if we can recommend a way to reliably handle this sort of change (line 
numbers shifting a tad) in the future. I expect something could be 
scripted, but someone would need to write the script.





I'll set the 1.3 build environment to use fuzz 0 and rediff the packages 
as needed. I can roll out a new clamav with this update later this week. 
Anyone know if other packages require this? If so, let's move this to 
the devel list and let me know.

Thanks.

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Jake Vickers

 On 10/06/2010 04:33 PM, Martin Waschbüsch wrote:

Hi Eric,

The way I see it, this happened:

Jake created the updated package using the same patch he had used for the 
original 0.96 build. It is still valid, but the conf file to patch changed 
slightly, so the patch hunks have some offset.
Now, for some reason, Fedora's build system enforces patch to run with fuzz=0, 
which causes this to break.
All I did was expand the current clamav package, apply the patch without the 
fuzzy option and created a new patch by using 'diff -Naur' just like the 
original patch from Jake's package.
The only thing that changed is line numbers in the .patch file. The content is 
otherwise identical.

So, yes, it is 100% compatible, it works for all distros and I guess 
re-creating the patch in this way should always be done to keep these problems 
from appearing. However, it does mean one or two more steps for the packager 
and, unless you use a system that enforces fuzzy=0, you'd not ever notice it in 
the first place.


Pretty close and accurate. One of the updates changed the fuzzy level 
and I just haven't gone back to re-diff the code.
Since QMTv2 is using fuzz=0, I guess I could port this change over to 
the 1.3 build environment and start to build the packages to suit Fedora 
as well.
Thanks for the detailed explanation though - I'm sure someone will 
search on this in the future.



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert

I see. Nice explanation. Not fuzzy at all! :)

Sounds like we need a policy to deal with fuzziness. Having not thought 
much about this, I'll wait to let Jake (and Steve??) chime in on this 
one. Jake will make the final call of course, but it'd be nice if we can 
recommend a way to reliably handle this sort of change (line numbers 
shifting a tad) in the future. I expect something could be scripted, but 
someone would need to write the script.


--
-Eric 'shubes'

Martin Waschbüsch wrote:

Hi Eric,

The way I see it, this happened:

Jake created the updated package using the same patch he had used for the 
original 0.96 build. It is still valid, but the conf file to patch changed 
slightly, so the patch hunks have some offset.
Now, for some reason, Fedora's build system enforces patch to run with fuzz=0, 
which causes this to break.
All I did was expand the current clamav package, apply the patch without the 
fuzzy option and created a new patch by using 'diff -Naur' just like the 
original patch from Jake's package.
The only thing that changed is line numbers in the .patch file. The content is 
otherwise identical.

So, yes, it is 100% compatible, it works for all distros and I guess 
re-creating the patch in this way should always be done to keep these problems 
from appearing. However, it does mean one or two more steps for the packager 
and, unless you use a system that enforces fuzzy=0, you'd not ever notice it in 
the first place.

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 22:14 schrieb Eric Shubert:


Next question is, does it work with other distros? (Is it backwards 
compatible?) Is there one setting that that works for all, or does this need to 
be a per-distro setting?

--
-Eric 'shubes'

Martin Waschbüsch wrote:

Any Time! :-)
Von meinem iPhone gesendet
Am 06.10.2010 um 21:34 schrieb petrus mailto:petr...@gmail.com>>:


2010/10/6 Martin Waschbüsch < mar...@waschbuesch.de 
>

   OK,

   Please give this one a try:

   
http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm

   Cheers,


Yes this works.
Thank you!

/p


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
  Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
-
   Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
   For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Martin Waschbüsch
Hi Eric,

The way I see it, this happened:

Jake created the updated package using the same patch he had used for the 
original 0.96 build. It is still valid, but the conf file to patch changed 
slightly, so the patch hunks have some offset.
Now, for some reason, Fedora's build system enforces patch to run with fuzz=0, 
which causes this to break.
All I did was expand the current clamav package, apply the patch without the 
fuzzy option and created a new patch by using 'diff -Naur' just like the 
original patch from Jake's package.
The only thing that changed is line numbers in the .patch file. The content is 
otherwise identical.

So, yes, it is 100% compatible, it works for all distros and I guess 
re-creating the patch in this way should always be done to keep these problems 
from appearing. However, it does mean one or two more steps for the packager 
and, unless you use a system that enforces fuzzy=0, you'd not ever notice it in 
the first place.

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 22:14 schrieb Eric Shubert:

> Next question is, does it work with other distros? (Is it backwards 
> compatible?) Is there one setting that that works for all, or does this need 
> to be a per-distro setting?
> 
> -- 
> -Eric 'shubes'
> 
> Martin Waschbüsch wrote:
>> Any Time! :-)
>> Von meinem iPhone gesendet
>> Am 06.10.2010 um 21:34 schrieb petrus > >:
>>> 
>>> 
>>> 2010/10/6 Martin Waschbüsch < 
>>> mar...@waschbuesch.de 
>>> >
>>> 
>>>OK,
>>> 
>>>Please give this one a try:
>>> 
>>>
>>> http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm
>>> 
>>>Cheers,
>>> 
>>> 
>>> Yes this works.
>>> Thank you!
>>> 
>>> /p
> 
> 
> -
> Qmailtoaster is sponsored by Vickers Consulting Group 
> (www.vickersconsulting.com)
>   Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
> -
>Please visit qmailtoaster.com for the latest news, updates, and packages.
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
> 


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert
Next question is, does it work with other distros? (Is it backwards 
compatible?) Is there one setting that that works for all, or does this 
need to be a per-distro setting?


--
-Eric 'shubes'

Martin Waschbüsch wrote:

Any Time! :-)

Von meinem iPhone gesendet

Am 06.10.2010 um 21:34 schrieb petrus >:





2010/10/6 Martin Waschbüsch < 
mar...@waschbuesch.de 
>


OK,

Please give this one a try:


http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm

Cheers,


Yes this works.
Thank you!

/p



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Martin Waschbüsch
Any Time! :-)

Von meinem iPhone gesendet

Am 06.10.2010 um 21:34 schrieb petrus :

> 
> 
> 2010/10/6 Martin Waschbüsch 
> OK,
> 
> Please give this one a try:
> 
> http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm
> 
> Cheers,
> 
> 
> Yes this works.
> Thank you!
> 
> /p 


Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
2010/10/6 Martin Waschbüsch 

> OK,
>
> Please give this one a try:
>
> http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm
>
> Cheers,
>
>
Yes this works.
Thank you!

/p


Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Martin Waschbüsch
OK,

Please give this one a try:

http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm

Cheers,

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 19:57 schrieb Martin Waschbüsch:

> Something weird is going on.
> 
> When I try the following:
> 
> cd SOURCES
> tar xjvf clamav-0.96.3.tar.bz2
> bunzip2 clamav-0.96.0.patch.bz2
> cd clamav-0.96.3
> patch -p1 <../clamav-0.96.0.patch
> 
> I get some warnings about offsets / fuzz, but it is alright.
> 
> Now, if I use the command options that show up for you (forcing fuzz to be 0):
> 
> /usr/bin/patch -s -p1 --fuzz=0 <../clamav-0.96.0.patch
> 
> I get the same error message.
> 
> 
> 
> Then I wondered why on Centos, it does not use these options and searched fro 
> them in the SOURCE folder:
> 
> grep -R -l -i 'fuzz=0' *
> 
> No file contains that.
> 
> Now, this looks like there is some ENV variable set on your system that adds 
> parameters to patch by default that does not exist on other systems.
> 
> After some google, I found that indeed 'fuzz=0' is indeed part of the default 
> rpmbuild environment on Fedora.
> Now, there are two possible solutions for it, we could re-base the patch 
> (e.g. make sure no fuzz occurs) and repackage the thing, OR you could try 
> adding
> 
> %define _default_patch_fuzz 2
> 
> to the spec file and see if that helps!
> 
> I'll work on the no-fuzz package in the meantime - perhaps Jake can put that 
> on the server...
> 
> Martin
> 
> --
> Martin Waschbüsch
> IT-Dienstleistungen
> Lautensackstr. 16
> 80687 München
> 
> Telefon: +49 89 57005708
> Fax: +49 89 57868023
> Mobil: +49 170 2189794
> mar...@waschbuesch.de
> http://martin.waschbuesch.de
> 
> Am 06.10.2010 um 19:12 schrieb petrus:
> 
>> The contents off clamd.conf.rej
>> 
>> --- etc/clamd.conf  2010-03-31 08:17:12.0 -0400
>> +++ etc/clamd.conf  2010-04-09 01:34:54.0 -0400
>> @@ -49,7 +49,7 @@
>> 
>> # Enable verbose logging.
>> # Default: no
>> -#LogVerbose yes
>> +LogVerbose yes
>> 
>> # This option allows you to save a process identifier of the listening
>> # daemon (main thread).
>> 
>> 
>> 
>> 
>> On Wed, Oct 6, 2010 at 6:38 PM, Eric Shubert  wrote:
>> petrus wrote:
>> qtp-whatami returns
>> qtp-whatami v0.3.6
>> DISTRO=Fedora
>> OSVER=11
>> QTARCH=i686
>> QTKERN=2.6.30.10-105.2.23.fc11.i586
>> BUILD_DIST=fedora_11
>> BUILD_DIR=/root/rpmbuild
>> This machine's OS is supported and has been tested
>> 
>> so using fedora_11, still produces the same error.
>> Patch #0 (clamav-0.96.0.patch.bz2):
>> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
>> + /usr/bin/patch -s -p1 --fuzz=0
>> 1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
>> error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
>> 
>> 
>> RPM build errors:
>>   Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
>> 
>> So we need to find out why that patch is failing on fedora.
>> 
>> 
>> -- 
>> -Eric 'shubes'
>> 
>> 
>> -
>> Qmailtoaster is sponsored by Vickers Consulting Group 
>> (www.vickersconsulting.com)
>>  Vickers Consulting Group offers Qmailtoaster support and installations.
>>If you need professional help with your setup, contact them today!
>> -
>>   Please visit qmailtoaster.com for the latest news, updates, and packages.
>>To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>   For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> 
>> 
> 
> 
> -
> Qmailtoaster is sponsored by Vickers Consulting Group 
> (www.vickersconsulting.com)
>Vickers Consulting Group offers Qmailtoaster support and installations.
>  If you need professional help with your setup, contact them today!
> -
> Please visit qmailtoaster.com for the latest news, updates, and packages.
> 
>  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
> 


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For ad

Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Martin Waschbüsch
Something weird is going on.

When I try the following:

cd SOURCES
tar xjvf clamav-0.96.3.tar.bz2
bunzip2 clamav-0.96.0.patch.bz2
cd clamav-0.96.3
patch -p1 <../clamav-0.96.0.patch

I get some warnings about offsets / fuzz, but it is alright.

Now, if I use the command options that show up for you (forcing fuzz to be 0):

/usr/bin/patch -s -p1 --fuzz=0 <../clamav-0.96.0.patch

I get the same error message.



Then I wondered why on Centos, it does not use these options and searched fro 
them in the SOURCE folder:

grep -R -l -i 'fuzz=0' *

No file contains that.

Now, this looks like there is some ENV variable set on your system that adds 
parameters to patch by default that does not exist on other systems.

After some google, I found that indeed 'fuzz=0' is indeed part of the default 
rpmbuild environment on Fedora.
Now, there are two possible solutions for it, we could re-base the patch (e.g. 
make sure no fuzz occurs) and repackage the thing, OR you could try adding

%define _default_patch_fuzz 2

to the spec file and see if that helps!

I'll work on the no-fuzz package in the meantime - perhaps Jake can put that on 
the server...

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 19:12 schrieb petrus:

> The contents off clamd.conf.rej
> 
> --- etc/clamd.conf  2010-03-31 08:17:12.0 -0400
> +++ etc/clamd.conf  2010-04-09 01:34:54.0 -0400
> @@ -49,7 +49,7 @@
> 
>  # Enable verbose logging.
>  # Default: no
> -#LogVerbose yes
> +LogVerbose yes
> 
>  # This option allows you to save a process identifier of the listening
>  # daemon (main thread).
> 
> 
> 
> 
> On Wed, Oct 6, 2010 at 6:38 PM, Eric Shubert  wrote:
> petrus wrote:
> qtp-whatami returns
> qtp-whatami v0.3.6
> DISTRO=Fedora
> OSVER=11
> QTARCH=i686
> QTKERN=2.6.30.10-105.2.23.fc11.i586
> BUILD_DIST=fedora_11
> BUILD_DIR=/root/rpmbuild
> This machine's OS is supported and has been tested
> 
> so using fedora_11, still produces the same error.
> Patch #0 (clamav-0.96.0.patch.bz2):
> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
> + /usr/bin/patch -s -p1 --fuzz=0
> 1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
> error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
> 
> 
> RPM build errors:
>Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
> 
> So we need to find out why that patch is failing on fedora.
> 
> 
> -- 
> -Eric 'shubes'
> 
> 
> -
> Qmailtoaster is sponsored by Vickers Consulting Group 
> (www.vickersconsulting.com)
>   Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
> -
>Please visit qmailtoaster.com for the latest news, updates, and packages.
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
> 
> 


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
The contents off clamd.conf.rej

--- etc/clamd.conf  2010-03-31 08:17:12.0 -0400
+++ etc/clamd.conf  2010-04-09 01:34:54.0 -0400
@@ -49,7 +49,7 @@

 # Enable verbose logging.
 # Default: no
-#LogVerbose yes
+LogVerbose yes

 # This option allows you to save a process identifier of the listening
 # daemon (main thread).




On Wed, Oct 6, 2010 at 6:38 PM, Eric Shubert  wrote:

> petrus wrote:
>
>> qtp-whatami returns
>> qtp-whatami v0.3.6
>> DISTRO=Fedora
>> OSVER=11
>> QTARCH=i686
>> QTKERN=2.6.30.10-105.2.23.fc11.i586
>> BUILD_DIST=fedora_11
>> BUILD_DIR=/root/rpmbuild
>> This machine's OS is supported and has been tested
>>
>> so using fedora_11, still produces the same error.
>> Patch #0 (clamav-0.96.0.patch.bz2):
>> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
>> + /usr/bin/patch -s -p1 --fuzz=0
>> 1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
>> error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
>>
>>
>> RPM build errors:
>>Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
>>
>
> So we need to find out why that patch is failing on fedora.
>
>
> --
> -Eric 'shubes'
>
>
>
> -
> Qmailtoaster is sponsored by Vickers Consulting Group (
> www.vickersconsulting.com)
>   Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
>
> -
>Please visit qmailtoaster.com for the latest news, updates, and
> packages.
> To unsubscribe, e-mail:
> qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail:
> qmailtoaster-list-h...@qmailtoaster.com
>
>
>


Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Martin Waschbüsch
Actually, I wonder about that one:

Both the patch and the source tarball come in the SRPM, so why would the patch 
command behave differently on this setup?

What is the content of the clamd.conf.rej file?

E.g. you should find that in e.g. BUILD/clamav-0.96.3/etc/

the BUILD dir, according to your output, is in /root/rpmbuild/

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 18:38 schrieb Eric Shubert:

> petrus wrote:
>> qtp-whatami returns
>> qtp-whatami v0.3.6
>> DISTRO=Fedora
>> OSVER=11
>> QTARCH=i686
>> QTKERN=2.6.30.10-105.2.23.fc11.i586
>> BUILD_DIST=fedora_11
>> BUILD_DIR=/root/rpmbuild
>> This machine's OS is supported and has been tested
>> so using fedora_11, still produces the same error.
>> Patch #0 (clamav-0.96.0.patch.bz2):
>> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
>> + /usr/bin/patch -s -p1 --fuzz=0
>> 1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
>> error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
>> RPM build errors:
>>Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)
> 
> So we need to find out why that patch is failing on fedora.
> 
> -- 
> -Eric 'shubes'
> 
> 
> -
> Qmailtoaster is sponsored by Vickers Consulting Group 
> (www.vickersconsulting.com)
>   Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
> -
>Please visit qmailtoaster.com for the latest news, updates, and packages.
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 
> 


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert

petrus wrote:

qtp-whatami returns
qtp-whatami v0.3.6
DISTRO=Fedora
OSVER=11
QTARCH=i686
QTKERN=2.6.30.10-105.2.23.fc11.i586
BUILD_DIST=fedora_11
BUILD_DIR=/root/rpmbuild
This machine's OS is supported and has been tested

so using fedora_11, still produces the same error.
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)


So we need to find out why that patch is failing on fedora.

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
qtp-whatami returns
qtp-whatami v0.3.6
DISTRO=Fedora
OSVER=11
QTARCH=i686
QTKERN=2.6.30.10-105.2.23.fc11.i586
BUILD_DIST=fedora_11
BUILD_DIR=/root/rpmbuild
This machine's OS is supported and has been tested

so using fedora_11, still produces the same error.
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.djCRZE (%prep)






On Wed, Oct 6, 2010 at 5:33 PM, Eric Shubert  wrote:

> What does qtp-whatami show you?
> Try:
> rpmbuild --rebuild --with fedora_11 clamav-toaster...
> (not fc11)
>
>
> petrus wrote:
>
>> Im not all that experienced with running src rpm's, i just downloaded the
>> srpm and did
>> r...@fury:~> rpmbuild --rebuild --with fc11
>> clamav-toaster-0.96.3-1.3.38.src.rpm
>> Installing clamav-toaster-0.96.3-1.3.38.src.rpm
>> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a6cgpY
>> + umask 022
>> + cd /root/rpmbuild/BUILD
>> + LANG=C
>> + export LANG
>> + unset DISPLAY
>> + cd /root/rpmbuild/BUILD
>> + rm -rf clamav-0.96.3
>> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
>> + /bin/tar -xf -
>> + STATUS=0
>> + '[' 0 -ne 0 ']'
>> + cd clamav-0.96.3
>> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
>> + echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
>> Patch #0 (clamav-0.96.0.patch.bz2):
>> + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
>> + /usr/bin/patch -s -p1 --fuzz=0
>> 1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
>> error: Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)
>>
>>
>> RPM build errors:
>>Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)
>>
>> As stated im a bit outside my competence zone here, but looking at the
>> clamav-0.96.0-patch
>> shouldnt I have a clamav-0.96.0.vanilla/etc/clamd.conf somewhere?
>> Cause i cant find that anywhere on my system..
>>
>>
>>
>>
>
> --
> -Eric 'shubes'
>
>
>
> -
> Qmailtoaster is sponsored by Vickers Consulting Group (
> www.vickersconsulting.com)
>   Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
>
> -
>Please visit qmailtoaster.com for the latest news, updates, and
> packages.
> To unsubscribe, e-mail:
> qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail:
> qmailtoaster-list-h...@qmailtoaster.com
>
>
>


[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert

What does qtp-whatami show you?
Try:
rpmbuild --rebuild --with fedora_11 clamav-toaster...
(not fc11)

petrus wrote:
Im not all that experienced with running src rpm's, i just downloaded 
the srpm and did
r...@fury:~> rpmbuild --rebuild --with fc11 
clamav-toaster-0.96.3-1.3.38.src.rpm

Installing clamav-toaster-0.96.3-1.3.38.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a6cgpY
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.96.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)

As stated im a bit outside my competence zone here, but looking at the 
clamav-0.96.0-patch

shouldnt I have a clamav-0.96.0.vanilla/etc/clamd.conf somewhere?
Cause i cant find that anywhere on my system..






--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
Im not all that experienced with running src rpm's, i just downloaded the
srpm and did
r...@fury:~> rpmbuild --rebuild --with fc11
clamav-toaster-0.96.3-1.3.38.src.rpm
Installing clamav-toaster-0.96.3-1.3.38.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a6cgpY
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.96.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.a6cgpY (%prep)

As stated im a bit outside my competence zone here, but looking at the
clamav-0.96.0-patch
shouldnt I have a clamav-0.96.0.vanilla/etc/clamd.conf somewhere?
Cause i cant find that anywhere on my system..


[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert

petrus wrote:



On Wed, Oct 6, 2010 at 4:22 PM, Eric Shubert > wrote:

[..]

 




What does qtp-ami-up2date show you?


~> qtp-ami-up2date
New Qmail-Toaster Packages Available:
 available: squirrelmail-toaster-1.4.20-1.3.17
(installed: squirrelmail-toaster-1.4.19-1.3.15.noarch)
 available: clamav-toaster-0.96.3-1.3.38
(installed: clamav-toaster-0.95.3-1.3.31.i686)




If you're in a hurry, you could do them manually.

I'm glad to know the error isn't unionfs related. You might have the 
same problem upgrading manually, in which case we really need to find 
out what the problem is. Perhaps there's a problem the more recent 
clamav-toaster packages on all fedora versions.


Let us know if you find out anything w/ a manual build.

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
On Wed, Oct 6, 2010 at 4:22 PM, Eric Shubert  wrote:
[..]

>
>>
>
>
> What does qtp-ami-up2date show you?
>
>
> ~> qtp-ami-up2date
New Qmail-Toaster Packages Available:
 available: squirrelmail-toaster-1.4.20-1.3.17
(installed: squirrelmail-toaster-1.4.19-1.3.15.noarch)
 available: clamav-toaster-0.96.3-1.3.38
(installed: clamav-toaster-0.95.3-1.3.31.i686)


[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread Eric Shubert

petrus wrote:



On Tue, Oct 5, 2010 at 5:09 PM, Eric Shubert > wrote:

[..]




I've seen this problem as well while testing, but haven't had a
chance to develop a fix. I think it has to do with the unionfs
sandbox. Try a linked sandbox, and I think that'll work for you. To
be honest, I don't want to waste any time debugging F11. Thanks for
your understanding.

-- 
-Eric 'shubes'



Unfortunately it seems not to have anything todo with the unionfs 
sandbox, since I get the same problem with all different versions of the 
sandbox.
 I understand your reasoning behind not debugging F11, ill just keep it 
until i can migrate it to something never as the encrypted bootsection 
makes upgrading fedora risky.

Are there any alternative ways of uppgrading that i could try?

/p
 


What does qtp-ami-up2date show you?

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-06 Thread petrus
On Tue, Oct 5, 2010 at 5:09 PM, Eric Shubert  wrote:
[..]

>
>>
>
> I've seen this problem as well while testing, but haven't had a chance to
> develop a fix. I think it has to do with the unionfs sandbox. Try a linked
> sandbox, and I think that'll work for you. To be honest, I don't want to
> waste any time debugging F11. Thanks for your understanding.
>
> --
> -Eric 'shubes'
>

Unfortunately it seems not to have anything todo with the unionfs sandbox,
since I get the same problem with all different versions of the sandbox.
 I understand your reasoning behind not debugging F11, ill just keep it
until i can migrate it to something never as the encrypted bootsection makes
upgrading fedora risky.
Are there any alternative ways of uppgrading that i could try?

/p


[qmailtoaster] Re: Problem using qtp-newmodel on fedora 11

2010-10-05 Thread Eric Shubert

petrus wrote:

Hello

Im trying to do a long overdue update on my qmail-toaster using 
qmail-newmodel

However this fails with these messages

Building clamav-toaster-0.96.3-1.3.38 ...
Installing /usr/src/qtp-upgrade/SRPMS/clamav-toaster-0.96.3-1.3.38.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnyHRi
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.96.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.96.0.patch.bz2):'
Patch #0 (clamav-0.96.0.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.96.0.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 8 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.vnyHRi (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.vnyHRi (%prep)


/mnt/qtp-sandbox/root/rpmbuild/BUILD/clamav-0.96.3/etc/clamd.conf.rej
--- etc/clamd.conf2010-03-31 08:17:12.0 -0400
+++ etc/clamd.conf2010-04-09 01:34:54.0 -0400
@@ -49,7 +49,7 @@
 
 # Enable verbose logging.

 # Default: no
-#LogVerbose yes
+LogVerbose yes
 
 # This option allows you to save a process identifier of the listening

 # daemon (main thread).

Any ideas?



I've seen this problem as well while testing, but haven't had a chance 
to develop a fix. I think it has to do with the unionfs sandbox. Try a 
linked sandbox, and I think that'll work for you. To be honest, I don't 
want to waste any time debugging F11. Thanks for your understanding.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com