[Bug 192] New: 3.3.6 fails to compile with --disable-spoof-source
https://bugzilla.balabit.com/show_bug.cgi?id=192 Summary: 3.3.6 fails to compile with --disable-spoof-source Product: syslog-ng Version: 3.3.x Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: dreisner@archlinux.org Type of the Report: --- Estimated Hours: 0.0 Created an attachment (id=65) --> (https://bugzilla.balabit.com/attachment.cgi?id=65) fix build with --disable-spoof-source modules/afsocket/afinet.c misses some #ifdef protection of AFInetDestDriver.spoof_source, which leads to compilation failures with --disable-spoof-source. afinet.c: In function 'afinet_dd_init': afinet.c:545:11: error: 'AFInetDestDriver' has no member named 'spoof_source' mv -f .deps/libafsocket_notls_la-afsocket-plugin.Tpo .deps/libafsocket_notls_la-afsocket-plugin.Plo mv -f .deps/libafsocket_notls_la-afsocket-parser.Tpo .deps/libafsocket_notls_la-afsocket-parser.Plo make[4]: *** [libafsocket_notls_la-afinet.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... mv -f .deps/libafsocket_tls_la-afsocket-parser.Tpo .deps/libafsocket_tls_la-afsocket-parser.Plo afinet.c: In function 'afinet_dd_init': afinet.c:545:11: error: 'AFInetDestDriver' has no member named 'spoof_source' It looks like your public facing git repo isn't updated yet for the 3.3.x branch, so the attached patch is against the 3.3.6 tarball. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 Peter Czanik <czanik@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |czanik@balabit.hu --- Comment #1 from Peter Czanik <czanik@balabit.hu> 2012-09-02 08:19:43 --- FreeBSD seems to have the similar problem, see comments at http://www.freshports.org/sysutils/syslog-ng/ , and spoof source does not seem to work there. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.3.7 CC| |algernon@balabit.hu AssignedTo|bazsi@balabit.hu |algernon@balabit.hu --- Comment #2 from Gergely Nagy <algernon@balabit.hu> 2012-09-02 14:17:43 ---
It looks like your public facing git repo isn't updated yet for the 3.3.x branch
Which git repo were you looking at? The one on github (https://github.com/balabit/syslog-ng-3.3/) should be up to date, and that's the official one. The old one on git.balabit.hu is not being updated anymore. I'll check the patch, and the FreeBSD issue Peter mentioned too, both will be fixed by 3.3.7. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 --- Comment #3 from Dave Reisner <dreisner@archlinux.org> 2012-09-02 16:15:58 --- (In reply to comment #2)
It looks like your public facing git repo isn't updated yet for the 3.3.x branch
Which git repo were you looking at? The one on github (https://github.com/balabit/syslog-ng-3.3/) should be up to date, and that's the official one. The old one on git.balabit.hu is not being updated anymore.
I'll check the patch, and the FreeBSD issue Peter mentioned too, both will be fixed by 3.3.7.
Aha, I've been tracking git://git.balabit.hu/bazsi/syslog-ng-3.3.git. Thanks, I'll update my remote. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 --- Comment #4 from Gergely Nagy <algernon@balabit.hu> 2012-09-03 11:25:16 --- (In reply to comment #1)
FreeBSD seems to have the similar problem, see comments at http://www.freshports.org/sysutils/syslog-ng/ , and spoof source does not seem to work there.
Since that one's a different issue, I'll open a new bug about it, so it can be properly tracked. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=192 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution| |FIXED Status|ASSIGNED |RESOLVED --- Comment #5 from Gergely Nagy <algernon@balabit.hu> 2012-09-03 11:56:17 --- Applied the patch to 3.3 git master, it will be in 3.3.7. Thanks! -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com