From owner-freebsd-current@FreeBSD.ORG Fri Sep 6 17:45:43 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id BCE71BCE; Fri, 6 Sep 2013 17:45:43 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 930C421ED; Fri, 6 Sep 2013 17:45:43 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r86HjgvE081066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Sep 2013 10:45:42 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r86HjgBd081065; Fri, 6 Sep 2013 10:45:42 -0700 (PDT) (envelope-from jmg) Date: Fri, 6 Sep 2013 10:45:42 -0700 From: John-Mark Gurney To: "O. Hartmann" Subject: Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv Message-ID: <20130906174542.GB68682@funkthat.com> Mail-Followup-To: "O. Hartmann" , Boris Samorodov , Baptiste Daroussin , AN , Guido Falsi , FreeBSD ports list , freebsd-current@freebsd.org References: <522985C7.2010303@passap.ru> <20130906173203.6423556d@munin.geoinf.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130906173203.6423556d@munin.geoinf.fu-berlin.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 06 Sep 2013 10:45:42 -0700 (PDT) Cc: Baptiste Daroussin , freebsd-current@freebsd.org, FreeBSD ports list , AN , Boris Samorodov , Guido Falsi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 17:45:43 -0000 O. Hartmann wrote this message on Fri, Sep 06, 2013 at 17:32 +0200: > On Fri, 06 Sep 2013 11:35:35 +0400 > Boris Samorodov wrote: > > > 06.09.2013 07:16, AN ??????????: > > > Hi: > > > > > > 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. > > > > > > # 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 > > > > > > 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: > > > > > > # 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: > > > "/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 > > > installed (or APACHE_PORT is defined) and port requires apache22 at > > > least > > > > > > > > > Here is what I have done: > > > # pkg query %ro libiconv >ports_to_update > > > [root@FBSD10 ~]# cat ports_to_update > > > > > > ...lots of output > > > > > > # 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: > > > > > > libiconv-1.14_1 > > > > > > The deinstallation will free 2 MB > > > > > > Proceed with deinstalling packages [y/N]: y > > > [1/1] Deleting libiconv-1.14_1... > > > deleting anyway > > > > > > done > > > > > > Now the update process is stuck here: > > > > > > ** Port marked as IGNORE: www/mod_dnssd: > > > is marked as broken: : Error from bsd.apache.mk. apache is > > > installed (or APACHE_PORT is defined) and port requires apache22 at > > > least > > > > > > there are 2 ruby processes running for a long time, but nothing is > > > happening to the update. > > > > > > 43998 root 52 0 64912K 33368K piperd 5 2:21 5.96% > > > ruby19{ruby19} > > > 43998 root 52 0 64912K 33368K select 1 0:00 5.96% > > > ruby19{ruby19} > > > > > > 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? > > > > > > Any help is appreciated. > > > > > > > > > > > > # 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: > > > "/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 > > > 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: > > > "/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 > > > installed (or APACHE_PORT is defined) and port requires apache22 at > > > least > > > > The error actually states that you don't have reqiured aoache port > > version. Is it the case or do you have apache22 installed. > > > > Said that I'll admit that there are some ports (13) which uses > > CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} syntax. It's no more > > relevant at recent RURRENT. The fix is been worked on. > > > > For now you may change that value from "--with-iconv=${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 > > ----- > > > > If you do it, please give us a feedback. Thanks. > > > > 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. > > > ===> Configuring for cups-client-1.5.4_1 > ===> FreeBSD 10 autotools fix applied > to /usr/ports/print/cups-client/work/cups-1.5.4/configure Configuring > CUPS with options: --localstatedir=/var --disable-slp --disable-gssapi > --with-cups-user=cups --with-cups-group=cups --with-system-groups=wheel > --with-docdir=/usr/local/share/doc/cups > --with-icondir=/usr/local/share/icons > --with-menudir=/usr/local/share/applications > --with-domainsocket=/var/run/cups.sock --with-cachedir=/var/db/cups > --with-pam-module=unix --enable-ssl > --with-printcap=/usr/local/etc/printcap --disable-gnutls > --enable-openssl --without-php --disable-dnssd --disable-pam > --disable-ldap --disable-dbus --disable-libusb LIBS=-lssp_nonshared > --prefix=/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 > ===> 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 When I went through this, it was because they were trying to use gcc instead of cc... and for some reason gcc was getting an error about failing to exec cc1... I forget if I just reinstalled gcc from base (cd /usr/src/gnu/usr.bin/cc && make install) or rm'd /usr/local/bin/gcc as my gcc was broken when I chose to force remove libiconv... btw, Just last night I finished rebuilding all the ports after ~24 hours... some of it was portmaster waiting for my input, but still... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."