Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2009 13:05:57 +0100
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, Scott Bennett <bennett@cs.niu.edu>, freebsd-ports@FreeBSD.org
Subject:   Re: ports/141131: www/libxul does not compile any more
Message-ID:  <4B335925.40603@FreeBSD.org>
In-Reply-To: <4B334C2A.3050005@gwdg.de>
References:  <200912240846.nBO8kIK4004203@mp.cs.niu.edu> <4B334C2A.3050005@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Rainer Hurling wrote:
> On 24.12.2009 09:46 (UTC+1), Scott Bennett wrote:
>>       On Tue, 22 Dec 2009 11:46:06 +0000 Anton Shterenlikht
>> <mexas@bristol.ac.uk>  wrote:
>>> On Tue, Dec 22, 2009 at 12:36:12PM +0100, Rainer Hurling wrote:
>>>> On 22.12.2009 10:38 (UTC+1), Anton Shterenlikht wrote:
>>>>> On Mon, Dec 21, 2009 at 09:47:33PM +0100, Rainer Hurling wrote:
>>>>>> According to PR 141131 I see exactly the same error messages when
>>>>>> I try
>>>>>> to upgrade from libxul-1.9.0.15 to libxul-1.9.0.16:
>>>>>>
>>>>>> -----------------------------------
>>>>>> [..snip..]
>>>>>> cc -o FreeBSD9.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/dsa.o -c -O -fPIC -ansi
>>>>>> -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
>>>>>> -DXP_UNIX
>>>>>> -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
>>>>>> -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG
>>>>>> -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC
>>>>>> -DUSE_UTIL_DIRECTLY -D_X86_ -DMP_API_COMPATIBLE -I/usr/local/include
>>>>>> -I/usr/local/include/nspr
>>>>>> -I/usr/ports/www/libxul/work/mozilla/dist/include
>>>>>> -I../../../../dist/public/nss -I../../../../dist/private/nss
>>>>>> -I../../../../dist/include  -Impi -Iecl  dsa.c
>>>>>> dsa.c: In function 'FIPS186Change_ReduceModQForDSA':
>>>>>> dsa.c:75: error: 'mp_int' undeclared (first use in this function)
>>>>>> dsa.c:75: error: (Each undeclared identifier is reported only once
>>>>>> dsa.c:75: error: for each function it appears in.)
>>>>>> dsa.c:75: error: expected ';' before 'W'
>>>>>> dsa.c:76: error: 'mp_err' undeclared (first use in this function)
>>>>>> dsa.c:76: error: expected ';' before 'err'
>>>>>> [..snip..]
>>>>>> gmake[6]: *** [FreeBSD9.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/dsa.o]
>>>>>> Fehler 1
>>>>>> gmake[6]: Leaving directory
>>>>>> `/usr/ports/www/libxul/work/mozilla/security/nss/lib/freebl'
>>>>>> gmake[5]: *** [libs] Fehler 2
>>>>>> gmake[5]: Leaving directory
>>>>>> `/usr/ports/www/libxul/work/mozilla/security/nss/lib/freebl'
>>>>>> gmake[4]: *** [libs] Fehler 2
>>>>>> gmake[4]: Leaving directory
>>>>>> `/usr/ports/www/libxul/work/mozilla/security/nss/lib'
>>>>>> gmake[3]: *** [libs] Fehler 2
>>>>>> gmake[3]: Leaving directory
>>>>>> `/usr/ports/www/libxul/work/mozilla/security/manager'
>>>>>> gmake[2]: *** [libs_tier_toolkit] Fehler 2
>>>>>> gmake[2]: Leaving directory `/usr/ports/www/libxul/work/mozilla'
>>>>>> gmake[1]: *** [tier_toolkit] Fehler 2
>>>>>> gmake[1]: Leaving directory `/usr/ports/www/libxul/work/mozilla'
>>>>>> gmake: *** [default] Fehler 2
>>>>>> *** Error code 1
>>>>>> -----------------------------------
>>>>>>
>>>>>> This happens on three different machines all running latest
>>>>>> 9.0-CURRENT
>>>>>> (i386). As far as I can see there are no relevant flags set in
>>>>>> etc/make.conf.
>>>>>>
>>>>>> Any clues what is going wrong? I found no solution to this PR.
>>>>>>
>>>>>> Please let me know if I can provide more information or test
>>>>>> something.
>>>>>
>>>>> I've got libxul-1.9.0.16 built fine on ia64 and sparc64.
>>>>> No issues, just 'portmaster -force-config -Bd libxul'.
>>>>>
>>>>
>>>> Thanks for answering.
>>>>
>>>> As I wrote before, I have this on different machines, all running
>>>> newest
>>>> i386-CURRENT. On another machine with amd64-CURRENT I had been able to
>>>> compile libxul-1.9.0.16. Perhaps there is something wrong with my
>>>> configuration? (I copied most from system to system ...)
>>>
>>> # uname -srm
>>> FreeBSD 9.0-CURRENT i386
>>> # pkg_info -xo libxul
>>> Information for libxul-1.9.0.16:
>>>
>>> Origin:
>>> www/libxul
>>>
>>> # cd /usr/ports/www/libxul
>>> # make showconfig
>>> ===>  The following configuration options are available for
>>> libxul-1.9.0.16:
>>>      JAVA=off "Enable JAVA xpcom"
>>>      DEBUG=off "Build a debugging image"
>>>      LOGGING=off "Enable additional log messages"
>>>      OPTIMIZED_CFLAGS=off "Enable some additional optimizations"
>>> ===>  Use 'make config' to modify these settings
>>> #
> Unfortunately this error with libxul arises only on my i386 systems. On
> my amd64 systems (9.0-CURRENT) with allmost the same configuration and
> installed ports libxul builds fine. It seems to be a question of
> configuration or composition of other, already installed ports.

According to the pr this problem also occur on 8.0-STABLE/amd64. Could
you please send me (or upload it somewhere) the output of pkg_info from
the system where the build fails and from the system where the build was
successful.

Thanks,
Beat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B335925.40603>