pbuilder problemn ppc64

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

pbuilder problemn ppc64

jjhdiederen
I have a question concerning pbuilder. I get this weird error. I have
the debian-ports-archive-keyring installed. What could be the problem ?


jeroen@debian:~/src/debian/b43-fwcutter$ sudo pbuilder create
W: /root/.pbuilderrc does not exist
I: Distribution is sid.
I: Current time: Thu Oct  3 22:00:49 CEST 2019
I: pbuilder-time-stamp: 1570132849
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
I: Target architecture can be executed
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id DA1B2CEA81DCBC61)
    The specified keyring /usr/share/keyrings/debian-archive-keyring.gpg
may be incorrect or out of date. You can find the latest Debian release
key at https://ftp-master.debian.org/keys.html E: debootstrap failed
E: Tail of debootstrap.log:
ppc64: ok
2019-10-03 22:00:51
URL:http://ftp.ports.debian.org/debian-ports/dists/sid/InRelease
[55268/55268] ->
"/var/cache/pbuilder/build/17438/var/lib/apt/lists/partial/ftp.ports.debian.org_debian-ports_dists_sid_InRelease"
[1] gpgv: Signature made Thu Oct  3 16:05:53 2019 CEST gpgv:
     using RSA key 66571731B5A71F91C501F3FDDA1B2CEA81DCBC61 gpgv: Can't
check signature: No public key E: End of debootstrap.log W: Aborting
with an error


By the way, I don't experience the same problem in 32-bits land
(powerpc).


Regards,
Jeroen Diederen

Reply | Threaded
Open this post in threaded view
|

Re: pbuilder problemn ppc64

John Paul Adrian Glaubitz
On 10/4/19 10:39 AM, jjhdiederen wrote:

> E: Release signed by unknown key (key id DA1B2CEA81DCBC61)
>    The specified keyring /usr/share/keyrings/debian-archive-keyring.gpg
> may be incorrect or out of date. You can find the latest Debian release
> key at https://ftp-master.debian.org/keys.html E: debootstrap failed
> E: Tail of debootstrap.log:
> ppc64: ok
> 2019-10-03 22:00:51
> URL:http://ftp.ports.debian.org/debian-ports/dists/sid/InRelease
> [55268/55268] ->
> "/var/cache/pbuilder/build/17438/var/lib/apt/lists/partial/ftp.ports.debian.org_debian-ports_dists_sid_InRelease"
> [1] gpgv: Signature made Thu Oct  3 16:05:53 2019 CEST gpgv:
>     using RSA key 66571731B5A71F91C501F3FDDA1B2CEA81DCBC61 gpgv: Can't
> check signature: No public key E: End of debootstrap.log W: Aborting
> with an error
Add  --debootstrapopts --variant=buildd --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg
when running pbuilder create.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: pbuilder problemn ppc64

jjhdiederen
jeroen@debian:~$ sudo pbuilder create --debootstrapopts
--variant=buildd --keyring
/usr/share/keyrings/debian-ports-archive-keyring.gpg [sudo] password
for jeroen: W: /root/.pbuilderrc does not exist I: Distribution is sid.
I: Current time: Fri Oct  4 20:47:30 CEST 2019
I: pbuilder-time-stamp: 1570214850
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
I: Target architecture can be executed
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id DA1B2CEA81DCBC61)
   The specified keyring /usr/share/keyrings/debian-archive-keyring.gpg
may be incorrect or out of date. You can find the latest Debian release
key at https://ftp-master.debian.org/keys.html E: debootstrap failed
E: Tail of debootstrap.log:
ppc64: ok
2019-10-04 20:47:31
URL:http://ftp.ports.debian.org/debian-ports/dists/sid/InRelease
[55268/55268] ->
"/var/cache/pbuilder/build/1091/var/lib/apt/lists/partial/ftp.ports.debian.org_debian-ports_dists_sid_InRelease"
[1] gpgv: Signature made Fri Oct  4 15:58:57 2019 CEST gpgv:
    using RSA key 66571731B5A71F91C501F3FDDA1B2CEA81DCBC61 gpgv: Can't
check signature: No public key E: End of debootstrap.log W: Aborting
with an error jeroen@debian:~$



On Fri, 4 Oct 2019 11:00:50 +0200
John Paul Adrian Glaubitz <[hidden email]> wrote:

> On 10/4/19 10:39 AM, jjhdiederen wrote:
> > E: Release signed by unknown key (key id DA1B2CEA81DCBC61)
> >    The specified keyring
> > /usr/share/keyrings/debian-archive-keyring.gpg may be incorrect or
> > out of date. You can find the latest Debian release key at
> > https://ftp-master.debian.org/keys.html E: debootstrap failed E:
> > Tail of debootstrap.log: ppc64: ok
> > 2019-10-03 22:00:51
> > URL:http://ftp.ports.debian.org/debian-ports/dists/sid/InRelease
> > [55268/55268] ->
> > "/var/cache/pbuilder/build/17438/var/lib/apt/lists/partial/ftp.ports.debian.org_debian-ports_dists_sid_InRelease"
> > [1] gpgv: Signature made Thu Oct  3 16:05:53 2019 CEST gpgv:
> >     using RSA key 66571731B5A71F91C501F3FDDA1B2CEA81DCBC61 gpgv:
> > Can't check signature: No public key E: End of debootstrap.log W:
> > Aborting with an error  
> Add  --debootstrapopts --variant=buildd --keyring
> /usr/share/keyrings/debian-ports-archive-keyring.gpg when running
> pbuilder create.
>
> Adrian
>

