logo       

Bug#539430: smartmontools: FTBFS: new declaration of strtoull ambiguates ol: msg#02818

debian-bugs-rc

Subject: Bug#539430: smartmontools: FTBFS: new declaration of strtoull ambiguates old declaration

Package: smartmontools
Version: 5.38-3
Severity: serious

From my pbuilder build log (on amd64):

...
checking for int64_t... yes
checking for uint64_t... yes
checking for getopt... ./configure: line 1849: ac_fn_cxx_try_link: command not
found
no
checking for getopt_long... ./configure: line 1849: ac_fn_cxx_try_link: command
not found
no
checking for getdomainname... ./configure: line 1849: ac_fn_cxx_try_link:
command not found
no
checking for gethostname... ./configure: line 1849: ac_fn_cxx_try_link: command
not found
no
checking for gethostbyname... ./configure: line 1849: ac_fn_cxx_try_link:
command not found
no
checking for sigset... ./configure: line 1849: ac_fn_cxx_try_link: command not
found
no
checking for strtoull... ./configure: line 1849: ac_fn_cxx_try_link: command
not found
no
checking for uname... ./configure: line 1849: ac_fn_cxx_try_link: command not
found
no
checking for working snprintf... yes
checking whether C++ compiler supports __attribute__((packed))... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examplescripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
...
if g++ -DHAVE_CONFIG_H -I. -I. -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/etc\" -g
-O2 -Wall -W -MT utility.o -MD -MP -MF ".deps/utility.Tpo" -c -o utility.o
utility.cpp; \
then mv -f ".deps/utility.Tpo" ".deps/utility.Po"; else rm -f
".deps/utility.Tpo"; exit 1; fi
utility.cpp: In function 'void FixGlibcTimeZoneBug()':
utility.cpp:120: warning: deprecated conversion from string constant to 'char*'
utility.cpp:122: warning: deprecated conversion from string constant to 'char*'
utility.cpp: In function 'void dateandtimezoneepoch(char*, time_t)':
utility.cpp:264: warning: deprecated conversion from string constant to 'char*'
utility.cpp: In function 'uint64_t strtoull(const char*, char**, int)':
utility.cpp:471: error: new declaration 'uint64_t strtoull(const char*, char**,
int)'
/usr/include/stdlib.h:217: error: ambiguates old declaration 'long long
unsigned int strtoull(const char*, char**, int)'
make[3]: *** [utility.o] Error 1
make[3]: Leaving directory `/tmp/buildd/smartmontools-5.38'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/smartmontools-5.38'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/smartmontools-5.38'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise