• Re: sbuild for experimental

    From Peter B@21:1/5 to Lorenzo on Thu Sep 5 12:50:01 2024
    On 05/09/2024 11:20, Lorenzo wrote:
    Suggestion?
    Is there a way to build in a sid chroot and upload to experimental?

    Lorenzo

    Yes, these are independent.

    The distribution you upload to, is controlled by the changelog entry.

    However, note that

    "packages in experimental can depend on packages in unstable but
    packages in unstable cannot depend on packages in experimental." https://wiki.debian.org/DebianExperimental


    Good luck,
    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lorenzo@21:1/5 to All on Thu Sep 5 12:30:02 2024
    Hello mentors,

    I would like to upload a package to mentors targeting experimental,
    however:

    my existing experimental chroot is broken beyond repair after
    sbuild-update; when I try to create a new one I get

    # # sbuild-createchroot experimental
    /target/dir/experimental-amd64-sbuild

    [...]
    I: Target architecture can be executed
    I: Retrieving InRelease
    I: Checking Release signature
    I: Valid Release signature (key id
    4CB50190207B4758A3F73A796ED0E7B82643E131) I: Retrieving Packages
    I: Validating Packages
    I: Resolving dependencies of required packages...
    I: Resolving dependencies of base packages...
    I: Checking component main on http://deb.debian.org/debian...
    E: Couldn't find these debs: build-essential apt usr-is-merged fakeroot
    E: Error running debootstrap at /usr/bin/sbuild-createchroot line 438.

    If I build on unstable chroot I get a lintian error
    E: mplayer changes: distribution-and-experimental-mismatch

    Suggestion?
    Is there a way to build in a sid chroot and upload to experimental?

    Lorenzo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Lorenzo on Thu Sep 5 13:00:02 2024
    On Thu, Sep 05, 2024 at 12:20:54PM +0200, Lorenzo wrote:
    I would like to upload a package to mentors targeting experimental,
    however:

    my existing experimental chroot is broken beyond repair after
    sbuild-update; when I try to create a new one I get

    # # sbuild-createchroot experimental
    /target/dir/experimental-amd64-sbuild

    If you need packages from experimental you should make a sid chroot and
    enable experimental in its sources.list, or just use --extra-repository.
    See also https://wiki.debian.org/sbuild#Enabling_experimental

    If you don't need packages from experimental you can build in the normal
    sid chroot.


    If I build on unstable chroot I get a lintian error
    E: mplayer changes: distribution-and-experimental-mismatch

    You need to pass a correct -d. See https://wiki.debian.org/sbuild#Build_for_experimental

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmbZjqctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh p3YQAIUO6Vt6p6Rz9adZHnEHZJkcH4wDdBZBmPUt+E+Gxqorz38Aou1K96XH2aHF ZuaeGRvR/tymeLTL/r6k4rnCtfCzm0m0L5SbDDmBBjuIV/Q2dL+jsDuAq2czGBve l310vNo7S3f41GaKEL0+KxMBEERQvhqYP87msrQLC1fPPQDyVjXmyJXLOkjjKKep dsXnfkxhExuexu2TrH3+xQ8Mcoia8g+YNBNaj5RFs3zz/sMJKgOCjj/WiZOxG6IL KJTYKrE5tY7gt67KlqtT8hRTHnJ6P6fy0iFEymrV5zs2FVUSummn6hPCbBSEhC/O 2Pf56VfJzlEVdu5kC/pjbCc/yjLA5X+TciTqy7OCuNj09629ITomTQLTrNbGOcbK IR7JXu9f5DcaBYt62PAzcO1ecMOPpj2gZWrWbZUvjkMOu1oqCy8jH5crEW+EpHns J3YX5pOlwX/AqXuiWclnIFyWj/krbsrmXl6ryW0aQqkrEGvzL7PAcWW3ZxAof/Ut Rb/pzD3wirdgGrtVtBVwmPaoJoyjpEhXrOe4+AoDVoUk53Rca8e92QWDVRMYo2Vy D71fAtQsXfXhtIUho1FzTHiVvM2Y7GnGL1nOvExnuxbZhox9Pjr3avdLDKWdSw6d 8+S6sTlsBoFgRmLRAESFLmohF9beKpVISIhP+NA+H7lXlqEU
    =qcYY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wookey@21:1/5 to Lorenzo on Thu Sep 5 13:30:02 2024
    On 2024-09-05 12:20 +0200, Lorenzo wrote:
    Hello mentors,

    I would like to upload a package to mentors targeting experimental,
    however:

    my existing experimental chroot is broken beyond repair

    If I build on unstable chroot I get a lintian error
    E: mplayer changes: distribution-and-experimental-mismatch

    I think that is complaining that the changes file and the changelog entry do not match up (but I've not checked).

    Suggestion?
    Is there a way to build in a sid chroot and upload to experimental?

    Yes. I just did
    dch -D experimental
    then
    sbuild -d experimental -c unstable-amd64-sbuild

    and that worked without lintian complaining, and produced a package with a changes file that will send it to experimental.

    HTH

    Wookey
    --
    Principal hats: Debian, Wookware, ARM
    http://wookware.org/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAmbZk+cACgkQ+4YyUahv nkcZXRAApqxSjgmUbINDHI+dXXMLznpPZZM3EhP4ZgoE1b/db0mTxIOuwQUHnJgj 75jPpBq7hSANmo/GgRhFTwl1tDlfy9LYrMJwSR6PgGXL/E8wcm9cip1pdw74Q1dc AxhaeQvRIHAbLmv+SnVIfHER9Tv/XBTu6DqXH11phDBzDHSQhL+kp9O8SgQ1anDT F91TYgB3bne8KVyt5YBKIgaTPHpfd1LQAbxCJVC97c48zSYuxCOy9X72DvslQpXa bby8xn0P6kBvEzyUQF7+0q8dtbkDAKYQp1qm0i0TloqxAfU2/H9wkYaIVm4mXIUA SwdNAauNrLZILgTGs+lcK0vtnSVA6I7c6SaDglMwlKF+qjOLugVoFUhI8iADi6ZH r9AsiEkDzHsVN+eCWyxv++n/H9EhjNBcYNVTMQKGb5wYRXWn+vKWlTcqW/xgwC2Q kt8DTjB7qiglTP5EHuEX3c1guxlJTrLDId1/q5UufsNcbhxhXAT1kwQJJbIeMzms sSIy52Q8UmTm22o2jmh5VLyBYg7dANY/BZ/UKp6vLtFdLYD4qxbm/djwWeFUhq7t 75WnvVqFRWdYzZ2/7RI9yMjYKgMB5f8JxiX7GpbgKVAlSU09l67PY4pZYCb1ilLc ZMXxlNZpIrUhpJ7lIeif+RieW+arrNYq4HChvLm71i+driRr5GY=
    =4DxL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lorenzo@21:1/5 to All on Thu Sep 5 13:30:01 2024
    You need to pass a correct -d. See https://wiki.debian.org/sbuild#Build_for_experimental

    so I missed the -c option; solved :)

    Andrey, Peter,
    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)