bf: [FTBFS] gcc warning bug makes bf uncompilable

Bug #453469 reported by Alfonso Cepeda
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bf (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: bf

A bug in gcc makes that strcmp() of string raise a warning in some conditions.

The bug is explained here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903

so in bf.c:
if (!strcmp(*(v+1), "-h")) /* is first argument '-h'? */

gcc raise a warning.

ProblemType: Bug
Architecture: i386
Date: Fri Oct 16 22:39:17 2009
DistroRelease: Ubuntu 9.10
Package: bf (not installed)
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
SourcePackage: bf
Uname: Linux 2.6.31-14-generic i686

Tags: ftbfs

Related branches

Revision history for this message
Alfonso Cepeda (cepeda) wrote :
Revision history for this message
Alfonso Cepeda (cepeda) wrote :

Sorry: XsessionErrors.txt should not be upload and I can not edit to delete it.

I have not report the bug to debian because I could not find this package in debian.

Revision history for this message
Alfonso Cepeda (cepeda) wrote :

Updated the debdiff patch with the number of this LP bug (LP: #453469), and with some lithian errors fixed.

subscribed Ubuntu-Universe-Sponsors

Changed in bf (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Uploaded.Thanks for your contribution!

Changed in bf (Ubuntu):
assignee: fabrice_sp (fabricesp) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bf - 20041219ubuntu3

---------------
bf (20041219ubuntu3) karmic; urgency=low

  * bf.c: work around to fix gcc warning (LP: #453469):
      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903
    This fix a "array subscript is above array bounds" warning.
  * debian/control:
    - Fixed lithian debian-rules-ignores-make-clean-error,
    - debhelper Build-Depends changed to 6
  * debian/compat: Changed to 6

 -- Alfonso Cepeda Caballos <email address hidden> Sun, 18 Oct 2009 18:19:38 +0200

Changed in bf (Ubuntu):
status: Fix Committed → Fix Released
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.