* CPV: net-analyzer/midas-nms-2.2f-r1 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU vhosts x86 >>> Unpacking source... >>> Unpacking MIDAS-2.2f.tar.gz to /var/tmp/portage/net-analyzer/midas-nms-2.2f-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/midas-nms-2.2f-r1/work >>> Compiling source in /var/tmp/portage/net-analyzer/midas-nms-2.2f-r1/work/MIDAS-2.2f ... ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/midas-nms configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking whether ln -s works... yes checking for uname... /usr/bin/uname checking for cut... /usr/bin/cut Operating system : linux checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking for "/usr/lib/libmysqlclient.so"... yes checking for "/usr/lib/mysql/libmysqlclient.so"... yes checking for "/usr/local/mysql/libmysqlclient.so"... no checking for "/usr/local/mysql/lib/libmysqlclient.so"... no checking for "/usr/local/mysql/lib/mysql/libmysqlclient.so"... no MySQL Library path : /usr/lib/mysql checking for mysql_init in -lmysqlclient... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for /usr/lib/libpcap.a... yes PCAP Library path : /usr/lib checking for pcap_open_live in -lpcap... yes checking for getloadavg... yes checking for atoll... yes checking for strsep... yes checking for gettimeofday... yes Make targets : MIDASs MIDASa MIDASb MIDASc MIDASd MIDASn Building MIDAS/inc/version.php configure: creating ./config.status config.status: creating Makefile make -j14 gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/DString/DString.o -c Common/DString/DString.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Util/util.o -c Common/Util/util.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Socket/Socket.o -c Common/Socket/Socket.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/XMLparser/XMLparser.o -c Common/XMLparser/XMLparser.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/md5/md5.o -c Common/md5/md5.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASs/MIDASs.o -c MIDASs/MIDASs.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASs/snort.o -c MIDASs/snort.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Forker/forker.o -c Common/Forker/forker.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Client/client.o -c Common/Client/client.c Common/DString/DString.c: In function ‘dstradvance’: Common/DString/DString.c:103:4: warning: value computed is not used Common/DString/DString.c: In function ‘dsubstrreplace’: Common/DString/DString.c:433:6: warning: value computed is not used gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Base64/Base64.o -c Common/Base64/Base64.c Common/md5/md5.c: In function ‘MD5String’: Common/md5/md5.c:293:3: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness Common/md5/md5.c:112:6: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Crypt/Crypt.o -c Common/Crypt/Crypt.c Common/Util/util.c: In function ‘MyDebug’: Common/Util/util.c:397:5: warning: format not a string literal and no format arguments gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/Crypt/twofish.o -c Common/Crypt/twofish.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASa/MIDASa.o -c MIDASa/MIDASa.c Common/Base64/Base64.c: In function ‘Base64Enc’: Common/Base64/Base64.c:87:17: warning: pointer targets in passing argument 2 of ‘dstrcat’ differ in signedness Common/Base64/../DString/DString.h:33:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/Base64/Base64.c: In function ‘Base64Dec’: Common/Base64/Base64.c:116:3: warning: pointer targets in passing argument 1 of ‘dstrlen’ differ in signedness Common/Base64/../DString/DString.h:38:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/Base64/Base64.c:116:3: warning: pointer targets in passing argument 1 of ‘drealloc’ differ in signedness Common/Base64/../DString/DString.h:35:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/Base64/Base64.c:116:11: warning: pointer targets in assignment differ in signedness Common/Base64/Base64.c:119:3: warning: pointer targets in passing argument 1 of ‘dstrlen’ differ in signedness Common/Base64/../DString/DString.h:38:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/Base64/Base64.c:167:17: warning: pointer targets in assignment differ in signedness gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASa/smtp.o -c MIDASa/smtp.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASa/snpp.o -c MIDASa/snpp.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/MySQL-Abstract/mysqldb.o -c Common/MySQL-Abstract/mysqldb.c Common/Crypt/Crypt.c: In function ‘Encrypt’: Common/Crypt/Crypt.c:86:5: warning: pointer targets in passing argument 3 of ‘blockEncrypt’ differ in signedness Common/Crypt/aes.h:128:5: note: expected ‘BYTE *’ but argument is of type ‘char *’ Common/Crypt/Crypt.c:86:5: warning: pointer targets in passing argument 5 of ‘blockEncrypt’ differ in signedness Common/Crypt/aes.h:128:5: note: expected ‘BYTE *’ but argument is of type ‘char *’ Common/Crypt/Crypt.c:90:6: warning: pointer targets in passing argument 1 of ‘Base64Enc’ differ in signedness Common/Crypt/../Base64/Base64.h:35:8: note: expected ‘unsigned char *’ but argument is of type ‘char *’ Common/Crypt/Crypt.c: In function ‘Decrypt’: Common/Crypt/Crypt.c:126:3: warning: pointer targets in passing argument 1 of ‘Base64Dec’ differ in signedness Common/Crypt/../Base64/Base64.h:36:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ Common/Crypt/Crypt.c:146:7: warning: pointer targets in passing argument 3 of ‘blockDecrypt’ differ in signedness Common/Crypt/aes.h:131:5: note: expected ‘BYTE *’ but argument is of type ‘char *’ Common/Crypt/Crypt.c:146:7: warning: pointer targets in passing argument 5 of ‘blockDecrypt’ differ in signedness Common/Crypt/aes.h:131:5: note: expected ‘BYTE *’ but argument is of type ‘char *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASb/MIDASb.o -c MIDASb/MIDASb.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/client.o -c MIDASc/client.c MIDASs/snort.c: In function ‘Snort_BuildConfig’: MIDASs/snort.c:436:6: warning: pointer targets in passing argument 1 of ‘Base64Dec’ differ in signedness MIDASs/../Common/Base64/Base64.h:36:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/MIDASc.o -c MIDASc/MIDASc.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/processchecks.o -c MIDASc/processchecks.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/check_network.o -c MIDASc/check_network.c Common/MySQL-Abstract/mysqldb.c: In function ‘dbClose’: Common/MySQL-Abstract/mysqldb.c:189:5: warning: the address of ‘mysql’ will always evaluate as ‘true’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/check_local.o -c MIDASc/check_local.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASc/check_external.o -c MIDASc/check_external.c MIDASb/MIDASb.c: In function ‘StartServer’: MIDASb/MIDASb.c:172:40: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness /usr/include/sys/socket.h:214:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/ping/ping.o -c Common/ping/ping.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/SNMP/snmp.o -c Common/SNMP/snmp.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASd/server.o -c MIDASd/server.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASd/MIDASd.o -c MIDASd/MIDASd.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASd/maint.o -c MIDASd/maint.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASd/processclient.o -c MIDASd/processclient.c MIDASc/check_network.c: In function ‘Check_Network_TCP’: MIDASc/check_network.c:147:6: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness /usr/include/sys/socket.h:190:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASd/alert.o -c MIDASd/alert.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o Common/rrd/rrd.o -c Common/rrd/rrd.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASn/MIDASn.o -c MIDASn/MIDASn.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASn/stats.o -c MIDASn/stats.c gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASn/stats_ports.o -c MIDASn/stats_ports.c MIDASd/server.c: In function ‘StartServer’: MIDASd/server.c:93:40: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness /usr/include/sys/socket.h:214:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’ Common/SNMP/snmp.c: In function ‘GetSNMPResponse’: Common/SNMP/snmp.c:134:2: warning: pointer targets in passing argument 1 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:134:2: warning: pointer targets in passing argument 2 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:135:2: warning: pointer targets in passing argument 1 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:137:2: warning: pointer targets in passing argument 1 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:137:2: warning: pointer targets in passing argument 2 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:139:2: warning: pointer targets in passing argument 1 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:141:2: warning: pointer targets in passing argument 1 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:141:2: warning: pointer targets in passing argument 2 of ‘AddToBuff’ differ in signedness Common/SNMP/../SNMP/snmp.h:36:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:173:56: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness /usr/include/sys/socket.h:166:16: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’ Common/SNMP/snmp.c:177:6: warning: pointer targets in passing argument 1 of ‘FindSNMPValue’ differ in signedness Common/SNMP/../SNMP/snmp.h:38:8: note: expected ‘u_char *’ but argument is of type ‘char *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASn/stats_mac.o -c MIDASn/stats_mac.c Common/SNMP/snmp.c: In function ‘FindSNMPValue’: Common/SNMP/snmp.c:350:6: warning: pointer targets in passing argument 1 of ‘SNMP_Numeric’ differ in signedness Common/SNMP/../SNMP/snmp.h:40:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:369:6: warning: pointer targets in passing argument 2 of ‘dstrncpy’ differ in signedness Common/SNMP/../DString/DString.h:37:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ Common/SNMP/snmp.c:388:6: warning: pointer targets in passing argument 1 of ‘SNMP_IpAddr’ differ in signedness Common/SNMP/../SNMP/snmp.h:41:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’ gcc -Wall -DMIDASVER=\"2.2f\" -DHAVEMYSQL -DHAVEPCAP -DAPPROOT=\"/usr\" -o MIDASn/stats_session.o -c MIDASn/stats_session.c MIDASd/processclient.c: In function ‘ReturnSnortConfig’: MIDASd/processclient.c:711:2: warning: pointer targets in passing argument 1 of ‘Base64Enc’ differ in signedness MIDASd/../Common/Base64/Base64.h:35:8: note: expected ‘unsigned char *’ but argument is of type ‘char *’ gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASs/MIDASs.o MIDASs/snort.o Common/Forker/forker.o Common/Client/client.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -o MIDASs/MIDASs gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASa/MIDASa.o MIDASa/smtp.o MIDASa/snpp.o Common/MySQL-Abstract/mysqldb.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -L/usr/lib/mysql -lmysqlclient -lz -o MIDASa/MIDASa gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASb/MIDASb.o Common/Forker/forker.o Common/Client/client.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -o MIDASb/MIDASb gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASc/client.o MIDASc/MIDASc.o MIDASc/processchecks.o MIDASc/check_network.o MIDASc/check_local.o MIDASc/check_external.o Common/Forker/forker.o Common/ping/ping.o Common/SNMP/snmp.o Common/Client/client.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -o MIDASc/MIDASc gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASn/MIDASn.o MIDASn/stats.o MIDASn/stats_ports.o MIDASn/stats_mac.o MIDASn/stats_session.o Common/Forker/forker.o Common/Client/client.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -L/usr/lib -lpcap -o MIDASn/MIDASn gcc Common/DString/DString.o Common/Util/util.o Common/Socket/Socket.o Common/XMLparser/XMLparser.o Common/md5/md5.o MIDASd/server.o MIDASd/MIDASd.o MIDASd/maint.o MIDASd/processclient.o Common/MySQL-Abstract/mysqldb.o MIDASd/alert.o Common/rrd/rrd.o Common/Forker/forker.o Common/Base64/Base64.o Common/Crypt/Crypt.o Common/Crypt/twofish.o -L/usr/lib/mysql -lmysqlclient -lz -o MIDASd/MIDASd >>> Source compiled. >>> Test phase [none]: net-analyzer/midas-nms-2.2f-r1 >>> Install midas-nms-2.2f-r1 into /var/tmp/portage/net-analyzer/midas-nms-2.2f-r1/image/ category net-analyzer install: cannot stat `/usr/share/midas-nms/sql/': No such file or directory !!! doins: /usr/share/midas-nms/sql/ does not exist install: cannot stat `/usr/share/webapps/midas-nms/2.2f-r1/htdocs': No such file or directory !!! doins: /usr/share/webapps/midas-nms/2.2f-r1/htdocs does not exist * (server owned) htdocs >>> Completed installing midas-nms-2.2f-r1 into /var/tmp/portage/net-analyzer/midas-nms-2.2f-r1/image/ * QA Notice: file does not exist: * * doins: /usr/share/midas-nms/sql/ does not exist * doins: /usr/share/webapps/midas-nms/2.2f-r1/htdocs does not exist strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/bin/MIDASd usr/bin/MIDASa usr/bin/MIDASn usr/bin/MIDASc usr/bin/MIDASs usr/bin/MIDASb  * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/bin/MIDASd * /usr/bin/MIDASa * /usr/bin/MIDASn * /usr/bin/MIDASc * /usr/bin/MIDASs * /usr/bin/MIDASb  * * The 'vhosts' USE flag is switched ON * This means that Portage will not automatically run webapp-config to * complete the installation. * * To install midas-nms-2.2f-r1 into a virtual host, run the following command: * * webapp-config -I -h -d midas-nms midas-nms 2.2f-r1 * * For more details, see the webapp-config(8) man page * * To install the web interface setup the app and copy * /var/cache/portage/tree-tinderbox/net-analyzer/midas-nms/files/install.php to (adapt to your install root): * http://localhost/midas-nms/install/install.php * * The conf files are located in /usr/etc/MIDAS*.cf.dist * Please read INSTALL.txt for more info. * * To use the sniffer and IDS you need install snort too. * * Gentoo contact information ... herds: no-herd maintainers: bass@gentoo.org