Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2012 11:17:21 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        office@freebsd.org
Subject:   problem compiling libexttextcat
Message-ID:  <20602.55169.439710.498622@jerusalem.litteratus.org>

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

Hello:
	Whne trying to compile using the recent update, I get:

huff@>> portmaster libexttextcat-3.3.1/
portmaster: libexttextcat-3.3.1
===>>> Currently installed version: libexttextcat-3.3.1
===>>> Port directory: /usr/ports/textproc/libexttextcat

===>>> Launching 'make checksum' for textproc/libexttextcat in background
===>>> Gathering dependency list for textproc/libexttextcat from ports
===>>> Initial dependency check complete for textproc/libexttextcat

]0;portmaster: libexttextcat-3.3.1
===>>> Starting build for textproc/libexttextcat <<<===

===>>> All dependencies are up to date

===>  Cleaning for libexttextcat-3.3.1_1
===>  License BSD accepted by the user
===>  Found saved configuration for libexttextcat-3.3.1_1
===>  Extracting for libexttextcat-3.3.1_1
=> SHA256 Checksum OK for libexttextcat-3.3.1.tar.xz.
===>  Patching for libexttextcat-3.3.1_1
===>  Applying FreeBSD patches for libexttextcat-3.3.1_1
===>   libexttextcat-3.3.1_1 depends on executable: gmake - found
===>  Configuring for libexttextcat-3.3.1_1
===>   FreeBSD 10 autotools fix applied to /data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/configure
===>   FreeBSD 10 autotools fix applied to /data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/aclocal.m4
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether gmake supports nested variables... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang-cpp
checking whether ln -s works... yes
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
checking for strpbrk... yes
configure: creating ./config.status
config.status: creating libexttextcat.pc
config.status: creating Makefile
config.status: creating langclass/Makefile
config.status: creating langclass/LM/Makefile
config.status: creating langclass/ShortTexts/Makefile
config.status: creating src/Makefile
config.status: creating src/exttextcat-version.h
config.status: creating src/test-primary.sh
config.status: creating src/test-secondary.sh
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
==============================================================================
Build configuration:
        werror:          yes
==============================================================================

===>  Building for libexttextcat-3.3.1_1
Making all in src
gmake[1]: Entering directory `/data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/src'
gmake  all-am
gmake[2]: Entering directory `/data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/src'
  CC     common.lo
  CC     fingerprint.lo
  CC     textcat.lo
  CC     wg_mempool.lo
  CC     utf8misc.lo
  CCLD   libexttextcat-1.0.la
  CC     createfp.o
  CCLD   createfpx
