cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
83 stars 26 forks source link

MPL-3.8.0.patch fails with 10.2.beta4 #760

Closed strogdon closed 1 year ago

strogdon commented 1 year ago
 * Applying MPL-3.8.0.patch ...
patching file sage/plot/graphics.py
Hunk #1 FAILED at 36.
Hunk #2 FAILED at 2874.
2 out of 2 hunks FAILED -- saving rejects to file sage/plot/graphics.py.rej
 [ !! ]

It appears that the graphics.py patch in MPL-3.8.0.patch is in graphics.py source for 10.2.beta4.

strogdon commented 1 year ago

It looks like the patch isn't needed at all since only graphics.py is patched.

kiwifb commented 1 year ago

Hum, that's a merge that did not. That line should have been gone. Let me check things.

kiwifb commented 1 year ago

Fixed in master.

strogdon commented 1 year ago

I still have this issue. master has

PATCHES=(
    "${FILESDIR}"/MPL-3.8.0.patch
    "${FILESDIR}"/${PN}-9.2-env.patch
    "${FILESDIR}"/sage_exec-9.3.patch
    "${FILESDIR}"/${PN}-9.3-forcejavatmp.patch
    "${FILESDIR}"/${PN}-10.1-neutering.patch
    "${FILESDIR}"/${PN}-9.8-build_ext.patch
)

while vbraun has

PATCHES=(
    "${FILESDIR}"/${PN}-9.2-env.patch
    "${FILESDIR}"/sage_exec-9.3.patch
    "${FILESDIR}"/${PN}-9.3-forcejavatmp.patch
    "${FILESDIR}"/${PN}-10.1-neutering.patch
    "${FILESDIR}"/${PN}-9.8-build_ext.patch
)
kiwifb commented 1 year ago

I think that's because, master is not synchronising at api-gentoo where repos are mirrored. This happened because of #758 and I have a PR to restore at https://github.com/gentoo/api-gentoo-org/pull/625

kiwifb commented 1 year ago

Embarrassingly, I may have forgotten to push. Anyway, 10.2.beta5 is moving to cython-3. Fasten your seatbelts.

strogdon commented 1 year ago

When I sync I'm assuming I sync with https://github.com/gentoo-mirror/sage-on-gentoo. If so then there may be an issue since the mirror hasn't been updated in 4 days.