building in a poudriere jail, fails with: gmake[2]: Entering directory `/wrkdirs/usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsurf-3.0' TESTMENT: unchanged LINK: nsgtk /usr/bin/ld: //usr/local/lib/libiconv.so.3: invalid DSO for symbol `libiconv' definition //usr/local/lib/libiconv.so.3: could not read symbols: Bad value gmake[2]: *** [nsgtk] Error 1 Full build log: http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log
Hi, Please try the attached patch.
State Changed From-To: open->feedback
Responsible Changed From-To: freebsd-ports-bugs->tijl Take.
now fails with: In file included from /usr/local/include/gstreamer-0.10/gst/gstelement.h:56, from /usr/local/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/local/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/local/include/gstreamer-0.10/gst/gstobject.h:283: error: expected specifier-qualifier-list before 'GStaticRecMutex' In file included from /usr/local/include/gstreamer-0.10/gst/gstpad.h:35, from /usr/local/include/gstreamer-0.10/gst/gstelement.h:57, from /usr/local/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/local/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/local/include/gstreamer-0.10/gst/gsttask.h:149: error: expected specifier-qualifier-list before 'GStaticRecMutex' /usr/local/include/gstreamer-0.10/gst/gsttask.h:183: error: expected declaration specifiers or '...' before 'GStaticRecMutex' /usr/local/include/gstreamer-0.10/gst/gsttask.h:184: error: expected declaration specifiers or '...' before 'GThreadPriority' In file included from /usr/local/include/gstreamer-0.10/gst/gstelement.h:57, from /usr/local/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/local/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/local/include/gstreamer-0.10/gst/gstpad.h:671: error: expected specifier-qualifier-list before 'GStaticRecMutex' In file included from /usr/local/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/local/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/local/include/gstreamer-0.10/gst/gstelement.h:545: error: expected specifier-qualifier-list before 'GStaticRecMutex' In file included from /usr/local/include/gstreamer-0.10/gst/gst.h:71, from image/video.c:19: /usr/local/include/gstreamer-0.10/gst/gsttrace.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_gst_trace_mutex' gmake[3]: *** [build-FreeBSD-gtk/image_video.o] Error 1 gmake[3]: Leaving directory `/usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsurf-3.0' gmake[2]: *** [/usr/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/build-stamp] Error 2 gmake[2]: Leaving directory `/usr/ports/www/netsurf/work/netsurf-full-3.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 I tried rebuilding gstreamer* ports, still the same error. Thanks Anton
On Fri, 28 Feb 2014 02:48:14 -0800 (PST) Anton Shterenlikht wrote: > now fails with: Ok, here's a new patch replacing the old one.
now I get back to the old failure: gmake[3]: Entering directory `/usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsurf-3.0' if test -d .svn; then \ perl utils/svn-testament.pl /usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsurf-3.0ils/testament.h; \ else \ perl utils/git-testament.pl /usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsurf-3.0ils/testament.h; \ fi TESTMENT: unchanged LINK: nsgtk cc -o nsgtk build-FreeBSD-gtk/build-FreeBSD-gtk_menu_cursor.o build-FreeBSD-gtk/content_content.uild-FreeBSD-gtk/content_content_factory.o build-FreeBSD-gtk/content_dirlist.o build-Fntent_fetch.o build-FreeBSD-gtk/content_fetchers_about.o build-FreeBSD-gtk/content_fetbuild-FreeBSD-gtk/content_fetchers_data.o build-FreeBSD-gtk/content_fetchers_file.o butk/content_fetchers_resource.o build-FreeBSD-gtk/content_hlcache.o build-FreeBSD-gtk/ce.o build-FreeBSD-gtk/content_mimesniff.o build-FreeBSD-gtk/content_url db.o build-Freess.o build-FreeBSD-gtk/css_dump.o build-FreeBSD-gtk/css_internal.o build-FreeBSD-gtk/cuild-FreeBSD-gtk/css_utils.o build-FreeBSD-gtk/desktop_browser.o build-FreeBSD-gtk/deso build-FreeBSD-gtk/desktop_download.o build-FreeBSD-gtk/desktop_frames.o build-FreeBSD-_history_core.o build-FreeBSD-gtk/desktop_history_global_core.o build-FreeBSD-gtk/deskto build-FreeBSD-gtk/desktop_knockout.o build-FreeBSD-gtk/desktop_mouse.o build-FreeBSD-gtetsurf.o build-FreeBSD-gtk/desktop_o ptions.o build-FreeBSD-gtk/desktop_plot_style.o tk/desktop_print.o build-FreeBSD-gtk/desktop_save_complete.o build-FreeBSD-gtk/desktt_haru.o build-FreeBSD-gtk/desktop_save_pdf_pdf_plotters.o build-FreeBSD-gtk/desktopild-FreeBSD-gtk/desktop_scrollbar.o build-FreeBSD-gtk/desktop_search.o build-FreeBSDarchweb.o build-FreeBSD-gtk/desktop_selection.o build-FreeBSD-gtk/desktop_sslcert.o tk/desktop_textarea.o build-FreeBSD-gtk/desktop_textinput.o build-FreeBSD-gtk/desktouild-FreeBSD-gtk/desktop_tree.o build-Free BSD-gtk/desktop_tree_url_node.o build-Free_version.o build-FreeBSD-gtk/gtk_bitmap.o build-FreeBSD-gtk/gtk_compat.o build-FreeBletion.o build-FreeBSD-gtk/gtk_cookies.o build-FreeBSD-gtk/gtk_dialogs_about.o buildk_dialogs_preferences.o build-FreeBSD-gtk/gtk_dialogs_source.o build-FreeBSD-gtk/gtkld-FreeBSD-gtk/gtk_filetype.o build-FreeBSD-gtk/gtk_font_pango.o build-FreeBSD-gtk/gFreeBSD-gtk/gtk_gettext.o build-FreeBSD-gtk/gtk_gui.o build-FreeBSD-gtk/gtk_history.-gtk/gtk_hotlist.o build- FreeBSD-gtk/gtk_login.o build-FreeBSD-gtk/gt! k_menu.o build-_plotters.o build-FreeBSD-gtk/gtk_print.o build-FreeBSD-gtk/gtk_scaffolding.o build-_schedule.o build-FreeBSD-gtk/gtk_search.o build-FreeBSD-gtk/gtk_selection.o build-Fsystem_colour.o build-FreeBSD-gtk/gtk_tabs.o build-FreeBSD-gtk/gtk_theme.o build-Frerobber.o build-FreeBSD-gtk/gtk_thumbnail.o build-FreeBSD-gtk/gtk_toolbar.o build-Freeeview.o build-FreeBSD-gtk/gtk_window.o build-FreeBSD-gtk/image_bmp.o build-FreeBSD- build-FreeBSD-gtk/image_ico.o build-FreeBSD-gtk/image_image.o build-FreeBS D-gtk/imao build-FreeBSD-gtk/image_jpeg.o build-FreeBSD-gtk/image_mng.o build-FreeBSD-gtk/imaFreeBSD-gtk/image_rsvg.o build-FreeBSD-gtk/image_video.o build-FreeBSD-gtk/image_webSD-gtk/javascript_none.o build-FreeBSD-gtk/render_box.o build-FreeBSD-gtk/render_boxild-FreeBSD-gtk/render_box_normalise.o build-FreeBSD-gtk/render_box_textarea.o buildnder_font.o build-FreeBSD-gtk/render_form.o build-FreeBSD-gtk/render_html.o build-Frr_html_css.o build-FreeBSD-gtk/render_html_css_fetcher.o b uild-FreeBSD-gtk/render_htd-FreeBSD-gtk/render_html_interaction.o build-FreeBSD-gtk/render_html_object.o buildnder_html_redraw.o build-FreeBSD-gtk/render_html_script.o build-FreeBSD-gtk/render_i-FreeBSD-gtk/render_layout.o build-FreeBSD-gtk/render_list.o build-FreeBSD-gtk/rended-FreeBSD-gtk/render_table.o build-FreeBSD-gtk/render_textplain.o build-FreeBSD-gtk/build-FreeBSD-gtk/utils_container.o build-FreeBSD-gtk/utils_corestrings.o build-Freeilename.o build-FreeBSD-gtk/utils_filepath.o build-FreeBSD-gtk/u tils_hashtable.o buiutils_http_challenge.o build-FreeBSD-gtk/utils_http_content-disposition.o build-Freettp_content-type.o build-FreeBSD-gtk/utils_http_generics.o build-FreeBSD-gtk/utils_h build-FreeBSD-gtk/utils_http_primitives.o build-FreeBSD-gtk/utils_http_www-authentieeBSD-gtk/utils_libdom.o build-FreeBSD-gtk/utils_locale.o build-FreeBSD-gtk/utils_loSD-gtk/utils_messages.o build-FreeBSD-gtk/utils_nsurl.o build-FreeBSD-gtk/utils_tallBSD-gtk/utils_url.o build-FreeBSD-gtk/utils_use ragent.o build-FreeBSD-gtk/utils_utf8D-gtk/u! tils_util! s.o -lssl -lcrypto -L/usr/local/lib -ljpeg -lmng -lz -L/usr/local -L/usr/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/lib -lnsbmp -L/usr/porwork/netsurf-full-3.0/prefix-gtk/lib -lnsgif -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-.0 -lglib-2.0 -lintl -L/usr/local/lib -lcairo -pthread -lwebp -lgstreamer-0.10 -lmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lxml2 -lcss-L/usr/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/lib -lwapcaplet -ldom -l-L/usr/ports/www/netsu rf/work/netsurf-full-3.0/prefix-gtk/lib -lparserutils -lhubb/www/netsurf/work/netsurf-full-3.0/prefix-gtk/lib -lparserutils -L/usr/local/lib -11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcite -lXdamage -lXfixes -lX11 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -L/usr/local/lib -lfreetype -pthread -L/usr/local/lib -lglib-2.0 -lintl -Wl,--export-dynamic -lgmodule-2.0 -pocal/ lib -lglib-2.0 -lintl -L/usr/local/lib -llcms -lm /usr/bin/ld: //usr/local/lib/libiconv.so.3: invalid DSO for symbol `libiconv' defini //usr/local/lib/libiconv.so.3: could not read symbols: Bad value gmake[3]: *** [nsgtk] Error 1 gmake[3]: Leaving directory `/usr/ports/www/netsurf/work/netsurf-full-3.0/src/netsur gmake[2]: *** [/usr/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/build-stamp] gmake[2]: Leaving directory `/usr/ports/www/netsurf/work/netsurf-full-3.0' *** Error code 1
On Fri, 28 Feb 2014 05:40:30 -0800 (PST) Anton Shterenlikht wrote: > now I get back to the old failure: Silly question maybe, but are you sure the patch was applied correctly? Check that you have this chunk in the Makefile: .if empty(ICONV_LIB) @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif
no, I double and triple-checked, e.g.: # svn diff /usr/ports/www/netsurf/Makefile Index: /usr/ports/www/netsurf/Makefile =================================================================== --- /usr/ports/www/netsurf/Makefile (revision 346428) +++ /usr/ports/www/netsurf/Makefile (working copy) @@ -46,6 +46,8 @@ BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf .endif +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile @@ -53,7 +55,7 @@ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c @${REINPLACE_CMD} 's| -O2||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults - @${REINPLACE_CMD} '/OpenSSL/d ; s| -g||' \ + @${REINPLACE_CMD} '/OpenSSL/d ; s| -g|| ; s|-DG_DISABLE_DEPRECATED||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target @${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \ ${WRKSRC}/src/buildsystem-1.0/makefiles/Makefile.tools @@ -62,6 +64,10 @@ do-configure: @${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} +.if empty(ICONV_LIB) + @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ + ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config +.endif .if ${PORT_OPTIONS:MGSTREAMER} @${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config @@ -71,4 +77,4 @@ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> # which is exactly your patch.
On Fri, 28 Feb 2014 09:19:43 -0800 (PST) Anton Shterenlikht wrote: > no, I double and triple-checked, e.g.: Ok, can you post the output of this: cd /usr/ports/www/netsurf/work find . -name '*o' | xargs grep -l libiconv
On Fri, 28 Feb 2014 18:26:40 +0100 Tijl Coosemans wrote: > On Fri, 28 Feb 2014 09:19:43 -0800 (PST) Anton Shterenlikht wrote: >> no, I double and triple-checked, e.g.: > > Ok, can you post the output of this: > > cd /usr/ports/www/netsurf/work > find . -name '*o' | xargs grep -l libiconv I thought of something else now. Is this the system that was running CURRENT from around November? What revision is it running now? Can you run these commands: cd /usr/local/lib find . -type f | xargs grep -l iconv_open
# cd /usr/ports/www/netsurf/work # find . -name '*o' | xargs grep -l libiconv #
The original build log was from poudriere, run in r257440 jail. All consecutive reports are from a box at r260914. On the r260914 system, with your latest patch, I get: # cd /usr/local/lib # find . -type f | xargs grep -l iconv_open ./libgettextpo.a ./perl5/site_perl/5.16/mach/sys/iconv.ph ./libgio-2.0.so.0 ./libintl.so.9 ./gcc48/include/c++/ext/codecvt_specializations.h ./libidn.a ./gcc47/include/c++/ext/codecvt_specializations.h ./libgsf-1.so.114 ./gcc46/include/c++/ext/codecvt_specializations.h ./libSDL.a ./R/include/R_ext/Riconv.h ./R/lib/libR.so ./R/library/grDevices/libs/grDevices.so ./libaprutil-1.so.5 ./libdjvulibre.so.25 ./libXm.a ./libXm.so.4 ./gcc49/include/c++/ext/codecvt_specializations.h ./qt4/libQtCore.so.4.7.4.debug ./qt4/libQtCore.so.4.8.5 ./libgd.so.5 ./libcddb.so.4 ./libgettextlib-0.18.3.so ./libgs.so.9.06 ./libpangox-1.0.so.0 ./libcddb.a ./libcups.a ./libiconv.a ./libiconv.so.3 ./libwx_base-2.8.so.0.8.0 ./libpoppler-cpp.a ./libgsf-1.a grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template: No such file or directory grep: (dev).py: No such file or directory grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template: No such file or directory grep: (dev).pyc: No such file or directory grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template: No such file or directory grep: (dev).pyo: No such file or directory grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template.py: No such file or directory grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template.pyc: No such file or directory grep: ./python2.7/site-packages/setuptools/script: No such file or directory grep: template.pyo: No such file or directory ./libpangox-1.0.a ./slang/v2/modules/iconv-module.so ./libpoppler-cpp.so.0 ./libgio-2.0.a ./libglib-2.0.a ./libxml2.so.5 ./libglib-2.0.so.0 ./libaprutil-1.a ./libintl.a ./libcdio.so.13 ./libcdio.a ./libidn.so.17 ./libgd.a ./libxml2.a ./libSDL-1.2.so.11 ./libparserutils.a ./libcups.so.2 ./libgettextsrc-0.18.3.so ./libgettextpo.so.5 # Thanks Anton
On Sun, 02 Mar 2014 06:36:51 -0800 (PST) Anton Shterenlikht wrote: > The original build log was from > poudriere, run in r257440 jail. > All consecutive reports are from > a box at r260914. On the r260914 > system, with your latest patch, > I get: > > # cd /usr/local/lib > # find . -type f | xargs grep -l iconv_open > ./libgettextpo.a > ./perl5/site_perl/5.16/mach/sys/iconv.ph > ./libgio-2.0.so.0 > ./libintl.so.9 > ./gcc48/include/c++/ext/codecvt_specializations.h > ./libidn.a > ./gcc47/include/c++/ext/codecvt_specializations.h > ./libgsf-1.so.114 > ./gcc46/include/c++/ext/codecvt_specializations.h > ./libSDL.a > ./R/include/R_ext/Riconv.h > ./R/lib/libR.so > ./R/library/grDevices/libs/grDevices.so > ./libaprutil-1.so.5 > ./libdjvulibre.so.25 > ./libXm.a > ./libXm.so.4 > ./gcc49/include/c++/ext/codecvt_specializations.h > ./qt4/libQtCore.so.4.7.4.debug > ./qt4/libQtCore.so.4.8.5 > ./libgd.so.5 > ./libcddb.so.4 > ./libgettextlib-0.18.3.so > ./libgs.so.9.06 > ./libpangox-1.0.so.0 > ./libcddb.a > ./libcups.a > ./libiconv.a > ./libiconv.so.3 > ./libwx_base-2.8.so.0.8.0 > ./libpoppler-cpp.a > ./libgsf-1.a > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template: No such file or directory > grep: (dev).py: No such file or directory > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template: No such file or directory > grep: (dev).pyc: No such file or directory > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template: No such file or directory > grep: (dev).pyo: No such file or directory > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template.py: No such file or directory > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template.pyc: No such file or directory > grep: ./python2.7/site-packages/setuptools/script: No such file or directory > grep: template.pyo: No such file or directory > ./libpangox-1.0.a > ./slang/v2/modules/iconv-module.so > ./libpoppler-cpp.so.0 > ./libgio-2.0.a > ./libglib-2.0.a > ./libxml2.so.5 > ./libglib-2.0.so.0 > ./libaprutil-1.a > ./libintl.a > ./libcdio.so.13 > ./libcdio.a > ./libidn.so.17 > ./libgd.a > ./libxml2.a > ./libSDL-1.2.so.11 > ./libparserutils.a > ./libcups.so.2 > ./libgettextsrc-0.18.3.so > ./libgettextpo.so.5 > # Ok, let's refine that a bit: # cd /usr/local/lib # find . -type f -name '*.so*' | xargs grep -l iconv_open | xargs grep -L __bsd_iconv I'm trying to find ports that may need to be rebuilt.
# cd /usr/local/lib # find . -type f -name '*.so*' | xargs grep -l iconv_open | xargs grep -L __bsd_iconv ./libgio-2.0.so.0 ./libintl.so.9 ./libgsf-1.so.114 ./R/lib/libR.so ./R/library/grDevices/libs/grDevices.so ./libaprutil-1.so.5 ./libdjvulibre.so.25 ./libXm.so.4 ./qt4/libQtCore.so.4.7.4.debug ./qt4/libQtCore.so.4.8.5 ./libgd.so.5 ./libcddb.so.4 ./libgettextlib-0.18.3.so ./libgs.so.9.06 ./libpangox-1.0.so.0 ./libiconv.so.3 ./libwx_base-2.8.so.0.8.0 ./slang/v2/modules/iconv-module.so ./libpoppler-cpp.so.0 ./libxml2.so.5 ./libglib-2.0.so.0 ./libcdio.so.13 ./libidn.so.17 ./libSDL-1.2.so.11 ./libcups.so.2 ./libgettextsrc-0.18.3.so ./libgettextpo.so.5 #
On Sun, 02 Mar 2014 08:02:43 -0800 (PST) Anton Shterenlikht wrote: > # cd /usr/local/lib > # find . -type f -name '*.so*' | xargs grep -l iconv_open | xargs grep -L __bsd_iconv > ./libgio-2.0.so.0 > ./libintl.so.9 > ./libgsf-1.so.114 > ./R/lib/libR.so > ./R/library/grDevices/libs/grDevices.so > ./libaprutil-1.so.5 > ./libdjvulibre.so.25 > ./libXm.so.4 > ./qt4/libQtCore.so.4.7.4.debug > ./qt4/libQtCore.so.4.8.5 > ./libgd.so.5 > ./libcddb.so.4 > ./libgettextlib-0.18.3.so > ./libgs.so.9.06 > ./libpangox-1.0.so.0 > ./libiconv.so.3 > ./libwx_base-2.8.so.0.8.0 > ./slang/v2/modules/iconv-module.so > ./libpoppler-cpp.so.0 > ./libxml2.so.5 > ./libglib-2.0.so.0 > ./libcdio.so.13 > ./libidn.so.17 > ./libSDL-1.2.so.11 > ./libcups.so.2 > ./libgettextsrc-0.18.3.so > ./libgettextpo.so.5 > # > Ok, try rebuilding these ports and see if that list becomes smaller. converters/libiconv devel/gettext devel/libgsf print/cups-client graphics/poppler (you need at least r346578) textproc/libxml2 I currently suspect the problem is not within netsurf but with one of the libraries it depends on.
I haven't updated the ports yet, but I've updated the poudriere jail and the ports tree, and repeated a clean build, and still I get the same error: http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log This was done in this poudriere jail: # poudriere jails -l JAILNAME VERSION ARCH METHOD PATH ia64-11 11.0-CURRENT r262690 ia64 svn+https /pdr/jails/ia64-11 With the poudriere ports tree at r347001.
On Wed, 5 Mar 2014 09:40:01 GMT Anton Shterenlikht wrote: > I haven't updated the ports yet, but > I've updated the poudriere jail and the > ports tree, and repeated a clean build, > and still I get the same error: > > http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log > > This was done in this poudriere jail: > > # poudriere jails -l > JAILNAME VERSION ARCH METHOD PATH > ia64-11 11.0-CURRENT r262690 ia64 svn+https /pdr/jails/ia64-11 > > With the poudriere ports tree at r347001. Hmm.... Can you do this: cd /usr/ports/www/netsurf make grep -Rl libiconv work
ok, using WRKDIRS in the same poudriere build tree, I get: # pwd /pdr/data/wrkdirs/ia64-11-default/default # grep -Rl libiconv work work/netsurf-full-3.0/src/libhubbub-0.2.0/README work/netsurf-full-3.0/src/libhubbub-0.2.0/docs/doxygen.conf grep: work/netsurf-full-3.0/src/netsurf-3.0/framebuffer/res/messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/atari/scripts/makelibs.sh work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/it.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/de.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/nl.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/en.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/fr.lproj/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/API work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/Uni-iconv work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/nl: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/fr: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/en/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/nl/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaCross work/netsurf-full-3.0/src/netsurf-3.0/Docs/Doxyfile work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaOS work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-Windows work/netsurf-full-3.0/src/netsurf-3.0/build-FreeBSD-gtk/utils_utf8.o work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/beos/res/messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/en/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/nl/Messages: No such file or directory # Note the object file: work/netsurf-full-3.0/src/netsurf-3.0/build-FreeBSD-gtk/utils_utf8.o However, if I do this on another ia64 11-current box, with ports tree at r347094, I get: # make showconfig ===> The following configuration options are available for netsurf-3.0_2: GSTREAMER=off: Multimedia support via GStreamer WEBP=off: WebP image format support ===> Use 'make config' to modify these settings # grep -Rl libiconv work grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/nl/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/en/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/atari/scripts/makelibs.sh work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaCross work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-Windows work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaOS work/netsurf-full-3.0/src/netsurf-3.0/Docs/Doxyfile work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/Uni-iconv work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/API grep: work/netsurf-full-3.0/src/netsurf-3.0/framebuffer/res/messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/beos/res/messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/nl: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/fr: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/nl/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/en/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/de.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/it.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/nl.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/en.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/fr.lproj/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults work/netsurf-full-3.0/src/libhubbub-0.2.0/docs/doxygen.conf work/netsurf-full-3.0/src/libhubbub-0.2.0/README # Note that here I don't get the utils_utf8.o file. There should also be the default options here, i.e. GSTREAMER=off, WEBP=off. Sorry to add confusion to the issue. Your support is much appreciated! Thanks Anton
On Wed, 05 Mar 2014 03:07:04 -0800 (PST) Anton Shterenlikht wrote: > ok, using WRKDIRS in the same poudriere > build tree, I get: > > # pwd > /pdr/data/wrkdirs/ia64-11-default/default > # grep -Rl libiconv work > work/netsurf-full-3.0/src/libhubbub-0.2.0/README > work/netsurf-full-3.0/src/libhubbub-0.2.0/docs/doxygen.conf > grep: work/netsurf-full-3.0/src/netsurf-3.0/framebuffer/res/messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults > work/netsurf-full-3.0/src/netsurf-3.0/atari/scripts/makelibs.sh > work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/it.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/de.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/nl.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/en.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/fr.lproj/Messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/API > work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/Uni-iconv > work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults > work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults > grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/nl: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/fr: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/de/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/it/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/fr/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/en/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/nl/Messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaCross > work/netsurf-full-3.0/src/netsurf-3.0/Docs/Doxyfile > work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaOS > work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-Windows > work/netsurf-full-3.0/src/netsurf-3.0/build-FreeBSD-gtk/utils_utf8.o > work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults > grep: work/netsurf-full-3.0/src/netsurf-3.0/beos/res/messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/de/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/it/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/fr/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/en/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/nl/Messages: No such file or directory > # > > Note the object file: > > work/netsurf-full-3.0/src/netsurf-3.0/build-FreeBSD-gtk/utils_utf8.o Yes, I also now found this in your build log: M.CONFIG: glibc internal iconv disabled (NETSURF_USE_LIBICONV_PLUG := NO) This should be enabled by the patch. Can you check that it is applied correctly.
As far as I can see, the patch applied correctly. Here's the patched Makefile: # Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD: head/www/netsurf/Makefile 342809 2014-02-05 18:13:00Z marino $ PORTNAME= netsurf PORTVERSION= 3.0 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://download.netsurf-browser.org/netsurf/releases/source-full/ DISTNAME= ${PORTNAME}-${PORTVERSION}-full-src MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight web browser LICENSE= GPLv2 MIT LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libmng.so:${PORTSDIR}/graphics/libmng ALL_TARGET= #empty CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lssl -lcrypto -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_ARGS= HOST_CC="${CC}" CC="${CC}" CCOPT="" HOST="${OPSYS}" \ WARNFLAGS="" Q="" OPTCFLAGS="${CFLAGS}" USES= bison gmake pkgconfig iconv USE_GNOME= librsvg2 NSFB_VERSION= 0.1.0 WRKSRC= ${WRKDIR}/${PORTNAME}-full-${PORTVERSION} DESKTOP_ENTRIES="NetSurf" "${COMMENT}" "" "${PORTNAME}" "" "true" OPTIONS_DEFINE= GSTREAMER WEBP WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER= yes .endif .if ${OPSYS} == DragonFly LIB_DEPENDS+= libssl.so:${PORTSDIR}/security/openssl BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf .endif .include <bsd.port.pre.mk> post-patch: @${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile @${REINPLACE_CMD} 's|endian|sys/endian|' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c @${REINPLACE_CMD} 's| -O2||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults @${REINPLACE_CMD} '/OpenSSL/d ; s| -g|| ; s|-DG_DISABLE_DEPRECATED||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target @${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \ ${WRKSRC}/src/buildsystem-1.0/makefiles/Makefile.tools @${REINPLACE_CMD} -e 's| -g|| ; s|flex|${LOCALBASE}/bin/&|' \ ${WRKSRC}/src/nsgenbind-0.0.1/src/Makefile do-configure: @${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} .if empty(ICONV_LIB) @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif .if ${PORT_OPTIONS:MGSTREAMER} @${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif .if ${PORT_OPTIONS:MWEBP} @${REINPLACE_CMD} '/NETSURF_USE_WEBP/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif .include <bsd.port.post.mk> However, after make configure, I see that some files have NETSURF_USE_LIBICONV_PLUG = YES, and others NETSURF_USE_LIBICONV_PLUG = NO: # grep -R LIBICONV_PLUG work grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/nl/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/en/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/gtk/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO work/netsurf-full-3.0/src/netsurf-3.0/gtk/Makefile.defaults.bak: NETSURF_USE_LIBICONV_PLUG := NO work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO grep: work/netsurf-full-3.0/src/netsurf-3.0/framebuffer/res/messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults:NETSURF_USE_LIBICONV_PLUG := YES grep: work/netsurf-full-3.0/src/netsurf-3.0/beos/res/messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := YES grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/nl: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/fr: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/Makefile:$(eval $(call feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv)) grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/nl/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/it/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/fr/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/de/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/en/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/monkey/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/de.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/it.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/nl.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/en.lproj/Messages: No such file or directory grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/fr.lproj/Messages: No such file or directory work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO work/netsurf-full-3.0/src/netsurf-3.0/Makefile.config:NETSURF_USE_LIBICONV_PLUG=YES work/netsurf-full-3.0/src/netsurf-3.0/Makefile.config.bak:NETSURF_USE_LIBICONV_PLUG=NO # Is that expected? Thank you Anton
On Thu, 06 Mar 2014 03:06:53 -0800 (PST) Anton Shterenlikht wrote: > However, after make configure, I see that some > files have NETSURF_USE_LIBICONV_PLUG = YES, and others > NETSURF_USE_LIBICONV_PLUG = NO: > > # grep -R LIBICONV_PLUG work > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/nl/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/it/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/fr/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/de/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/gtk/res/en/Messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/gtk/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > work/netsurf-full-3.0/src/netsurf-3.0/gtk/Makefile.defaults.bak: NETSURF_USE_LIBICONV_PLUG := NO > work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > grep: work/netsurf-full-3.0/src/netsurf-3.0/framebuffer/res/messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults:NETSURF_USE_LIBICONV_PLUG := YES > grep: work/netsurf-full-3.0/src/netsurf-3.0/beos/res/messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := YES > grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/nl: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/amiga/resources/fr: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/Makefile:$(eval $(call feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv)) > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/nl/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/it/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/fr/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/de/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/monkey/res/en/Messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/monkey/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/de.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/it.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/nl.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/en.lproj/Messages: No such file or directory > grep: work/netsurf-full-3.0/src/netsurf-3.0/cocoa/res/fr.lproj/Messages: No such file or directory > work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults: NETSURF_USE_LIBICONV_PLUG := NO > work/netsurf-full-3.0/src/netsurf-3.0/Makefile.config:NETSURF_USE_LIBICONV_PLUG=YES > work/netsurf-full-3.0/src/netsurf-3.0/Makefile.config.bak:NETSURF_USE_LIBICONV_PLUG=NO > # > > Is that expected? Yes. Makefile.config at the bottom is what matters. Is this from the poudriere setup?
I forgot to update the build log. This log is from a patched build: http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log As you can see, here: M.CONFIG: glibc internal iconv enabled (NETSURF_USE_LIBICONV_PLUG := YES) So the patch did indeed apply correctly. Seems there's something else going on. Also, I updated and rebuilt quite a few other ports. So now I get: # find /usr/local/lib -type f -name '*.so*' | xargs grep -l iconv_open | xargs grep -L __bsd_iconv /usr/local/lib/libgsf-1.so.114 /usr/local/lib/libiconv.so.3 /usr/local/lib/R/library/grDevices/libs/grDevices.so /usr/local/lib/qt4/libQtCore.so.4.7.4.debug /usr/local/lib/qt4/libQtCore.so.4.8.5 /usr/local/lib/libgd.so.5 /usr/local/lib/libcddb.so.4 /usr/local/lib/libgio-2.0.so.0 /usr/local/lib/slang/v2/modules/iconv-module.so /usr/local/lib/libpangox-1.0.so.0 /usr/local/lib/libglib-2.0.so.0 /usr/local/lib/libcdio.so.13 # Also, just to confirm, I rerun this: # pwd /usr/ports/www/netsurf # grep -Rl libiconv work 2> /dev/null work/netsurf-full-3.0/src/netsurf-3.0/windows/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/atari/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/atari/scripts/makelibs.sh work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaCross work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-Windows work/netsurf-full-3.0/src/netsurf-3.0/Docs/BUILDING-AmigaOS work/netsurf-full-3.0/src/netsurf-3.0/Docs/Doxyfile work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/Uni-iconv work/netsurf-full-3.0/src/netsurf-3.0/riscos/distribution/3rdParty/Iconv/doc/API work/netsurf-full-3.0/src/netsurf-3.0/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/beos/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/amiga/Makefile.defaults work/netsurf-full-3.0/src/netsurf-3.0/cocoa/Makefile.defaults work/netsurf-full-3.0/src/libhubbub-0.2.0/docs/doxygen.conf work/netsurf-full-3.0/src/libhubbub-0.2.0/README # Many thanks Anton
>From tijl@freebsd.org Thu Mar 6 13:58:36 2014 > >What does this say: > >find /usr/local/lib -type f -name '*.so*' | xargs grep -l libiconv > # find /usr/local/lib -type f -name '*.so*' | xargs grep -l libiconv /usr/local/lib/libgirepository-1.0.so.1 /usr/local/lib/polkit-1/extensions/libnullbackend.so /usr/local/lib/libpolkit-backend-1.so.0 /usr/local/lib/libpangocairo-1.0.so.0 /usr/local/lib/libpolkit-gobject-1.so.0 /usr/local/lib/libgsf-1.so.114 /usr/local/lib/libORBit-2.so.0 /usr/local/lib/gio/modules/libgsettingsgconfbackend.so /usr/local/lib/liblqr-1.so.3 /usr/local/lib/libgconf-2.so.4 /usr/local/lib/libpangoft2-1.0.so.0 /usr/local/lib/libiconv.so.3 /usr/local/lib/libpangoxft-1.0.so.0 /usr/local/lib/libgdk-x11-2.0.so.0 /usr/local/lib/libatk-1.0.so.0 /usr/local/lib/libavahi-glib.so.1 /usr/local/lib/graphviz/libgvplugin_gd.so.6 /usr/local/lib/graphviz/libgvplugin_lasi.so.6 /usr/local/lib/graphviz/libgvplugin_pango.so.6 /usr/local/lib/graphviz/libgvplugin_xlib.so.6 /usr/local/lib/libnotify.so.4 /usr/local/lib/libdbus-glib-1.so.2 /usr/local/lib/libgdk_pixbuf-2.0.so.0 /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so /usr/local/lib/qt4/libQtCore.so.4.7.4.debug /usr/local/lib/qt4/libQtCore.so.4.8.5 /usr/local/lib/gtk-2.0/2.10.0/immodules/im-am-et.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-ipa.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-multipress.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-thai.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-viqr.so /usr/local/lib/gtk-2.0/2.10.0/immodules/im-xim.so /usr/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so /usr/local/lib/gtk-2.0/2.10.0/engines/libsvg.so /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so /usr/local/lib/gtk-2.0/modules/libferret.so /usr/local/lib/gtk-2.0/modules/libgail.so /usr/local/lib/gtk-2.0/modules/libcanberra-gtk-module.so /usr/local/lib/libpango-1.0.so.0 /usr/local/lib/GConf/2/libgconfbackend-xml.so /usr/local/lib/GConf/2/libgconfbackend-oldxml.so /usr/local/lib/libeggdbus-1.so.0 /usr/local/lib/libORBit-imodule-2.so.0 /usr/local/lib/libpolkit-agent-1.so.0 /usr/local/lib/libcroco-0.6.so.3 /usr/local/lib/librsvg-2.so.2 /usr/local/lib/libgdk_pixbuf_xlib-2.0.so.0 /usr/local/lib/libharfbuzz.so.0 /usr/local/lib/libcairo-gobject.so.2 /usr/local/lib/gobject-introspection/giscanner/_giscanner.so /usr/local/lib/libgio-2.0.so.0 /usr/local/lib/libavahi-common.so.3 /usr/local/lib/pango/1.8.0/modules/pango-arabic-lang.so /usr/local/lib/pango/1.8.0/modules/pango-basic-fc.so /usr/local/lib/pango/1.8.0/modules/pango-indic-lang.so /usr/local/lib/libgettextpo.so.5 /usr/local/lib/libgee-0.8.so.2 /usr/local/lib/libgmodule-2.0.so.0 /usr/local/lib/libgthread-2.0.so.0 /usr/local/lib/compat/pkg/libMagickWand.so.5 /usr/local/lib/compat/pkg/libMagickCore.so.5 /usr/local/lib/compat/pkg/libMagick++.so.5 /usr/local/lib/libIDL-2.so.0 /usr/local/lib/libgnome-keyring.so.0 /usr/local/lib/libgobject-2.0.so.0 /usr/local/lib/libavahi-core.so.7 /usr/local/lib/libglib-2.0.so.0 /usr/local/lib/libavahi-gobject.so.0 /usr/local/lib/libhowl.so.0 /usr/local/lib/libcanberra-gtk.so.0 /usr/local/lib/libavahi-client.so.3 /usr/local/lib/libharfbuzz-icu.so.0 /usr/local/lib/libgailutil.so.18 /usr/local/lib/libgtk-x11-2.0.so.0 /usr/local/lib/libORBitCosNaming-2.so.0 /usr/local/lib/libgettextsrc-0.18.3.so #
Author: tijl Date: Thu Mar 6 18:21:04 2014 New Revision: 347295 URL: http://svnweb.freebsd.org/changeset/ports/347295 QAT: https://qat.redports.org/buildarchive/r347295/ Log: - Fix compilation with newer glib20. - Prefer libc iconv over libiconv. PR: ports/186948 Modified: head/www/netsurf/Makefile Modified: head/www/netsurf/Makefile ============================================================================== --- head/www/netsurf/Makefile Thu Mar 6 18:20:53 2014 (r347294) +++ head/www/netsurf/Makefile Thu Mar 6 18:21:04 2014 (r347295) @@ -46,6 +46,8 @@ LIB_DEPENDS+= libssl.so:${PORTSDIR}/secu BUILD_DEPENDS+= gperf:${PORTSDIR}/devel/gperf .endif +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} '/^NSFB_LINUX_AVAILABLE/ s|yes|no| ; s| -g||' \ ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/Makefile @@ -53,7 +55,7 @@ post-patch: ${WRKSRC}/src/libnsfb-${NSFB_VERSION}/src/plot/*bpp*.c @${REINPLACE_CMD} 's| -O2||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.defaults - @${REINPLACE_CMD} '/OpenSSL/d ; s| -g||' \ + @${REINPLACE_CMD} '/OpenSSL/d ; s| -g|| ; s|-DG_DISABLE_DEPRECATED||' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/gtk/Makefile.target @${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \ ${WRKSRC}/src/buildsystem-1.0/makefiles/Makefile.tools @@ -62,6 +64,10 @@ post-patch: do-configure: @${CP} ${FILESDIR}/Makefile.config ${WRKSRC}/src/netsurf-${PORTVERSION} +.if empty(ICONV_LIB) + @${REINPLACE_CMD} '/NETSURF_USE_LIBICONV_PLUG/ s|NO|YES|' \ + ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config +.endif .if ${PORT_OPTIONS:MGSTREAMER} @${REINPLACE_CMD} '/NETSURF_USE_VIDEO/ s|NO|YES|' \ ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config @@ -71,4 +77,4 @@ do-configure: ${WRKSRC}/src/netsurf-${PORTVERSION}/Makefile.config .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
With ports tree at r347334, I still get the same error: http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log
On Fri, 7 Mar 2014 11:30:02 GMT Anton Shterenlikht wrote: > With ports tree at r347334, I still > get the same error: > > http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log Can you try a poudriere build?
seems fixed in r347560: http://eis.bris.ac.uk/~mexas/logs/netsurf-3.0_2.log Please close this PR. Many thanks Anton
State Changed From-To: feedback->closed Closed at submitter's request: problem has been fixed.