Re: iconv in base breaks multiple ports
... and the verdict is in. Building src w/o iconv, then re-installing converters/libiconv and rebuilding the ports fixes at least newsbeuter, I'll now let multimedia/xbmc (and requirements) rebuild over night and then prepare a patch to allow -CURRENT + libiconv for those people that like a working system. I'm also looping re@ in, as they might want to hear about showstoppers for the 10.0 release. Cheers, Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org I have built a system from scratch freeBSD11 all without libiconv because I need to test the radeonkm (everything works as expected with accelerated video) and than full gnome2 (about 980 packages) including libreoffice, firefox, vlc, mono, monodevelop, gnome-subtilles... and everything works in the libiconv port there is a trap that prevents it from building in a system freeBSD10... the only problem was: inkscape and net-snmp... but the last version of svn works... Hope clarify things for you if you need the packages I can give access in the internet... ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
2013/10/23 Sergio de Almeida Lenzi lenzi.ser...@gmail.com: ... and the verdict is in. Building src w/o iconv, then re-installing converters/libiconv and rebuilding the ports fixes at least newsbeuter, I'll now let multimedia/xbmc (and requirements) rebuild over night and then prepare a patch to allow -CURRENT + libiconv for those people that like a working system. I'm also looping re@ in, as they might want to hear about showstoppers for the 10.0 release. Cheers, Uli I have built a system from scratch freeBSD11 all without libiconv because I need to test the radeonkm (everything works as expected with accelerated video) and than full gnome2 (about 980 packages) including libreoffice, firefox, vlc, mono, monodevelop, gnome-subtilles... and everything works in the libiconv port there is a trap that prevents it from building in a system freeBSD10... the only problem was: inkscape and net-snmp... but the last version of svn works... Hope clarify things for you if you need the packages I can give access in the internet... Well, it doesn't match my experience. xbmc also seems to no longer spew thousands of errors per second now that I've rebuild it with ports' libiconv. Could you please install www/newsbeuter on your system and see if it starts up correctly? (you might need to wait for my build-fix on -CURRENT to go in). Are you actually using a locale/encoding different from 'C'? Are you using a wide encoding like UTF-8? Maybe that can narrow down the source of the problem. Cheers, Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
On Mon, 21 Oct 2013 22:34:45 +0200 Ulrich Spörlein wrote: On Mon, 2013-10-21 at 13:18:55 +0200, Tilman Keskinöz wrote: * Ulrich Spörlein [Sun, 20 Oct 2013 20:27:23 +0200]: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? I don't run Current, but according to the pkg-fallout mails i am receiving, newsbeuter shouldn't even compile on CURRENT. Maybe there are some stale files on your system? There is also an update in the PR system, you might want to try, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182896 Right, I had to set USE_GCC=any and muck with -liconv flags of course to get it to build. Hmm, does this mean you still have libiconv installed? Because then your crashes may be because some libraries use libc iconv and others libiconv iconv. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
2013/10/22 Tijl Coosemans t...@coosemans.org: On Mon, 21 Oct 2013 22:34:45 +0200 Ulrich Spörlein wrote: On Mon, 2013-10-21 at 13:18:55 +0200, Tilman Keskinöz wrote: * Ulrich Spörlein [Sun, 20 Oct 2013 20:27:23 +0200]: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? I don't run Current, but according to the pkg-fallout mails i am receiving, newsbeuter shouldn't even compile on CURRENT. Maybe there are some stale files on your system? There is also an update in the PR system, you might want to try, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182896 Right, I had to set USE_GCC=any and muck with -liconv flags of course to get it to build. Hmm, does this mean you still have libiconv installed? Because then your crashes may be because some libraries use libc iconv and others libiconv iconv. No no, the port just blindly links against libiconv and I had to patch that, obviously. My system is clean of any libiconv-from-ports. But as a next step, I shall now build base w/o iconv and bring back libiconv from ports to see if that fixes my issues. ttyl Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
2013/10/22 Ulrich Spörlein u...@freebsd.org: 2013/10/22 Tijl Coosemans t...@coosemans.org: On Mon, 21 Oct 2013 22:34:45 +0200 Ulrich Spörlein wrote: On Mon, 2013-10-21 at 13:18:55 +0200, Tilman Keskinöz wrote: * Ulrich Spörlein [Sun, 20 Oct 2013 20:27:23 +0200]: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? I don't run Current, but according to the pkg-fallout mails i am receiving, newsbeuter shouldn't even compile on CURRENT. Maybe there are some stale files on your system? There is also an update in the PR system, you might want to try, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182896 Right, I had to set USE_GCC=any and muck with -liconv flags of course to get it to build. Hmm, does this mean you still have libiconv installed? Because then your crashes may be because some libraries use libc iconv and others libiconv iconv. No no, the port just blindly links against libiconv and I had to patch that, obviously. My system is clean of any libiconv-from-ports. But as a next step, I shall now build base w/o iconv and bring back libiconv from ports to see if that fixes my issues. ... and the verdict is in. Building src w/o iconv, then re-installing converters/libiconv and rebuilding the ports fixes at least newsbeuter, I'll now let multimedia/xbmc (and requirements) rebuild over night and then prepare a patch to allow -CURRENT + libiconv for those people that like a working system. I'm also looping re@ in, as they might want to hear about showstoppers for the 10.0 release. Cheers, Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
hi Ulrich, * Ulrich Spörlein [Sun, 20 Oct 2013 20:27:23 +0200]: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? I don't run Current, but according to the pkg-fallout mails i am receiving, newsbeuter shouldn't even compile on CURRENT. Maybe there are some stale files on your system? There is also an update in the PR system, you might want to try, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182896 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
On Sun, 2013-10-20 at 23:20:10 +0200, Tijl Coosemans wrote: On Sun, 20 Oct 2013 20:27:23 +0200 Ulrich Spörlein wrote: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. 2. devel/git: when using git-svn, it'll segfault in the perl code, not sure how to get a backtrace here as gdb's follow-fork doesn't quite work. 3. multimedia/xbmc is no longer able to decode unicode filenames and other things are broken. It spews an endless stream of 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from WCHAR_T to UTF-8, errno=22(Invalid argument) 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument) 19:37:00 T:34594644992 ERROR: Previous line repeats 9656 times. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? Can you try the attached patch? It includes the one from http://www.freebsd.org/cgi/query-pr.cgi?pr=182994 Sure, I fail to see however how this locking could cause the problems with crashes and failures to convert strings. I've rebuild libc with this and it does nothing for the newsbeuter or perl crashes :( Thanks Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
On Mon, 2013-10-21 at 13:18:55 +0200, Tilman Keskinöz wrote: hi Ulrich, * Ulrich Spörlein [Sun, 20 Oct 2013 20:27:23 +0200]: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? I don't run Current, but according to the pkg-fallout mails i am receiving, newsbeuter shouldn't even compile on CURRENT. Maybe there are some stale files on your system? There is also an update in the PR system, you might want to try, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182896 Right, I had to set USE_GCC=any and muck with -liconv flags of course to get it to build. Lemme whip up a proper patch though, I got it to build fine on -CURRENT with clang now, doesn't fix the crash though :(. Here's a build with USE_GCC=any: https://redports.org/buildarchive/20131021191400-36506/ Here is a more proper fix: https://redports.org/buildarchive/20131021203201-51496/ Cheers, Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
iconv in base breaks multiple ports
Hey all, ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. 2. devel/git: when using git-svn, it'll segfault in the perl code, not sure how to get a backtrace here as gdb's follow-fork doesn't quite work. 3. multimedia/xbmc is no longer able to decode unicode filenames and other things are broken. It spews an endless stream of 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from WCHAR_T to UTF-8, errno=22(Invalid argument) 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument) 19:37:00 T:34594644992 ERROR: Previous line repeats 9656 times. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? Thanks, Uli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: iconv in base breaks multiple ports
On Sun, 20 Oct 2013 20:27:23 +0200 Ulrich Spörlein wrote: ever since that iconv thing replaced the ports version, I run into trouble with several ports that I have installed on a -CURRENT (now stable/10 system). These are not compile-time errors, but crashes or limited functionality where I blame iconv :) 1. www/newsbeuter crashes during startup, somewhere in the stfl code that deals with wide char functions. 2. devel/git: when using git-svn, it'll segfault in the perl code, not sure how to get a backtrace here as gdb's follow-fork doesn't quite work. 3. multimedia/xbmc is no longer able to decode unicode filenames and other things are broken. It spews an endless stream of 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from WCHAR_T to UTF-8, errno=22(Invalid argument) 19:36:00 T:34594644992 ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument) 19:37:00 T:34594644992 ERROR: Previous line repeats 9656 times. Is my system hexed? I've rebuilt the ports/packages a dozen times now. Am I seeing ghosts? Can you try the attached patch? It includes the one from http://www.freebsd.org/cgi/query-pr.cgi?pr=182994 Index: lib/libc/iconv/citrus_mapper.c === --- lib/libc/iconv/citrus_mapper.c (revision 256803) +++ lib/libc/iconv/citrus_mapper.c (working copy) @@ -341,14 +341,15 @@ _citrus_mapper_open(struct _citrus_mappe /* open mapper */ UNLOCK(cm_lock); ret = mapper_open(ma, cm, module, variable); - WLOCK(cm_lock); if (ret) - goto quit; + goto quit_unlocked; + WLOCK(cm_lock); cm-cm_key = strdup(mapname); if (cm-cm_key == NULL) { ret = errno; + UNLOCK(cm_lock); _mapper_close(cm); - goto quit; + goto quit_unlocked; } /* insert to the cache */ @@ -359,7 +360,7 @@ _citrus_mapper_open(struct _citrus_mappe ret = 0; quit: UNLOCK(cm_lock); - +quit_unlocked: return (ret); } @@ -381,7 +382,9 @@ _citrus_mapper_close(struct _citrus_mapp _CITRUS_HASH_REMOVE(cm, cm_entry); free(cm-cm_key); } + UNLOCK(cm_lock); mapper_close(cm); + return; quit: UNLOCK(cm_lock); } signature.asc Description: PGP signature