[From nobody Fri Nov 13 12:01:11 2026
Received: (at submit) by bugs.debian.org; 28 Apr 2017 12:57:01 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
 (2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.8 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,
 RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham autolearn_force=no
 version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 33; hammy, 150; neutral, 130; spammy,
 0. spammytokens: hammytokens:0.000-+--H*u:NeoMutt,
 0.000-+--H*UA:NeoMutt, 
 0.000-+--systemd, 0.000-+--H*UA:1.7.2, 0.000-+--H*u:1.7.2
Return-path: &lt;joshua.honeycutt@gmail.com&gt;
Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236])
 by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from &lt;joshua.honeycutt@gmail.com&gt;)
 id 1d45SH-0003YB-11
 for submit@bugs.debian.org; Fri, 28 Apr 2017 12:57:01 +0000
Received: by mail-io0-x236.google.com with SMTP id p80so62338461iop.3
 for &lt;submit@bugs.debian.org&gt;; Fri, 28 Apr 2017 05:57:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:from:to:subject:message-id:mime-version:content-disposition
 :user-agent; bh=yn46pDIxvhjub/Zz5knAhI1y+INPovNbGahI28QErIk=;
 b=aO0BR4ROKXa50DsoImqmbKhCsvFbHJp8gUplqZXA7A3k/pnmhwuJrwC7suVuVCl2Z3
 75YUF7aJjAQc61Ixv5gzuf8oY7QIMN0PpDDcgo9gkX20cpjYFEL0+bPTpPC7/awUFWmw
 5m2vE5RKrs16QRdAB6GU0fkZNvbGs2QsOt/fm03Bb1I/JQe6O3PiiyNEbonMaqRFr8Yg
 p1Un3fqmHil1pZmObuRd6ZV0JtqJnecFR2Hrtjevh218otTCbwnXM/lU/pcU/gV9krEN
 Spt7jZF5iCLA7qjTa6sUlH8o5+m11FG7nWcTF84rSDeRMMlPpLJANDIjvJGu4nQFPwNd
 hNww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:subject:message-id:mime-version
 :content-disposition:user-agent;
 bh=yn46pDIxvhjub/Zz5knAhI1y+INPovNbGahI28QErIk=;
 b=LGkZmvQ/ukqKwaExdPwX7LrrEasz8Z/0SMGYnlkUde3iJ0TkYasUbMMWjuENsTICg7
 4a2mIdWggDAGVuHqxWoG0LzVMuuWfbnZER3FI+L/nxYEP6Bc3kaxgGoteJuGCDwNFYTG
 nAJieVBap9ETcxOqr7CxceyExbeBh0o8Vy9FhDwptPRmxhu07Kiw/QPc4LH9GDcDiYFH
 WxgAjtkS2rS6+PwG8UGT66rINUkETbnJ/i0+VGFuOpaQX/XAg2T+s/Vv4sApFBRSIOf0
 6ykvw4IAS+ge+BNv8qwCDvSm9bHm4+SqJVrhgY1fHlWIli/BGooy20yKl5PIeoZhTohi
 36dA==
X-Gm-Message-State: AN3rC/5/5L4rrq9Pq63rE1VgLYltPwJDnUMy97g5KFSNwi4VesQoEMRt
 09FDz9KY2Z2KQg==
X-Received: by 10.157.11.145 with SMTP id 17mr4254516oth.144.1493384214553;
 Fri, 28 Apr 2017 05:56:54 -0700 (PDT)
Received: from localhost ([47.188.49.58])
 by smtp.gmail.com with ESMTPSA id a68sm2583851otc.55.2017.04.28.05.56.53
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 28 Apr 2017 05:56:53 -0700 (PDT)
Date: Fri, 28 Apr 2017 07:56:52 -0500
From: Joshua Honeycutt &lt;joshua.honeycutt@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: java-package: Package has dependency on libc6-amd64 if it is
 installed, but this can't be satisfied
Message-ID: &lt;20170428125652.tgshgkpa7gtedczp@justice.honeycutt&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 7.1.6
User-Agent: NeoMutt/20170113 (1.7.2)
Delivered-To: submit@bugs.debian.org

Package: java-package
Version: 0.62
Severity: normal

Dear Maintainer,

   I ran into user on IRC attempting to create a jre deb on an amd64
   system.

   They had an issue where their jre deb was depending on libc6-amd64
   which is an i386 arch package. The dependency could not be resolved
   so the resulting package was uninstallable. I think this is because
   dpkg was looking for a amd64 arch candidate. My system didn't
   produce this issue until I installed libc6-amd64 and ran
   java-package again.

   The user and I were able to produce packages with working depends if
   libc6-amd64 was removed. I'm not sure why it was installed on their
   system to begin with. #739758 seems to indicate it is undesireable
   for libc6-amd64 to be installed on amd64 systems.

   I was able to reproduce the issue on a jessie and stretch system.


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  build-essential  12.3
ii  debhelper        10.2.5
ii  dpkg-dev         1.18.23
ii  fakeroot         1.21-3.1
ii  libasound2       1.1.3-5
ii  libfontconfig1   2.11.0-6.7+b1
ii  libgl1-mesa-glx  13.0.6-1+b2
ii  libgtk2.0-0      2.24.31-2
ii  libx11-6         2:1.6.4-3
ii  libxslt1.1       1.1.29-2.1
ii  libxtst6         2:1.2.3-1
ii  libxxf86vm1      1:1.1.4-1+b2
ii  unzip            6.0-21

java-package recommends no packages.

Versions of packages java-package suggests:
pn  openjdk-7-jre  &lt;none&gt;

-- no debconf information
]