Skip to contentSkip to conversation

New: ncurses installation hangs due to old version of tic

Buildroot bugzilla at busybox.net 4 participants 12 messages May 3, 2011 – Aug 26, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=3685

Summary: ncurses installation hangs due to old version of tic
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: patrickdepinguin+buildroot at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 3271
--> https://bugs.busybox.net/attachment.cgi?id=3271
[PATCH 1 of 2] GENTARGETS: Allow disabling host package installation

During installation of ncurses, the 'tic' program from the host is used. In some cases, this version of tic is too old for the data to be processed, and the installation hangs indefinitely (already reported in July 2010 [1] and later in April 2011 [2]).

Attached to this bug report are two patches that fix the problem (one patch is just a prerequisite for the other).

[1] http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
[2] http://lists.busybox.net/pipermail/buildroot/2011-April/042763.html

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

https://bugs.busybox.net/show_bug.cgi?id=3685

--- Comment #1 from Thomas De Schampheleire <[email protected]> --- Created attachment 3277
--> https://bugs.busybox.net/attachment.cgi?id=3277
[PATCH 2 of 2] ncurses: fix hanging installation due to old version of tic

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3685

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

   Attachment #3271|0                           |1
           is patch|                            |
   Attachment #3271|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3685

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Platform|PC |Other

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3685

--- Comment #2 from Thomas De Schampheleire <[email protected]> --- Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3685

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #3 from Peter Korsgaard <[email protected]> --- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

All,

Quoted 9 lines

--- Comment #3 from Peter Korsgaard <[email protected]> ?--- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

I also had this problem. It appears to be caused by the old version present on RHEL 5.4, which is what I'm using in our corporate environment. If I had to guess, it would be because the tic being called is the one on the host system, not the one built by buildroot.

Mike

#7 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

Quoted 9 lines · Mike Williams

All,

Quoted 7 lines

--- Comment #3 from Peter Korsgaard <[email protected]> ?--- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

Quoted 7 lines
Quoted 2 lines

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

I also had this problem. It appears to be caused by the old version present on RHEL 5.4, which is what I'm using in our corporate environment. If I had to guess, it would be because the tic being called is the one on the host system, not the one built by buildroot.

Correct. The patch I proposed avoids that by compiling a host version of tic in buildroot. This one is later used during the installation of the target ncurses.

Thomas

#8 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

Quoted 13 lines · Thomas De Schampheleire
Quoted 12 lines · Mike Williams

All,

Quoted 9 lines

--- Comment #3 from Peter Korsgaard <[email protected]> --- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

Quoted 9 lines
Quoted 4 lines

I also had this problem. It appears to be caused by the old version present on RHEL 5.4, which is what I'm using in our corporate environment. If I had to guess, it would be because the tic being called is the one on the host system, not the one built by buildroot.

Correct. The patch I proposed avoids that by compiling a host version of tic in buildroot. This one is later used during the installation of the target ncurses.

I also came across this problem a year ago:
http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
and later proposed a patch:
http://lists.busybox.net/pipermail/buildroot/2010-December/039670.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110719/e33d08fe/attachment-0001.html>

#9 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to Thomas De Schampheleire
Quoted 13 lines · Thomas De Schampheleire
Quoted 12 lines · Mike Williams

All,

Quoted 9 lines

--- Comment #3 from Peter Korsgaard <[email protected]> --- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

Quoted 9 lines
Quoted 4 lines

I also had this problem. It appears to be caused by the old version present on RHEL 5.4, which is what I'm using in our corporate environment. If I had to guess, it would be because the tic being called is the one on the host system, not the one built by buildroot.

Correct. The patch I proposed avoids that by compiling a host version of tic in buildroot. This one is later used during the installation of the target ncurses.

I also came across this problem a year ago:
http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
and later proposed a patch:
http://lists.busybox.net/pipermail/buildroot/2010-December/039670.html

#10 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

Hi Peter,

Quoted 19 lines · Quotient Remainder
Quoted 18 lines · Thomas De Schampheleire
Quoted 16 lines · Mike Williams

All,

Quoted 9 lines

--- Comment #3 from Peter Korsgaard <[email protected]> ?--- (In reply to comment #2)

Quoted 4 lines

Any specific reason why this has not been included in buildroot yet?

Thanks,
Thomas

No, I just haven't looked at it / forgotten about it / not been able to reproduce it locally. Will take a look at it tonight.

I also had this problem. It appears to be caused by the old version present on RHEL 5.4, which is what I'm using in our corporate environment. If I had to guess, it would be because the tic being called is the one on the host system, not the one built by buildroot.

Quoted 9 lines
Quoted 4 lines

Correct. The patch I proposed avoids that by compiling a host version of tic in buildroot. This one is later used during the installation of the target ncurses.

I also came across this problem a year ago:
http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
and later proposed a patch:
http://lists.busybox.net/pipermail/buildroot/2010-December/039670.html

Were you able to take a look at this? Any chance it could be included in the upcoming release you're rounding up?

Thanks,
Thomas

#11 lore raw

[Buildroot] [Bug 3685] ncurses installation hangs due to old version of tic

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3685

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Peter Korsgaard <[email protected]> --- Thanks, committed part 2 with minor changes. I prefer to not do part 1 this close to the release.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.