From owner-freebsd-x11@FreeBSD.ORG Fri Oct 12 08:29:54 2007 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0CE16A418 for ; Fri, 12 Oct 2007 08:29:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 374F213C4A7 for ; Fri, 12 Oct 2007 08:29:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so655098rvb for ; Fri, 12 Oct 2007 01:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rbY6cvkcY2xcSiGB3L9b7Z72lVj8KatvG3yGxDIYiLQ=; b=sjJSMFH1YTGXfOSeHfuk+nGuSXAU/CEGMBu2JUkFmrMostbav6hfq72As01SVCUmHiW/3GBrjRpINSQNP7x20LmjlCM1OgC3c5efSzC/VCXhHzhELufRnYZBMbmFtiMQtD6WqyHqHQH5/n97CbNSRl7nuMphtm7wSbMC8baN/Fg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pCK1iWBuSNvn+SpnfYwO3VHPPP3YL7LuknU49fOSAZ42J7uIEePFBfBeQRdyrhU2lgsvI3p04LUbx2TReg2NZYiP0behaKn/52dY7UovAB9qsnMI4ADbmCzb4dlYYZ9dtlG6LmTJsBtJnXd80SgMeUtLHFEQW/rgiL4JJa71QE4= Received: by 10.115.76.1 with SMTP id d1mr3222108wal.1192177792832; Fri, 12 Oct 2007 01:29:52 -0700 (PDT) Received: by 10.114.110.16 with HTTP; Fri, 12 Oct 2007 01:29:52 -0700 (PDT) Message-ID: Date: Fri, 12 Oct 2007 10:29:52 +0200 From: "Rene Ladan" To: "Jeffrey H. Johnson" In-Reply-To: <8F87112833C9D92BEB797780@192.168.1.93> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4175D89CD4823AA26B6BED50@192.168.1.93> <8F87112833C9D92BEB797780@192.168.1.93> Cc: x11@freebsd.org Subject: Re: Problems with xfs-1.0.5,1 port. X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 08:29:54 -0000 [moving from ports@ to x11@ ] 2007/10/12, Jeffrey H. Johnson : > Here is a full dump: > > ---> Upgrading 'xfs-1.0.4_4,1' to 'xfs-1.0.5,1' (x11-fonts/xfs) > ---> Building '/usr/ports/x11-fonts/xfs' > ===> Cleaning for xfs-1.0.5,1 > ===> Extracting for xfs-1.0.5,1 > => MD5 Checksum OK for xorg/app/xfs-1.0.5.tar.bz2. > => SHA256 Checksum OK for xorg/app/xfs-1.0.5.tar.bz2. > ===> Patching for xfs-1.0.5,1 > ===> Applying FreeBSD patches for xfs-1.0.5,1 > ===> xfs-1.0.5,1 depends on file: > /usr/local/libdata/pkgconfig/fontcacheproto.pc - found > ===> xfs-1.0.5,1 depends on file: /usr/local/libdata/pkgconfig/libfs.pc - > found > ===> xfs-1.0.5,1 depends on file: /usr/local/libdata/pkgconfig/xfont.pc - > found > ===> xfs-1.0.5,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc - > found > ===> xfs-1.0.5,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - > found > ===> xfs-1.0.5,1 depends on executable: pkg-config - found > ===> Configuring for xfs-1.0.5,1 > configure: WARNING: you should use --build, --host, --target > 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... ./install-sh -c -d > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for i386-portbld-freebsd6.2-gcc... cc > checking for C compiler default output file name... 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 cc accepts -g... yes > checking for cc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of cc... gcc3 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel > checking build system type... i386-portbld-freebsd6.2 > checking host system type... i386-portbld-freebsd6.2 > checking how to run the C preprocessor... cc -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -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 for stdint.h... (cached) yes > checking for i386-portbld-freebsd6.2-pkg-config... no > checking for pkg-config... /usr/local/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for XFS... yes > checking return type of signal handlers... void > checking if Xtrans should support UNIX socket connections... yes > checking if Xtrans should support TCP socket connections... yes > checking for library containing socket... none required > 8_0/lib/obj_r/x880.o > /usr/ports/net/openh323/work/openh323_v1_18_0/lib/obj_r/h4501.o > /usr/ports/net/openh323/work/openh323_v1_18_0/lib/obj_r/h4502checking for > library containing gethostbyname... none required > checking for getaddrinfo... yes > checking if IPv6 support should be built... yes > checking for struct sockaddr_in.sin_len... yes > checking if Xtrans should support os-specific local connections... no > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: executing depfiles commands > ===> Building for xfs-1.0.5,1 > make all-am > cc -DHAVE_CONFIG_H -I. -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT > -I/usr/local/include -I/usr/local/include/freetype2 -I./include > -DXFSPIDDIR=\"/var/run\" > -DDEFAULT_CONFIG_FILE=\"/usr/local/lib/X11/fs/config\" -DFONT_PCF -DFONT_FS > -DFONT_SPEEDO -D_BSD_SOURCE -DFONT_t -DTRANS_SERVER -DTRANS_REOPEN -O2 > -fno-strict-aliasing -pipe -DFONTCACHE -MT atom.o -MD -MP -MF .deps/atom.Tpo > -c -o atom.o `test -f 'difs/atom.c' || echo './'`difs/atom.c > In file included from ./include/access.h:58, > from ./include/accstr.h:64, > from ./include/difsutils.h:36, > from ./include/client.h:110, > from ./include/os.h:60, > from ./include/misc.h:74, > from difs/atom.c:55: > /usr/local/include/client.h:14: error: syntax error before "user_list" > /usr/local/include/client.h:14: warning: data definition has no type or > storage class > /usr/local/include/client.h:15: error: syntax error before "oper_list" > /usr/local/include/client.h:15: warning: data definition has no type or > storage class > /usr/local/include/client.h:16: error: syntax error before "server_list" > /usr/local/include/client.h:16: warning: data definition has no type or > storage class > /usr/local/include/client.h:17: error: syntax error before "exited_list" > /usr/local/include/client.h:17: warning: data definition has no type or > storage class > /usr/local/include/client.h:36: error: syntax error before "dlink_node" > /usr/local/include/client.h:50: error: syntax error before "time_t" > /usr/local/include/client.h:53: error: syntax error before "time_t" > /usr/local/include/client.h:59: error: syntax error before "dlink_list" > /usr/local/include/client.h:68: error: syntax error before "dlink_list" > /usr/local/include/client.h:78: error: `NICKLEN' undeclared here (not in a > function) > /usr/local/include/client.h:82: error: syntax error before "dlink_list" > /usr/local/include/client.h:101: error: syntax error before "dlink_list" > /usr/local/include/client.h:114: error: syntax error before "time_t" > /usr/local/include/client.h:116: error: syntax error before "time_t" > /usr/local/include/client.h:118: error: syntax error before "time_t" > *** Error code 1 > > Stop in /usr/ports/x11-fonts/xfs/work/xfs-1.0.5. > *** Error code 1 > > Stop in /usr/ports/x11-fonts/xfs/work/xfs-1.0.5. > *** Error code 1 > > Stop in /usr/ports/x11-fonts/xfs. The problem seems to be that the compiler first looks in /usr/local/include, before it looks in the include directory of the port source. Both have a client.h, your build picks up the wrong one. Without ratbox-services installed, the port builds fine. Rene > --On Friday, October 12, 2007 9:20 AM +0200 Rene Ladan > wrote: > > > 2007/10/12, Jeffrey H. Johnson : > >> $ pkg_info -W /usr/local/include/client.h > >> /usr/local/include/client.h was installed by package > >> ratbox-services-1.1.2_1 > >> > >> This file seems to be included by xfs-1.0.5,1 and causes a build failure. > >> > > 'grep client *' in /usr/ports/x11-fonts/xfs yields nothing here. > > > > Also 'pkg_info -L /var/db/pkg/xfs-1.0.5,1' does not mention client.h > > > > Rene > > -- > > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > > (subkeys.pgp.net) > > > > "It won't fit on the line." > > -- me, 2001 > > > > -- > Jeffrey H. Johnson > trnsz@pobox.com > -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001