Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 18:26:23 GMT
From:      Rainer Duffner <rainer@ultra-secure.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185863: ossec-hids-* ports don't build on FreeBSD 10 (clang related)
Message-ID:  <201401181826.s0IIQNY5001671@oldred.freebsd.org>
Resent-Message-ID: <201401181830.s0IIU0p1000621@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185863
>Category:       ports
>Synopsis:       ossec-hids-* ports don't build on FreeBSD 10 (clang related)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 18 18:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Duffner
>Release:        10.0RC5
>Organization:
>Environment:
FreeBSD bsd1-build-prod 10.0-RC5 FreeBSD 10.0-RC5 #0 r260430: Wed Jan  8 05:10:04 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
the ossec-hids-* ports assume that a gcc binary exists

see build-log below.
>How-To-Repeat:
===>  Cleaning for ossec-hids-client-2.7
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ossec-hids-client-2.7 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ossec-hids-client-2.7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  Found saved configuration for ossec-hids-client-2.7
===> Fetching all distfiles required by ossec-hids-client-2.7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  Found saved configuration for ossec-hids-client-2.7
===> Fetching all distfiles required by ossec-hids-client-2.7 for building
=> SHA256 Checksum OK for ossec-hids-2.7.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  Found saved configuration for ossec-hids-client-2.7
===> Fetching all distfiles required by ossec-hids-client-2.7 for building
===>  Extracting for ossec-hids-client-2.7
=> SHA256 Checksum OK for ossec-hids-2.7.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ossec-hids-client-2.7
===>  Applying FreeBSD patches for ossec-hids-client-2.7
===========================================================================
=======================<phase: build-depends  >============================
===>   ossec-hids-client-2.7 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_3.txz
Installing ccache-3.1.9_3...Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for clang
create symlink for clang (world)
create symlink for clang++
create symlink for clang++ (world)
 done
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.

You've chosen to create symlinks to the clang compiler binaries if they exist.
While it's known to be safe to build world with clang/ccache, it is not fully
supported yet. You have been warned.

You should define CCACHE_CPP2=1 in your /etc/make.conf until bug 8460 is fixed.

See:
	https://bugzilla.samba.org/show_bug.cgi?id=8460
	https://bugzilla.samba.org/show_bug.cgi?id=8118
===>   Returning to build of ossec-hids-client-2.7
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ossec-hids-client-2.7
===========================================================================
=======================<phase: build          >============================
===>  Building for ossec-hids-client-2.7
./Makeall: gcc: not found
./Makeall: ./isbigendian: not found
INFO: Little endian set.

 *** Making zlib (by Jean-loup Gailly and Mark Adler)  *** 
gcc -c -g -Wall -I../../ -I../../headers  -DCLIENT -DUSE_OPENSSL      -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c
gcc: not found
*** Error code 127

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/ossec-hids-client/work/ossec-hids-2.7/src/external/zlib-1.2.3
cp -pr zlib.h zconf.h ../../headers/
cp -pr libz.a ../
cp: libz.a: No such file or directory
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/ossec-hids-client/work/ossec-hids-2.7/src/external/zlib-1.2.3



 *** Making os_xml *** 

gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers  -DCLIENT -DUSE_OPENSSL      -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c os_xml_access.c os_xml_node_access.c os_xml_variables.c os_xml_writer.c
gcc: not found
*** Error code 127

Stop.
make[2]: stopped in /wrkdirs/usr/ports/security/ossec-hids-client/work/ossec-hids-2.7/src/os_xml

Error Making os_xml
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/ossec-hids-client/work/ossec-hids-2.7/src
*** Error code 1

Stop.
make: stopped in /usr/ports/security/ossec-hids-client
===>  Cleaning for ossec-hids-client-2.7
build of /usr/ports/security/ossec-hids-client ended at Sat Jan 18 17:58:13 CET 2014
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401181826.s0IIQNY5001671>