* pmacct marked as SKIP during IPFire build @ 2021-07-15 10:58 Adolf Belka 2021-07-15 11:55 ` Michael Tremer 0 siblings, 1 reply; 7+ messages in thread From: Adolf Belka @ 2021-07-15 10:58 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 292 bytes --] Hi All, I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. What is the reason for this? Has there been some problem that needs to be fixed? Regards, Adolf. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 10:58 pmacct marked as SKIP during IPFire build Adolf Belka @ 2021-07-15 11:55 ` Michael Tremer 2021-07-15 12:53 ` Adolf Belka 0 siblings, 1 reply; 7+ messages in thread From: Michael Tremer @ 2021-07-15 11:55 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 672 bytes --] Hey, I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. Is there an update maybe? You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. Best, -Michael > On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: > > Hi All, > > I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. > > What is the reason for this? Has there been some problem that needs to be fixed? > > > Regards, > > Adolf. > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 11:55 ` Michael Tremer @ 2021-07-15 12:53 ` Adolf Belka 2021-07-15 16:10 ` Adolf Belka 0 siblings, 1 reply; 7+ messages in thread From: Adolf Belka @ 2021-07-15 12:53 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 1065 bytes --] Hi Michael, On 15/07/2021 13:55, Michael Tremer wrote: > Hey, > > I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. > > Is there an update maybe? I have had a look and there is an update for libcdada. Doesn't mention anything about problems with gcc in its changelog. Will give a go to testing with existing and also with the new libcdada version and see how it goes. > > You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. Will do so if I have any problems. Thanks for the info. Regards, Adolf. > > Best, > -Michael > >> On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >> >> Hi All, >> >> I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. >> >> What is the reason for this? Has there been some problem that needs to be fixed? >> >> >> Regards, >> >> Adolf. >> > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 12:53 ` Adolf Belka @ 2021-07-15 16:10 ` Adolf Belka 2021-07-15 16:40 ` Michael Tremer 0 siblings, 1 reply; 7+ messages in thread From: Adolf Belka @ 2021-07-15 16:10 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 2403 bytes --] Hi Michael, All, On 15/07/2021 14:53, Adolf Belka wrote: > Hi Michael, > > On 15/07/2021 13:55, Michael Tremer wrote: >> Hey, >> >> I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. >> >> Is there an update maybe? > I have had a look and there is an update for libcdada. Doesn't mention anything about problems with gcc in its changelog. > Will give a go to testing with existing and also with the new libcdada version and see how it goes. >> So I took out the SUP_ARCH lines and did a build with both libcdada-0.3.4 and libcdada-0.3.5 and got the same error with both. >> You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. The log for the 0.3.4 version is at the end of this email. There is a line about all warnings being treated as errors and searching on that it seems that might be a consequence of GCC 11. My internet search seemed to indicate that will happen with GCC 11 if you have Werror in the flags and that is present in both CFLAGS and CXXFLAGS. The suggestion in those posts I read was to remove the Werror entry from the two sets of flags but as I am not experienced with those types of things I thought I would ask here. The actual error or warning appears to be related to a variable that is being flagged that it might exceed the maximum object size. You can find the error message near the end of the log below. There were also a lot of warnings in the autogen.sh part of the build with obsolete macros being flagged up and suggestion to run autoupdate. I tried putting that after the autogen.sh line but it made no difference to the error that stopped the build, although it might be good to also have in place. Any suggestions for things to try out will be gladly welcomed. Regards, Adolf. > Will do so if I have any problems. > > Thanks for the info. > > Regards, > Adolf. >> >> Best, >> -Michael >> >>> On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >>> >>> Hi All, >>> >>> I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. >>> >>> What is the reason for this? Has there been some problem that needs to be fixed? >>> >>> >>> Regards, >>> >>> Adolf. >>> >> [-- Attachment #2: loglibcdada-0.3.4 --] [-- Type: application/x-troff-man, Size: 12946 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 16:10 ` Adolf Belka @ 2021-07-15 16:40 ` Michael Tremer 2021-07-15 17:48 ` Adolf Belka 0 siblings, 1 reply; 7+ messages in thread From: Michael Tremer @ 2021-07-15 16:40 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 2916 bytes --] Hello, This is just a warning that is being treated as an error. GCC seems to get the size calculation wrong, but it generally doesn’t look like good coding style. Could you try this patch? https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libcdada/files/libcdada-0.3.4-Werror.patch -Michael > On 15 Jul 2021, at 17:10, Adolf Belka <adolf.belka(a)ipfire.org> wrote: > > Hi Michael, All, > > On 15/07/2021 14:53, Adolf Belka wrote: >> Hi Michael, >> >> On 15/07/2021 13:55, Michael Tremer wrote: >>> Hey, >>> >>> I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. >>> >>> Is there an update maybe? >> I have had a look and there is an update for libcdada. Doesn't mention anything about problems with gcc in its changelog. >> Will give a go to testing with existing and also with the new libcdada version and see how it goes. >>> > So I took out the SUP_ARCH lines and did a build with both libcdada-0.3.4 and libcdada-0.3.5 and got the same error with both. >>> You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. > > The log for the 0.3.4 version is at the end of this email. > > There is a line about all warnings being treated as errors and searching on that it seems that might be a consequence of GCC 11. My internet search seemed to indicate that will happen with GCC 11 if you have Werror in the flags and that is present in both CFLAGS and CXXFLAGS. The suggestion in those posts I read was to remove the Werror entry from the two sets of flags but as I am not experienced with those types of things I thought I would ask here. > > The actual error or warning appears to be related to a variable that is being flagged that it might exceed the maximum object size. You can find the error message near the end of the log below. > > There were also a lot of warnings in the autogen.sh part of the build with obsolete macros being flagged up and suggestion to run autoupdate. I tried putting that after the autogen.sh line but it made no difference to the error that stopped the build, although it might be good to also have in place. > > Any suggestions for things to try out will be gladly welcomed. > > Regards, > > Adolf. > >> Will do so if I have any problems. >> >> Thanks for the info. >> >> Regards, >> Adolf. >>> >>> Best, >>> -Michael >>> >>>> On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >>>> >>>> Hi All, >>>> >>>> I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. >>>> >>>> What is the reason for this? Has there been some problem that needs to be fixed? >>>> >>>> >>>> Regards, >>>> >>>> Adolf. >>>> >>> > <log libcdada-0.3.4> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 16:40 ` Michael Tremer @ 2021-07-15 17:48 ` Adolf Belka 2021-07-19 11:28 ` Michael Tremer 0 siblings, 1 reply; 7+ messages in thread From: Adolf Belka @ 2021-07-15 17:48 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 3445 bytes --] Hi Michael, On 15/07/2021 18:40, Michael Tremer wrote: > Hello, > > This is just a warning that is being treated as an error. > > GCC seems to get the size calculation wrong, but it generally doesn’t look like good coding style. > > Could you try this patch? Tried it and it worked but then the build of pmacct stopped for the exact same error. > > https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libcdada/files/libcdada-0.3.4-Werror.patch Looked in gentoo for a pmacct werror patch and found one for 1.7.4 but the positioning is too far away from the lines in 1.7.6 for the patch to work. So I am creating a new patch that removes the Werror parts from the configure.ac in pmacct-1.7.6. Hopefully that should then work as it did for libcdada. Regards, Adolf. > > -Michael > >> On 15 Jul 2021, at 17:10, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >> >> Hi Michael, All, >> >> On 15/07/2021 14:53, Adolf Belka wrote: >>> Hi Michael, >>> >>> On 15/07/2021 13:55, Michael Tremer wrote: >>>> Hey, >>>> >>>> I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. >>>> >>>> Is there an update maybe? >>> I have had a look and there is an update for libcdada. Doesn't mention anything about problems with gcc in its changelog. >>> Will give a go to testing with existing and also with the new libcdada version and see how it goes. >>>> >> So I took out the SUP_ARCH lines and did a build with both libcdada-0.3.4 and libcdada-0.3.5 and got the same error with both. >>>> You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. >> >> The log for the 0.3.4 version is at the end of this email. >> >> There is a line about all warnings being treated as errors and searching on that it seems that might be a consequence of GCC 11. My internet search seemed to indicate that will happen with GCC 11 if you have Werror in the flags and that is present in both CFLAGS and CXXFLAGS. The suggestion in those posts I read was to remove the Werror entry from the two sets of flags but as I am not experienced with those types of things I thought I would ask here. >> >> The actual error or warning appears to be related to a variable that is being flagged that it might exceed the maximum object size. You can find the error message near the end of the log below. >> >> There were also a lot of warnings in the autogen.sh part of the build with obsolete macros being flagged up and suggestion to run autoupdate. I tried putting that after the autogen.sh line but it made no difference to the error that stopped the build, although it might be good to also have in place. >> >> Any suggestions for things to try out will be gladly welcomed. >> >> Regards, >> >> Adolf. >> >>> Will do so if I have any problems. >>> >>> Thanks for the info. >>> >>> Regards, >>> Adolf. >>>> >>>> Best, >>>> -Michael >>>> >>>>> On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >>>>> >>>>> Hi All, >>>>> >>>>> I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. >>>>> >>>>> What is the reason for this? Has there been some problem that needs to be fixed? >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Adolf. >>>>> >>>> >> <log libcdada-0.3.4> > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: pmacct marked as SKIP during IPFire build 2021-07-15 17:48 ` Adolf Belka @ 2021-07-19 11:28 ` Michael Tremer 0 siblings, 0 replies; 7+ messages in thread From: Michael Tremer @ 2021-07-19 11:28 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 3656 bytes --] Hello, Yes, this looks very good! -Michael > On 15 Jul 2021, at 18:48, Adolf Belka <adolf.belka(a)ipfire.org> wrote: > > Hi Michael, > > On 15/07/2021 18:40, Michael Tremer wrote: >> Hello, >> This is just a warning that is being treated as an error. >> GCC seems to get the size calculation wrong, but it generally doesn’t look like good coding style. >> Could you try this patch? > Tried it and it worked but then the build of pmacct stopped for the exact same error. >> https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libcdada/files/libcdada-0.3.4-Werror.patch > Looked in gentoo for a pmacct werror patch and found one for 1.7.4 but the positioning is too far away from the lines in 1.7.6 for the patch to work. So I am creating a new patch that removes the Werror parts from the configure.ac in pmacct-1.7.6. Hopefully that should then work as it did for libcdada. > > Regards, > Adolf. >> -Michael >>> On 15 Jul 2021, at 17:10, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >>> >>> Hi Michael, All, >>> >>> On 15/07/2021 14:53, Adolf Belka wrote: >>>> Hi Michael, >>>> >>>> On 15/07/2021 13:55, Michael Tremer wrote: >>>>> Hey, >>>>> >>>>> I am not the export here, but I believe this was disabled because libcdada does not build with GCC 11. >>>>> >>>>> Is there an update maybe? >>>> I have had a look and there is an update for libcdada. Doesn't mention anything about problems with gcc in its changelog. >>>> Will give a go to testing with existing and also with the new libcdada version and see how it goes. >>>>> >>> So I took out the SUP_ARCH lines and did a build with both libcdada-0.3.4 and libcdada-0.3.5 and got the same error with both. >>>>> You can just enable it again (remove the SUP_ARCHES line) and see what happens. Feel free to post the log here. >>> >>> The log for the 0.3.4 version is at the end of this email. >>> >>> There is a line about all warnings being treated as errors and searching on that it seems that might be a consequence of GCC 11. My internet search seemed to indicate that will happen with GCC 11 if you have Werror in the flags and that is present in both CFLAGS and CXXFLAGS. The suggestion in those posts I read was to remove the Werror entry from the two sets of flags but as I am not experienced with those types of things I thought I would ask here. >>> >>> The actual error or warning appears to be related to a variable that is being flagged that it might exceed the maximum object size. You can find the error message near the end of the log below. >>> >>> There were also a lot of warnings in the autogen.sh part of the build with obsolete macros being flagged up and suggestion to run autoupdate. I tried putting that after the autogen.sh line but it made no difference to the error that stopped the build, although it might be good to also have in place. >>> >>> Any suggestions for things to try out will be gladly welcomed. >>> >>> Regards, >>> >>> Adolf. >>> >>>> Will do so if I have any problems. >>>> >>>> Thanks for the info. >>>> >>>> Regards, >>>> Adolf. >>>>> >>>>> Best, >>>>> -Michael >>>>> >>>>>> On 15 Jul 2021, at 11:58, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >>>>>> >>>>>> Hi All, >>>>>> >>>>>> I have been doing some update builds and while doing that with "next" I noticed that pmacct and its dependency libcdada were both marked as SKIP and so didn't get built. >>>>>> >>>>>> What is the reason for this? Has there been some problem that needs to be fixed? >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Adolf. >>>>>> >>>>> >>> <log libcdada-0.3.4> ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-07-19 11:28 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-07-15 10:58 pmacct marked as SKIP during IPFire build Adolf Belka 2021-07-15 11:55 ` Michael Tremer 2021-07-15 12:53 ` Adolf Belka 2021-07-15 16:10 ` Adolf Belka 2021-07-15 16:40 ` Michael Tremer 2021-07-15 17:48 ` Adolf Belka 2021-07-19 11:28 ` Michael Tremer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox