dnprogs 2.49 FTBFS (conflicting declaration)

Bug #435071 reported by Ilya Barygin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnprogs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

g++ -g -O2 -fno-rtti -fno-exceptions -pipe -fdollars-in-identifiers -fsigned-char -Wall -Wno-unused -Wno-uninitialized -I../libdap -I../include -DVERSION=\"2.49\" -D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSHADOW_PWD -DDNETUSE_DEVPTS -O2 -fno-rtti -fno-exceptions -pipe -fdollars-in-identifiers -fsigned-char -Wall -Wno-unused -Wno-uninitialized -I../libdap -I../include -DVERSION=\"2.49\" -D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSHADOW_PWD -DDNETUSE_DEVPTS -O2 -c -o unixfile.o unixfile.cc
unixfile.cc:25: error: new declaration 'char* basename(const char*)'
/usr/include/string.h:601: error: ambiguates old declaration 'const char* basename(const char*)'
unixfile.cc: In member function 'virtual char* unixfile::get_printname()':
unixfile.cc:200: warning: ignoring return value of 'char* realpath(const char*, char*)', declared with attribute warn_unused_result
unixfile.cc: In member function 'virtual char* unixfile::get_printname(char*)':
unixfile.cc:213: warning: ignoring return value of 'char* realpath(const char*, char*)', declared with attribute warn_unused_result

http://launchpadlibrarian.net/31697748/buildlog_ubuntu-karmic-i386.dnprogs_2.49_FAILEDTOBUILD.txt.gz

Related branches

Revision history for this message
Ilya Barygin (randomaction) wrote :
Changed in dnprogs (Ubuntu):
status: New → Confirmed
Benjamin Drung (bdrung)
Changed in dnprogs (Ubuntu):
assignee: nobody → Benjamin Drung (bdrung)
status: Confirmed → In Progress
Revision history for this message
Benjamin Drung (bdrung) wrote :

uploading now. Please forward the patch to Debian/upstream. Thanks for your contribution.

Changed in dnprogs (Ubuntu):
assignee: Benjamin Drung (bdrung) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dnprogs - 2.49ubuntu1

---------------
dnprogs (2.49ubuntu1) karmic; urgency=low

  * dncopy/unixfile.cc: remove conflicting declaration of basename()
    (LP: #435071).

 -- Ilya Barygin <email address hidden> Wed, 23 Sep 2009 11:17:02 +0400

Changed in dnprogs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ilya Barygin (randomaction) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.