[
https://issues.apache.org/jira/browse/CASSANDRA-18910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771978#comment-17771978
]
Brandon Williams edited comment on CASSANDRA-18910 at 10/4/23 8:30 PM:
-----------------------------------------------------------------------
One thing I noticed is the image has the unstable repo defined but does not
have apt pinning setup, so the quilt package is pulled from unstable. However,
downgrading that to bullseye produces a slightly different error:
{quote}
QUILT_PATCHES=debian/patches \
quilt --quiltrc /dev/null pop -a -R || test $? = 2
Patch cassandra_in.sh_dirs.diff does not remove cleanly (refresh it or enforce
with -f)
make: *** [/usr/share/quilt/quilt.make:23: unpatch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit
status 2
{quote}
Indeed, a patch that is not applied cannot be cleanly removed. Removing the
'unpatch' job would also solve this.
was (Author: brandon.williams):
One thing I noticed is the image has the unstable repo defined but does not
have apt pinning setup, so the quilt package is pulled from unstable. However,
downgrading that to bullseye produces a slightly different error:
{quote}
QUILT_PATCHES=debian/patches \
quilt --quiltrc /dev/null pop -a -R || test $? = 2
Patch cassandra_in.sh_dirs.diff does not remove cleanly (refresh it or enforce
with -f)
make: *** [/usr/share/quilt/quilt.make:23: unpatch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit
status 2
{quote}
Indeed, a patch that is not applied cannot be cleanly removed. Removing the
'unpatch' job would still solved this.
> Debian packaging broken by quilt?
> ---------------------------------
>
> Key: CASSANDRA-18910
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18910
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.0.x, 5.x
>
>
> Something has changed in the docker image that is breaking the debian
> packaging in all versions, similar to this:
> {quote}
> dpkg-buildpackage: info: source package cassandra
> dpkg-buildpackage: info: source version 4.1.4-20231004git486acc68f1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by build <build@1518e06a5507>
> dpkg-buildpackage: info: host architecture amd64
> dpkg-source --tar-ignore=.git --before-build .
> fakeroot debian/rules clean
> QUILT_PATCHES=debian/patches \
> quilt --quiltrc /dev/null pop -a -R || test $? = 1
> No patch removed
> make: *** [/usr/share/quilt/quilt.make:23: unpatch] Error 1
> dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned
> exit status 2
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]