Re: Bug#1006745: kicad pcbnew not start

2022-03-03 Пенетрантность Carsten Schoenert
Hello,

Am Fri, Mar 04, 2022 at 07:52:43AM +0400 schrieb scaldov:
 
> Dear Maintainer,
> I completely cannot edit pcb layout.
> When I try to open .kicad_pcb in my kicad project, I get two
> messageboxes "cannot open shared library libwx_gtk2u_gl-3.0.so.0" and
> "could not load kiface library /usr/bin/_pcbnew.kiface"
> 
> When I do 
> ldd /usr/bin/_pcbnew.kiface
> in terminal, I get
> libwx_gtk2u_gl-3.0.so.0 => not found
> libwx_gtk2u_aui-3.0.so.0 => not found
> libwx_gtk2u_adv-3.0.so.0 => not found
> libwx_gtk2u_html-3.0.so.0 => not found
> libwx_gtk2u_core-3.0.so.0 => not found
> libwx_gtk2u_stc-3.0.so.0 => not found

these all are GTK+2 related libraries where KiCad in Debian is not
linked against it since the release of buster! This is almost 3 years
ago.
So the question for me is where the file/symlink in /usr/bin is comming
from, but apperently not from a recent Debian package in my eyes.

$ ldd /usr/bin/_pcbnew.kiface | grep libwx
libwx_gtk3u_gl-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0 (0x7fa353f55000)
libwx_gtk3u_aui-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_aui-3.0.so.0 (0x7fa353eba000)
libwx_gtk3u_adv-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0 (0x7fa353cd2000)
libwx_gtk3u_html-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_html-3.0.so.0 (0x7fa353bec000)
libwx_gtk3u_core-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0 (0x7fa353573000)
libwx_baseu_net-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_baseu_net-3.0.so.0 (0x7fa353529000)
libwx_baseu-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 
(0x7fa353291000)
libwx_gtk3u_propgrid-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_propgrid-3.0.so.0 (0x7fa353198000)
libwx_baseu_xml-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0 (0x7fa353186000)
libwx_gtk3u_stc-3.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libwx_gtk3u_stc-3.0.so.0 (0x7fa352f82000)

Unfortunately you don't have used the reportbug tool in a way that were
we could see some more information about your local installation.

Also you don't provide enough information about what you have done, and
what not, which architecture you are running etc, and if you use some other
packages sources which are not from Debian etc. 

> I try to find "apt search wx gtk2", but no such packages in repository.

Yes, that's quite normal as Debian isn't supporting the WX tookit with
GTK+2 bindings anymore as a release goal for bullseye.

> We cannot use kicad in debian for 2 years! Do you ever test the
> package?

Of course we test new KiCad packages in various ways, but I wonder a bit
how you can say KiCad is unusable for 2 years and you haven't complaint
before about.

> How could it be possible? Debian some time ago was splendid distro but
> now its quality breaks another bottom.

For me Debian is still my first choise, but you are free to use what ever
distribution you like.
It's not helpfull for me or other users complaining about very
unspecific things. I've no idea what you mean by "quality breaks" since some
time.

You could be more helpful by providing more and detailed information.

What EXACTELY you are unhappy about?
How can the issue you have readjusted by others?
Did these problems also happen if started within a new and fresh Debian
installation?

Please try to have a look at your issue(s) from a POV of a maintainer, the
package maintainer don't know you local setup not what you have done. Without
enough information it's mostly impossible to fix up things.

Regards
Carsten



kicad pcbnew not start

2022-03-03 Пенетрантность scaldov
Package: kicad
Version: 6.0.2+dfsg-1
Severity: important

Dear Maintainer,
I completely cannot edit pcb layout.
When I try to open .kicad_pcb in my kicad project, I get two
messageboxes "cannot open shared library libwx_gtk2u_gl-3.0.so.0" and
"could not load kiface library /usr/bin/_pcbnew.kiface"

When I do 
ldd /usr/bin/_pcbnew.kiface
in terminal, I get
libwx_gtk2u_gl-3.0.so.0 => not found
libwx_gtk2u_aui-3.0.so.0 => not found
libwx_gtk2u_adv-3.0.so.0 => not found
libwx_gtk2u_html-3.0.so.0 => not found
libwx_gtk2u_core-3.0.so.0 => not found
libwx_gtk2u_stc-3.0.so.0 => not found

I try to find "apt search wx gtk2", but no such packages in repository.
We cannot use kicad in debian for 2 years! Do you ever test the
package?
How could it be possible? Debian some time ago was splendid distro but
now its quality breaks another bottom.



Re: Интересное поведение сети

2022-03-03 Пенетрантность Stanislav Maslovski
Доброго времени суток,

On Thu, Feb 10, 2022 at 03:30:11PM +0300, Артём Н. wrote:
> Есть UDP echo-сервер (не важно какой, пусть будет на основе Netcat):
> ncat -4 --exec /bin/cat -u --listen 2000
> Запускаю клиент на той же машине:
> ncat -4 -s 192.168.2.13 -u 127.0.0.1 2000
> Адрес 192.168.2.13 от реально существующего адаптера, т.е. адрес машины в
> ЛВС.
> 
> Пишу что-то на клиенте - сервер выходит с кодом 0.
> 
> Запрос принимает, ответ успевает отправить, но ответ не доходит.
> Почему?

Это не особенность поведения сети, а скорее особенность работы netcat
с UDP сокетами. Пакет не доходит до клиента так как у пакетов, идущих
от сервера, src IP отличен от 127.0.0.1:

13:55:20.051152 loIn  IP 192.168.2.13.34469 > 127.0.0.1.2000: UDP, length 5
13:55:20.054295 loIn  IP 192.168.2.13 > 192.168.2.13: ICMP 192.168.2.13 udp 
port 34469 unreachable, length 41

Если запустить клиента под strace, то видно, что после создания
сокета с помощью socket() and bind() его на IP = 192.168.2.13, он зовет
connect() на 127.0.0.1. После чего этот сокет будет принимать только
пакеты с src IP = 127.0.0.1. Поэтому и "ICMP 192.168.2.13 udp port 34469
unreachable".

-- 
Stanislav Maslovski