libtinfo-dev should provide a tinfo.pc

Bug #900635 reported by Mehdi Amini
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ncurses (Ubuntu)
Fix Released
Medium
Unassigned
Natty
Invalid
Medium
Unassigned
Oneiric
Fix Released
Medium
Unassigned

Bug Description

libtinfo-dev package lacks a pkg-config configuration file. See for instance how it breaks ncurses:

$ pkg-config --libs ncurses
Package tinfo was not found in the pkg-config search path.
Perhaps you should add the directory containing `tinfo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'tinfo', required by 'ncurses', not found

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ncurses (Ubuntu):
status: New → Confirmed
Revision history for this message
Gertjan Halkes (r-launchpad-ghalkes-nl) wrote :

The libtinfo-dev.install file in the package (debian part) does not include the pkg-config file. This can be fixed with the attached patch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Add tinfo.pc to libtinfo-dev.install" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Darwin Survivor (darwinsurvivor) wrote :

Just confirming that I get the exact same output when running the exact same command (as well as with only --cflags) as the original poster. I can confirm this on both 32 bit and 64 bit. Also, ncurses++ (which I belive pulls in ncurses) is also affected.

Revision history for this message
Anders Kaseorg (andersk) wrote :

This is fixed in precise as of 5.9-2.

Changed in ncurses (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Benjamin Drung (bdrung) wrote :

This bug lets the daily builds of VLC fail on natty and oneiric.

Changed in ncurses (Ubuntu):
importance: Undecided → Medium
Changed in ncurses (Ubuntu Natty):
importance: Undecided → Medium
Changed in ncurses (Ubuntu Oneiric):
importance: Undecided → Medium
Revision history for this message
Benjamin Drung (bdrung) wrote :

Here's the patch for oneiric-proposed.

Revision history for this message
Benjamin Drung (bdrung) wrote :

natty comes with no .pc file and therefore is a different case. I am closing the natty task.

Changed in ncurses (Ubuntu Natty):
status: New → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Hello Mehdi, or anyone else affected,

Accepted ncurses into oneiric-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ncurses/5.9-1ubuntu5.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ncurses (Ubuntu Oneiric):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Benjamin Drung (bdrung) wrote :

As you can see in [1], VLC builds fine again with the pkg-config file from the proposed ncurses package.

[1] https://code.launchpad.net/~videolan/+archive/stable-daily

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Looks good to me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ncurses - 5.9-1ubuntu5.1

---------------
ncurses (5.9-1ubuntu5.1) oneiric-proposed; urgency=low

  * Install missing tinfo.pc file into libtinfo-dev (LP: #900635).
 -- Benjamin Drung <email address hidden> Sat, 01 Sep 2012 01:59:17 +0200

Changed in ncurses (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.