[18.04 FEAT] rebase qclib >= 1.3.0

Bug #1732421 reported by bugproxy
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Dimitri John Ledkov
qclib (Ubuntu)
Fix Released
Undecided
Skipper Bug Screeners

Bug Description

Include latest upstream functionality
Enable non-privileged user space applications on KVM to retrieve hypervisor capacity data.

Available from upstream repository:
https://www.ibm.com/developerworks/linux/linux390/qclib.html

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-160418 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
affects: linux (Ubuntu) → qclib (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → High
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-01-22 04:23 EDT-------
New version 1.3.1. of qclib available

http://tuxweb.boeblingen.de.ibm.com/sandbox/devworksv18/linux/linux390/qclib.html

Please pick up this release to also include the bugfixes..

Many thanks

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

-int qc_is_nonempty_ebcdic(struct qc_handle *hdl, const unsigned char *buf, unsigned int buflen);
+int qc_is_nonempty_ebcdic(__u64 *str);

Above function appears to be exported by the 1.1.0 api/abi and is broken in 1.3.0, no?

Either library abi needs to be bumped, or above function signature change reverted and a new one added, or both functions need to be provided, with the new signature the default one, yet older implementation still available and marked as @Base 1.1.0 symbol, no?

I cannot access the URL listed for 1.3.1, thus above is about 1.3.0 release. How can I access the 1.3.1 release to see if above issue is already resolved?

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Triaged
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-01-30 05:04 EDT-------
Right, qc_is_nonempty_ebcdic() changed its signature. However, that function is not intended for external use, that's why it's part of the internal header query_capacity_int.h instead of query_capacity.h.
We didn't bother to prevent the export of any of the functions defined in the internal header at all - maybe that's something to look at in a future version.
And, no, 1.3.1 won't fix this.
Do you have any application that's linked against that function, or did some tool complain?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-01-30 05:23 EDT-------
New version 1.3,1 is now available from
https://www.ibm.com/developerworks/linux/linux390/qclib.html

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Well, it is simply an ABI incompatibility that I have noticed. I do not believe there are any users / linking issues in the Ubuntu archive.

Maybe next time ABI is bumped, hiding these functions, might make sense.

information type: Private → Public
Changed in qclib (Ubuntu):
status: New → Fix Committed
Changed in ubuntu-z-systems:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qclib - 1.3.1-0ubuntu1

---------------
qclib (1.3.1-0ubuntu1) bionic; urgency=medium

  * New upstream release LP: #1732421
  * Drop patches, no longer required

 -- Dimitri John Ledkov <email address hidden> Mon, 29 Jan 2018 18:07:35 +0000

Changed in qclib (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-02-01 03:20 EDT-------
IBM bugzilla status -> closed ; qclib 1.31 avaiable with 18.04

Frank Heimes (fheimes)
description: updated
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.