From owner-freebsd-stable@FreeBSD.ORG Thu Dec 12 19:09:17 2013 Return-Path: Delivered-To: freebsd-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 832ED34B for ; Thu, 12 Dec 2013 19:09:17 +0000 (UTC) Received: from mail-yh0-f41.google.com (mail-yh0-f41.google.com [209.85.213.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 417251E9D for ; Thu, 12 Dec 2013 19:09:17 +0000 (UTC) Received: by mail-yh0-f41.google.com with SMTP id f11so709711yha.0 for ; Thu, 12 Dec 2013 11:09:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=Sg34dVXJOROYPVVHoTE1pSMCqmAOMEyNqylKD0IZfjE=; b=Y7/xpbew1nvD4neCmY4mVGH2uwEEQzymw9nqLSI6vMfMNhqqmRJqEV/BZP9csnG8MQ k4+FtcFZnrbukLQU4WTw/x8CLMYGHz2OU6YqG8nUbWcQ84NYpegLE6y1QZgTnHKmUY3Q LAuOmufGmrkrI+c7OZwMI8Vt+MDMgxZMGDl0SRMg+4wrv5WpAMfucLgUxV3OtO4SigtU y3PnZhtVPGJ2RD0YOgV/mih75egpPZA5EN/SfdU5ZUnplohgUFA6MhU4+4htj+bAHKKN imELKq43igdamIajJxNYE5EEtf46Cw1pj1JCt++JSEJC5j9trOiijCGSSNLkVN9uIovT tecg== X-Gm-Message-State: ALoCoQkUJCmawWb+jWGngGPpTT33VmZtKmSSKac9Veahwoi6rlNlQOkXe9vDQQZjlkugEjcMWIOl X-Received: by 10.236.13.3 with SMTP id a3mr7091204yha.21.1386873720881; Thu, 12 Dec 2013 10:42:00 -0800 (PST) Received: from [192.168.1.4] (pool-72-84-124-111.nrflva.fios.verizon.net. [72.84.124.111]) by mx.google.com with ESMTPSA id q9sm35427321yhk.16.2013.12.12.10.41.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 10:42:00 -0800 (PST) Message-ID: <52AA0377.3050804@ohlste.in> Date: Thu, 12 Dec 2013 13:41:59 -0500 From: Jim Ohlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-stable stable Subject: Iconv issues Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 12 Dec 2013 19:09:17 -0000 Hello, After upgrading a test box successfully to 10-PRERELEASE (r259093) I did the same on another and ran into major iconv problems. To make a long story short, a PHP script stopped working with the following error: 2013/12/10 03:01:52 [error] 3356#0: *10897 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function iconv_strlen() in /path/to/script.php on line 420" while reading response header from upstream, client: [ip deleted] server: [my server], request: "GET /script.php?21,19203,19203 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000" For some reason, the PHP "iconv_strlen()" function is not working correctly. I'm not sure if this is a known issue, but since it works as expected under 9.2 with the libiconv port installed, I am guessing it's not an issue with PHP. This was fatal no matter which PHP implementation I used (PHP-PPM 5.5.5 or Apache 2.2 with libphp5.so). For whatever reason, the function call does not seem to work with the base iconv implementation in 10-STABLE. I reverted to 9.2 with a zfs rollback and all is well. So here's the question: Can I continue to compile against libiconv even though the port is deprecated? Well I know that I can but is it ill advised? I'm not concerned about the license issue in this situation. Also, has anyone else seen this or developed a workaround beside continuing to use libiconv? -- Jim Ohlstein