Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621756 - www-apache/mod_evasive-1.10.1-r1 : mod_evasive.c:97:23: error: C++ style comments are not allowed in ISO C90
Summary: www-apache/mod_evasive-1.10.1-r1 : mod_evasive.c:97:23: error: C++ style comm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-14 17:48 UTC by Toralf Förster
Modified: 2017-08-11 15:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,8.69 KB, text/plain)
2017-06-14 17:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,209.10 KB, text/plain)
2017-06-14 17:48 UTC, Toralf Förster
Details
environment (environment,82.99 KB, text/plain)
2017-06-14 17:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.68 KB, application/x-bzip)
2017-06-14 17:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.76 KB, application/x-bzip)
2017-06-14 17:49 UTC, Toralf Förster
Details
www-apache:mod_evasive-1.10.1-r1:20170613-212042.log (www-apache:mod_evasive-1.10.1-r1:20170613-212042.log,10.43 KB, text/plain)
2017-06-14 17:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-14 17:48:45 UTC
>>> Compiling source in /var/tmp/portage/www-apache/mod_evasive-1.10.1-r1/work/mod_evasive ...
/usr/share/build-1/libtool --silent --mode=compile x86_64-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -march=native -Wall  -DLINUX -D_REENTRANT -D_GNU_SOURCE -DAP_DEBUG -pthread -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpointer-arith -std=c89 -Wdeclaration-after-statement -Wformat -Wformat-security -Wunused -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/db5.3  -c -o mod_evasive.lo mod_evasive.c && touch mod_evasive.slo
mod_evasive.c:97:23: error: C++ style comments are not allowed in ISO C90
 struct ntt *hit_list; // Our dynamic hash table
                       ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: plasma-systemd_libressl_20170609-232249

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-06-14 17:48:48 UTC
Created attachment 476338 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-14 17:48:50 UTC
Created attachment 476340 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-06-14 17:48:54 UTC
Created attachment 476342 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-06-14 17:48:57 UTC
Created attachment 476344 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-06-14 17:49:00 UTC
Created attachment 476346 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-14 17:49:03 UTC
Created attachment 476348 [details]
www-apache:mod_evasive-1.10.1-r1:20170613-212042.log
Comment 7 Michael Orlitzky gentoo-dev 2017-07-02 17:55:52 UTC
Removing the blocker for the same reason as in the other bug.. it's a USE=debug issue with apache, not something new with gcc-6.
Comment 8 Michael Orlitzky gentoo-dev 2017-08-11 15:29:45 UTC
Fixed in:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f36aaf184fd8aeb5387d51f22246179b6dd349c

Since the fix took place in the eclass, it will require a manual rebuild of apache (at least until new versions or revisions of apache appear).