Bug 97984

Summary: Build of gchemutils 0.6.1 fails
Product: Ports & Packages Reporter: Rafael Ostertag <rafi>
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rafael Ostertag 2006-05-26 20:40:19 UTC
Build of gchemutils 0.6.1 fails when trying to build mozilla plugins with the error messages below:

Making all in mozilla-plugin

gmake[2]: Entering directory `/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1/mozilla-plugin'

if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/X11R6/include/mozilla/plugin -I/usr/X11R6/include/mozilla/java -I/usr/X11R6/include/mozilla/nspr -I/usr/local/include  -march=pentium4 -mtune=pentium4 -O2 -pipe -fno-strict-aliasing -march=pentium4 -MT libmozgcu_la-moz-plugin.lo -MD -MP -MF ".deps/libmozgcu_la-moz-plugin.Tpo" -c -o libmozgcu_la-moz-plugin.lo `test -f 'moz-plugin.c' || echo './'`moz-plugin.c; \

then mv -f ".deps/libmozgcu_la-moz-plugin.Tpo" ".deps/libmozgcu_la-moz-plugin.Plo"; else rm -f ".deps/libmozgcu_la-moz-plugin.Tpo"; exit 1; fi

rm: libmozgcu_la-moz-plugin.loT: Permission denied

rm: libmozgcu_la-moz-plugin.loT: Permission denied

./libtool: cannot create libmozgcu_la-moz-plugin.loT: Permission denied

 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/mozilla/plugin -I/usr/X11R6/include/mozilla/java -I/usr/X11R6/include/mozilla/nspr -I/usr/local/include -march=pentium4 -mtune=pentium4 -O2 -pipe -fno-strict-aliasing -march=pentium4 -MT libmozgcu_la-moz-plugin.lo -MD -MP -MF .deps/libmozgcu_la-moz-plugin.Tpo -c moz-plugin.c  -fPIC -DPIC -o .libs/libmozgcu_la-moz-plugin.o

Assembler messages:

FATAL: can't create .libs/libmozgcu_la-moz-plugin.o: Permission denied

In file included from moz-plugin.c:24:

/usr/X11R6/include/mozilla/plugin/npapi.h:52:21: prtypes.h: No such file or directory

In file included from moz-plugin.c:24:

/usr/X11R6/include/mozilla/plugin/npapi.h:225: error: syntax error before "NPError"

/usr/X11R6/include/mozilla/plugin/npapi.h:225: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:226: error: syntax error before "NPReason"

/usr/X11R6/include/mozilla/plugin/npapi.h:226: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:256: error: syntax error before "uint32"

/usr/X11R6/include/mozilla/plugin/npapi.h:264: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:272: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:279: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npapi.h:287: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:444: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:472: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npapi.h:641: error: syntax error before "NPP_Initialize"

/usr/X11R6/include/mozilla/plugin/npapi.h:641: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:643: error: syntax error before "NPP_New"

/usr/X11R6/include/mozilla/plugin/npapi.h:644: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npapi.h:645: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:646: error: syntax error before "NPP_Destroy"

/usr/X11R6/include/mozilla/plugin/npapi.h:646: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:647: error: syntax error before "NPP_SetWindow"

/usr/X11R6/include/mozilla/plugin/npapi.h:647: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:648: error: syntax error before "NPP_NewStream"

/usr/X11R6/include/mozilla/plugin/npapi.h:650: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npapi.h:650: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:651: error: syntax error before "NPP_DestroyStream"

/usr/X11R6/include/mozilla/plugin/npapi.h:652: error: syntax error before "NPReason"

/usr/X11R6/include/mozilla/plugin/npapi.h:652: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:653: error: syntax error before "NPP_WriteReady"

/usr/X11R6/include/mozilla/plugin/npapi.h:653: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:654: error: syntax error before "NPP_Write"

/usr/X11R6/include/mozilla/plugin/npapi.h:654: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:655: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:659: error: syntax error before "NPP_HandleEvent"

/usr/X11R6/include/mozilla/plugin/npapi.h:659: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:661: error: syntax error before "NPReason"

/usr/X11R6/include/mozilla/plugin/npapi.h:665: error: syntax error before "NPP_GetValue"

/usr/X11R6/include/mozilla/plugin/npapi.h:665: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:669: error: syntax error before "NPP_SetValue"

/usr/X11R6/include/mozilla/plugin/npapi.h:669: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:676: error: syntax error before "NPN_GetURLNotify"

/usr/X11R6/include/mozilla/plugin/npapi.h:677: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:678: error: syntax error before "NPN_GetURL"

/usr/X11R6/include/mozilla/plugin/npapi.h:679: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:680: error: syntax error before "NPN_PostURLNotify"

/usr/X11R6/include/mozilla/plugin/npapi.h:681: error: syntax error before "uint32"

/usr/X11R6/include/mozilla/plugin/npapi.h:683: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:684: error: syntax error before "NPN_PostURL"

/usr/X11R6/include/mozilla/plugin/npapi.h:685: error: syntax error before "uint32"

/usr/X11R6/include/mozilla/plugin/npapi.h:686: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:687: error: syntax error before "NPN_RequestRead"

/usr/X11R6/include/mozilla/plugin/npapi.h:687: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:688: error: syntax error before "NPN_NewStream"

/usr/X11R6/include/mozilla/plugin/npapi.h:689: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:690: error: syntax error before "NPN_Write"

/usr/X11R6/include/mozilla/plugin/npapi.h:690: error: syntax error before "int32"

/usr/X11R6/include/mozilla/plugin/npapi.h:690: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:691: error: syntax error before "NPN_DestroyStream"

/usr/X11R6/include/mozilla/plugin/npapi.h:691: error: syntax error before "NPReason"

/usr/X11R6/include/mozilla/plugin/npapi.h:691: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:694: error: syntax error before "size"

/usr/X11R6/include/mozilla/plugin/npapi.h:696: error: syntax error before "NPN_MemFlush"

/usr/X11R6/include/mozilla/plugin/npapi.h:696: error: syntax error before "size"

/usr/X11R6/include/mozilla/plugin/npapi.h:696: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:702: error: syntax error before "NPN_GetValue"

/usr/X11R6/include/mozilla/plugin/npapi.h:702: warning: data definition has no type or storage class

/usr/X11R6/include/mozilla/plugin/npapi.h:703: error: syntax error before "NPN_SetValue"

/usr/X11R6/include/mozilla/plugin/npapi.h:703: warning: data definition has no type or storage class

In file included from /usr/X11R6/include/mozilla/java/jritypes.h:45,

                 from /usr/X11R6/include/mozilla/java/jri.h:45,

                 from /usr/X11R6/include/mozilla/plugin/npupp.h:63,

                 from moz-plugin.c:25:

/usr/X11R6/include/mozilla/java/jri_md.h:46:59: prtypes.h: No such file or directory

In file included from moz-plugin.c:25:

/usr/X11R6/include/mozilla/plugin/npupp.h:155: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:181: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:208: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:237: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:264: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:291: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:321: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:402: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:431: error: syntax error before "NPReason"

/usr/X11R6/include/mozilla/plugin/npupp.h:458: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:484: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:515: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:541: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:568: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:598: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:624: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:653: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:679: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:708: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:737: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:765: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:844: error: syntax error before "size"

/usr/X11R6/include/mozilla/plugin/npupp.h:897: error: syntax error before '*' token

/usr/X11R6/include/mozilla/plugin/npupp.h:1603: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npupp.h:1611: error: syntax error before "NPP_WriteReadyUPP"

/usr/X11R6/include/mozilla/plugin/npupp.h:1614: error: syntax error before "NPP_HandleEventUPP"

/usr/X11R6/include/mozilla/plugin/npupp.h:1617: error: syntax error before "NPP_GetValueUPP"

/usr/X11R6/include/mozilla/plugin/npupp.h:1622: error: syntax error before "uint16"

/usr/X11R6/include/mozilla/plugin/npupp.h:1634: error: syntax error before "NPN_MemFlushUPP"

/usr/X11R6/include/mozilla/plugin/npupp.h:1638: error: syntax error before "NPN_GetURLNotifyUPP"

moz-plugin.c:49: error: syntax error before "ChemNew"

moz-plugin.c:50: error: syntax error before "uint16"

moz-plugin.c: In function `ChemNew':

moz-plugin.c:57: error: `instance' undeclared (first use in this function)

moz-plugin.c:57: error: (Each undeclared identifier is reported only once

moz-plugin.c:57: error: for each function it appears in.)

moz-plugin.c:102: error: `mime_type' undeclared (first use in this function)

moz-plugin.c:105: error: `argn' undeclared (first use in this function)

moz-plugin.c:106: error: `argc' undeclared (first use in this function)

moz-plugin.c:109: error: `argv' undeclared (first use in this function)

moz-plugin.c: At top level:

moz-plugin.c:116: error: syntax error before "ChemDestroy"

moz-plugin.c:137: error: syntax error before "ChemSetWindow"

moz-plugin.c:148: error: syntax error before "ChemNewStream"

moz-plugin.c:149: error: syntax error before "uint16"

moz-plugin.c: In function `ChemNewStream':

moz-plugin.c:153: error: `instance' undeclared (first use in this function)

moz-plugin.c:160: error: `stype' undeclared (first use in this function)

moz-plugin.c: At top level:

moz-plugin.c:180: error: syntax error before "NP_GetValue"

moz-plugin.c:206: error: syntax error before "NP_Initialize"

moz-plugin.c: In function `NP_Initialize':

moz-plugin.c:210: error: structure has no member named `version'

moz-plugin.c:212: error: structure has no member named `size'

moz-plugin.c:214: error: structure has no member named `size'

moz-plugin.c:219: error: structure has no member named `version'

moz-plugin.c:220: error: structure has no member named `size'

moz-plugin.c:221: error: structure has no member named `newp'

moz-plugin.c:221: error: `NPP_NewUPP' undeclared (first use in this function)

moz-plugin.c:222: error: structure has no member named `destroy'

moz-plugin.c:222: error: `NPP_DestroyUPP' undeclared (first use in this function)

moz-plugin.c:223: error: structure has no member named `setwindow'

moz-plugin.c:223: error: `NPP_SetWindowUPP' undeclared (first use in this function)

moz-plugin.c:224: error: structure has no member named `newstream'

moz-plugin.c:224: error: `NPP_NewStreamUPP' undeclared (first use in this function)

moz-plugin.c:225: error: structure has no member named `destroystream'

moz-plugin.c:227: error: structure has no member named `writeready'

moz-plugin.c:228: error: structure has no member named `write'

moz-plugin.c:231: error: structure has no member named `event'

moz-plugin.c: At top level:

moz-plugin.c:239: error: syntax error before "NP_Shutdown"

gmake[2]: *** [libmozgcu_la-moz-plugin.lo] Error 1

gmake[2]: Leaving directory `/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1/mozilla-plugin'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1'

gmake: *** [all] Error 2

*** Error code 2

Fix: 

n/a
How-To-Repeat: # make build
Comment 1 Rafael Ostertag 2006-05-26 21:03:49 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry folks. Here the output of the build using the *root* account:

[...]
Making all in mozilla-plugin
gmake[2]: Entering directory
`/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1/mozilla-plugin'

