Discussion:
[users] incron-0.5.9 doesn't build on el6
Paul Evans
2011-03-05 20:30:53 UTC
Permalink
I saw there was a build log, but no package for incron el6 at
http://packages.sw.be/incron/_buildlogs/ -- I should have read it.

Instead I grabbed the source and tried to compile it.

I got lots of this at first:

icd-main.cpp:303: error: 'stderr' was not declared in this scope
icd-main.cpp:303: error: 'fprintf' was not declared in this scope

which I would have seen in the build log, if I had read it...

I got past that by adding an include for stdio.h here and there, but then hit:

incroncfg.cpp:184: error: invalid conversion from ?const char*? to ?char*?

Which looks like someone trying to go backwards from a const, but I'm not a
c/++ guy at all. I think it needs to either come out or be cast as char?? I'm
sorry, but that's as far as I can get with it.

It's more than too bad, because this seems like the only useful thing to use
to be able to replace the much-maligned dnotify that I am using on my old el4
box. I'm kinda hosed without it for one site.

Any chance of someone having a look at the code? I'm hoping it's just a small
amount of bit rot that an experienced cpp guy can fix without much bother, but
I'm too ignorant to know for sure.

Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoforge.org/pipermail/users/attachments/20110305/b308bf49/attachment.html
Yury V. Zaytsev
2011-03-06 12:43:52 UTC
Permalink
Hi!
Post by Paul Evans
Any chance of someone having a look at the code? I'm hoping it's just
a small amount of bit rot that an experienced cpp guy can fix without
much bother, but I'm too ignorant to know for sure.
As you noted correctly the problem is that newer gcc doesn't feel like
compiling broken code anymore. However, SL6 got out just few days ago
and CentOS 6 is not there yet, so I can't see how I can fix it without
being able to test my changes.

Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-07 18:22:16 UTC
Permalink
Post by Yury V. Zaytsev
Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
Thanks Yury. I found this patch in git over at Fedora:
http://tinyurl.com/6dmshl9

It adds cstdio and looks like it addresses the const char problem.
Yury V. Zaytsev
2011-03-07 19:46:38 UTC
Permalink
Post by Paul Evans
http://tinyurl.com/6dmshl9
It adds cstdio and looks like it addresses the const char problem.
Hi Paul!

Thanks; I have updated the SPEC, hopefully it would work now.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-07 19:57:30 UTC
Permalink
Post by Yury V. Zaytsev
Thanks; I have updated the SPEC, hopefully it would work now.
Wow, that was fast! Thanks very much Yury :-)

What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Yury V. Zaytsev
2011-03-08 17:18:53 UTC
Permalink
Post by Paul Evans
What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Dag :-)
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-10 00:34:29 UTC
Permalink
Post by Yury V. Zaytsev
Dag :-)
Ah. OK :-)

Just to follow up and finish this thread, I made the changes to my copy of the
src and it compiled and installed fine. I snagged Dag's init script out of the
el5 rpm and all is well. Seems to work fine on el6.

My box has 2.6.32-71.18.1.el6.x86_64

Paul
Paul Evans
2011-03-10 00:34:29 UTC
Permalink
Post by Yury V. Zaytsev
Dag :-)
Ah. OK :-)

Just to follow up and finish this thread, I made the changes to my copy of the
src and it compiled and installed fine. I snagged Dag's init script out of the
el5 rpm and all is well. Seems to work fine on el6.

My box has 2.6.32-71.18.1.el6.x86_64

Paul
Paul Evans
2011-03-10 00:34:29 UTC
Permalink
Post by Yury V. Zaytsev
Dag :-)
Ah. OK :-)

Just to follow up and finish this thread, I made the changes to my copy of the
src and it compiled and installed fine. I snagged Dag's init script out of the
el5 rpm and all is well. Seems to work fine on el6.

My box has 2.6.32-71.18.1.el6.x86_64

Paul
Paul Evans
2011-03-10 00:34:29 UTC
Permalink
Post by Yury V. Zaytsev
Dag :-)
Ah. OK :-)

Just to follow up and finish this thread, I made the changes to my copy of the
src and it compiled and installed fine. I snagged Dag's init script out of the
el5 rpm and all is well. Seems to work fine on el6.

My box has 2.6.32-71.18.1.el6.x86_64

Paul
Paul Evans
2011-03-10 00:34:29 UTC
Permalink
Post by Yury V. Zaytsev
Dag :-)
Ah. OK :-)

Just to follow up and finish this thread, I made the changes to my copy of the
src and it compiled and installed fine. I snagged Dag's init script out of the
el5 rpm and all is well. Seems to work fine on el6.

My box has 2.6.32-71.18.1.el6.x86_64

Paul

Yury V. Zaytsev
2011-03-08 17:18:53 UTC
Permalink
Post by Paul Evans
What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Dag :-)
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-08 17:18:53 UTC
Permalink
Post by Paul Evans
What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Dag :-)
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-08 17:18:53 UTC
Permalink
Post by Paul Evans
What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Dag :-)
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-08 17:18:53 UTC
Permalink
Post by Paul Evans
What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Dag :-)
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-07 19:57:30 UTC
Permalink
Post by Yury V. Zaytsev
Thanks; I have updated the SPEC, hopefully it would work now.
Wow, that was fast! Thanks very much Yury :-)

