Date: Wed, 9 Feb 2005 02:32:15 GMT From: Adam Weinberger <adamw@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77290: OOo2 moz needs GTK2 Message-ID: <200502090232.j192WFf0075262@freefall.freebsd.org> Resent-Message-ID: <200502090240.j192eNk5075509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77290 >Category: ports >Synopsis: OOo2 moz needs GTK2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 09 02:40:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Adam Weinberger >Release: FreeBSD 4.11-RC2 i386 >Organization: >Environment: 5-STABLE. >Description: OOo2's mozilla uses GTK2, but the OOo2 port still believes that it uses gtk1.2. This means that: a) gtk12/glib12 are built and installed for no reason; and b) the mozilla will not build, because it is missing dependencies. The error log below also shows another bug in the port: even if mozilla build fails, it happily tries to install it anyway. The following is the tail end of an OOo2 build on a clean system with only WITHOUT_CCACHE defined (I've starred important lines): * checking for gtk+-2.0 >= 1.3.7... yes checking MOZ_GTK2_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/u r/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/l cal/include/freetype2 -I/usr/local/include checking MOZ_GTK2_LIBS... -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11 2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft 1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv checking for XpGetPrinterList in -lXp... yes * configure: warning: Cannot build gnomevfs without gnome-vfs-2 toolkit. Removing gnomevfs f om MOZ_EXTENSIONS. checking for gssapi.h... yes checking for gss_init_sec_context in -lgss... no checking for gss_init_sec_context in -lgssapi... yes checking for gssapi/gssapi_generic.h... no checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for gcc -pipe support... yes checking whether compiler supports -Wno-long-long... yes checking whether C++ compiler has -pedantic long long bug... no checking for correct overload resolution with const and templates... no checking for libIDL-2.0 >= 0.8.0... gnome-config: not found gnome-config: not found Package libIDL-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libIDL-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libIDL-2.0' found * configure: error: Library requirements (libIDL-2.0 >= 0.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. dmake: Error code 1, while making './unxfbsd.pro/misc/build/so_configured_ooo_mozab' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/moz.runtime * echo ./unxfbsd.pro/bin/mozruntime.zip>& /dev/null cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnspr4.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libnspr4.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libplc4.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libplc4.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libplds4.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libplds4.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libxpcom.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libxpcom.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libxpcom_compat.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libxpcom_compat.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libnss3.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libssl3.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libssl3.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libsoftokn3.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libsoftokn3.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libsmime3.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libsmime3.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libmozjs.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libmozjs.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libmozz.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libmozz.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libmsgbaseutil.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libmsgbaseutil.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libldap50.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libldap50.so && cp -f ./unxfbsd.pro/misc/build/mozilla/dist/bin/libprldap50.so \ ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so && \ echo >& /dev/null cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnspr4.so: No such file or directory dmake: Error code 1, while making './unxfbsd.pro/misc/build/so_moz_runtime_files' '---* tg_merge.mk *---' *** Error code 255 Stop in /usr/ports/editors/openoffice-2.0-devel. >How-To-Repeat: cd /usr/ports/editors/openoffice-2.0-devel ; make Try building OpenOffice-2.0 in a clean jail sometime. >Fix: Remove the superfluous gtk12/glib12 requirements, and change them to things like libIDL that reflect what mozilla needs to build. The moz build probably needs a couple other things. It's a picky beast. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502090232.j192WFf0075262>