Reply | Threaded
Open this post in threaded view
|

packages missing from powerpc debian-ports

jjhdiederen
In reply to this post by jjhdiederen
Try to build gpointing-device-settings in pbuilder 32bits powerpc.The
repository has some missing packages:

Err http://ftp.ports.debian.org/debian-ports sid/main powerpc libtdb1
powerpc 1.3.18-2 404  Not Found [IP: 2001:67c:2564:a119::77 80]
Err http://ftp.ports.debian.org/debian-ports sid/main powerpc libgail18
powerpc 2.24.32-3 404  Not Found [IP: 2001:67c:2564:a119::77 80]
Err http://ftp.ports.debian.org/debian-ports sid/main powerpc
libgail-common powerpc 2.24.32-3 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc libgail-dev powerpc 2.24.32-3 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc libunbound8 powerpc 1.9.3-1 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc libidn2-dev powerpc 2.2.0-1 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc libp11-kit-dev powerpc 0.23.16.1-2 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc libtasn1-6-dev powerpc 4.14-2 404  Not Found [IP:
2001:67c:2564:a119::77 80] Err http://ftp.ports.debian.org/debian-ports
sid/main powerpc nettle-dev powerpc 3.4.1-1 404  Not Found [IP:
2001:67c:2564:a119::77 80] 98% [Working]E: Failed to fetch
http://ftp.ports.debian.org/debian-ports/pool-powerpc/main/t/tdb/libtdb1_1.3.18-2_powerpc.deb:
404  Not Found [IP: 2001:67c:2564:a119::77 80] E: Unable to fetch some
packages; try '-o APT::Get::Fix-Missing=true' to continue with missing
packages

Reply | Threaded
Open this post in threaded view
|

Re: packages missing from powerpc debian-ports

John Paul Adrian Glaubitz
On 10/5/19 9:50 AM, Jeroen Diederen wrote:
> Try to build gpointing-device-settings in pbuilder 32bits powerpc.The
> repository has some missing packages:
No, the packages are not missing. src:tdb is right there:

> https://buildd.debian.org/status/package.php?p=tdb&suite=unstable
> http://ftp.ports.debian.org/debian-ports/pool-powerpc/main/t/tdb/

Just use sbuild and follow the guide in [1] and skip the qemu parts.

Adrian

> [1] https://wiki.debian.org/SH4/sbuildQEMU

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: pbuilder problemn ppc64

John Paul Adrian Glaubitz
In reply to this post by jjhdiederen
On 10/4/19 8:50 PM, Jeroen Diederen wrote:
> E: Release signed by unknown key (key id DA1B2CEA81DCBC61)
>    The specified keyring /usr/share/keyrings/debian-archive-keyring.gpg
> may be incorrect or out of date. You can find the latest Debian release

Did you ever run "apt update && apt -y upgrade" on this machine?

The error message tells you that the release signing key is outdated,
so you should figure out whether the key - which is part of the package
"debian-ports-archive-keyring" - is still up-to-date. If you have never
updated the machine, the key may also have expired.

Also, I wouldn't use pbuilder unless you know what you are doing. sbuild
is the commonly used tool these days and is much easier to set up, so
I wouldn't bother wasting time trying to set up pbuilder.

With sbuild, you just need to make sure that you use the correct sources.list
and the correct archive signing key as both are different for Debian release
architecture and Debian Ports.

If you don't want to use the wiki guide I linked in the other mail, you can
also try the script sbuild-developer-setup [1] by Michael Stapelberg [1]
although I don't know how usable the script is for Debian Ports as it
doesn't seem to have an option to specify the archive signing key
or the sources.list with a separate parameter.

As with many of these guides or scripts, they are unfortunately made
with Debian on amd64 in mind so they might not work as they should
on other targets, especially in Debian Ports.

Adrian

> [1] https://michael.stapelberg.ch/posts/2018-03-19-sbuild-debian-developer-setup/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: pbuilder problem ppc64

jjhdiederen
In reply to this post by John Paul Adrian Glaubitz
I got it working with these options:

sudo pbuilder --create --mirror
http://ftp.ports.debian.org/debian-ports \
--debootstrapopts
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
--debootstrapopts --include=debian-ports-archive-keyring

Pbuilder created the base tarball after I issued the above mentioned
command.

Regards
Jeroen

Reply | Threaded
Open this post in threaded view
|

Re: pbuilder problem ppc64

John Paul Adrian Glaubitz
On 10/5/19 4:31 PM, Jeroen Diederen wrote:
> sudo pbuilder --create --mirror
> http://ftp.ports.debian.org/debian-ports \
> --debootstrapopts
> --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
> --debootstrapopts --include=debian-ports-archive-keyring
>
> Pbuilder created the base tarball after I issued the above mentioned
> command.

