cschwan / sage-on-gentoo

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

cvxopt installs unexpected paths #524

Closed strogdon closed 5 years ago

strogdon commented 5 years ago

Installing cvxopt-1.1.9 I see

 * The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/cvxopt
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.

and sure enough I have an empty /usr/cvxopt folder on the live system. It's not a big deal but I don't see exactly where the source of that install is?

kiwifb commented 5 years ago

Hum I see the main tree has copied my ebuild now, so they would have the exact same problem. This is a weird one. Investigating.

kiwifb commented 5 years ago

That's interesting because I don't have it right now. But I can see the ebuild creating it now. So I think it reflects a change in distutils/setuptools since last time I installed (2018-08-28). It is done during install_data which is a big clue and I think I can see stuff but why now and what is wrong with that setting...

strogdon commented 5 years ago

I installed on 2018-08-25 on Gentoo and on 2018-08-26 in Prefix and the folder appears on both systems.

kiwifb commented 5 years ago

It is interesting I cannot pinpoint a concrete change, but it must have switched from not bothering to create an empty folder to creating it in any case. But I am fairly sure I got the guilty line.

Interestingly I would expect it to show in a vanilla install of sage under SAGE_LOCAL but I don't.

kiwifb commented 5 years ago

Upstream removed what I suspect is the cause so I am probably in the clear on what to do. But I may elect to upgrade to 1.2.1 to fix this - provided no doctests are breaking.

kiwifb commented 5 years ago

1.2.1 now in the overlay and doesn't have the problem. 1.1.9 still has the problem in the main tree though. Testing with sage now.

kiwifb commented 5 years ago

1.2.1 doesn't break doctests. All clear.

slel commented 5 years ago

Would it be easy to fix https://trac.sagemath.org/ticket/22380 along the same lines?

kiwifb commented 5 years ago

The problem in sage is to package suitesparse. I totally benefit from the fact that it is already packaged and up to date enough in Gentoo. Note that I am already copied on that ticket, kiwifb and fbissey are the same person.