"binary-i386" appears in apt sources list on amd64 system

Bug #1222758 reported by Jakub Orlowski
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
apt-build (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

W: Fehlschlag beim Holen von file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages Datei nicht gefunden

couldnt find the above source
the system is 64 bit
saucy salamander

therefore it cannot build:

linux kernel

Als Quellpaket wird »linux-meta« statt »linux« gewählt.
E: Nicht verfügbare Version »3.11.0-5.11« von Paket »linux« wird ignoriert.
E: Quellpaket für linux-meta kann nicht gefunden werden.
-----> Building linux <-----
Can't chdir(linux-3.11.0): Datei oder Verzeichnis nicht gefunden at /usr/bin/apt-build line 288

or

dolphin-emu
...
 12%] Built target audiocommon
make[3]: Verlasse Verzeichnis '/var/cache/apt-build/build/dolphin-emu-3.5/obj-x86_64-linux-gnu'
make[2]: *** [Source/Core/Common/CMakeFiles/common.dir/all] Fehler 2
make[2]: Verlasse Verzeichnis '/var/cache/apt-build/build/dolphin-emu-3.5/obj-x86_64-linux-gnu'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/var/cache/apt-build/build/dolphin-emu-3.5/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
----> Cleaning up object files <-----
Cleaning in directory .
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
   dh_clean -O--parallel
Error while building dolphin-emu!
Sorry, no package to install.

or firefox

refox.desktop debian/firefox.1
rm -f debian/stamp-*
rm -rf debian/l10n-mergedirs
rm -rf ./obj-x86_64-linux-gnu
rm -f debian/searchplugin*.list
rm -f mozconfig
rm -f debian/testing/extra.test.zip
rm -rf debian/testing/extra-stage
rm -f debian/firefox-locale-*.preinst
rm -f debian/usr.bin.firefox.in
Error while building firefox!
Sorry, no package to install.

Revision history for this message
Dominique Lasserre (lasall) wrote :

Does it work when you insert [arch=amd64] in your apt-build sources list entry?

deb [arch=amd64] ...

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

are the apt-build sources different from the apt-get ones?
where/how would i insert this statement? or how do i check it?

Revision history for this message
Dominique Lasserre (lasall) wrote :

No it's a normal apt entry and should be located in file /etc/apt/sources.list.d/apt-build.list.

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

i dont know how, why and where exactly i should add it.

Revision history for this message
Dominique Lasserre (lasall) wrote :

There should be a file /etc/apt/sources.list.d/apt-build.list . Open it with e.g. gedit:

gksudo gedit /etc/apt/sources.list.d/apt-build.list

Then change the line

deb file:/var/cache/apt-build/repository apt-build main

to

deb [arch=amd64] file:/var/cache/apt-build/repository apt-build main

Finally run apt-build again and check if it works.

(I doubt this will solve you issue though but will check if non-multiarch apt-build repository causes the build error.)

If it doesn't work, please show your /etc/apt/sources.list (attach it to this bug) or manually verify you have deb-src entries enabled and can do a `apt-get source PACKAGE`

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

it does build by now (firefox and dolphin-emu but not kernel - im not sure if successful anyway - but it doesnt install anything

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

the funny thing is: there is no such entry "deb file: /..."

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

and no change when inserting it manually

still:
W: Fehlschlag beim Holen von file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages Datei nicht gefunden

Revision history for this message
Jakub Orlowski (jakub-o) wrote :

it seemed to have "upgraded" nss successfully. but why does it still fail on the kernel?

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-build (Ubuntu):
status: New → Confirmed
Revision history for this message
Compinfer (nvkinf) wrote :

I am running amd64 ubuntu 13.04 (apt-build version 0.12.44)

Rescently, I have met a message when trying to do sudo apt-get update:
"W: Failed to fetch file :/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found"

Indeed, I have an apt-build repository, and I have previously build and installed successfully firefox from there.
As I remember, I had to change somewhere i386 to amd64, before I managed to do so (I don't remember exactly).

But now the problem appeared again

Adding deb [arch=amd64] to the sources list entry solved the problem.
But why is it not added by apt-build automatically ?

Compinfer (nvkinf)
summary: - cannot build
+ "binary-i386" appears in apt sources list on amd64 system
Revision history for this message
NeverMind (agathe-durieux) wrote :

sudo apt-get purge apt-build
sudo dpkg --remove-architecture i386
sudo apt-get install apt-build

Solve this bug !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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