FTBFS with GCC 12

Bug #1979692 reported by Sergio Durigan Junior
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
open-iscsi (Ubuntu)
Fix Released
High
Sergio Durigan Junior

Bug Description

open-iscsi is FTBFSing with GCC 12:

auth.c: In function ‘acl_chap_auth_request’:
auth.c:112:34: error: the comparison will always evaluate as ‘false’ for the address of ‘username_in’ will never be NULL [-Werror=address]
  112 | if (session->username_in == NULL) {
      | ^~
In file included from auth.c:36:
initiator.h:243:14: note: ‘username_in’ declared here
  243 | char username_in[AUTH_STR_MAX_LEN];
      | ^~~~~~~~~~~
...

https://launchpadlibrarian.net/609075735/buildlog_ubuntu-kinetic-amd64.open-iscsi_2.1.5-1ubuntu1_BUILDING.txt.gz

Related branches

Changed in open-iscsi (Ubuntu):
status: Confirmed → In Progress
tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-iscsi - 2.1.5-1ubuntu2

---------------
open-iscsi (2.1.5-1ubuntu2) kinetic; urgency=medium

  * d/p/lp1979692-fix-gcc12-ftbfs-0*.patch: Fix FTBFS with GCC 12.
    (LP: #1979692)

 -- Sergio Durigan Junior <email address hidden> Thu, 23 Jun 2022 17:28:56 -0400

Changed in open-iscsi (Ubuntu):
status: In Progress → Fix Released
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.