Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv

From: Anders Bolt-Evensen <andersbo87_at_icloud.com>
Date: Fri, 06 Sep 2013 19:21:39 +0200
On 9/6/13 5:04 PM, "O. Hartmann" <ohartman_at_zedat.fu-berlin.de> wrote:

>On Fri, 06 Sep 2013 11:35:35 +0400
>Boris Samorodov <bsam_at_passap.ru> 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_at_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_at_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.
>> 
>
>There are a lot more problems occuring than expected.
>
>print/cups, for instance, rejects on all systems I try to update
>(three!) to compile and cups is a stopper for many other ports relying
>on cups.
>
>Using portmaster, I'm higly adviced to use option -f, otherwise every
>second port I try to update gets interrupted due to missing
>libiconv.so.3. It is impossible to update a system unattended and this
>is a mess with 200 or even 680 ports to be updated. A waste of time.
>
>Some ports still rely on methusalem gcc 4.6. But gcc 4.6.3 relies on
>some gnuish tools in the port and the compilation fails if those
>prerequisits aren't updated first. The description I found
>in /usr/ports/UPDATING is quick and dirty - too dirty for being
>useful, in my opinion. Did the maintainer ever tried this command
>sequence on a "used" machine and not in a clean vbox environment?
>
>There must be a description of a fallback in UPDATING! I took the
>whole day to update on one machine less than the half of the installed
>ports and huge ports like libreoffice are still dropping out of the
>build and I restart after fixed the missing port that relies on being
>recompiled. I hope that reinstalling converters/libiconv will give me
>X11 back on my boxes! I can not stay with them 48 hours non stop until
>they have completed the messy update.
>
>Regards,
>Oliver
>

I came across this problem as well. I for one thought that it would be
easier just to use "pkg delete -af" and reinstall ports that way. At
least, even if the message about the libiconv library not being installed
appeared during the deletion of installed ports (I deleted it separately
before executing pkg delete -af), once everything was deleted, the
reinstallation went easily until I attempted to installed GNOME, or more
precisely, devel/evolution-data-server. During install of that given
package, the following message appeared:
===> Building for evolution-data-server-2.32.1_4
gmake[2]: Entering directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1'
gmake all-recursive
gmake[3]: Entering directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1'
Making all in libedataserver
gmake[4]: Entering directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1/libedataserver'
CC libedataserver_1_2_la-e-account.lo
cp libedataserver.pc libedataserver-1.2.pc
e-account.c:214:11: error: cannot combine with previous 'type-name'
declaration specifier
gboolean bool;
^
/usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
#define bool _Bool
^
e-account.c:214:2: warning: declaration does not declare anything
[-Wmissing-declarations]
gboolean bool;
^~~~~~~~~~~~~
e-account.c:218:8: error: expected identifier or '('
bool = (!strcmp ((gchar *)buf, "true") || !strcmp ((gchar *)buf, "yes"));
^
e-account.c:221:7: error: expected expression
if (bool != *val) {
^
/usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
#define bool _Bool
^
e-account.c:222:11: error: expected expression
*val = bool;
^
/usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
#define bool _Bool
^
1 warning and 4 errors generated.
gmake[4]: *** [libedataserver_1_2_la-e-account.lo] Error 1
gmake[4]: Leaving directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1/libedataserver'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32
.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/evolution-data-server
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/evolution-data-server

But, back to topic, if you need to reinstall almost all of your installed
ports because of this change, it might be worth trying to delete every
port and reinstall them all over again. I did that, and so far, ports that
depended on libiconv have installed perfectly fine so far, with the
exception of evolution-data-server, as I mentioned above (none of those
error messages seem to have anything to do with libiconv).
Received on Fri Sep 06 2013 - 16:21:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC