Bug#595837: libproxy: FTBFS in squeeze: pacrunner_mozjs.c:33:19: error: jsapi.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Sep 6 22:54:25 UTC 2010


Package: libproxy
Version: 0.3.1-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100906 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in a squeeze chroot, your package failed
to build on amd64.

Relevant part:
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\" -DPACKAGE_VERSION=\"0.3.1\" -DPACKAGE_STRING=\"libproxy\ 0.3.1\" -DPACKAGE_BUGREPORT=\"nathaniel at natemccallum.com\" -DPACKAGE=\"libproxy\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_PTHREAD_MUTEX_INIT=1 -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I.  -I../../src/lib  -D_POSIX_C_SOURCE=200112L  -std=c99 -g -Wall -pedantic -g -O2 -g -Wall -O2 -c -o pacrunner_mozjs_la-pacrunner_mozjs.lo `test -f 'pacrunner_mozjs.c' || echo './'`pacrunner_mozjs.c
> libtool: compile:  gcc -DPACKAGE_NAME=\"libproxy\" -DPACKAGE_TARNAME=\"libproxy\" -DPACKAGE_VERSION=\"0.3.1\" "-DPACKAGE_STRING=\"libproxy 0.3.1\"" -DPACKAGE_BUGREPORT=\"nathaniel at natemccallum.com\" -DPACKAGE=\"libproxy\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_PTHREAD_MUTEX_INIT=1 -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I../../src/lib -D_POSIX_C_SOURCE=200112L -std=c99 -g -Wall -pedantic -g -O2 -g -Wall -O2 -c pacrunner_mozjs.c  -fPIC -DPIC -o .libs/pacrunner_mozjs_la-pacrunner_mozjs.o
> pacrunner_mozjs.c:33:19: error: jsapi.h: No such file or directory
> pacrunner_mozjs.c:45: error: expected specifier-qualifier-list before 'JSRuntime'
> pacrunner_mozjs.c:49: warning: struct has no members
> pacrunner_mozjs.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dnsResolve'
> pacrunner_mozjs.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'myIpAddress'
> pacrunner_mozjs.c: In function 'ctxs_free':
> pacrunner_mozjs.c:106: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:106: warning: implicit declaration of function 'JS_DestroyContext'
> pacrunner_mozjs.c:106: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:107: error: 'ctxStore' has no member named 'run'
> pacrunner_mozjs.c:107: warning: implicit declaration of function 'JS_DestroyRuntime'
> pacrunner_mozjs.c:107: error: 'ctxStore' has no member named 'run'
> pacrunner_mozjs.c:108: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:108: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:109: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c: In function 'ctxs_new':
> pacrunner_mozjs.c:115: error: 'JSObject' undeclared (first use in this function)
> pacrunner_mozjs.c:115: error: (Each undeclared identifier is reported only once
> pacrunner_mozjs.c:115: error: for each function it appears in.)
> pacrunner_mozjs.c:115: error: 'global' undeclared (first use in this function)
> pacrunner_mozjs.c:116: error: 'jsval' undeclared (first use in this function)
> pacrunner_mozjs.c:116: error: expected ';' before 'rval'
> pacrunner_mozjs.c:122: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:122: error: 'JSClass' undeclared (first use in this function)
> pacrunner_mozjs.c:123: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:124: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:125: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:125: error: 'JS_PropertyStub' undeclared (first use in this function)
> pacrunner_mozjs.c:126: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:127: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:128: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:129: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:129: error: 'JS_EnumerateStub' undeclared (first use in this function)
> pacrunner_mozjs.c:130: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:130: error: 'JS_ResolveStub' undeclared (first use in this function)
> pacrunner_mozjs.c:131: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:131: error: 'JS_ConvertStub' undeclared (first use in this function)
> pacrunner_mozjs.c:132: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:132: error: 'JS_FinalizeStub' undeclared (first use in this function)
> pacrunner_mozjs.c:135: error: 'ctxStore' has no member named 'run'
> pacrunner_mozjs.c:135: warning: implicit declaration of function 'JS_NewRuntime'
> pacrunner_mozjs.c:136: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:136: warning: implicit declaration of function 'JS_NewContext'
> pacrunner_mozjs.c:136: error: 'ctxStore' has no member named 'run'
> pacrunner_mozjs.c:137: warning: implicit declaration of function 'JS_NewObject'
> pacrunner_mozjs.c:137: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:137: error: 'ctxStore' has no member named 'cls'
> pacrunner_mozjs.c:138: warning: implicit declaration of function 'JS_InitStandardClasses'
> pacrunner_mozjs.c:138: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:141: warning: implicit declaration of function 'JS_DefineFunction'
> pacrunner_mozjs.c:141: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:141: error: 'dnsResolve' undeclared (first use in this function)
> pacrunner_mozjs.c:142: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:142: error: 'myIpAddress' undeclared (first use in this function)
> pacrunner_mozjs.c:143: warning: implicit declaration of function 'JS_EvaluateScript'
> pacrunner_mozjs.c:143: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:143: warning: string length '6002' is greater than the length '4095' ISO C99 compilers are required to support
> pacrunner_mozjs.c:144: warning: string length '6002' is greater than the length '4095' ISO C99 compilers are required to support
> pacrunner_mozjs.c:144: error: 'rval' undeclared (first use in this function)
> pacrunner_mozjs.c:147: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:153: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c: In function '_run':
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: warning: left-hand operand of comma expression has no effect
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: warning: value computed is not used
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: warning: left-hand operand of comma expression has no effect
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:182: error: 'ctxStore' has no member named 'pac'
> pacrunner_mozjs.c:201: error: 'jsval' undeclared (first use in this function)
> pacrunner_mozjs.c:201: error: expected ';' before 'args'
> pacrunner_mozjs.c:207: error: expected ';' before 'rval'
> pacrunner_mozjs.c:208: error: 'JSBool' undeclared (first use in this function)
> pacrunner_mozjs.c:208: error: expected ';' before 'result'
> pacrunner_mozjs.c:209: error: 'result' undeclared (first use in this function)
> pacrunner_mozjs.c:210: warning: implicit declaration of function 'JS_GetStringBytes'
> pacrunner_mozjs.c:210: warning: implicit declaration of function 'JS_ValueToString'
> pacrunner_mozjs.c:210: error: 'ctxStore' has no member named 'ctx'
> pacrunner_mozjs.c:210: error: 'rval' undeclared (first use in this function)
> pacrunner_mozjs.c:200: warning: unused variable 'tmphost'
> pacrunner_mozjs.c:199: warning: unused variable 'tmpurl'
> make[4]: *** [pacrunner_mozjs_la-pacrunner_mozjs.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/09/06/libproxy_0.3.1-1_lsqueeze64.buildlog

It is possible that your package builds fine in sid, but you should make sure
that your package also builds fine in squeeze before the release.

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |






More information about the pkg-gnome-maintainers mailing list