pkgsrc-Bugs archive

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

pkg/41866: www/epiphany configure failure (NetBSD 4.0 / i386)

>Number:         41866
>Category:       pkg
>Synopsis:       www/epiphany configure failure (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 10 12:25:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        www/epiphany's  configure script claims it is unable to
        run XPCOM programs (this is since the sshift from firefox
        to xulrunner as the rendering engine.  [Aside; the DESCR
        for epiphany still says it uses gecko - xulrunner describes
        itself as the successor to gecko]).

        I use pkg_comp with libkver and the NetBSD 4.0 release sets
        (except the x* sets) to simulate a fairly clean 4.0 release
        environment (X provided by modular pkgsrc xorg).   Most likely
        (except perhaps that it is 4.0, but even that not very likely)
        all of this paragraph is irrelevant.

        Building epiphany results in ...

checking for gecko version... 1.9
checking nspr in gecko... no
checking nspr in system... yes
checking whether we can compile and run XPCOM programs... no
configure: error: Cannot compile and run XPCOM programs
See `config.log' for more details.
*** Error code 1


        The config.log part of interest is ...

configure:19974: checking nspr in gecko
configure:19977: result: no
configure:19979: checking nspr in system
configure:19999: result: yes
configure:20035: checking whether we can compile and run XPCOM programs
configure:20188: c++ -o conftest -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -fno-rtti -fshort-wchar -DXPCOM_GLUE -fshort-wchar 
-I/usr/pkg/include/xulrunner/stable   -DXPCOM_GLUE -fshort-wchar 
-I/usr/pkg/include/xulrunner/unstable   -I/usr/pkg/include/xulrunner/stable   
-DXPCOM_GLUE -fshort-wchar   -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2  -DXPCOM_GLUE -fshort-wchar 
-I/usr/pkg/include/xulrunner/stable   -DXPCOM_GLUE -fshort-wchar 
-I/usr/pkg/include/xulrunner/unstable   -I/usr/pkg/include/xulrunner/stable   
-I/usr/pkg/include/xulrunner/unstable   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib  conftest.cpp  -Wl,-R/usr/pkg/lib/xulrunner 
-L/usr/pkg/lib/xulrunner -lxpcomglue    >&5
configure:20191: $? = 0
configure:20197: ./conftest
configure:20200: $? = 123
configure: program exited with status 123

        And the part of the program it is running that looks to
        be relevant (extracted from config.log) is ...

| int
| main ()
| {
| nsresult rv;
| #ifdef XPCOM_GLUE
|     static const GREVersionRange greVersion = {
|     "1.8", PR_TRUE,
|     "1.9.*", PR_TRUE
|     };
|     char xpcomLocation[4096];
|     rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, 
xpcomLocation, 4096);
|     if (NS_FAILED(rv)) {
|         exit(123);
|     }

        That is the only "exit(123)" I can see.   It kind of
        looks as if something is not supplying a suitable
        version identifier???

        If anything else from config.log is needed, I can
        supply that (or the whole thing - but it is 74KB
        so I don't think including it in the PR makes sense).

        When I did this, the pkg_comp sandbox would have
        contained (and only contained) all the dependency
        packages for epiphany, including xulrunner, and
        everything required to build xulrunner (that build
        had just finished in the same sandbox, starting
        from relatively empty).

        "Relatively empty" means that the basic package
        tools were installed - the current version of
        pkg_install digest libkver (static version) lintpkgsrc,
        and the stuff they need to work (basically, perl
        for lintpkgsrc).

        Still, the "empty" state, plus what was added
        building xulrunner, and preparing for epiphany
        adds up to 116 packages.

        I have nothing in mk.conf relating to
        epiphany or xulrunner, just

        PKG_DEFAULT_OPTIONS= inet6 official-mozilla-branding


Home | Main Index | Thread Index | Old Index