if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.
- -I..  -I/usr/X11R6/include/mozilla/plugin
- -I/usr/X11R6/include/mozilla/java -I/usr/X11R6/include/mozilla/nspr
- -I/usr/local/include  -march=pentium4 -mtune=pentium4 -O2 -pipe
- -fno-strict-aliasing -march=pentium4 -MT libmozgcu_la-moz-plugin.lo -MD
- -MP -MF ".deps/libmozgcu_la-moz-plugin.Tpo" -c -o
libmozgcu_la-moz-plugin.lo `test -f 'moz-plugin.c' || echo
'./'`moz-plugin.c; \
then mv -f ".deps/libmozgcu_la-moz-plugin.Tpo"
".deps/libmozgcu_la-moz-plugin.Plo"; else rm -f
".deps/libmozgcu_la-moz-plugin.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/mozilla/plugin
- -I/usr/X11R6/include/mozilla/java -I/usr/X11R6/include/mozilla/nspr
- -I/usr/local/include -march=pentium4 -mtune=pentium4 -O2 -pipe
- -fno-strict-aliasing -march=pentium4 -MT libmozgcu_la-moz-plugin.lo -MD
- -MP -MF .deps/libmozgcu_la-moz-plugin.Tpo -c moz-plugin.c  -fPIC -DPIC
- -o .libs/libmozgcu_la-moz-plugin.o
In file included from moz-plugin.c:24:
/usr/X11R6/include/mozilla/plugin/npapi.h:52:21: prtypes.h: No such file
or directory
In file included from moz-plugin.c:24:
/usr/X11R6/include/mozilla/plugin/npapi.h:225: error: syntax error
before "NPError"
/usr/X11R6/include/mozilla/plugin/npapi.h:225: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:226: error: syntax error
before "NPReason"
/usr/X11R6/include/mozilla/plugin/npapi.h:226: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:256: error: syntax error
before "uint32"
/usr/X11R6/include/mozilla/plugin/npapi.h:264: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:272: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:279: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npapi.h:287: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:444: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:472: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npapi.h:641: error: syntax error
before "NPP_Initialize"
/usr/X11R6/include/mozilla/plugin/npapi.h:641: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:643: error: syntax error
before "NPP_New"
/usr/X11R6/include/mozilla/plugin/npapi.h:644: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npapi.h:645: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:646: error: syntax error
before "NPP_Destroy"
/usr/X11R6/include/mozilla/plugin/npapi.h:646: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:647: error: syntax error
before "NPP_SetWindow"
/usr/X11R6/include/mozilla/plugin/npapi.h:647: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:648: error: syntax error
before "NPP_NewStream"
/usr/X11R6/include/mozilla/plugin/npapi.h:650: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npapi.h:650: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:651: error: syntax error
before "NPP_DestroyStream"
/usr/X11R6/include/mozilla/plugin/npapi.h:652: error: syntax error
before "NPReason"
/usr/X11R6/include/mozilla/plugin/npapi.h:652: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:653: error: syntax error
before "NPP_WriteReady"
/usr/X11R6/include/mozilla/plugin/npapi.h:653: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:654: error: syntax error
before "NPP_Write"
/usr/X11R6/include/mozilla/plugin/npapi.h:654: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:655: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:659: error: syntax error
before "NPP_HandleEvent"
/usr/X11R6/include/mozilla/plugin/npapi.h:659: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:661: error: syntax error
before "NPReason"
/usr/X11R6/include/mozilla/plugin/npapi.h:665: error: syntax error
before "NPP_GetValue"
/usr/X11R6/include/mozilla/plugin/npapi.h:665: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:669: error: syntax error
before "NPP_SetValue"
/usr/X11R6/include/mozilla/plugin/npapi.h:669: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:676: error: syntax error
before "NPN_GetURLNotify"
/usr/X11R6/include/mozilla/plugin/npapi.h:677: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:678: error: syntax error
before "NPN_GetURL"
/usr/X11R6/include/mozilla/plugin/npapi.h:679: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:680: error: syntax error
before "NPN_PostURLNotify"
/usr/X11R6/include/mozilla/plugin/npapi.h:681: error: syntax error
before "uint32"
/usr/X11R6/include/mozilla/plugin/npapi.h:683: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:684: error: syntax error
before "NPN_PostURL"
/usr/X11R6/include/mozilla/plugin/npapi.h:685: error: syntax error
before "uint32"
/usr/X11R6/include/mozilla/plugin/npapi.h:686: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:687: error: syntax error
before "NPN_RequestRead"
/usr/X11R6/include/mozilla/plugin/npapi.h:687: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:688: error: syntax error
before "NPN_NewStream"
/usr/X11R6/include/mozilla/plugin/npapi.h:689: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:690: error: syntax error
before "NPN_Write"
/usr/X11R6/include/mozilla/plugin/npapi.h:690: error: syntax error
before "int32"
/usr/X11R6/include/mozilla/plugin/npapi.h:690: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:691: error: syntax error
before "NPN_DestroyStream"
/usr/X11R6/include/mozilla/plugin/npapi.h:691: error: syntax error
before "NPReason"
/usr/X11R6/include/mozilla/plugin/npapi.h:691: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:694: error: syntax error
before "size"
/usr/X11R6/include/mozilla/plugin/npapi.h:696: error: syntax error
before "NPN_MemFlush"
/usr/X11R6/include/mozilla/plugin/npapi.h:696: error: syntax error
before "size"
/usr/X11R6/include/mozilla/plugin/npapi.h:696: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:702: error: syntax error
before "NPN_GetValue"
/usr/X11R6/include/mozilla/plugin/npapi.h:702: warning: data definition
has no type or storage class
/usr/X11R6/include/mozilla/plugin/npapi.h:703: error: syntax error
before "NPN_SetValue"
/usr/X11R6/include/mozilla/plugin/npapi.h:703: warning: data definition
has no type or storage class
In file included from /usr/X11R6/include/mozilla/java/jritypes.h:45,
                 from /usr/X11R6/include/mozilla/java/jri.h:45,
                 from /usr/X11R6/include/mozilla/plugin/npupp.h:63,
                 from moz-plugin.c:25:
