Hello,I am trying to compile firefox (www/firefox package) from pkgsrc 2017q4
branch. I have disabled jpeg9b by the following changes to
mozilla-options.mk#.include
"../../mk/jpeg.buildlink3.mk"CONFIGURE_ARGS+=
--enable-libjpeg-turboI had to disable jpeg9b as it conflicted with
libjpeg-turbo which I cannot uninstall.I have installed all dependencies via
pkgin.My illumos system:root@tribblix:~# uname -aSunOS tribblix 5.11
omnitribblix-m20.3 i86pc i386 i86pc illumosMy path is:root@tribblix:~# echo
$PATH/opt/sunstudio12.1/bin:/usr/ccs/bin:/opt/local/sbin:/opt/local/bin:/opt/csw/bin:/opt/libexec:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/netbeans/bin:/opt/gnusoft/gentoo/usr/#bin:#{EPREFIX}/bin:/opt/gnusoft/gentoo/tmp/usr/bin:/opt/gnusoft/gentoo/tmp/bin:/opt/lxadm-0.1.6/bin:The
compiler I am using is pkgsrc gcc 4.9.4When I do either bmake package or bmake
install I am getting the following error. Is there any way I can overcome
this?====================CONSOLE TRACE -
BEGIN=============================================checking for a shell...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.tools/bin/shchecking for
host system type... i386-pc-solaris2.11checking for target system type...
i386-pc-solaris2.11checking for vcs source checkout... nochecking for a
shell...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.tools/bin/shchecking for
host system type... i386-pc-solaris2.11checking for target system type...
i386-pc-solaris2.11checking whether cross compiling... nochecking for the
target C compiler...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/gccchecking
whether the target C compiler can be used... yeschecking for Python 3...
/opt/local/bin/python3 (3.6.4)checking for pkg_config...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.tools/bin/pkg-configchecking
for pkg-config version... 1.3.5checking for yasm...
/opt/local/bin/yasmchecking yasm version... 1.3.0checking the target C compiler
version... 4.9.4checking the target C compiler works... yeschecking for the
target C++ compiler...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/g++checking
whether the target C++ compiler can be used... yeschecking the target C++
compiler version... 4.9.4checking the target C++ compiler works... yeschecking
for the host C compiler...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/gccchecking
whether the host C compiler can be used... yeschecking the host C compiler
version... 4.9.4checking the host C compiler works... yeschecking for the host
C++ compiler...
/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/g++checking
whether the host C++ compiler can be used... yeschecking the host C++ compiler
version... 4.9.4checking the host C++ compiler works... yeschecking for 64-bit
OS... nochecking bindgen cflags... "-isystem/opt/local/include/nspr",
"-isystem/opt/local/include/pixman-1"checking for linker...DEBUG:
Executing:
`/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/gcc
-print-prog-name=ld.gold`DEBUG: Executing:
`/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/gcc
-Wl,--version`DEBUG: The command returned non-zero exit status 1.DEBUG: Its
error output was:DEBUG: | collect2 version 4.9.4DEBUG: | /usr/bin/ld
-R/opt/local/lib -Y P,/usr/ccs/lib:/lib:/usr/lib:/opt/local/lib -Qy
/usr/lib/crt1.o /usr/lib/crti.o /usr/lib/values-Xa.o
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4/32/crtbegin.o
-L/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4/32
-L/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4/../../../../x86_64-sun-solaris2.11/lib
-L/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4/../../..
-L/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4
-R/opt/local/gcc49/x86_64-sun-solaris2.11/lib/. -R/opt/local/gcc49/lib/.
--version -lssp_nonshared -lssp -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.4/32/crtend.o
/usr/lib/crtn.oDEBUG: | ld: Software Generation Utilities - Solaris Link
Editors: 5.11-1.1756 (illumos)DEBUG: |
Undefined
first referencedDEBUG: |
symbol
in fileDEBUG: |
main
/usr/lib/crt1.oDEBUG: | ld: fatal: symbol referencing errors. No output
written to a.outDEBUG: | collect2: error: ld returned 1 exit statusERROR:
Command `/opt/pkgsrc-joyent-release-2017Q4/www/firefox/work/.cwrapper/bin/gcc
-Wl,--version` failed with exit status 1.*** Error code 1Stop.bmake[1]: stopped
in /opt/pkgsrc-joyent-release-2017Q4/www/firefox*** Error code 1Stop.bmake:
stopped in
/opt/pkgsrc-joyent-release-2017Q4/www/firefox====================CONSOLE TRACE
- END=============================================ThanksKarthik
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125
Powered by Listbox: http://www.listbox.com