Re: Installation error for libncursesw6

2021-04-26 Thread Philip Prindeville


> On Mar 1, 2021, at 10:54 PM, Hannu Nyman  wrote:
> 
> Philip Prindeville kirjoitti 2.3.2021 klo 0.37:
>>> On Mar 1, 2021, at 7:00 AM, Hannu Nyman  wrote:
>>> 
>>> Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 
>>> 02:11:20 EST 2021:
 Is there a workaround to force an install?
>>> * Build a new up-to-date version with the current packages data. Update 
>>> opkg lists.
>>> * Download a .ipk manually and install it with opkg.
>>> 
>>> To my knowledge the bug has been already fixed in master, but you may still 
>>> have the broken old firmware.
>> 
>> When you say "update opkg lists", are you talking about the 
>> /usr/lib/opkg/status file or something else?
>> 
>> Because it seems to me that that's what's lingering that might be damaged.  
>> Is there a way to update "opkg" itself and resynthesize this file?  Or a 
>> script I can run to recreate it from scratch?
> 
> Buildbot builds the packages ok, and so do I.
> 
> Package: libncurses6
> Version: 6.2-1
> Depends: libc, terminfo
> Provides: libncursesw, libncurses, libncursesw6
> 
> So, this is likely something related to your buildroot. Somehow stale or 
> dirty?
> 
> I suspect that you have not fully cleaned your build system. As the package 
> metadata parsing was buggy two weeks ago, you should have re-created all 
> package metadata from scratch after it was fixed. The package metadata is 
> semi-hidden in tmp/.package* files, which are not touched by make clean.  You 
> should rm tmp/ from buildroot and let all package data get re-created.
> 
> perus@ub2010:/Openwrt/r7800$ ls  tmp/.package*
> tmp/.packageauxvars  tmp/.packagedeps  tmp/.packageinfo� tmp/.packageusergroup
> 


I'm still seeing this with 'strace' on a recent cloning of master/HEAD.

I did a:

% rm -rf tmp/
% make clean

But it's not going away.

Any other ideas?

Thanks


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-03-01 Thread Hannu Nyman

Philip Prindeville kirjoitti 2.3.2021 klo 0.37:

On Mar 1, 2021, at 7:00 AM, Hannu Nyman  wrote:

Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 
02:11:20 EST 2021:

Is there a workaround to force an install?

* Build a new up-to-date version with the current packages data. Update opkg 
lists.
* Download a .ipk manually and install it with opkg.

To my knowledge the bug has been already fixed in master, but you may still 
have the broken old firmware.


When you say "update opkg lists", are you talking about the 
/usr/lib/opkg/status file or something else?

Because it seems to me that that's what's lingering that might be damaged.  Is there a 
way to update "opkg" itself and resynthesize this file?  Or a script I can run 
to recreate it from scratch?


Buildbot builds the packages ok, and so do I.

Package: libncurses6
Version: 6.2-1
Depends: libc, terminfo
Provides: libncursesw, libncurses, libncursesw6

So, this is likely something related to your buildroot. Somehow stale or dirty?

I suspect that you have not fully cleaned your build system. As the package 
metadata parsing was buggy two weeks ago, you should have re-created all 
package metadata from scratch after it was fixed. The package metadata is 
semi-hidden in tmp/.package* files, which are not touched by make clean.  
You should rm tmp/ from buildroot and let all package data get re-created.


perus@ub2010:/Openwrt/r7800$ ls  tmp/.package*
tmp/.packageauxvars  tmp/.packagedeps  tmp/.packageinfo� tmp/.packageusergroup


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-03-01 Thread Philip Prindeville
Inline...

> On Mar 1, 2021, at 7:00 AM, Hannu Nyman  wrote:
> 
> Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 
> 02:11:20 EST 2021:
> > Is there a workaround to force an install?
> 
> * Build a new up-to-date version with the current packages data. Update opkg 
> lists.
> * Download a .ipk manually and install it with opkg.
> 
> To my knowledge the bug has been already fixed in master, but you may still 
> have the broken old firmware.


When you say "update opkg lists", are you talking about the 
/usr/lib/opkg/status file or something else?

