open-iscsi fails to build from source in maverick

Bug #600953 reported by Matthias Klose on 2010-07-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
open-iscsi (Ubuntu)
High
Colin Watson
Maverick
High
Colin Watson

Bug Description

Binary package hint: open-iscsi

fails in maverick and in a test rebuild:
https://launchpad.net/ubuntu/+archive/test-rebuild-20100628/+build/1834161

cc -Wall -g -O2 -DDISCOVERY_FILE=\"/var/lib/open-iscsi/discovery\" -DNODE_FILE=\"/var/lib/open-iscsi/node\" -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o iscsid.o iscsid.c
iscsid.c: In function 'main':
iscsid.c:395: warning: implicit declaration of function 'umask'
iscsid.c:437: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
iscsid.c:443: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
iscsid.c:445: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cc -Wall -g -O2 -DDISCOVERY_FILE=\"/var/lib/open-iscsi/discovery\" -DNODE_FILE=\"/var/lib/open-iscsi/node\" -Wall -Wstrict-prototypes -I../include -I. -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE util.o io.o auth.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../utils/sysdeps/sysdeps.o netlink.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o isns.o cxgb3i.o transport.o iscsid.o -o iscsid
iscsi_sysfs.o: In function `iscsi_sysfs_get_blockdev_from_lun':
/build/buildd/open-iscsi-2.0.871/usr/iscsi_sysfs.c:872: undefined reference to `S_ISLNK'
/build/buildd/open-iscsi-2.0.871/usr/iscsi_sysfs.c:879: undefined reference to `S_ISDIR'
iscsi_sysfs.o: In function `iscsi_sysfs_get_sid_from_path':
/build/buildd/open-iscsi-2.0.871/usr/iscsi_sysfs.c:618: undefined reference to `S_ISDIR'
/build/buildd/open-iscsi-2.0.871/usr/iscsi_sysfs.c:618: undefined reference to `S_ISLNK'
collect2: ld returned 1 exit status
make[2]: *** [iscsid] Error 1

Matthias Klose (doko) on 2010-07-02
Changed in open-iscsi (Ubuntu Maverick):
importance: Undecided → High
milestone: none → maverick-alpha-3
status: New → Confirmed
Colin Watson (cjwatson) on 2010-07-02
Changed in open-iscsi (Ubuntu Maverick):
assignee: nobody → Colin Watson (cjwatson)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-iscsi - 2.0.871-0ubuntu5

---------------
open-iscsi (2.0.871-0ubuntu5) maverick; urgency=low

  * Include <sys/types.h> and <sys/stat.h> in usr/iscsi_sysfs.c for S_*
    macros (LP: #600953).
 -- Colin Watson <email address hidden> Fri, 02 Jul 2010 17:08:14 +0100

Changed in open-iscsi (Ubuntu Maverick):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers