[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to revert unstable package upgrade?



Hello debian-user,

I'm running Debian unstable and I would like to revert one package
upgrade that I did earlier this week.

I upgraded to version 0.6.1-5 of mozilla-firebird. After some testing
and attempts to do basic things with bookmarks, I've found it much too buggy
(the bugs are reported; I'm not ignoring them). Ideally, I would like to go
back to version 0.6.1-4.

Is there somewhere where I could find the i386 .deb file for version
0.6.1-4?

I tried looking in the pool at http://http.us.debian.org.
I did not find a .deb for 0.6.1-4. However, I found the .diff.gz and the
.dsc file for 0.6.1-4 which I thought was enough to recreate the source
for that version. But despite my best efforts, the build from source
failed.

The exact steps I followed:

1. downloaded these files (from http://http.us.debian.org/pool/m/...)
mozilla-firebird_0.6.1-4.diff.gz
mozilla-firebird_0.6.1-4.dsc
mozilla-firebird_0.6.1.orig.tar.gz

2. got the build depencies

As root, I did/saw:
# apt-get build-dep mozilla-firebird
The following NEW packages will be installed:
  libatk1.0-dev libglib2.0-dev libgtk2.0-dev libidl-dev liblinc-dev liblinc1
  liborbit2 liborbit2-dev libpango1.0-dev libpopt-dev sharutils
0 upgraded, 11 newly installed, 0 to remove and 1 not upgraded.
...

The 1 not upgraded is because I have libruby on hold (unrelated).

I think this was using the Build-Depends from 0.6.1-5 (since that is the
version shown by "apt-cache showsrc mozilla-firebird"). To double check, I
looked at the 0.6.1-4.dsc file and it had the same Build-Depends, so that
shouldn't be the issue.

3. extracted the source package

In the directory with the three files (src package), I did/saw this:
$ dpkg-source x mozilla-firebird_0.6.1-4.dsc
dpkg-source: extracting mozilla-firebird in mozilla-firebird-0.6.1

4. tried to build (from mozilla-firebird-0.6.1 directory)
$ dpkg-buildpackage -rfakeroot -uc -b >../make.log 2>&1

It was long and it ended with errors. I can send make.log if it is
interesting, but the first few lines said this:
dpkg-buildpackage: source package is mozilla-firebird
dpkg-buildpackage: source version is 0.6.1-4
dpkg-buildpackage: source maintainer is Eric Dorland <eric@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
...

The errors at the end said this:
/usr/bin/make -C config export
make[2]: Entering directory `/space/mozilla-firebird-0.6.1/config'
nsinstall.c
gcc -o host_nsinstall.o -c -DXP_UNIX -pipe MOZ_OPTIMIZE_LDFLAGS =    -I../dist/include -I../dist/include -I/space/mozilla-firebird-0.6.1/dist/include/nspr  -I/usr/include -I/usr/include -I/usr/include -I/space/mozilla-firebird-0.6.1/dist/include/nspr  nsinstall.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [host_nsinstall.o] Error 1
make[2]: Leaving directory `/space/mozilla-firebird-0.6.1/config'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/space/mozilla-firebird-0.6.1'
make: *** [build-stamp] Error 2


The MOZ_OPTIMIZE_LDFLAGS shouldn't be there, and I tracked it down to
config/autoconf.mk having these line (with a bogus slash):
MOZ_OPTIMIZE_FLAGS = -pipe\
MOZ_OPTIMIZE_LDFLAGS =

The slash puts the "MOZ_OPTIMIZE_LDFLAGS =" garbage on the command line.
I don't think I've done anything wrong, but I could be mistaken.

So to recap my questions:
1) Is there a secret place with the 0.6.1-4 i386 .deb?
2) Why is this build from source not working (have I done something wrong)?

Please cc: me on replies as I'm not subscribed to the list.

Thanks,
-Ivan



Reply to: