From owner-freebsd-stable@FreeBSD.ORG Mon Feb 17 09:32:40 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B792BDD; Mon, 17 Feb 2014 09:32:40 +0000 (UTC) Received: from mail-ee0-x236.google.com (mail-ee0-x236.google.com [IPv6:2a00:1450:4013:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8264E1879; Mon, 17 Feb 2014 09:32:39 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e53so6962492eek.27 for ; Mon, 17 Feb 2014 01:32:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=HRGPuY2dcG5gV9+Raoun16eKT/vY3zikhYkXnJwtgWg=; b=sb3CROyLRARI2BeJ5f5lZbZAcuUqELUbSFXyr1P3r/fmIWsQaBBs38QDOnCAO8ssGY IeYNQfCXLVf19v1ga83OS0pq71AI7qgn10mHqsv7KlycqNiSW8CohVZASI41xfRULIPZ nqHXH5rDCB0+D/0tNXewCp7pshJ6J/F7jZdth6ai+R32OsnoQBMLb9aV9+LIBIeMTzxs /cKY/QDr/AYeYM/xBzsu6qx7XNatO3kCuvbCC8+FeIg44LSDYWbWod/m42X9ohtOVRp2 AYBBR3bQw8lOOvpxHoV0n2AEyrSWhNxaWSYb+LZHWR3Cm/wVFI6vBxZlZxyL10vYTBkL 2rBQ== X-Received: by 10.15.23.194 with SMTP id h42mr26310688eeu.32.1392629557848; Mon, 17 Feb 2014 01:32:37 -0800 (PST) Received: from scorpion.kiev.ua ([78.111.185.153]) by mx.google.com with ESMTPSA id u6sm55202524eep.11.2014.02.17.01.32.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:32:36 -0800 (PST) Message-ID: <5301D731.30308@gmail.com> Date: Mon, 17 Feb 2014 11:32:33 +0200 From: Alexander Panyushkin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Tijl Coosemans Subject: Re: converters/php55-iconv in FreeBSD 10 References: <52FE26FC.3070708@gmail.com> <20140214160455.26d39e9d@kalimero.tijl.coosemans.org> <53011CA2.2020205@gmail.com> <20140216230658.23403034@kalimero.tijl.coosemans.org> In-Reply-To: <20140216230658.23403034@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 09:32:40 -0000 On 17.02.2014 00:06, Tijl Coosemans wrote: > On Sun, 16 Feb 2014 22:16:34 +0200 Alexander Panyushkin wrote: >> On 14.02.2014 17:04, Tijl Coosemans wrote: >>> On Fri, 14 Feb 2014 16:23:56 +0200 Alexander Panyushkin wrote: >>>> Hello All ! >>>> I need install converters/php55-iconv in FreeBSD 10 >>>> But this depends on the port converters/libiconv >>>> converters/libiconv is not installed in FreeBSD10 >>>> >>>> What would you suggest >>>> >>>> >>>> cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl >>>> -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -D_FORTIFY_SOURCE=2 -Oz >>>> -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments >>>> -Qunused-parameter -Wformat -Wformat-security -c error.c >>>> error.c:378:12: warning: data argument not used by format string >>>> [-Wformat-extra-args] >>>> file_name, line_number); >>>> ^ >>>> 1 warning generated. >>>> rm -f libicrt.a >>>> ar cru libicrt.a allocator.o areadlink.o careadlinkat.o malloca.o >>>> progname.o safe-read.o width.o xmalloc.o xstrdup.o xreadlink.o >>>> canonicalize-lgpl.o error.o >>>> ranlib libicrt.a >>>> cd src && /usr/bin/make all >>>> cc -c -I. -I. -I.. -I../include -I./../include -I../srclib -I./../srclib >>>> -I../lib -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe >>>> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security >>>> -D_FORTIFY_SOURCE=2 -DINSTALLDIR=\"/usr/local/bin\" >>>> -DLOCALEDIR=\"/usr/local/share/locale\" ./iconv_no_i18n.c >>>> /bin/sh ../libtool --mode=link cc -Oz -march=athlon64-sse3 >>>> -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter >>>> -Wformat -Wformat-security iconv_no_i18n.o ../srclib/libicrt.a >>>> ../lib/libiconv.la -o iconv_no_i18n >>>> libtool: link: cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe >>>> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security >>>> iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a >>>> ../lib/.libs/libiconv.so -Wl,-rpath -Wl,/usr/local/lib >>>> ../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup' >>>> cc: error: linker command failed with exit code 1 (use -v to see invocation) >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[3]: stopped in src >>>> *** Error code 1 >>>> >>>> >>>> >>>> >>>> uname -a >>>> FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: Thu >>>> Jan 30 11:34:04 EET 2014 >>>> root@magnetron.intra:/usr/obj/usr/src/sys/Kernel amd64 >>> Last time someone reported this they had O_NOATIME in /usr/include/fcntl.h. >>> If that's the case for you too then update world+kernel. If not, send me >>> /usr/ports/converters/libiconv/work/libiconv-1.14/config.log >> I update world and ports. >> >> FreeBSD 10.0-STABLE #0 r261945: Sun Feb 16 14:46:09 EET 2014 >> >> src.conf >> WITH_ICONV=YES > This is the default now so you can remove this. > >> WITH_LIBICONV_COMPAT=YES > This option no longer exists. > >> WITH_BSD_GREP=YES >> MALLOC_PRODUCTION=YES >> >> >> pkg query %ro libiconv - nothing >> >> libiconv - the same errors, if build with clang. >> >> If build with gcc - it`s Ok > In your config.log I find this: > >> configure:16054: checking for working fcntl.h >> configure:16111: cc -o conftest -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 conftest.c >&5 >> configure:16111: $? = 0 >> configure:16111: ./conftest >> configure:16111: $? = 64 >> configure: program exited with status 64 >> configure: failed program was: > ... > >> configure:16126: result: no (bad O_NOATIME) > So you still have O_NOATIME in /usr/include/fcntl.h. That shouldn't > be there. You can verify that here: > http://svnweb.freebsd.org/base/stable/10/sys/sys/fcntl.h?view=markup > > You need to find out why your fcntl.h does define that value. # grep O_NOATIME /usr/src/sys/sys/fcntl.h; echo $? 1 # grep -r O_NOATIME /usr/src/* /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c:#if defined(O_NOATIME) /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: * Linux has O_NOATIME flag; use it if we need. /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: flags |= O_NOATIME; /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c:#if defined(O_NOATIME) /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: * When we did open the file with O_NOATIME flag, /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: * if failed by EPERM, retry it without O_NOATIME flag. /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: if (flags & O_NOATIME) { /usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c: flags &= ~O_NOATIME; /usr/src/sys/i386/linux/linux.h:#define LINUX_O_NOATIME 01000000 /usr/src/sys/amd64/linux32/linux.h:#define LINUX_O_NOATIME 01000000 /usr/src/sys/compat/linux/linux_file.c: /* XXX LINUX_O_NOATIME: unable to be easily implemented. */ > Do you have any local modifications in /usr/src? > Do you build with -DNO_CLEAN maybe? What if you build without that? I build worl with... # cd /usr/src && rm -rf ../obj/* && make cleandir; make cleandir; time (make buildworld && make kernel) | tee -a /tmp/world_kernel.log -- Alexander