Re: problem install new package

2013-03-10 Thread Andrey Rahmatullin
On Sun, Mar 10, 2013 at 12:45:00PM +0100, Alfonso Sabato Siciliano wrote:
 So I have uncopressed beret_1.2.1-1_amd64.deb
 and in beret_1.2.1-1_amd64/DEBIAN/control there is:
 Depends: beret-data (= 1.2.1-1), libc6-amd64 (= 2.2.5),
 libsdl-image1.2 (= 1.2.10),
  libsdl-mixer1.2, libsdl-ttf2.0-0, libsdl1.2debian (= 1.2.11)
 
 libc6-amd64 (= 2.2.5): this version is incorrect! I have installed 2.13-38.
Do you do something strange while building the software? Can you publish
the package anywhere?

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Re: problem install new package

2013-03-10 Thread Ansgar Burchardt
Hi,

Alfonso Sabato Siciliano alfi...@gmail.com writes:
 if I run: # dpkg -i beret_1.2.1-1_amd64.deb
[...]
  beret depends on libc6-amd64 (= 2.2.5).

libc6-amd64 is a i386 package providing an 64bit libc. For some reason
the ${shlibs:Depends} picks this as a dependency instead of the native
libc6 package.

This seems to be a bug (or missing mutliarch feature) in dpkg: it
probably should not use *.shlibs files from packages that do not match
the target architecture.

As a workaround, you could try removing libc6-amd64 when building the
package.

Ansgar


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r4jnh1kj@eisei.43-1.org



Re: problem install new package

2013-03-09 Thread Andrey Rahmatullin
On Sun, Mar 10, 2013 at 02:49:47AM +0100, Alfonso Sabato Siciliano wrote:
 Hi Mentors,
 
 I have build my first package: $dpkg-buildpackage -us -uc
 --source-option=--include-binaries
 and I have my 3 packages: beret_1.2.1-1_amd64.deb,
 beret-data_1.2.1-1_all.deb and
 beret-dbg_1.2.1-1_amd64.deb.
 There aren' t errors or warnings.
 
 if I run: #dpkg -i  beret-data_1.2.1-1_all.deb
 all ok!
 
 if I run: #dpkg -i   beret_1.2.1-1_amd64.deb
 I have an error: beret depends by libc6-amd64 (= 2.2.5).
Please show the Depends: line from debian/control for this package.

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Re: problem install new package

2013-03-09 Thread Andrey Rahmatullin
On Sun, Mar 10, 2013 at 02:49:47AM +0100, Alfonso Sabato Siciliano wrote:
 I have an error: beret depends by libc6-amd64 (= 2.2.5).
This doesn't sound like the correct error text.

-- 
WBR, wRAR


signature.asc
Description: Digital signature


Re: problem install new package

2013-03-09 Thread Alfonso Sabato Siciliano
# dpkg -i beret_1.2.1-1_amd64.deb
(Reading database ... 419061 files and directories currently installed.)
Preparing to replace beret 1.2.1-1 (using beret_1.2.1-1_amd64.deb) ...
Unpacking replacement beret ...
dpkg: dependency problems prevent configuration of beret:
 beret depends on libc6-amd64 (= 2.2.5).

dpkg: error processing beret (--install):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
Processing triggers for man-db ...
Errors were encountered while processing:
 beret


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPJrGM0P6cw=w5exzdTE37WNM+wz0f4WWd=+5hyerjiyhvu...@mail.gmail.com