From owner-freebsd-ports@FreeBSD.ORG Fri Sep 6 15:27:50 2013 Return-Path: Delivered-To: freebsd-ports@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 ESMTP id 68059689; Fri, 6 Sep 2013 15:27:50 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED40627AB; Fri, 6 Sep 2013 15:27:49 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1VHxwp-0002zq-9g>; Fri, 06 Sep 2013 17:27:47 +0200 Received: from f052146113.adsl.alicedsl.de ([78.52.146.113] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1VHxwp-003kl7-4S>; Fri, 06 Sep 2013 17:27:47 +0200 Date: Fri, 6 Sep 2013 17:32:03 +0200 From: "O. Hartmann" To: Boris Samorodov Subject: Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv Message-ID: <20130906173203.6423556d@munin.geoinf.fu-berlin.de> In-Reply-To: <522985C7.2010303@passap.ru> References: <522985C7.2010303@passap.ru> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/sakCscb32JkbcLi/O78s4v8"; protocol="application/pgp-signature" X-Originating-IP: 78.52.146.113 Cc: Baptiste Daroussin , AN , Guido Falsi , FreeBSD ports list , freebsd-current@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 15:27:50 -0000 --Sig_/sakCscb32JkbcLi/O78s4v8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 06 Sep 2013 11:35:35 +0400 Boris Samorodov wrote: > 06.09.2013 07:16, AN =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi: > >=20 > > I am posting to both lists because this problem affects users of > > current and ports, and I didn't know which would be more > > appropriate so please forgive me. > >=20 > > # uname -a > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #80 r255129: Sun > > Sep 1 16:01:36 CDT 2013 > > root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > >=20 > > I am trying to update my ports following the entry in updating, but > > it does not seem to be working correctly. I followed the > > directions exactly, and after 30 mins this is what has happened: > >=20 > > # cat ports_to_update | xargs portupgrade -vf > > ---> Session started at: Thu, 05 Sep 2013 21:12:10 -0500 > > [Reading data from pkg(8) ... - 890 packages found - done] > > Shared object "libiconv.so.3" not found, required by "httpd" > > make: "/usr/ports/Mk/bsd.apache.mk" line 278: warning: Couldn't > > read shell's output for "/usr/local/sbin/httpd -V | /usr/bin/sed > > -ne 's/^Server version: Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'" > > Shared object "libiconv.so.3" not found, required by "httpd" > > apxs:Error: Sorry, no shared object support for Apache. > > apxs:Error: available under your platform. Make sure. > > apxs:Error: the Apache module mod_so is compiled into. > > apxs:Error: your server binary `/usr/local/sbin/httpd'.. > > make: "/usr/ports/Mk/bsd.apache.mk" line 284: warning:=20 > > "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status > > ** Port marked as IGNORE: www/mod_dnssd: > > is marked as broken: : Error from bsd.apache.mk. apache is=20 > > installed (or APACHE_PORT is defined) and port requires apache22 at > > least > >=20 > >=20 > > Here is what I have done: > > # pkg query %ro libiconv >ports_to_update > > [root@FBSD10 ~]# cat ports_to_update > >=20 > > ...lots of output > >=20 > > # pkg delete -f libiconv > > pkg: You are trying to delete package(s) which has dependencies > > that are still required: > > ... delete these packages anyway in forced mode > > Deinstallation has been requested for the following 1 packages: > >=20 > > libiconv-1.14_1 > >=20 > > The deinstallation will free 2 MB > >=20 > > Proceed with deinstalling packages [y/N]: y > > [1/1] Deleting libiconv-1.14_1... > > deleting anyway > >=20 > > done > >=20 > > Now the update process is stuck here: > >=20 > > ** Port marked as IGNORE: www/mod_dnssd: > > is marked as broken: : Error from bsd.apache.mk. apache is=20 > > installed (or APACHE_PORT is defined) and port requires apache22 at > > least > >=20 > > there are 2 ruby processes running for a long time, but nothing is=20 > > happening to the update. > >=20 > > 43998 root 52 0 64912K 33368K piperd 5 2:21 5.96%=20 > > ruby19{ruby19} > > 43998 root 52 0 64912K 33368K select 1 0:00 5.96%=20 > > ruby19{ruby19} > >=20 > > So, it seems my system is broken now. Did I do something wrong? > > How can the upgrade work if so many ports depend on iconv? What > > should I do now? Should I reinstall libiconv? > >=20 > > Any help is appreciated. > >=20 > >=20 > >=20 > > # cat ports_to_update | xargs portupgrade -vf > > ---> Session started at: Thu, 05 Sep 2013 21:12:10 -0500 > > [Reading data from pkg(8) ... - 890 packages found - done] > > Shared object "libiconv.so.3" not found, required by "httpd" > > make: "/usr/ports/Mk/bsd.apache.mk" line 278: warning: Couldn't > > read shell's output for "/usr/local/sbin/httpd -V | /usr/bin/sed > > -ne 's/^Server version: Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'" > > Shared object "libiconv.so.3" not found, required by "httpd" > > apxs:Error: Sorry, no shared object support for Apache. > > apxs:Error: available under your platform. Make sure. > > apxs:Error: the Apache module mod_so is compiled into. > > apxs:Error: your server binary `/usr/local/sbin/httpd'.. > > make: "/usr/ports/Mk/bsd.apache.mk" line 284: warning:=20 > > "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status > > ** Port marked as IGNORE: www/mod_dnssd: > > is marked as broken: : Error from bsd.apache.mk. apache is=20 > > installed (or APACHE_PORT is defined) and port requires apache22 at > > least Shared object "libiconv.so.3" not found, required by "httpd" > > make: "/usr/ports/Mk/bsd.apache.mk" line 278: warning: Couldn't > > read shell's output for "/usr/local/sbin/httpd -V | /usr/bin/sed > > -ne 's/^Server version: Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'" > > Shared object "libiconv.so.3" not found, required by "httpd" > > apxs:Error: Sorry, no shared object support for Apache. > > apxs:Error: available under your platform. Make sure. > > apxs:Error: the Apache module mod_so is compiled into. > > apxs:Error: your server binary `/usr/local/sbin/httpd'.. > > make: "/usr/ports/Mk/bsd.apache.mk" line 284: warning:=20 > > "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status > > ** Port marked as IGNORE: www/gnome-user-share: > > is marked as broken: : Error from bsd.apache.mk. apache is=20 > > installed (or APACHE_PORT is defined) and port requires apache22 at > > least >=20 > The error actually states that you don't have reqiured aoache port > version. Is it the case or do you have apache22 installed. >=20 > Said that I'll admit that there are some ports (13) which uses > CONFIGURE_ARGS+=3D--with-iconv=3D${LOCALBASE} syntax. It's no more > relevant at recent RURRENT. The fix is been worked on. >=20 > For now you may change that value from "--with-iconv=3D${LOCALBASE}" > to "" (null) at ports that you use from the following list: > ----- > devel/apr2 > devel/git > devel/apr1 > irc/epic5 > lang/gauche > net/ssltunnel-client > net/zebra-server > net/yaz > net-mgmt/ettercap > textproc/libxml2 > textproc/py-libxml2 > www/apache22 > www/apache24 > ----- >=20 > If you do it, please give us a feedback. Thanks. >=20 On all boxes with most recent CURRENT where I followed the updating procedure described in UPDATING, the update ends with an error in cups as shown below. =3D=3D=3D> Configuring for cups-client-1.5.4_1 =3D=3D=3D> FreeBSD 10 autotools fix applied to /usr/ports/print/cups-client/work/cups-1.5.4/configure Configuring CUPS with options: --localstatedir=3D/var --disable-slp --disable-gssapi --with-cups-user=3Dcups --with-cups-group=3Dcups --with-system-groups=3Dwhe= el --with-docdir=3D/usr/local/share/doc/cups --with-icondir=3D/usr/local/share/icons --with-menudir=3D/usr/local/share/applications --with-domainsocket=3D/var/run/cups.sock --with-cachedir=3D/var/db/cups --with-pam-module=3Dunix --enable-ssl --with-printcap=3D/usr/local/etc/printcap --disable-gnutls --enable-openssl --without-php --disable-dnssd --disable-pam --disable-ldap --disable-dbus --disable-libusb LIBS=3D-lssp_nonshared --prefix=3D/usr/local configure: loading site script /usr/ports/Templates/config.site checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking whether the C compiler works... no configure: error: in `/usr/ports/print/cups-client/work/cups-1.5.4': configure: error: C compiler cannot create executables See `config.log' for more details =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to c.petrik.sosa@gmail.com [maintainer] and attach the "/usr/ports/print/cups-client/work/cups-1.5.4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/print/cups-client --Sig_/sakCscb32JkbcLi/O78s4v8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSKfV/AAoJEOgBcD7A/5N8VZAIAIl497472eyyCLKEvwwuNM1j 9J4m/gjEJJDMwUbua+iYDr+e0Z6E8lRSlJEu/ghDiiNKRRgiwrCyOJiJtTcjcPGx VS0rWjyP2aZH/80LaQURsIpXiQRP4ihyi4Yzhh3eCC/NDa7x/bcw+mtF83SH0DzW TR4jPIEqZesPcbvT+Kys5dOeNWwQDbxNOyfEvvzsUIqnOEQZollayAIX+cwzq9xA c8M+PTKh6ufvzR0KF5WQEyjquNIKdz13+y4cHinLxBKoVDW6kqEi8w3sRf5arUXC tQm9FUo3O2yAH03iPKcyDZPj0yk3aslTZi+K5sKei4nEciiEOgOPqT7HKyMPu9Q= =I2gC -----END PGP SIGNATURE----- --Sig_/sakCscb32JkbcLi/O78s4v8--