/usr/X11R6/include/mozilla/java/jri_md.h:46:59: prtypes.h: No such file
or directory
In file included from moz-plugin.c:25:
/usr/X11R6/include/mozilla/plugin/npupp.h:155: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:181: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:208: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:237: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:264: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:291: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:321: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:402: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:431: error: syntax error
before "NPReason"
/usr/X11R6/include/mozilla/plugin/npupp.h:458: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:484: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:515: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:541: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:568: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:598: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:624: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:653: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:679: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:708: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:737: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:765: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:844: error: syntax error
before "size"
/usr/X11R6/include/mozilla/plugin/npupp.h:897: error: syntax error
before '*' token
/usr/X11R6/include/mozilla/plugin/npupp.h:1603: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npupp.h:1611: error: syntax error
before "NPP_WriteReadyUPP"
/usr/X11R6/include/mozilla/plugin/npupp.h:1614: error: syntax error
before "NPP_HandleEventUPP"
/usr/X11R6/include/mozilla/plugin/npupp.h:1617: error: syntax error
before "NPP_GetValueUPP"
/usr/X11R6/include/mozilla/plugin/npupp.h:1622: error: syntax error
before "uint16"
/usr/X11R6/include/mozilla/plugin/npupp.h:1634: error: syntax error
before "NPN_MemFlushUPP"
/usr/X11R6/include/mozilla/plugin/npupp.h:1638: error: syntax error
before "NPN_GetURLNotifyUPP"
moz-plugin.c:49: error: syntax error before "ChemNew"
moz-plugin.c:50: error: syntax error before "uint16"
moz-plugin.c: In function `ChemNew':
moz-plugin.c:57: error: `instance' undeclared (first use in this function)
moz-plugin.c:57: error: (Each undeclared identifier is reported only once
moz-plugin.c:57: error: for each function it appears in.)
moz-plugin.c:102: error: `mime_type' undeclared (first use in this
function)
moz-plugin.c:105: error: `argn' undeclared (first use in this function)
moz-plugin.c:106: error: `argc' undeclared (first use in this function)
moz-plugin.c:109: error: `argv' undeclared (first use in this function)
moz-plugin.c: At top level:
moz-plugin.c:116: error: syntax error before "ChemDestroy"
moz-plugin.c:137: error: syntax error before "ChemSetWindow"
moz-plugin.c:148: error: syntax error before "ChemNewStream"
moz-plugin.c:149: error: syntax error before "uint16"
moz-plugin.c: In function `ChemNewStream':
moz-plugin.c:153: error: `instance' undeclared (first use in this function)
moz-plugin.c:160: error: `stype' undeclared (first use in this function)
moz-plugin.c: At top level:
moz-plugin.c:180: error: syntax error before "NP_GetValue"
moz-plugin.c:206: error: syntax error before "NP_Initialize"
moz-plugin.c: In function `NP_Initialize':
moz-plugin.c:210: error: structure has no member named `version'
moz-plugin.c:212: error: structure has no member named `size'
moz-plugin.c:214: error: structure has no member named `size'
moz-plugin.c:219: error: structure has no member named `version'
moz-plugin.c:220: error: structure has no member named `size'
moz-plugin.c:221: error: structure has no member named `newp'
moz-plugin.c:221: error: `NPP_NewUPP' undeclared (first use in this
function)
moz-plugin.c:222: error: structure has no member named `destroy'
moz-plugin.c:222: error: `NPP_DestroyUPP' undeclared (first use in this
function)
moz-plugin.c:223: error: structure has no member named `setwindow'
moz-plugin.c:223: error: `NPP_SetWindowUPP' undeclared (first use in
this function)
moz-plugin.c:224: error: structure has no member named `newstream'
moz-plugin.c:224: error: `NPP_NewStreamUPP' undeclared (first use in
this function)
moz-plugin.c:225: error: structure has no member named `destroystream'
moz-plugin.c:227: error: structure has no member named `writeready'
moz-plugin.c:228: error: structure has no member named `write'
moz-plugin.c:231: error: structure has no member named `event'
moz-plugin.c: At top level:
moz-plugin.c:239: error: syntax error before "NP_Shutdown"
gmake[2]: *** [libmozgcu_la-moz-plugin.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1/mozilla-plugin'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/science/gchemutils/work/gnome-chemistry-utils-0.6.1'
gmake: *** [all] Error 2
*** Error code 2


Regards
Rafael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd18lga1AD3hZfTERAu4zAJ9PbuIzVSUvUflqikkX2w79VrSgMQCaAhjl
q/KEz2VcXgvEIdxkXZFMI/M=
=TV+R
-----END PGP SIGNATURE-----
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-26 21:14:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

My port
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-05-26 23:23:37 UTC
State Changed
From-To: open->closed

Fixed in CVS. Wait an hour, then update your ports tree, and retry.