[ARMEL] FTBFS: previous definition of 'R0'

Bug #645036 reported by Niall Creech
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
predict (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: predict

Fails to build on armel due to conflict with system definition of R0

earthtrack.c:52: error: 'R0' redeclared as different kind of symbol
//usr/include/sys/ucontext.h:43: note: previous definition of 'R0' was here

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: predict (not installed)
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Wed Sep 22 10:19:30 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: predict

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Change variable name to avoid conflict

Changed in predict (Ubuntu):
assignee: nobody → SevenMachines (sevenmachines)
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Waiting for armel test build

predict (2.2.3-3ubuntu1) maverick; urgency=low

  * debian/patches/fix-R0-conflict:
    - Some systems define an enumeration containing R0 in
    sys/ucontext.h. Changing the name avoids any conflict.(LP: #645036)

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

More R0 replacements

tags: added: patch
Changed in predict (Ubuntu):
assignee: SevenMachines (sevenmachines) → nobody
Revision history for this message
Artur Rona (ari-tczew) wrote :

Thanks for your work SevenMachines, but I have some tips to your debdiff.
* debian/patches/fix-R0-conflict:
  - There are no filetype extension. Package uses .diff for previous patches, so you should use .diff as well.
  - You should add Origin tag with http adress to point an original patch, following with http://dep.debian.net/deps/dep3/.

* debian/changelog:
  - Why do you make debdiff for someone else? Debdiff is done by you and only patch (I guess) is made by Niall, about which you wrote in patch using Author tag.

Also, I would see the buildlog from build on armel. Please fix debdiff, attach a buildlog and resubscribe ubuntu-sponsors (not ubuntu-security-sponsors).

Changed in predict (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Hi Artur. It was mentioned that it was preferred that i use my real name to sign debdiffs, i dont do them for anyone else. Patch and debdiff are mine and signed with my real name and key as requested.

Since I'm the author i left out origin as per dep-3 "If the Author field is present, the Origin field can be omitted and it’s assumed that the patch comes from its author."

I'l see about the build log on armel in the next few days if i can get the armel pbuild working properly again

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Attached is pbuilder build log, note that this is for lucid and not maverick, maverick pbuilder is broken here so if necessary someone would need to check on maverick armel

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

predict (2.2.3-3ubuntu1) maverick; urgency=low

 * debian/patches/fix-R0-conflict:
    - Some systems define an enumeration containing R0 in
      sys/ucontext.h. Changing the name avoids any conflict.(LP: #645036)

Changed in predict (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Artur Rona (ari-tczew) wrote :

I made a small pedantic change in debian/changelog:
s/* debian/patches/fix-R0-conflict:/* debian/patches/fix-R0-conflict.diff:

Thanks for your contribution!

Changed in predict (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

Doh! I thought i'd done that! Thanks Artur

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package predict - 2.2.3-3ubuntu1

---------------
predict (2.2.3-3ubuntu1) maverick; urgency=low

  * debian/patches/fix-R0-conflict.diff:
    - Some systems define an enumeration containing R0 in
      sys/ucontext.h. Changing the name avoids any conflict.(LP: #645036)
 -- Niall Creech <email address hidden> Wed, 22 Sep 2010 10:28:53 +0100

Changed in predict (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.