What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Paul Evans
2011-03-07 19:57:30 UTC
Permalink
Post by Yury V. Zaytsev
Thanks; I have updated the SPEC, hopefully it would work now.
Wow, that was fast! Thanks very much Yury :-)

What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Paul Evans
2011-03-07 19:57:30 UTC
Permalink
Post by Yury V. Zaytsev
Thanks; I have updated the SPEC, hopefully it would work now.
Wow, that was fast! Thanks very much Yury :-)

What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Paul Evans
2011-03-07 19:57:30 UTC
Permalink
Post by Yury V. Zaytsev
Thanks; I have updated the SPEC, hopefully it would work now.
Wow, that was fast! Thanks very much Yury :-)

What will trigger a build at http://packages.sw.be/incron/ ?
I will watch it.
Yury V. Zaytsev
2011-03-07 19:46:38 UTC
Permalink
Post by Paul Evans
http://tinyurl.com/6dmshl9
It adds cstdio and looks like it addresses the const char problem.
Hi Paul!

Thanks; I have updated the SPEC, hopefully it would work now.
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-07 19:46:38 UTC
Permalink
Post by Paul Evans
http://tinyurl.com/6dmshl9
It adds cstdio and looks like it addresses the const char problem.
Hi Paul!

Thanks; I have updated the SPEC, hopefully it would work now.
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-07 19:46:38 UTC
Permalink
Post by Paul Evans
http://tinyurl.com/6dmshl9
It adds cstdio and looks like it addresses the const char problem.
Hi Paul!

Thanks; I have updated the SPEC, hopefully it would work now.
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-03-07 19:46:38 UTC
Permalink
Post by Paul Evans
http://tinyurl.com/6dmshl9
It adds cstdio and looks like it addresses the const char problem.
Hi Paul!

Thanks; I have updated the SPEC, hopefully it would work now.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-07 18:22:16 UTC
Permalink
Post by Yury V. Zaytsev
Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
Thanks Yury. I found this patch in git over at Fedora:
http://tinyurl.com/6dmshl9

It adds cstdio and looks like it addresses the const char problem.
Paul Evans
2011-03-07 18:22:16 UTC
Permalink
Post by Yury V. Zaytsev
Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
Thanks Yury. I found this patch in git over at Fedora:
http://tinyurl.com/6dmshl9

It adds cstdio and looks like it addresses the const char problem.
Paul Evans
2011-03-07 18:22:16 UTC
Permalink
Post by Yury V. Zaytsev
Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
Thanks Yury. I found this patch in git over at Fedora:
http://tinyurl.com/6dmshl9

It adds cstdio and looks like it addresses the const char problem.
Paul Evans
2011-03-07 18:22:16 UTC
Permalink
Post by Yury V. Zaytsev
Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
Thanks Yury. I found this patch in git over at Fedora:
http://tinyurl.com/6dmshl9

It adds cstdio and looks like it addresses the const char problem.
Paul Evans
2011-03-05 20:30:53 UTC
Permalink
I saw there was a build log, but no package for incron el6 at
http://packages.sw.be/incron/_buildlogs/ -- I should have read it.

Instead I grabbed the source and tried to compile it.

I got lots of this at first:

icd-main.cpp:303: error: 'stderr' was not declared in this scope
icd-main.cpp:303: error: 'fprintf' was not declared in this scope

which I would have seen in the build log, if I had read it...

I got past that by adding an include for stdio.h here and there, but then hit:

incroncfg.cpp:184: error: invalid conversion from ?const char*? to ?char*?

Which looks like someone trying to go backwards from a const, but I'm not a
c/++ guy at all. I think it needs to either come out or be cast as char?? I'm
sorry, but that's as far as I can get with it.

It's more than too bad, because this seems like the only useful thing to use
to be able to replace the much-maligned dnotify that I am using on my old el4
box. I'm kinda hosed without it for one site.

Any chance of someone having a look at the code? I'm hoping it's just a small
amount of bit rot that an experienced cpp guy can fix without much bother, but
I'm too ignorant to know for sure.

Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoforge.org/pipermail/users/attachments/20110305/b308bf49/attachment-0001.html
Yury V. Zaytsev
2011-03-06 12:43:52 UTC
Permalink
Hi!
Post by Paul Evans
Any chance of someone having a look at the code? I'm hoping it's just
a small amount of bit rot that an experienced cpp guy can fix without
much bother, but I'm too ignorant to know for sure.
As you noted correctly the problem is that newer gcc doesn't feel like
compiling broken code anymore. However, SL6 got out just few days ago
and CentOS 6 is not there yet, so I can't see how I can fix it without
being able to test my changes.

Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-05 20:30:53 UTC
Permalink
I saw there was a build log, but no package for incron el6 at
http://packages.sw.be/incron/_buildlogs/ -- I should have read it.

Instead I grabbed the source and tried to compile it.

I got lots of this at first:

icd-main.cpp:303: error: 'stderr' was not declared in this scope
icd-main.cpp:303: error: 'fprintf' was not declared in this scope

which I would have seen in the build log, if I had read it...

I got past that by adding an include for stdio.h here and there, but then hit:

incroncfg.cpp:184: error: invalid conversion from ?const char*? to ?char*?

Which looks like someone trying to go backwards from a const, but I'm not a
c/++ guy at all. I think it needs to either come out or be cast as char?? I'm
sorry, but that's as far as I can get with it.

It's more than too bad, because this seems like the only useful thing to use
to be able to replace the much-maligned dnotify that I am using on my old el4
box. I'm kinda hosed without it for one site.

Any chance of someone having a look at the code? I'm hoping it's just a small
amount of bit rot that an experienced cpp guy can fix without much bother, but
I'm too ignorant to know for sure.

Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoforge.org/pipermail/users/attachments/20110305/b308bf49/attachment-0002.html
Yury V. Zaytsev
2011-03-06 12:43:52 UTC
Permalink
Hi!
Post by Paul Evans
Any chance of someone having a look at the code? I'm hoping it's just
a small amount of bit rot that an experienced cpp guy can fix without
much bother, but I'm too ignorant to know for sure.
As you noted correctly the problem is that newer gcc doesn't feel like
compiling broken code anymore. However, SL6 got out just few days ago
and CentOS 6 is not there yet, so I can't see how I can fix it without
being able to test my changes.

Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-05 20:30:53 UTC
Permalink
I saw there was a build log, but no package for incron el6 at
http://packages.sw.be/incron/_buildlogs/ -- I should have read it.

Instead I grabbed the source and tried to compile it.

I got lots of this at first:

icd-main.cpp:303: error: 'stderr' was not declared in this scope
icd-main.cpp:303: error: 'fprintf' was not declared in this scope

which I would have seen in the build log, if I had read it...

I got past that by adding an include for stdio.h here and there, but then hit:

incroncfg.cpp:184: error: invalid conversion from ?const char*? to ?char*?

Which looks like someone trying to go backwards from a const, but I'm not a
c/++ guy at all. I think it needs to either come out or be cast as char?? I'm
sorry, but that's as far as I can get with it.

It's more than too bad, because this seems like the only useful thing to use
to be able to replace the much-maligned dnotify that I am using on my old el4
box. I'm kinda hosed without it for one site.

Any chance of someone having a look at the code? I'm hoping it's just a small
amount of bit rot that an experienced cpp guy can fix without much bother, but
I'm too ignorant to know for sure.

Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoforge.org/pipermail/users/attachments/20110305/b308bf49/attachment-0003.html
Yury V. Zaytsev
2011-03-06 12:43:52 UTC
Permalink
Hi!
Post by Paul Evans
Any chance of someone having a look at the code? I'm hoping it's just
a small amount of bit rot that an experienced cpp guy can fix without
much bother, but I'm too ignorant to know for sure.
As you noted correctly the problem is that newer gcc doesn't feel like
compiling broken code anymore. However, SL6 got out just few days ago
and CentOS 6 is not there yet, so I can't see how I can fix it without
being able to test my changes.

Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
--
Sincerely yours,
Yury V. Zaytsev
Paul Evans
2011-03-05 20:30:53 UTC
Permalink
I saw there was a build log, but no package for incron el6 at
http://packages.sw.be/incron/_buildlogs/ -- I should have read it.

Instead I grabbed the source and tried to compile it.

I got lots of this at first:

icd-main.cpp:303: error: 'stderr' was not declared in this scope
icd-main.cpp:303: error: 'fprintf' was not declared in this scope

which I would have seen in the build log, if I had read it...

I got past that by adding an include for stdio.h here and there, but then hit:

incroncfg.cpp:184: error: invalid conversion from ?const char*? to ?char*?

Which looks like someone trying to go backwards from a const, but I'm not a
c/++ guy at all. I think it needs to either come out or be cast as char?? I'm
sorry, but that's as far as I can get with it.

It's more than too bad, because this seems like the only useful thing to use
to be able to replace the much-maligned dnotify that I am using on my old el4
box. I'm kinda hosed without it for one site.

Any chance of someone having a look at the code? I'm hoping it's just a small
amount of bit rot that an experienced cpp guy can fix without much bother, but
I'm too ignorant to know for sure.

Regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.repoforge.org/pipermail/users/attachments/20110305/b308bf49/attachment-0004.html>
Yury V. Zaytsev
2011-03-06 12:43:52 UTC
Permalink
Hi!
Post by Paul Evans
Any chance of someone having a look at the code? I'm hoping it's just
a small amount of bit rot that an experienced cpp guy can fix without
much bother, but I'm too ignorant to know for sure.
As you noted correctly the problem is that newer gcc doesn't feel like
compiling broken code anymore. However, SL6 got out just few days ago
and CentOS 6 is not there yet, so I can't see how I can fix it without
being able to test my changes.

Hopefully if this package is in Fedora they might have come up with some
patches for it that I can steal... My time is very limited right now
though, so unless you check this out for me, I'm afraid it will take a
while.
--
Sincerely yours,
Yury V. Zaytsev
Loading...