From owner-freebsd-stable@FreeBSD.ORG Mon Feb 17 10:01:08 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9541882 for ; Mon, 17 Feb 2014 10:01:08 +0000 (UTC) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 763FF1B20 for ; Mon, 17 Feb 2014 10:01:08 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlUGAHvcAVNbsItn/2dsb2JhbABZgwY4wAuBGhd0giUBAQQBOhwjEAsOCgklDyoeBogQDAEIy0cXjwEHhDgEmCuBM5Bxgy47 Received: from 103.139-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.139.103]) by relay.skynet.be with ESMTP; 17 Feb 2014 11:01:06 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.8/8.14.8) with ESMTP id s1HA14cY054432; Mon, 17 Feb 2014 11:01:05 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 17 Feb 2014 11:01:04 +0100 From: Tijl Coosemans To: Alexander Panyushkin Subject: Re: converters/php55-iconv in FreeBSD 10 Message-ID: <20140217110104.48297f5c@kalimero.tijl.coosemans.org> In-Reply-To: <5301D731.30308@gmail.com> References: <52FE26FC.3070708@gmail.com> <20140214160455.26d39e9d@kalimero.tijl.coosemans.org> <53011CA2.2020205@gmail.com> <20140216230658.23403034@kalimero.tijl.coosemans.org> <5301D731.30308@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 10:01:09 -0000 On Mon, 17 Feb 2014 11:32:33 +0200 Alexander Panyushkin wrote: > On 17.02.2014 00:06, Tijl Coosemans wrote: >> 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 That's ok. What about /usr/include/fcntl.h? > # 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. */ That's all ok. >> 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 Well for some reason installworld isn't installing fcntl.h correctly. Try the following: mv /usr/include /usr/include~ mkdir /usr/include cd /usr/src/include make install cd /usr/src make installincludes Then you can check for differences with: diff -urN /usr/include~ /usr/include