Bug 114871 - security/nss: doen't compile on amd64
Summary: security/nss: doen't compile on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 17:50 UTC by Koji Yokota
Modified: 2007-12-11 19:30 UTC (History)
0 users

See Also:


Attachments
Makefile.patch (351 bytes, patch)
2007-10-21 04:57 UTC, Koji Yokota
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Koji Yokota 2007-07-24 17:50:01 UTC
Compile of security/nss stops with the following messages:
prng_fips1861.c: In function `FIPS186Change_ReduceModQForDSA':
prng_fips1861.c:117: error: syntax error before "W"
prng_fips1861.c:122: warning: implicit declaration of function `MP_DIGITS'
prng_fips1861.c:122: error: `W' undeclared (first use in this function)
prng_fips1861.c:122: error: (Each undeclared identifier is reported only once
prng_fips1861.c:122: error: for each function it appears in.)
prng_fips1861.c:122: error: invalid lvalue in assignment
prng_fips1861.c:123: error: `Q' undeclared (first use in this function)
prng_fips1861.c:123: error: invalid lvalue in assignment
prng_fips1861.c:124: error: `Xj' undeclared (first use in this function)
prng_fips1861.c:124: error: invalid lvalue in assignment
prng_fips1861.c:125: error: `MP_OKAY' undeclared (first use in this function)
prng_fips1861.c:125: error: `err' undeclared (first use in this function)
prng_fips1861.c:125: warning: implicit declaration of function `mp_init'
prng_fips1861.c:131: warning: implicit declaration of function `mp_read_unsigned_octets'
prng_fips1861.c:138: warning: implicit declaration of function `mp_mod'
prng_fips1861.c:139: warning: implicit declaration of function `mp_to_fixlen_octets'
prng_fips1861.c:141: warning: implicit declaration of function `mp_clear'
prng_fips1861.c:145: error: `MP_MEM' undeclared (first use in this function)
prng_fips1861.c:145: error: `MP_RANGE' undeclared (first use in this function)
prng_fips1861.c:145: error: `MP_BADARG' undeclared (first use in this function)
gmake[3]: *** [FreeBSD6.2_OPT.OBJ/FreeBSD_SINGLE_SHLIB/prng_fips1861.o] ¥¨¥é¡¼ 1
gmake[3]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/ports/security/nss/work/nss-3.11.7/mozilla/security/nss/lib/freebl' ¤«¤é½Ð¤Þ¤¹
gmake[2]: *** [libs] ¥¨¥é¡¼ 2
gmake[2]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/ports/security/nss/work/nss-3.11.7/mozilla/security/nss/lib/freebl' ¤«¤é½Ð¤Þ¤¹
gmake[1]: *** [libs] ¥¨¥é¡¼ 2
gmake[1]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/ports/security/nss/work/nss-3.11.7/mozilla/security/nss/lib' ¤«¤é½Ð¤Þ¤¹
gmake: *** [libs] ¥¨¥é¡¼ 2
*** Error code 2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-24 17:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Michael Johnson 2007-07-24 17:56:05 UTC
what version of nspr do you have installed?
Comment 3 Koji Yokota 2007-07-25 19:27:08 UTC
Michael Johnson wrote:
> what version of nspr do you have installed?
I have version 4.6.7.
Comment 4 Jeremy Messenger 2007-10-21 03:41:24 UTC
Are you using different locale while you built this port by any chance? If  
you do, then try it with default "C" and let me know. If change the locale  
works for you, then I will close this PR. I don't think one of us can fix  
locale problem.

Cheers,
Mezz


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org
Comment 5 Koji Yokota 2007-10-21 04:57:03 UTC
No, change of locale doesn't solve the problem. However, using gcc later 
than 4.0 does.
Comment 6 Jeremy Messenger 2007-10-21 05:22:55 UTC
On Sat, 20 Oct 2007 22:57:03 -0500, Koji Yokota  
<yokota@res.otaru-uc.ac.jp> wrote:

> No, change of locale doesn't solve the problem. However, using gcc later
> than 4.0 does.

I think there is something is wrong with your system, because the  
tinderboxes can't reproduce your problem.

Cheers,
Mezz


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org
Comment 7 Koji Yokota 2007-10-21 17:17:56 UTC
Jeremy Messenger wrote:
> I think there is something is wrong with your system, because the 
> tinderboxes can't reproduce your problem.

Gee, I'll check. Thank you anyway.

Koji
Comment 8 Jeremy Messenger 2007-10-31 20:26:19 UTC
On Sun, 21 Oct 2007 11:17:56 -0500, Koji Yokota  =

<yokota@res.otaru-uc.ac.jp> wrote:

> Jeremy Messenger wrote:
>> I think there is something is wrong with your system, because the  =

>> tinderboxes can't reproduce your problem.
>
> Gee, I'll check. Thank you anyway.

Hey,

Let's revisit with this. See  =

http://www.freebsd.org/cgi/query-pr.cgi?pr=3D117623 , maybe it is simila=
r  =

with your problem? I have a patch[1] available that will be commit when =
 =

ports tree is unfreeze. Let me know if this patch works for you.

[1] http://people.freebsd.org/~mezz/diff/nss.diff

Cheers,
Mezz

> Koji


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org
Comment 9 Koji Yokota 2007-11-08 02:26:18 UTC
Yes, I have net/lam installed, too. Your patch seems to have resolved 
the problem of compilation.

Thanks,
Comment 10 Jeremy Messenger 2007-11-08 04:03:24 UTC
On Wed, 07 Nov 2007 20:26:18 -0600, Koji Yokota  
<yokota@res.otaru-uc.ac.jp> wrote:

> Yes, I have net/lam installed, too. Your patch seems to have resolved  
> the problem of compilation.

Good, thanks for report/test! I guess you can sleep now. ;-) I will  
closing your PR as there has same another PR.

Cheers,
Mezz

> Thanks,


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org
Comment 11 Jeremy Messenger freebsd_committer freebsd_triage 2007-11-08 04:08:58 UTC
State Changed
From-To: open->closed

There has another PR that has same problem and it has been solved. The PR is 
ports/117623. Thanks for report and test!
Comment 12 dfilter service freebsd_committer freebsd_triage 2007-12-11 19:27:58 UTC
mezz        2007-12-11 19:27:53 UTC

  FreeBSD ports repository

  Modified files:
    security/nss         Makefile 
    security/nss/files   patch-..::coreconf::FreeBSD.mk 
  Log:
  Fix the build when net/lam installed in system.
  
  PR:             ports/117623 and ports/114871
  Reported by:    Alexander Vasyanin <avasyanin@mail.ru>
                  Koji Yokota <yokota@res.otaru-uc.ac.jp>
  
  Revision  Changes    Path
  1.40      +1 -2      ports/security/nss/Makefile
  1.8       +7 -6      ports/security/nss/files/patch-..::coreconf::FreeBSD.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"