On Tue, 2008-11-25 at 07:46 +0100, Andreas Tscharner wrote:
> James Westby wrote:
> > Hi,
> 
> Hello,
> > 
> > You package failed to build in Ubuntu where we currently
> > use a newer compiler that is more strict about #includes:
> 
> What version? I am currently preparing the new upstream 2.5.04.3236 
> which compiles fine here with gcc-4.3 and I have even corrected a bug 
> that was filed for gcc-4.4
> If you have time, could you please check the new version?

Hi,

Thanks for your response.

I compiled the package from mentors in a jaunty pbuilder, and it
still fails.

b/cvsnt\" -I/usr/include/libxml2 -I/rdbms/public -I/rdbms/demo
-I/usr/include/postgresql -g -O2 -MT info_trigger.lo -MD -MP
-MF .deps/info_trigger.Tpo -c info_trigger.cpp  -fPIC -DPIC
-o .libs/info_trigger.o
info_trigger.cpp: In function 'int<unnamed>::init(const
trigger_interface_t*, const char*, const char*, const char*, const
char*, const char*, const char*, const char*, const char*, int, const
char**, const char**, const char*, const char*)':
info_trigger.cpp:618: error: 'PATH_MAX' was not declared in this scope
info_trigger.cpp:619: error: 'cwd' was not declared in this scope
info_trigger.cpp: In function 'int<unnamed>::parse_info(const char*,
const char*, const char*, const char*, <unnamed>::options*,
<unnamed>::options*)':
info_trigger.cpp:903: error: 'PATH_MAX' was not declared in this scope
info_trigger.cpp:904: error: 'cwd' was not declared in this scope
make[3]: *** [info_trigger.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/cvsnt-2.5.04.3229~rc9/triggers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/cvsnt-2.5.04.3229~rc9'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/cvsnt-2.5.04.3229~rc9'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package

I can work with you to discover what the difference is between jaunty
and unstable that causes it to fail, but it seems like a correctness
thing to me, unless PATH_MAX is not supposed to be provided by limits.h.

Thanks,

James




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to