From owner-freebsd-ports@FreeBSD.ORG Thu Dec 24 14:50:55 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF4781065692 for ; Thu, 24 Dec 2009 14:50:55 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 8591C8FC15 for ; Thu, 24 Dec 2009 14:50:55 +0000 (UTC) Received: from daedalus.network.local (gprs22.swisscom-mobile.ch [193.247.250.22]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id nBOEoW1Z007353 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 24 Dec 2009 14:50:33 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4B337FF8.3010009@FreeBSD.org> Date: Thu, 24 Dec 2009 15:51:36 +0100 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.23 (X11/20090821) MIME-Version: 1.0 To: Rainer Hurling References: <200912240846.nBO8kIK4004203@mp.cs.niu.edu> <4B334C2A.3050005@gwdg.de> <4B335925.40603@FreeBSD.org> In-Reply-To: <4B335925.40603@FreeBSD.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Anton Shterenlikht , Scott Bennett , freebsd-ports@FreeBSD.org Subject: Re: ports/141131: www/libxul does not compile any more X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 14:50:56 -0000 Beat Gaetzi wrote: > 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 >>> 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. It looks like this problem only occur if net/mpich2 is installed and libxul tries to use include/mpi.h which was installed by mpich2. With the help of Rainer's package list I was able to reproduce this problem here by installing mpich2. We are working on a fix. Beat