Project

General

Profile

Activity

From 06/10/2017 to 07/09/2017

06/26/2017

05:26 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Yes, I'll take care of it.
Good job!
Greg Shah
05:19 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I guess we can merge the changes from @ncurses_patch6.sh@ into @ncurses_patch.sh@. The changes should work for @5.9@ ... Eugenie Lyzenko

06/23/2017

06:03 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I have got the way Ubuntu build ncurses. The complete config command:... Eugenie Lyzenko
11:54 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> When built from @cd && sudo /root/patch_ncurses.sh /root@:
>
> [...]
>
> When built from ro...
Eugenie Lyzenko
05:12 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> 2. I think may be there is a reason to keep number 5 in library name alive(the old application keeps linkage to so.... Greg Shah
05:07 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
When built from @cd && sudo /root/patch_ncurses.sh /root@:... Greg Shah
04:37 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
@ls -l /usr | grep "lib"@... Greg Shah
09:20 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Looking for question 1 answering I need additional data from problematic system. Can you test to run
@sudo ./patch_n...
Eugenie Lyzenko

06/22/2017

04:32 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> I found the problem:
>
> [...]
>
> I executed @sudo chmod o+rx /usr/lib/libncurses.so.5.9@ ...
Eugenie Lyzenko
02:20 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
One more question. What is the result of the command: @ls -l /usr | grep "lib"@. My system shows:... Eugenie Lyzenko
01:27 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> I found the problem:
>
> [...]
>
> I executed @sudo chmod o+rx /usr/lib/libncurses.so.5.9@ ...
Eugenie Lyzenko
11:29 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I found the problem:... Greg Shah
11:13 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> My assumption somehow the gcc link command ignores -shared flag here.
I thought that using @-shared@ on the @gcc...
Greg Shah
11:04 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Looking in the ncurses build log file we can see these things:
>
> 1. Both shared and static l...
Eugenie Lyzenko
10:51 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> > 1. Installing yet another fresh 16.04 system I have found the ncurses from the box is libncurse...
Eugenie Lyzenko
09:47 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Looking in the ncurses build log file we can see these things:
1. Both shared and static libs are being built duri...
Greg Shah
09:06 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I did the following:
1. I ran @sudo ./patch_ncurses6.sh /root@. It seemed to succeed.
2. I cleared the ldd cac...
Greg Shah
08:34 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> 1. Installing yet another fresh 16.04 system I have found the ncurses from the box is libncurses5 release 6.0. The ... Greg Shah
08:32 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What about output of the command: @ldconfig -p | grep "curses"@?... Greg Shah
11:45 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Looks like finally I have got some more progress here.
1. Installing yet another fresh 16.04 system I have found t...
Eugenie Lyzenko

06/21/2017

06:16 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Just for record. I have ncurses @5.9@ version in all locations where @6.0@ exists and building is fine. That's why I'... Eugenie Lyzenko
06:13 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> > What if to change the compiler option from -fpic to -fPIC?
>
> If you are asking in regard t...
Eugenie Lyzenko
04:38 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What if you try to remove -static-libgcc option from linking command?
No difference. It fails the same way.
...
Greg Shah
04:34 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What if to change the compiler option from -fpic to -fPIC?
If you are asking in regard to the option for @libp2j...
Greg Shah
04:33 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> > What is happening if to remove libncurses.a from /usr/lib?
>
> I'm not sure why we would be ...
Eugenie Lyzenko
04:27 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What is happening if to remove libncurses.a from /usr/lib?
I'm not sure why we would be dependent on the static ...
Greg Shah
04:23 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What is happening if to remove libncurses.a from /usr/lib?
It fails differently:...
Greg Shah
03:41 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I have one point that can look a bit strange.
What if we suggest: for some reasons the linker really takes @libncu...
Eugenie Lyzenko
02:18 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Using @-lcurses@ still fails:... Greg Shah
02:17 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What is ld -V output on this system?... Greg Shah
02:05 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> It still fails:
>
> [...]
Please do another test:
1. Change line from
@override LDFLAGS+=...
Eugenie Lyzenko
08:09 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
It still fails:... Greg Shah

06/20/2017

06:49 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Can you test one more scenario:
1. Move the following from @/usr/lib@ to @/usr/local/lib@:...
Eugenie Lyzenko
06:28 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
The contents:... Greg Shah
06:23 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
... Greg Shah
06:22 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Eugenie Lyzenko wrote:
> Greg Shah wrote:
> > Unfortunately, the use of @-L/usr/lib@ did not help.
> >
> > [...]...
Greg Shah
06:20 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
One more question: what is the content of the @/etc/ld.so.conf.d@ directory on problematic machine? This can possibly... Eugenie Lyzenko
06:16 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Unfortunately, the use of @-L/usr/lib@ did not help.
>
> [...]
Can you test @-L/lib/x86_64-...
Eugenie Lyzenko
06:00 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Unfortunately, the use of @-L/usr/lib@ did not help.... Greg Shah

06/17/2017

08:35 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Also looks like the @/etc/ld.so.conf@ content(with alphabetical ordering include files) has priority over @/usr/lib@ ... Eugenie Lyzenko
08:07 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I just realized the scenario I offered is a kind of option 1 in "note 48":https://proj.goldencode.com/issues/3298#not... Eugenie Lyzenko

06/16/2017

06:37 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> > May be we will have to patch and install both 5.9 and 6.0 libraries if modern Linux distros wan...
Eugenie Lyzenko
02:31 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What if you reinstall libncurses5 package? Is it too destructive to make this test on working system?
I don't th...
Greg Shah
02:14 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Still thinking and experimenting for ncurses linking. I'm also worry about requirement to manually remove @libncurses... Eugenie Lyzenko
01:20 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Removing the ncurses 5.9 and then also removing the @libncurses5-dev@ also solves the build problem on the Ubuntu Ser... Greg Shah
12:10 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> > It is strange, I have the same libraries in /usr/lib/ and /lib/x86_64-linux-gnu/ when building ...
Eugenie Lyzenko
10:31 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> It is strange, I have the same libraries in /usr/lib/ and /lib/x86_64-linux-gnu/ when building FWD is OK.
2 ques...
Greg Shah
10:29 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> OK, some headway:
>
> I removed the following files:
>
> [...]
>
> After this, @libp2j.s...
Eugenie Lyzenko
10:20 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
OK, some headway:
I removed the following files:...
Greg Shah
10:04 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Those links are there:... Greg Shah
10:49 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Some progress here. I can reproduce the error message you noted. It is strange but to see it I had to remove @libncur... Eugenie Lyzenko

06/14/2017

09:14 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
https://askubuntu.com/questions/769558/how-to-tell-if-current-version-was-upgraded-or-a-fresh-install
This note su...
Greg Shah
09:10 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> Also may be you have another version of the libncurses.a somewhere else(/usr/local/lib) or somewhere it can be take... Greg Shah

06/13/2017

07:24 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Also may be you have another version of the @libncurses.a@ somewhere else(@/usr/local/lib@) or somewhere it can be ta... Eugenie Lyzenko
06:53 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Or one in @/lib/x86_64-linux-gnu/libncurses.so.5.9@?
Yes, I have it in all systems.
And @FW...
Eugenie Lyzenko
06:35 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Or one in @/lib/x86_64-linux-gnu/libncurses.so.5.9@? Greg Shah
06:34 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Does your system have a @/usr/lib/libncurses.so.5.9@?
Some of systems have(which was upgraded ...
Eugenie Lyzenko
06:30 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Does your system have a @/usr/lib/libncurses.so.5.9@? Greg Shah
06:07 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg,
Can you publish here your @libncurses.a@. I want to test one theory on my side.
Eugenie Lyzenko
05:14 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Well, I have @Ubuntu 16.04.2 Server@ setup text mode with @4.4.0-79 generic@ kernel(no extra packages, only system ba... Eugenie Lyzenko
08:30 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
On the other hand, there are many of the @R_X86_64_RELATIVE@ relocations, which would be seen with @-fpic@. So perha... Greg Shah
08:28 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Eugenie Lyzenko wrote:
> One more idea is the patched @NCURSES@ did not compiled with @-fPIC@ for some reasons.
h...
Greg Shah
07:57 AM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
@gcc -v@ output:... Greg Shah
11:44 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
One more idea is the patched @NCURSES@ did not compiled with @-fPIC@ for some reasons. Eugenie Lyzenko
11:18 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Do you care if I patch those sources or not?
For my previous assumption it was not important b...
Eugenie Lyzenko

06/12/2017

06:24 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I installed @pkg-config@ but there is no difference.... Greg Shah
05:47 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
The only difference with mine output is missing @pkg-config@ package on your system. This might be important I guess.... Eugenie Lyzenko
05:31 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> Do you care if I patch those sources or not?
I understand the patching with scripts clean up t...
Eugenie Lyzenko
04:57 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I'm assuming that I don't need to patch since I'm not building. Here is the configure output:... Greg Shah
04:52 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Do you care if I patch those sources or not? Greg Shah
04:44 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Can you please get the ncurses sources, execute @./configure --with shared@ and publish the @config.log@ file. Eugenie Lyzenko
02:42 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
> What version: 16.04, 16.04.1 or 16.04.2? There are some diffs there may be.
@Welcome to Ubuntu 16.04.2 LTS (GNU/...
Greg Shah
02:33 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> The full output:
>
> [...]
>
> > Does the compiler use -fpic option?
>
> Yes.
>
> > I...
Eugenie Lyzenko
02:12 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
The full output:... Greg Shah
02:05 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
Greg Shah wrote:
> I've tested your approach:
>
> 1. Remove @libncurses5-dev@.
> 2. Patch NCURSES. I used our s...
Eugenie Lyzenko
12:29 PM Bug #3298: libp2j build links with ncurses 5.9 when the proper version is 6.0
I've tested your approach:
1. Remove @libncurse5-dev@.
2. Patch NCURSES. I used our script to do this.
3. Tried...
Greg Shah
 

Also available in: Atom