pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41578: www/firefox3 fails to compile on FreeBSD



Even further:

c++ -o xpcshell.o -c Â-DOSTYPE=\"FreeBSD7\" -DOSARCH=FreeBSD -DJS_THREADSAFE Â-I. -I. -I../../../../dist/include/xpconnect -I../../../../dist/include/xpcom -I.././../../dist/include/js -I../../../../dist/include/caps -I../../../../dist/include  -I../../../../dist/include/xpcshell -I../../../../dist/include/nspr -I/home/kordex/pkg/include  Â-I../../../../dist/sdk/include  Â-fPIC Â-I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -O2 -I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5 -fno-strict-aliasing -fshort-wchar -pipe Â-DNDEBUG -DTRIMMED -O2 Â-I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/xpcshell.pp xpcshell.cpp
c++ -o xpcshell -I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -O2 -I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5 -fno-strict-aliasing -fshort-wchar -pipe Â-DNDEBUG -DTRIMMED -O2 Âxpcshell.o  Â-pthread -Wl,-R/home/kordex/pkg/lib/firefox3 -L/home/kordex/pkg/lib -Wl,-R/home/kordex/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/home/kordex/pkg/lib/python2.5/config Â-Wl,-rpath-link,../../../../dist/bin Â-L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpcomglue_s.a -L../../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -lxul Â-liconv -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -L/home/kordex/pkg/lib -L/usr/lib -L/home/kordex/pkg/lib/python2.5/config -pthread -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 Â-lm
/usr/bin/ld: cannot find -lxpcom
make[4]: *** [xpcshell] Error 1
make[4]: Leaving directory `/home/kordex/pkgsrc/www/firefox3/work/mozilla/js/src/xpconnect/shell'
make[3]: *** [tools] Error 2

"Fix":

cdÂ/pkgsrc/www/firefox3/work/mozilla/dist/bin
ln -s libxpcom.so.1.0 libxpcom.so


2009/6/12 kordex - <kordex%gmail.com@localhost>
Also on the further as build continues:

www/firefox3 fails to compile on freebsd; fails to find needed libraries as they are named .so.1.0 in search path's provided and they should be ln'ed to .so too. c++ -I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5 -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -O2 -I/home/kordex/pkg/include -I/usr/include -I/home/kordex/pkg/include/freetype2 -I/home/kordex/pkg/include/python2.5 -fno-strict-aliasing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -Wl,-R/home/kordex/pkg/lib/firefox3 -shared -Wl,-h,libxul.so.1.0 -o libxul.so.1.0 nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o -pthread -Wl,-R/home/kordex/pkg/lib/firefox3 -L/home/kordex/pkg/lib -Wl,-R/home/kordex/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/home/kordex/pkg/lib/python2.5/config -Wl,-rpath-link,../../dist/bin -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a .././staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ./../staticlib/components/libxmlextras.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a .././staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a ../../staticlib/libjsj.a -Wl,--no-whole-archive -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lsqlite3 -L../../dist/bin -L../../dist/lib -L../../dist/bin -L../../dist/lib -L/home/kordex/pkg/lib -ljpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 -L../../modules/zlib/src -lmozz -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lcairo -lfreetype -lfontconfig -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lXrender -lcairo -lX11 -L../../dist/lib -lplds4 -lplc4 -lnspr4 -L/home/kordex/pkg/lib -L/usr/lib -L/home/kordex/pkg/lib/python2.5/config -pthread -lX11 -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lXft -lXrender -lfontconfig -lfreetype -lX11 -Wl,-R/home/kordex/pkg/lib -L/home/kordex/pkg/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lXt -lgthread-2.0 -L/home/kordex/pkg/lib -lfreetype -lz -lm -liconv /usr/bin/ld: cannot find -lmozjs make[3]: *** [libxul.so.1.0] Error 1 make[3]: Leaving directory `/home/kordex/pkgsrc/www/firefox3/work/mozilla/toolkit/library' make[2]: *** [libs_tier_toolkit] Error 2 make[2]: Leaving directory `/home/kordex/pkgsrc/www/firefox3/work/mozilla' make[1]: *** [tier_toolkit] Error 2 make[1]: Leaving directory `/home/kordex/pkgsrc/www/firefox3/work/mozilla' gmake: *** [default] Error 2 *** Error code 2
"Fix":

cd /pkgsrc/www/firefox3/work/mozilla/dist/bin && ln -s libmozjs.so.1.0 libmozjs.so cd /pkgsrc/www/firefox3/work/mozilla/dist/lib && ln -s libxul.so.1.0 libxul.so


2009/6/12 kordex - <kordex%gmail.com@localhost>

The following reply was made to PR pkg/41578; it has been noted by GNATS.

From: kordex - <kordex%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/41578: www/firefox3 fails to compile on FreeBSD
Date: Fri, 12 Jun 2009 10:07:57 +0300

Â--001636c5b52b38a515046c215ea6
ÂContent-Type: text/plain; charset=UTF-8
ÂContent-Transfer-Encoding: 7bit

ÂFreeBSD matrix.flexnet.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Fri Feb 13
Â04:58:44 CET 2009 Â Â root%stock.ovh.net@localhost:/usr/obj/usr/src/sys/OVH Âi386
Âthe uname -a field if i left it empty.

Â2009/6/12 <gnats-admin%netbsd.org@localhost>

Â> Thank you very much for your problem report.
Â> It has the internal identification `pkg/41578'.
Â> The individual assigned to look at your
Â> report is: pkg-manager.
Â>
Â> >Category: Â Â Â pkg
Â> >Responsible: Â Âpkg-manager
Â> >Synopsis: Â Â Â www/firefox3 fails to compile on FreeBSD
Â> >Arrival-Date: Â Fri Jun 12 07:05:00 +0000 2009
Â>
Â>

Â--001636c5b52b38a515046c215ea6
ÂContent-Type: text/html; charset=UTF-8
ÂContent-Transfer-Encoding: quoted-printable

Â<div>FreeBSD <a href="" href="http://matrix.flexnet.org" target="_blank">http://matrix.flexnet.org">matrix.flexnet.org</a> 7=
Â.1-RELEASE FreeBSD 7.1-RELEASE #0: Fri Feb 13 04:58:44 CET 2009 =C2=A0 =C2=
Â=A0 root%stock.ovh.net@localhost:/usr/obj/usr/src/sys/OVH =C2=A0i386</div><div>=C2=A0=
Âthe uname -a field if i left it empty.</div>
Â<br><div class=3D"gmail_quote">2009/6/12 Â<span dir=3D"ltr">&lt;<a href=""> Âmailto:gnats-admin%netbsd.org@localhost">gnats-admin%netbsd.org@localhost</a>&gt;</span><br><bl=
Âockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
Âccc solid;padding-left:1ex;">
ÂThank you very much for your problem report.<br>
ÂIt has the internal identification `pkg/41578&#39;.<br>
ÂThe individual assigned to look at your<br>
Âreport is: pkg-manager.<br>
Â<br>
Â&gt;Category: =C2=A0 =C2=A0 =C2=A0 pkg<br>
Â&gt;Responsible: =C2=A0 =C2=A0pkg-manager<br>
Â&gt;Synopsis: =C2=A0 =C2=A0 =C2=A0 www/firefox3 fails to compile on FreeBSD=
Â<br>
Â&gt;Arrival-Date: =C2=A0 Fri Jun 12 07:05:00 +0000 2009<br>
Â<br>
Â</blockquote></div><br>

Â--001636c5b52b38a515046c215ea6--





Home | Main Index | Thread Index | Old Index