Because it seems to me that that's what's lingering that might be damaged.  Is 
there a way to update "opkg" itself and resynthesize this file?  Or a script I 
can run to recreate it from scratch?

Thanks,

-Philip


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-03-01 Thread Hannu Nyman
Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 
02:11:20 EST 2021:

> Is there a workaround to force an install?

* Build a new up-to-date version with the current packages data. Update opkg 
lists.

* Download a .ipk manually and install it with opkg.

To my knowledge the bug has been already fixed in master, but you may still 
have the broken old firmware.




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-02-28 Thread Philip Prindeville



> On Feb 15, 2021, at 11:52 PM, Brian Norris  
> wrote:
> 
> On Sun, Feb 14, 2021 at 4:07 PM Ansuel Smith  wrote:
>> 
>>> Collected errors:
>>> * pkg_hash_fetch_best_installation_candidate: Packages for
>>> libreadline8 found, but incompatible with the architectures configured
>>> * opkg_install_cmd: Cannot install package libreadline8.
>>> * satisfy_dependencies_for: Cannot satisfy the following dependencies
>>> for softethervpn5-libs:
>>> *  libncursesw6
>>> * opkg_install_cmd: Cannot install package softethervpn5-libs.
>>> make[2]: *** [package/Makefile:69: package/install] Error 255
>>> 
>>> Multiple packages complain about this... This is from a clean custom build.
>>> Think this is caused by the abi changes to buildroot
>> 
>> reverting c92165038217e49075098479704da58a2a3a89bd fix the problem
> 
> Thanks for tracking down the regression! This has been bugging me too.
> 
> FWIW, I found that the problem seems to be in badly-generated
> libncurses ipk files. The 'control' file seems to have lines like
> this:
> 
> Provides: libncursesw, libncurses, libncursesw
> 
> when it should have:
> 
> Provides: libncursesw, libncurses, libncursesw6
> 
> Brian


Is there a workaround to force an install?

-Philip


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-02-15 Thread Brian Norris
On Sun, Feb 14, 2021 at 4:07 PM Ansuel Smith  wrote:
>
> > Collected errors:
> >  * pkg_hash_fetch_best_installation_candidate: Packages for
> > libreadline8 found, but incompatible with the architectures configured
> >  * opkg_install_cmd: Cannot install package libreadline8.
> >  * satisfy_dependencies_for: Cannot satisfy the following dependencies
> > for softethervpn5-libs:
> >  *  libncursesw6
> >  * opkg_install_cmd: Cannot install package softethervpn5-libs.
> > make[2]: *** [package/Makefile:69: package/install] Error 255
> >
> > Multiple packages complain about this... This is from a clean custom build.
> > Think this is caused by the abi changes to buildroot
>
> reverting c92165038217e49075098479704da58a2a3a89bd fix the problem

Thanks for tracking down the regression! This has been bugging me too.

FWIW, I found that the problem seems to be in badly-generated
libncurses ipk files. The 'control' file seems to have lines like
this:

Provides: libncursesw, libncurses, libncursesw

when it should have:

Provides: libncursesw, libncurses, libncursesw6

Brian

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: Installation error for libncursesw6

2021-02-14 Thread Ansuel Smith
> Collected errors:
>  * pkg_hash_fetch_best_installation_candidate: Packages for
> libreadline8 found, but incompatible with the architectures configured
>  * opkg_install_cmd: Cannot install package libreadline8.
>  * satisfy_dependencies_for: Cannot satisfy the following dependencies
> for softethervpn5-libs:
>  *  libncursesw6
>  * opkg_install_cmd: Cannot install package softethervpn5-libs.
> make[2]: *** [package/Makefile:69: package/install] Error 255
>
> Multiple packages complain about this... This is from a clean custom build.
> Think this is caused by the abi changes to buildroot

reverting c92165038217e49075098479704da58a2a3a89bd fix the problem

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Installation error for libncursesw6

2021-02-14 Thread Ansuel Smith
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for
libreadline8 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package libreadline8.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies
for softethervpn5-libs:
 *  libncursesw6
 * opkg_install_cmd: Cannot install package softethervpn5-libs.
make[2]: *** [package/Makefile:69: package/install] Error 255

Multiple packages complain about this... This is from a clean custom build.
Think this is caused by the abi changes to buildroot

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel