Hi Till! i did the gmake env-prep before trying to complie, and i get
steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$ pkg search -r cstddef INDEX ACTION VALUE PACKAGE basename file opt/sunstudio12.1/prod/include/CC/std/cstddef pkg:/developer/sunstudio12u1/[email protected] basename file opt/sunstudio12.1/prod/include/CC/stlport4/cstddef pkg:/developer/sunstudio12u1/[email protected] basename file opt/gcc/4.4.4/include/c++/4.4.4/cstddef pkg:/developer/[email protected] basename file usr/include/boost/compatibility/cpp_c_headers/cstddef pkg:/system/library/[email protected] basename file usr/gcc/4.9/include/c++/4.9.4/cstddef pkg:/developer/[email protected] basename file usr/gcc/3.4/include/c++/3.4.3/cstddef pkg:/developer/[email protected] basename file usr/gcc/5/include/c++/5.4.0/cstddef pkg:/developer/[email protected] basename file usr/gcc/8/include/c++/8.3.0/cstddef pkg:/developer/[email protected] basename file usr/gcc/7/include/c++/7.4.0/cstddef pkg:/developer/[email protected] basename file usr/gcc/6/include/c++/6.5.0/cstddef pkg:/developer/[email protected] steven@dell:/$ ls -l `pkg search -r cstddef|awk '{print $3}'` ls: cannot access 'VALUE': No such file or directory ls: cannot access 'opt/sunstudio12.1/prod/include/CC/std/cstddef': No such file or directory ls: cannot access 'opt/sunstudio12.1/prod/include/CC/stlport4/cstddef': No such file or directory ls: cannot access 'usr/include/boost/compatibility/cpp_c_headers/cstddef': No such file or directory ls: cannot access 'usr/gcc/4.9/include/c++/4.9.4/cstddef': No such file or directory ls: cannot access 'usr/gcc/3.4/include/c++/3.4.3/cstddef': No such file or directory ls: cannot access 'usr/gcc/5/include/c++/5.4.0/cstddef': No such file or directory ls: cannot access 'usr/gcc/8/include/c++/8.3.0/cstddef': No such file or directory -r--r--r-- 1 root bin 1830 Mar 19 2018 opt/gcc/4.4.4/include/c++/4.4.4/cstddef -r--r--r-- 1 root bin 1931 Mar 22 22:02 usr/gcc/6/include/c++/6.5.0/cstddef -r--r--r-- 1 root bin 6440 Mar 22 22:02 usr/gcc/7/include/c++/7.4.0/cstddef The files are installed for the gcc 6 at least which is used, i'll dig further.. Regards, Stephan On 04/01/19 09:49 PM, Till Wegmüller wrote: > Hi Stephan > > It looks like it does not find the gcc libraries properly. > > The steps to debug are: > 1. Use any reference to a not found file or header togheter with pkg > search -r like so "pkg search -r cstddef" > > 2. Compare returned Package names with the ones installed in the system > > I get > INDEX ACTION VALUE > PACKAGE > basename file opt/sunstudio12.1/prod/include/CC/std/cstddef > pkg:/developer/sunstudio12u1/[email protected] > basename file opt/sunstudio12.1/prod/include/CC/stlport4/cstddef > pkg:/developer/sunstudio12u1/[email protected] > basename file usr/include/boost/compatibility/cpp_c_headers/cstddef > pkg:/system/library/[email protected] > basename file usr/gcc/7/include/c++/7.3.0/cstddef > pkg:/developer/[email protected] > basename file usr/gcc/3.4/include/c++/3.4.3/cstddef > pkg:/developer/[email protected] > basename file usr/gcc/4.9/include/c++/4.9.4/cstddef > pkg:/developer/[email protected] > basename file opt/gcc/4.4.4/include/c++/4.4.4/cstddef > pkg:/developer/[email protected] > basename file usr/gcc/5/include/c++/5.4.0/cstddef > pkg:/developer/[email protected] > basename file usr/gcc/8/include/c++/8.2.0/cstddef > pkg:/developer/[email protected] > basename file usr/gcc/6/include/c++/6.4.0/cstddef > pkg:/developer/[email protected] > > My Assumption is that developer/gcc-{49,5,8,7,6} are missing in the > system / build-essentials and not mentioned inside the Maekefile > REQUIRED_PACKAGES. If the yre mentioned in the required package run > gmake env-prep. If they are not please ass them to the PR because that > would be a bug in the Package. > > > Greetings > Till > On 01.04.19 21:26, Stephan Althaus wrote: >> Hi Till! >> >> >> I think i followed the instructions carefully, but i have get a build error. >> I did a pkg update now to prove that the system is up to date, >> the error remains the same.. >> >> I did a short pkg list to list what gcc have installed: >> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$ >> pkg list|grep gcc >> developer/gcc-6 >> 6.5.0-2018.0.0.1 i-- >> developer/gcc-7 >> 7.4.0-2018.0.0.0 i-- >> developer/illumos-gcc >> 4.4.4-2018.0.0.6 i-- >> sfe/system/library/gcc-49-runtime (localhostoih) >> 4.9.4-0.2017.0.0.5 i-- >> sfe/system/library/gcc-runtime (localhostoih) >> 4.9.4-0.2017.0.0.5 i-- >> system/library/gcc-3-runtime >> 3.4.3-2018.0.0.3 i-- >> system/library/gcc-4-runtime >> 4.9.4-2018.0.0.6 i-- >> system/library/gcc-6-runtime >> 6.5.0-2018.0.0.1 i-- >> system/library/gcc-7-runtime >> 7.4.0-2018.0.0.0 i-- >> >> The hopefully unneccesary parts <--snipped--> away: >> >> steven@dell:/rpool1/build/oi/vanilla/oi-userland/components/web/firefox$ >> nice nice gmake publish >> (cd >> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64 >> ; /usr/bin/env >> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin >> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++ >> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1 >> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ >> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash" >> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib >> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin" >> PYTHON="/usr/bin/amd64/python2.7" /usr/bin/env >> PATH=/usr/bin/amd64:/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin >> CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -O3 " CXX=/usr/gcc/6/bin/g++ >> CXXFLAGS=" -m64 -O3 " LDFLAGS="-m64 -lm" MOZILLA_OFFICIAL=1 >> MOZ_TELEMETRY_REPORTING=1 MOZ_PACKAGE_JSSHELL=1 MOZ_PKG_FORMAT=XZ >> PKG_SKIP_STRIP=1 MOZILLA_PKG_NAME=firefox SHELL="/bin/bash" >> LDFLAGS="-L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/lib >> -L/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/bin" >> PYTHON="/usr/bin/amd64/python2.7" \ >> /usr/gnu/bin/make \ >> ) >> make[1]: Entering directory >> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64' >> >> <-- snip --> >> >> Compiling style_traits v0.0.1 >> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style_traits) >> warning: use of deprecated item 'std::ascii::AsciiExt': use inherent >> methods instead >> --> servo/components/style_traits/viewport.rs:10:30 >> | >> 10 | #[allow(unused_imports)] use std::ascii::AsciiExt; >> | ^^^^^^^^^^^^^^^^^^^^ >> | >> = note: #[warn(deprecated)] on by default >> >> Compiling style v0.0.1 >> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style) >> error: failed to run custom build command for `style v0.0.1 >> (/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/servo/components/style)` >> process didn't exit successfully: >> `/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/toolkit/library/release/build/style-dcf3b3f3b2b5fc51/build-script-build` >> (exit code: 101) >> >> <-- snip --> >> >> --- stderr >> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/include/mozilla/Compiler.h:49:10: >> fatal error: 'cstddef' file not found >> >> <-- snip --> >> >> stack backtrace: >> 0: 0x82a33e - >> std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h563f81f6af186079 >> 1: 0x83eda6 - >> std::sys_common::backtrace::print::h8ed111738dc46dbe >> 2: 0x8334db - >> std::panicking::default_hook::{{closure}}::h852231eb38896e30 >> 3: 0x833238 - std::panicking::default_hook::h555d38db9a26f1fd >> 4: 0x833bbb - >> std::panicking::rust_panic_with_hook::h4c5650c84c4200c9 >> 5: 0x833749 - >> std::panicking::continue_panic_fmt::h0364dd584f19717c >> 6: 0x8336ad - >> std::panicking::begin_panic_fmt::he8f90578df3611d6 >> 7: 0x571f34 - >> build_script_build::build_gecko::bindings::write_binding_file::h09bb52fac816cb29 >> 8: 0x57a723 - >> build_script_build::build_gecko::bindings::generate_bindings::h075454a4824006fe >> 9: 0x84b899 - __rust_maybe_catch_panic >> 10: 0x56940b - <F as >> alloc::boxed::FnBox<A>>::call_box::hba7d5c6dc0005913 >> 11: 0x82d9ca - >> std::sys_common::thread::start_thread::h539e581cbfa146c3 >> 12: 0x8090a5 - >> std::sys::unix::thread::Thread::new::thread_start::h13287a420d2408a9 >> 13: 0xfffffd7fef090179 - _thrp_setup >> 14: 0xfffffd7fef09048f - smt_pause >> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/dist/include/mozilla/mozalloc.h:16:10: >> fatal error: 'new' file not found >> >> <-- snip --> >> >> stack backtrace: >> 0: 0x82a33e - >> std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h563f81f6af186079 >> 1: 0x83eda6 - >> std::sys_common::backtrace::print::h8ed111738dc46dbe >> 2: 0x8334db - >> std::panicking::default_hook::{{closure}}::h852231eb38896e30 >> 3: 0x833238 - std::panicking::default_hook::h555d38db9a26f1fd >> 4: 0x833bbb - >> std::panicking::rust_panic_with_hook::h4c5650c84c4200c9 >> 5: 0x833749 - >> std::panicking::continue_panic_fmt::h0364dd584f19717c >> 6: 0x8336ad - >> std::panicking::begin_panic_fmt::he8f90578df3611d6 >> 7: 0x571f34 - >> build_script_build::build_gecko::bindings::write_binding_file::h09bb52fac816cb29 >> 8: 0x576b87 - >> build_script_build::build_gecko::bindings::generate_structs::hcb160ed8c31e9200 >> 9: 0x84b899 - __rust_maybe_catch_panic >> 10: 0x56929b - <F as >> alloc::boxed::FnBox<A>>::call_box::h9eef45187e7ef3ac >> 11: 0x82d9ca - >> std::sys_common::thread::start_thread::h539e581cbfa146c3 >> 12: 0x8090a5 - >> std::sys::unix::thread::Thread::new::thread_start::h13287a420d2408a9 >> 13: 0xfffffd7fef090179 - _thrp_setup >> 14: 0xfffffd7fef09048f - smt_pause >> thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: >> Any', src/libcore/result.rs:1009:5 >> stack backtrace: >> 0: 0x82a33e - >> std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h563f81f6af186079 >> 1: 0x83eda6 - >> std::sys_common::backtrace::print::h8ed111738dc46dbe >> 2: 0x8334db - >> std::panicking::default_hook::{{closure}}::h852231eb38896e30 >> 3: 0x833238 - std::panicking::default_hook::h555d38db9a26f1fd >> 4: 0x833bbb - >> std::panicking::rust_panic_with_hook::h4c5650c84c4200c9 >> 5: 0x833749 - >> std::panicking::continue_panic_fmt::h0364dd584f19717c >> 6: 0x833645 - rust_begin_unwind >> 7: 0x86706b - core::panicking::panic_fmt::hdbafadab3061affb >> 8: 0x568e8a - core::result::unwrap_failed::hcd6d350af19846bd >> 9: 0x57d331 - build_script_build::main::hc7db1b05e5723077 >> 10: 0x561fe2 - >> std::rt::lang_start::{{closure}}::h5d982522740644f2 >> 11: 0x8335e2 - std::panicking::try::do_call::h69db5d46710edf88 >> 12: 0x84b899 - __rust_maybe_catch_panic >> 13: 0x8044e8 - std::rt::lang_start_internal::h8ea26b550d812617 >> 14: 0x57d850 - main >> 15: 0x560af2 - _start_crt >> 16: 0x560a57 - _start >> >> make[4]: *** >> [/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/config/rules.mk:979: >> force-cargo-library-build] Error 101 >> make[4]: Leaving directory >> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/toolkit/library/rust' >> make[3]: *** >> [/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/config/recurse.mk:73: >> toolkit/library/rust/target] Error 2 >> make[3]: Leaving directory >> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64' >> make[2]: *** >> [/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/config/recurse.mk:33: >> compile] Error 2 >> make[2]: Leaving directory >> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64' >> make[1]: *** >> [/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/firefox-60.6.1/config/rules.mk:442: >> default] Error 2 >> make[1]: Leaving directory >> '/rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64' >> gmake: *** >> [/rpool1/build/oi/vanilla/oi-userland/make-rules/configure.mk:183: >> /rpool1/build/oi/vanilla/oi-userland/components/web/firefox/build/amd64/.built] >> Error 2 >> >> >> Greetings, Stephan >> >> On 04/01/19 11:50 AM, Till Wegmüller wrote: >>> Wonderfull thank you for the offer. >>> >>> OK First you will need a copy of oi-userland [0] setup inside a machine >>> dedicated for building packages. It is recomended to use any virgin zone >>> and install "metapackages/build-essential" package inside. For a >>> detailed guide on how to use OI userland look at [1]. The Pull request >>> containing Firefox 60 is [2]. You can use the official guide from github >>> at [3] to checkout that pr into a local git branch. >>> >>> After you have checked out the PR into a local branch it's as simple as >>> export OI_USERLAND_ROOT="/path/to/oi-userland" >>> >>> cd $OI_USERLAND_ROOT >>> gmake setup #must be made in the toplevel directory >>> cd components/web/firefox/ >>> gmake env-prep >>> gmake publish >>> >>> This will create a firefox package inside the repository >>> $OI_USERLAND_ROOT/i386/repo >>> >>> Add it to the systems known list of publishers/repository with >>> pkg set-publisher -g $OI_USERLAND_ROOT/i386/repo userland >>> >>> and then install it via pkg install -v >>> "pkg://userland/web/browser/firefox >>> pkg://userland/web/data/firefox-bookmarks" >>> >>> It may be the case that you need to loosen the version lock on userland >>> incorporation in order to be able to install firefox from userland >>> publisher. >>> >>> you can do that with: >>> pkg change-facet facet.version-lock.web/browser/firefox=false >>> pkg change-facet facet.version-lock.web/data/firefox-bookmarks=false >>> >>> >>> [0] https://github.com/openindiana/oi-userland >>> [1] https://wiki.openindiana.org/oi/Building+with+oi-userland >>> [2] https://github.com/OpenIndiana/oi-userland/pull/4656 >>> [3] https://help.github.com/en/articles/checking-out-pull-requests-locally >>> >>> Let me know if you need anymore help to get started with the >>> contribution process. >>> >>> Greetings >>> Till >>> On 31.03.19 22:04, Stephan Althaus wrote: >>>> Hi! >>>> >>>> I would be happy helping out with this too. >>>> >>>> Cheers, >>>> Stephan >>>> >>>> On 04/01/19 01:44 AM, Lonnie Cumberland wrote: >>>>> Hi Till, >>>>> >>>>> Sure thing. I will be happy to give it a try and do some testing. >>>>> >>>>> Cheers, >>>>> Lonnie :) >>>>> >>>>> On Sun, Mar 31, 2019 at 3:41 PM Till Wegmüller <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> Firefox 60 ESR is still cooking in OI-userland atm. >>>>>> >>>>>> Testing is still required because WebAssembly has still a huge memory >>>>>> footprint. >>>>>> >>>>>> Testers are welcome. Let me know If you want to try I can give >>>>>> instructions how to build it. >>>>>> >>>>>> >>>>>> Greetings >>>>>> Till >>>>>> >>>>>> On 01.04.19 01:29, Lonnie Cumberland wrote: >>>>>>> Hello All, >>>>>>> >>>>>>> I have done a fresh install of OpenIndiana on a drive and all seems to >>>>>> have >>>>>>> gone well. >>>>>>> >>>>>>> In just now firing up the default Firefox and searching the Internet for >>>>>>> some things, I find that I run across some sites that are saying that >>>>>> they >>>>>>> no longer support the version of Firefox that I am using and to upgrade. >>>>>>> >>>>>>> The problem is that I do not know if there is a newer version that I can >>>>>>> upgrade, or another type of browser like Opera, or something else that >>>>>> is a >>>>>>> bit newer. >>>>>>> >>>>>>> Any information on this would be greatly appreciated. >>>>>>> Best Regards, >>>>>>> Lonnie >>>>>>> _______________________________________________ >>>>>>> openindiana-discuss mailing list >>>>>>> [email protected] >>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss >>>>>>> >>>>>> _______________________________________________ >>>>>> openindiana-discuss mailing list >>>>>> [email protected] >>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss >>>>>> >>>> _______________________________________________ >>>> openindiana-discuss mailing list >>>> [email protected] >>>> https://openindiana.org/mailman/listinfo/openindiana-discuss >>>> >>> _______________________________________________ >>> openindiana-discuss mailing list >>> [email protected] >>> https://openindiana.org/mailman/listinfo/openindiana-discuss >> >> >> _______________________________________________ >> openindiana-discuss mailing list >> [email protected] >> https://openindiana.org/mailman/listinfo/openindiana-discuss >> > _______________________________________________ > openindiana-discuss mailing list > [email protected] > https://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