Good. Sometimes reading the manpage helps, I guess :).

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

debconf 1.5.73 problem ppc64

jjhdiederen
In reply to this post by John Paul Adrian Glaubitz
Doing an installation of sid on pp64, get this error (from installation
logfile):

Oct  5 20:29:57 in-target: Unpacking debconf (1.5.73) over (1.5.72)
...^M Oct  5 20:29:57 in-target: Setting up debconf (1.5.73) ...
Oct  5 20:29:57 in-target: ^M
Oct  5 20:29:58 in-target: Can't locate object method "new" via package
"Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at
/usr/share/perl5/Debconf/Encoding.pm line 65. Oct  5 20:29:58
in-target: ^M Oct  5 20:29:58 in-target: dpkg: error processing package
debconf (--configure):^M Oct  5 20:29:58 in-target:  installed debconf
package post-installation script subprocess returned error exit status
29^M Oct  5 20:29:58 in-target: Errors were encountered while
processing:

...
Oct  5 20:30:00 in-target: Setting up debconf (1.5.73) ...
Oct  5 20:30:00 in-target: Can't locate object method "new" via package
"Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at
/usr/share/perl5/Debconf/Encoding.pm line 65.

Oct  5 20:30:00 in-target: dpkg: error processing package debconf
(--configure): Oct  5 20:30:00 in-target:  installed debconf package
post-installation script subprocess returned error exit status 29 Oct
5 20:30:00 in-target: dpkg: dependency problems prevent configuration
of locales: Oct  5 20:30:00 in-target:  locales depends on debconf (>=
0.5) | debconf-2.0; however: Oct  5 20:30:00 in-target:   Package
debconf is not configured yet. Oct  5 20:30:00 in-target:   Package
debconf-2.0 is not installed. Oct  5 20:30:00 in-target:   Package
debconf which provides debconf-2.0 is not configured yet. Oct  5
20:30:00 in-target: Oct  5 20:30:00 in-target: dpkg: error processing
package locales (--configure): Oct  5 20:30:00 in-target:  dependency
problems - leaving unconfigured

Oct  5 20:30:01 in-target: Errors were encountered while processing:
Oct  5 20:30:01 in-target:  debconf
Oct  5 20:30:01 in-target:  locales

Oct  5 20:30:09 main-menu[210]: WARNING **: Configuring 'pkgsel' failed
with error code 100 Oct  5 20:30:09 main-menu[210]: WARNING **: Menu
item 'pkgsel' failed.

Reply | Threaded
Open this post in threaded view
|

Re: debconf 1.5.73 problem ppc64

John Paul Adrian Glaubitz
Yes, the Perl 5.30 transition started today:


You have to wait some days now.

Adrian

On Oct 5, 2019, at 10:43 PM, Jeroen Diederen <[hidden email]> wrote:

Doing an installation of sid on pp64, get this error (from installation
logfile):

Oct  5 20:29:57 in-target: Unpacking debconf (1.5.73) over (1.5.72)
...^M Oct  5 20:29:57 in-target: Setting up debconf (1.5.73) ...
Oct  5 20:29:57 in-target: ^M
Oct  5 20:29:58 in-target: Can't locate object method "new" via package
"Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at
/usr/share/perl5/Debconf/Encoding.pm line 65. Oct  5 20:29:58
in-target: ^M Oct  5 20:29:58 in-target: dpkg: error processing package
debconf (--configure):^M Oct  5 20:29:58 in-target:  installed debconf
package post-installation script subprocess returned error exit status
29^M Oct  5 20:29:58 in-target: Errors were encountered while
processing:

...
Oct  5 20:30:00 in-target: Setting up debconf (1.5.73) ...
Oct  5 20:30:00 in-target: Can't locate object method "new" via package
"Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at
/usr/share/perl5/Debconf/Encoding.pm line 65.

Oct  5 20:30:00 in-target: dpkg: error processing package debconf
(--configure): Oct  5 20:30:00 in-target:  installed debconf package
post-installation script subprocess returned error exit status 29 Oct
5 20:30:00 in-target: dpkg: dependency problems prevent configuration
of locales: Oct  5 20:30:00 in-target:  locales depends on debconf (>=
0.5) | debconf-2.0; however: Oct  5 20:30:00 in-target:   Package
debconf is not configured yet. Oct  5 20:30:00 in-target:   Package
debconf-2.0 is not installed. Oct  5 20:30:00 in-target:   Package
debconf which provides debconf-2.0 is not configured yet. Oct  5
20:30:00 in-target: Oct  5 20:30:00 in-target: dpkg: error processing
package locales (--configure): Oct  5 20:30:00 in-target:  dependency
problems - leaving unconfigured

Oct  5 20:30:01 in-target: Errors were encountered while processing:
Oct  5 20:30:01 in-target:  debconf
Oct  5 20:30:01 in-target:  locales

Oct  5 20:30:09 main-menu[210]: WARNING **: Configuring 'pkgsel' failed
with error code 100 Oct  5 20:30:09 main-menu[210]: WARNING **: Menu
item 'pkgsel' failed.