maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [Solved] DO NOT UPDATE TO LATEST libxau6 PACKAGE!!! (https://talk.maemo.org/showthread.php?t=83939)

misiak 2012-04-28 13:09

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Quote:

Originally Posted by szopin (Post 1198634)
Not sure on deletion part, but maybe just download source of previous version, touch all files and push as maemo2 version or something?

actually no need to touch files, he would just need to change package metadata under DEBIAN/... folder (forgot which file, I haven't slept well today) to higher version.

marmistrz 2012-04-28 13:09

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Quote:

Originally Posted by misiak (Post 1198648)
I cannot help you with first question, but a good start for me would be contacting repo admins/maintainers (are they active? I remember there was an issue when Pali wanted to become Titan's power kernel maintainer). If it breaks important system package, it may even be a good idea to contact council. Maybe even qgil, his maemo.org's profile states he is from Nokia and happily he seems to still care about N900).

Ad.2
I guess you would need to change makefiles or configs (if they are properly written, maybe it would require only a change of DEBIAN/rules file). You have to trick the linker to link to other library/other version of library, try debian packaging tutorials, I remember reading somewhere about similar situation, but don't get over excited - afaik even somewhat-official Debian multimedia repositories have conflicts wth official Debian repos due to package versions conflicts (what a mess...). You should definitely change something anyway, I know this is extras-devel, but some packages take forever to go higher (or even they never make it), many people have devel enabled just for software like psx or other game console emulators, to name a few.

This can be tried: http://stackoverflow.com/questions/5...r-gcc-in-linux
and LD_LIBRARY_PATH

impeham 2012-04-28 13:09

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Big thanks to the life saver backupmenu (and my disciplined every week phone backup :))

marmistrz 2012-04-28 13:10

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Quote:

Originally Posted by misiak (Post 1198650)
actually no need to touch files, he would just need to change package metadata under DEBIAN/... folder (forgot which file, I haven't slept well today) to higher version.

It still will confuse build-depends

Hey!! I've got an idea! I'll make it conflict with libxau6 (<< 1.0.6)

szopin 2012-04-28 13:15

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Wow, total ignoramus here, but no ctrl-z option for such cases in autobuilder is worrying, thought pushing previous version with bumped number would be sufficient, seems not, marmistrz - good luck ;)

daniel_m 2012-04-28 13:19

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Yeah, extras-devel is dangerous! Just like sharp knives ... if you don't handle them properly they just might explode into your face!
Using extras-devel can brick your phone but that doesn't mean that it shouldn't be reported and fixed! So much for the fish ... ;)

szopin 2012-04-28 13:21

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Quote:

Originally Posted by misiak (Post 1198648)
I know this is extras-devel, but some packages take forever to go higher (or even they never make it), many people have devel enabled just for software like psx or other game console emulators, to name a few.

This is hinting at problems with promotion, if one adds devel for certain software he should still be very wary of updating-all with devel included. Update critical component with your psx emulator? Why not, what could go wrong... this is why the warnings used to be issued on per-post basis. I do know (I myself keep devel included all the time, though I review what is proposed for update) most people do this, but it is not problem with devel, we could move development outside of maemo, but it is even worse solution, it is problem with old and forgotten rule

misiak 2012-04-28 13:29

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Quote:

Originally Posted by szopin (Post 1198663)
This is hinting at problems with promotion, if one adds devel for certain software he should still be very wary of updating-all with devel included. Update critical component with your psx emulator? Why not, what could go wrong... this is why the warnings used to be issued on per-post basis. I do know (I myself keep devel included all the time, though I review what is proposed for update) most people do this, but it is not problem with devel, we could move development outside of maemo, but it is even worse solution, it is problem with old and forgotten rule

The problem is, these packages use ">=version" or no version string at all, so imagine:

1. package maintaner (e.g. of psx emu) uploads new sources to autobuilder
2. autobuilder builds it using broken libxau6 package
3. new package rolls out, depending on new version of libxau6
4. someone sees update - "oh well, what can possibly go wrong, it's just an psx emu, update!"
5. ham/fam/whatever sees update of depending library, so it says "oh, sweet! install it, too!" (and you can't expect non-programmers to be worried even it shows a message about upgrading some other packages, that is normal when upgrading some packages...)
6. nuclear holocaust ensues

szopin 2012-04-28 13:32

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
So how would older source packaged as maemo2 version not stop it? FAP/HAM downloads latest which is older - nuclear holocaust prevented.

J4ZZ 2012-04-28 13:40

Re: DO NOT UPDATE TO LATEST libxau6 PACKAGE!!!
 
Is there a way to restore old version of libXau... via RescueOS? Because I stuck in reboot loop and even backupmenu's restored rootfs didn't help...


All times are GMT. The time now is 19:58.

vBulletin® Version 3.8.8