View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 5:50 am Post subject: Vala documentation |
|
|
Hi,
Is there a documentation on upgrading vala?
Code: |
IgorReinCloud /var/lib/layman/dantrell-gnome/games-puzzle/gnome-taquin # emerge -pv vala
/usr/lib/python3.8/site-packages/portage/package/ebuild/_config/KeywordsManager.py:67: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
warnings.warn(_("%s is deprecated, use %s instead") %
* Last emerge --sync was 52d 4h 39m 9s ago.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] dev-lang/vala-0.52.3:0.52::dantrell-gnome [0.26.2-r1:0.26::dantrell-gnome, 0.36.20:0.36::dantrell-gnome, 0.40.25:0.40::dantrell-gnome, 0.42.7:0.42::dantrell-gnome, 0.44.11:0.44::dantrell-gnome, 0.46.13:0.46::dantrell-gnome, 0.48.17:0.48::dantrell-gnome, 0.50.8:0.50::dantrell-gnome] USE="-test" 0 KiB
Total: 1 package (1 in new slot), Size of downloads: 0 KiB
!!! The following installed packages are masked:
- games-board/crafty-24.1-r1::gentoo (masked by: crafty license(s))
A copy of the 'crafty' license is located at '/usr/portage/licenses/crafty'.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
IgorReinCloud /var/lib/layman/dantrell-gnome/games-puzzle/gnome-taquin # eselect vala list
!!! Error: Can't load module vala
exiting
IgorReinCloud /var/lib/layman/dantrell-gnome/games-puzzle/gnome-taquin #
|
I have too many of them installed it needs to be clean and installed new stable version.
Thank you. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31748 Location: here
|
Posted: Wed May 26, 2021 6:00 am Post subject: |
|
|
Code: | /usr/lib/python3.8/site-packages/portage/package/ebuild/_config/KeywordsManager.py:67: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead |
You should rename your package.keywords in package.accept_keywords.
Code: | !!! The following installed packages are masked:
- games-board/crafty-24.1-r1::gentoo (masked by: crafty license(s))
A copy of the 'crafty' license is located at '/usr/portage/licenses/crafty'. |
You should accept crafty license for games-board/crafty package, see /etc/portage/package.license
Code: | # eselect vala list
!!! Error: Can't load module vala
exiting |
Doesn't exists a vala module for eselect. _________________ Questions are guaranteed in life; Answers aren't.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968 |
|
Back to top |
|
 |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 12:21 pm Post subject: |
|
|
Hi,
So, I should install new version and just manually remove old ones?
Or there is anything else?
Thats why I'm asking for documentation - I have too many versions installed.
Thank you. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23701
|
Posted: Wed May 26, 2021 2:21 pm Post subject: |
|
|
I would expect emerge --ask --depclean vala should do the right thing here. Does it? |
|
Back to top |
|
 |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 2:53 pm Post subject: |
|
|
Hu,
I installed the new version and now this is the output for the command you gave me:
Code: |
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
dev-lang/vala
selected: 0.26.2-r1 0.40.25 0.52.3
protected: none
omitted: 0.36.20 0.42.7 0.44.11 0.46.13 0.48.17 0.50.8
All selected packages: =dev-lang/vala-0.26.2-r1 =dev-lang/vala-0.52.3 =dev-lang/vala-0.40.25
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Would you like to unmerge these packages? [Yes/No]
|
It still doesn't remove all of the old versions, but I presume something is dependent on them or something is compiled with them.
Can I know what?
Because I may just recompile everything with the newest version...
I also presume the latest version is selected as active and I dont need to do anything special in this regard...
Thank you. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31748 Location: here
|
Posted: Wed May 26, 2021 3:25 pm Post subject: |
|
|
ONEEYEMAN wrote: | Can I know what? |
Equery depends is your friend _________________ Questions are guaranteed in life; Answers aren't.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968 |
|
Back to top |
|
 |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 3:39 pm Post subject: |
|
|
Hi,
And the switch to the new version is automatic, right?
If I'm to compile some vala code right now, the system will select the latest version?
Thank you. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31748 Location: here
|
Posted: Wed May 26, 2021 4:19 pm Post subject: |
|
|
ONEEYEMAN wrote: | If I'm to compile some vala code right now, the system will select the latest version? |
Not necessarily, it will use the version it needs automatically. _________________ Questions are guaranteed in life; Answers aren't.
"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968 |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23701
|
Posted: Wed May 26, 2021 4:23 pm Post subject: |
|
|
ONEEYEMAN wrote: | Can I know what? | emerge --ask --depclean version-qualified-vala-package will, for each such package, remove it or explain why not. List out every version that Portage is refusing to remove and it will justify each refusal. |
|
Back to top |
|
 |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 5:17 pm Post subject: |
|
|
Thx, guys.
I will check all this when I come home. |
|
Back to top |
|
 |
dantrell l33t


Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Wed May 26, 2021 6:20 pm Post subject: Re: Vala documentation |
|
|
ONEEYEMAN wrote: | Is there a documentation on upgrading vala? |
ONEEYEMAN wrote: | I have too many of them installed it needs to be clean and installed new stable version. |
First things first, as long as you are using the GNOME Without System Project, any question related to GNOME has to be directed to me first through the support thread because (as I mentioned elsewhere):
- my version of every GNOME (and GNOME-related) package supersedes what is provided by Gentoo
- my version of said packages may not necessarily be the same as the one provided by Gentoo
- build failures asides, things are likely the way they are on purpose.
Any questions you have about why things are the way they are can often be found by reviewing project documentation and/or the support threads.
That said, please reference: How many dev-lang/vala slots do I need? _________________ Dantrell B. |
|
Back to top |
|
 |
ONEEYEMAN Advocate

Joined: 01 Mar 2005 Posts: 3685
|
Posted: Wed May 26, 2021 7:24 pm Post subject: |
|
|
dantrell,
Seeing that I have a vala failure I thought I will install latest vala version and the errors will be gone.
However, it looks like the overlay may not pick up the latest version.
I will see if I can build now, after installing latest vala.
Thank you. |
|
Back to top |
|
 |
dantrell l33t


Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Wed May 26, 2021 7:47 pm Post subject: |
|
|
ONEEYEMAN wrote: | Seeing that I have a vala failure I thought I will install latest vala version and the errors will be gone. |
Any GNOME-related build failures should be reported to me.
If the issue is on my end, I'll fix it and if it's on your end, you'll have to fix it (because your setup likely diverges from what is recommended).
Reporting the issue to me is the fastest way to figure out on which end the issue lies.
ONEEYEMAN wrote: | However, it looks like the overlay may not pick up the latest version.
I will see if I can build now, after installing latest vala. |
The project overlays have every version of Vala released since GNOME 3.14, however, I have already linked you to how my methodology differs.
What you trying probably won't work since which versions of Vala a package can build against are often specified in its ebuild. If it does work, it's a unreliable coincidence. _________________ Dantrell B. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20630
|
Posted: Wed May 26, 2021 11:03 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|