clang: error: argument unused during compilation: '-g'
gmake[2]: *** [createfpx] Error 1
gmake[2]: Leaving directory `/data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/data/port-work/usr/ports/textproc/libexttextcat/work/libexttextcat-3.3.1/src'
gmake: *** [all-recursive] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/textproc/libexttextcat.
*** [build] Error code 1

Stop in /usr/ports/textproc/libexttextcat.

===>>> make failed for textproc/libexttextcat
===>>> Aborting update


	My system is:

FreeBSD 10.0-CURRENT #0: Tue Jul 24 08:55:46 EDT 2012  amd64 

	with a ports tree that is current as of midnight U.S. Eastern
time.  The make.conf is appended.
	What have I mucked up?

	Respectfully,


			Robert Huff



CFLAGS=			-O -pipe -g 
STRIP= 
SYMVER_ENABLED=	yes
X_WINDOW_SYSTEM=	xorg
HAVE_MOTIF=		yes

#FC="gfortran42"

KERNCONF=JERUSALEM

# To avoid building various parts of the base system:
#	(copied from /usr/share/examples/etc/make.conf

#NO_BOOT=       true    # do not build boot blocks and loader
#NO_CVS=        true    # do not build CVS
#NO_CXX=        true    # do not build C++ and friends
#NO_BIND=       true    # do not build BIND
NO_BIND_ETC=       true    # Do not install files to /etc/namedb
NO_BLUETOOTH=  true    # do not build Bluetooth related stuff
#NO_FORTRAN=    true    # do not build g77 and related libraries
#NO_GDB=        true    # do not build GDB
#NO_I4B=        true    # do not build isdn4bsd package
#NO_IPFILTER=   true    # do not build IP Filter package
#NO_PF=         true    # do not build PF firewall package
#NO_AUTHPF=     true    # do not build and install authpf (setuid/gid)
#NO_KERBEROS=   true    # do not build and install Kerberos 5 (KTH Heimdal)
#NO_LPR=        true    # do not build lpr and related programs
#NO_MAILWRAPPER=true    # do not build the mailwrapper(8) MTA selector
#NO_MODULES=    true    # do not build modules with the kernel
#NO_OBJC=       true    # do not build Objective C support
#NO_OPENSSH=    true    # do not build OpenSSH
#NO_OPENSSL=    true    # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH)
#NO_SENDMAIL=   true    # do not build sendmail and related programs
#NO_SHAREDOCS=  true    # do not build the 4.4BSD legacy docs
#NO_TCSH=       true    # do not build and install /bin/csh (which is tcsh)
#NO_VINUM=      true    # do not build Vinum utilities
#NOCRYPT=       true    # do not build any crypto code
#NOGAMES=       true    # do not build games (games/ subdir)
#NOINFO=        true    # do not make or install info files
#NOLIBC_R=      true    # do not build libc_r (re-entrant version of libc)
#NOMAN=         true    # do not build manual pages
NO_PROFILE=     true    # Avoid compiling profiled libraries
#NOSHARE=       true    # do not go into the share subdir

#	to get automatic SASL in sendmail

SENDMAIL_CFLAGS+=	-I/usr/local/include/ -DSASL=2
SENDMAIL_LDFLAGS+=	-L/usr/local/lib
SENDMAIL_LDADD+=	-lsasl2

#
#	to make CUPS magically keep working
#	See: http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html
#

CUPS_OVERWRITE_BASE=	yes
NO_LPR=				true

#	added per /usr/ports/UPDATING entry 20090401

OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10

#

WITH_MOZILLA=			libxul
WITH_GECKO=			libxul

#
# added 2007/03/04 per advice of <freebsd@troback.com> 
#	in re science/gramps
#

WITH_BERKELEYDB=db43
WITH_BDB_VER=43
WANT_OPENLDAP_VER=24
WANT_OPENLDAP_SASL=true


#
# PORTS: use clang unless gcc is explicitly required
#

#
# default to using clang for all port builds, with the following
# exceptions

# ports which will only build with the base system GNU compiler (4.2)
#
# the "make index" target also seems to need this, for some reason

.if target(index) | \
${.CURDIR:M*/devel/antlr*} | \
${.CURDIR:M*/devel/google-perftools* } | \
${.CURDIR:M*/graphics/ImageMagick* } | \
${.CURDIR:M*/graphics/opencv*} | \
${.CURDIR:M*/www/libxul*} | \
${.CURDIR:M*/x11/kdelibs4*} | \
${.CURDIR:M*/x11-toolkits/swt-devel*}
USE_GCC?=4.2
.endif

# ports which need *some* version of the GNU compiler (won't build with
# clang or have runtime issues if built with clang)
# use the highest version of gcc we have installed from ports (4.6)

.if ${.CURDIR:M*/accessibility/jovie*} | \
${.CURDIR:M*/accessibility/kdeaccessibility4*} | \
${.CURDIR:M*/audio/grip*} | \
${.CURDIR:M*/audio/mpg123*} | \
${.CURDIR:M*/audio/rosegarden*} | \
${.CURDIR:M*/databases/virtuoso*} | \
${.CURDIR:M*/deskutils/kdepimlibs4*} | \
${.CURDIR:M*/devel/apache-ant*} | \
${.CURDIR:M*/devel/icu*} | \
${.CURDIR:M*/devel/kdevelop-kde4*} | \
${.CURDIR:M*/devel/kdevplatform*} | \
${.CURDIR:M*/devel/log4j*} | \
${.CURDIR:M*/games/kdegames4*} | \
${.CURDIR:M*/graphics/tonicpoint-viewer*} | \
${.CURDIR:M*/java/* } | \
${.CURDIR:M*/lang/gcc* } | \
${.CURDIR:M*/math/fftw3*} | \
${.CURDIR:M*/multimedia/avidemux2*} | \
${.CURDIR:M*/multimedia/kdemultimedia4*} | \
${.CURDIR:M*/multimedia/vlc*} | \
${.CURDIR:M*/multimedia/xbmc*} | \
${.CURDIR:M*/net/kdenetwork4*} | \
${.CURDIR:M*/net/mpich2*} | \
${.CURDIR:M*/net/opal3*} | \
${.CURDIR:M*/net-p2p/ktorrent*} | \
${.CURDIR:M*/net-p2p/vuze*} | \
${.CURDIR:M*/sysutils/lsof*} | \
${.CURDIR:M*/textproc/docbook-xsl*} | \
${.CURDIR:M*/textproc/fop*} | \
${.CURDIR:M*/www/firefox*} | \
${.CURDIR:M*/x11/kde4-baseapps*} | \
${.CURDIR:M*/x11/kde4-workspace*} | \
${.CURDIR:M*/x11/lxpanel*} | \
${.CURDIR:M*/x11-toolkits/swt*}
USE_GCC?=4.6+
.endif

.if ${.CURDIR:M*/usr/ports/*}
.if !defined(USE_GCC)
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif
.endif
.endif


WITH_NEW_XORG=yes

WITH_BSD_SORT=

# added by use.perl 2012-07-03 08:16:23
PERL_VERSION=5.16.0



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