cschwan / sage-on-gentoo

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

Stable arch need more keywords? #244

Closed zhou13 closed 11 years ago

zhou13 commented 11 years ago

Here is my result of emerge sage on gentoo stable arch. But they seem not exists in package.keywords/sage.

Also, should package.keywords be renamed to package.accept_keywords as manual suggested?

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-python/ipython-0.13.1-r1::sage-on-gentoo[wxwidgets]
# required by sci-mathematics/polybori-0.8.3::sage-on-gentoo
# required by sci-mathematics/sage-clib-5.10::sage-on-gentoo
# required by sci-mathematics/sage-5.10-r1::sage-on-gentoo
# required by sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo
=dev-python/wxpython-2.9.4.1-r1 ~amd64
# required by sci-chemistry/jmol-12.3.14::sage-on-gentoo
# required by sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo[java]
# required by sci-mathematics/sage-5.10-r1::sage-on-gentoo
# required by sci-mathematics/sage-data-conway_polynomials-0.4-r1::sage-on-gentoo
=sci-libs/naga-2.1 ~amd64
# required by dev-python/matplotlib-1.2.1[wxwidgets]
# required by sci-mathematics/sage-5.10-r1::sage-on-gentoo
# required by sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo
=dev-python/wxpython-2.8.12.1-r1 ~amd64
# required by dev-python/wxpython-2.8.12.1-r1[opengl]
# required by dev-python/matplotlib-1.2.1[wxwidgets]
# required by sci-mathematics/sage-5.10-r1::sage-on-gentoo
# required by sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo
=dev-python/pyopengl-3.0.2-r1 ~amd64
# required by dev-python/wxpython-2.9.4.1-r1
# required by dev-python/ipython-0.13.1-r1::sage-on-gentoo[wxwidgets]
# required by sci-mathematics/polybori-0.8.3::sage-on-gentoo
# required by sci-mathematics/sage-clib-5.10::sage-on-gentoo
# required by sci-mathematics/sage-5.10-r1::sage-on-gentoo
# required by sci-mathematics/sage-notebook-0.10.4-r5::sage-on-gentoo
=x11-libs/wxGTK-2.9.4.1 ~amd64
kiwifb commented 11 years ago

package.keywords is the old way. And it doesn't really matter in that you should create the link manually and you can call the link whatever you like. On the other hand your dependency request is valid in that we didn't add all the dependencies possible through use flags. I guess none of us really use wxwidgets. Will fix that.

zhou13 commented 11 years ago

Today's upgrade need more keywords on stable arch: =sci-libs/sage-ppl-1.0 ~amd64

cschwan commented 11 years ago

Added with commit 5c4d1ecef226f7824ff2d7263b9dfa9815c986cb.

zhou13 commented 11 years ago

Could this file be auto-generated? Today I found that boost-build is also in ~amd64. Not sure if it is pulled by sage.

cschwan commented 11 years ago

It's needed for polybori-0.8.3-r1. If you have problems with the boost upgrade tell me, then I'll mask it. See also http://www.mail-archive.com/gentoo-science@lists.gentoo.org/msg01815.html.

cschwan commented 11 years ago

As for auto-generation I don't know. If it is possible I'd like to know, I am sure this this will save us a lot of headaches.

zhou13 commented 11 years ago

So should boost-build be added to package.use?

I see many unmask file has information

Autogenerated by regenerate-files, DO NOT EDIT.

Not sure if this is helpful.

cschwan commented 11 years ago

Yes! Sorry and thanks again. I already uploaded it. When I find some time I will look for a script that does this job automatically. I think the KDE overlay should have something like this.

zhou13 commented 11 years ago

Seems that libreoffice-bin depends on boost 1.49?

!!! existing preserved libs:
>>> package: dev-libs/boost-1.53.0
 *  - /usr/lib64/libboost_date_time-1_49.so.1.49.0
 *      used by /usr/lib64/libreoffice/program/ucpcmis1.uno.so (app-office/libreoffice-bin-4.0.4.2
cschwan commented 11 years ago

Hm yes. If you think rebuilding libreoffice is too time comsuming I can revert the changes and mask polybori-r1. I guess other people will experience this as well.

zhou13 commented 11 years ago

Then I think revert it is good.

zhou13 commented 11 years ago

I still cannot come back to stable arch on boost.

Really cannot figure out why.

$ emerge -uND world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] dev-util/boost-build-1.53.0 [1.49.0] USE="-examples -python {-test%}" 0 kB
[ebuild  rR   #] dev-libs/boost-1.53.0:0/1.53  USE="nls python threads -debug -doc -icu -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_2 (-python2_5) -python2_6 (-python3_1) -python3_3" 0 kB
[ebuild     UD ] x11-libs/libdrm-2.4.45 [2.4.46] USE="-libkms -static-libs" VIDEO_CARDS="intel (-exynos) (-freedreno) -nouveau (-omap) -radeon -vmware" 539 kB
[ebuild     UD~] sci-mathematics/polybori-0.8.3::sage-on-gentoo [0.8.3-r1::sage-on-gentoo] USE="-doc -gd" PYTHON_SINGLE_TARGET="(-python2_7%*)" PYTHON_TARGETS="(-python2_7%*)" 0 kB
[ebuild  rR    ] kde-base/kdepimlibs-4.10.5:4  USE="handbook ldap semantic-desktop (-aqua) -debug -prison {-test}" 0 kB

Total: 5 packages (1 upgrade, 2 downgrades, 2 reinstalls), Size of downloads: 539 kB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-libs/boost-1.53.0 ~amd64
# required by dev-libs/boost-1.53.0
# required by kde-base/kdepimlibs-4.10.5
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-util/boost-build-1.53.0 ~amd64
zhou13 commented 11 years ago

Resolved. Reemerge polybori instread of -uND solve the@__auto_slot_operator_replace_installed__ (argument) problem. But I don't know the reason.

Should this bug be closed? Seems wxwidget problem is fixed.