please sync avr-libc (1:1.7.1-2) from debian unstable

Bug #791335 reported by László Monda
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
avr-libc (Debian)
Unknown
Unknown
avr-libc (Ubuntu)
Incomplete
Wishlist
Unassigned

Bug Description

avr-libc 1.6.8 has been released on 2010-02-11 and it's the actual version in Ubuntu 11.04. In the meantime avr-libc 1.7.0 has been released on 2010-06-16 and avr-libc 1.7.1 has been released on 2011-02-16.

It has been updated in Debian sid to 1.7.1 and i *think* there are no changes in Ubuntu, so please sync it.

This may/will break the arduino package (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633659) which also needs a sync then.

Daniel Manrique (roadmr)
affects: ubuntu → avr-libc (Ubuntu)
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I have attached a bug watch to a bug in Debian, also requesting an upgrade to version 1.7.1. When a newer version of a package is available in Debian, it will also appear in Ubuntu after a while, since Ubuntu is based on Debian.

tags: added: upgrade-software-version
Revision history for this message
Stefan Tauner (stefanct) wrote :

1.7.1 was packaged for debian now (will show up shortly), but because the deadline for the automatic sync of debian packages for 11.10 was already two weeks ago, it will not be in 11.10 without intervention from some ubuntu maintainers.

Revision history for this message
Scott Howard (showard314) wrote :

If avr-libc is updated in oeneric, the arduino package will have to be patched as well (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633659)

That's an easy fix, but if you're taking care of avr-libc please take care of arduino at the same time.

Debian might be putting a beta version of arduino 1.0 into experimental that will also contain that bug fix, but I do not suggest that Ubuntu use that one (wait for it to get to unstable) since there will be problems with file permissions and renaming of .pde files to .ino extension. It would be best to stick with the version ubuntu currently has and just patch it to work with avr-libc 1.7.1 (if avr-libc is upgraded)

Stefan Tauner (stefanct)
summary: - avr-libc is terribly out of date
+ please sync avr-libc (1:1.7.1-2) from debian unstable
Stefan Tauner (stefanct)
description: updated
Benjamin Drung (bdrung)
Changed in avr-libc (Ubuntu):
assignee: nobody → Benjamin Drung (bdrung)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Benjamin Drung (bdrung) wrote :

It fails to build due to missing dependencies:

The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy: Depends: gcc-avr (>= 1:4.5.3-1) but it is not going to be installed.
                                 Depends: binutils-avr (>= 2.20.1-2) but it is not going to be installed.
                                 Depends: debhelper (>= 5) but it is not going to be installed.
                                 Depends: doxygen-latex but it is not going to be installed.
                                 Depends: transfig but it is not going to be installed.
                                 Depends: ghostscript but it is not going to be installed.
                                 Depends: netpbm but it is not going to be installed.
                                 Depends: x11-common but it is not going to be installed.
                                 Depends: autotools-dev but it is not going to be installed.
                                 Depends: autoconf2.59 but it is not going to be installed.
                                 Depends: automake1.9 but it is not going to be installed.

Please resubscribe ubuntu-sponsors once they are in place.

Changed in avr-libc (Ubuntu):
assignee: Benjamin Drung (bdrung) → nobody
status: In Progress → Incomplete
Revision history for this message
Stefan Tauner (stefanct) wrote :

oh. sorry benjamin about that! https://wiki.ubuntu.com/SyncRequestProcess does not mention (changed) dependencies. can you point me to some documentation explaining what i can do to fix this please?
the main question for me is: why are those dependencies not available at build(?) time? some of them seem to be easily satisfiable.

Revision history for this message
Benjamin Drung (bdrung) wrote :

The wiki pages says: "Sometimes the sponsor requires a build log of the Debian package compiled in the Ubuntu release as proof that the new Debian version still compiles in Ubuntu. The build log has to be attached to the sync request." I don't think that a build log is needed, but the sync requester should make sure that the package builds on Ubuntu.

I pasted the output of pbuilder. Most of the dependencies are in place, but binutils-avr (>= 2.20.1-2) isn't available in that version. Make sure that the dependencies are available in Ubuntu in at least the specified version. If not, then request a sync or merge of that package.

Revision history for this message
Stefan Tauner (stefanct) wrote :

how can one test this easily? i would have to (try to) build it myself then i guess?

regarding the output you pasted: i was puzzled because as you said "most of the dependencies are in place", but it prints them as unmet anyway...

for binutils-avr the situation is clear. in oneiric there is currently 2.20.1-1ubuntu2 but >= 2.20.1-2 is needed. so this needs to be either synced and the ubuntu changes dropped or merged. thanks for your quick responses!

the ubuntu patch for binutils-avr is huge (>100MB) and i don't even dare to look at it, so i'll file a merge request.
auto merge report can be found at https://merges.ubuntu.com/b/binutils-avr/REPORT

Revision history for this message
Benjamin Drung (bdrung) wrote :

Yes, build it it a clean chroot environment. You can use pbuilder-dist, pbuilder, or sbuild.

Normally pbuilder prints only the missing dependencies, but in this case it shows too much.

Revision history for this message
Scott Howard (showard314) wrote :

Hello all, the accidental archive sync partially took care of this, although everything is dep-waiting.

gcc-avr, avr-libc, and arduino all updated today.

However, they depend on binutils-avr 2.20.1-2 (and ubuntu has 2.20.1-1ubuntuX), which did not sync today.

To get everything working:

-Merge (or possibly sync) binutils-avr
-apply patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634341 to gcc-avr (this patch isn't applied in debian yet, but is applied upstream)

then all the build-deps and dep waits should just work out.

Revision history for this message
Scott Howard (showard314) wrote :

Also, "the ubuntu patch for binutils-avr is huge (>100MB) and i don't even dare to look at it, so i'll file a merge request." --> the ubuntu patch is including the source to binutils since it uses a version that ubuntu no longer keeps in the archive (but Debian did.)

It looks like Debian includes the source now too:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618657

so a sync will probably work (I haven't tried)

Revision history for this message
Dave Walker (davewalker) wrote :

This is looking a bit confusing to me. Can the requirements for syncing avr-libc be clarified please? What else needs to be sync'd, merged or distro patched for this?

Thanks.

Revision history for this message
Scott Howard (showard314) wrote :

The accidental auto-sync took care of this bug, but it FTBFS because of bug #818188. Dave, if you could do the sync at bug #818188, then they should all auto build.

I'll mark this as a duplicate of that bug, then open a separate bug to fix the gcc-avr package.

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.