Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462140 - net-libs/libiscsi-1.9.0 neither compiles nor installs libraries
Summary: net-libs/libiscsi-1.9.0 neither compiles nor installs libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords: Bug, REGRESSION
Depends on:
Blocks:
 
Reported: 2013-03-18 05:36 UTC by will_th
Modified: 2013-03-23 14:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description will_th 2013-03-18 05:36:02 UTC
While compiling app-emulation/qemu-1.4.0-r1 an error is reported, that configure could not find libiscsi, regardless net-libs/libiscsi-1.9.0 was installed before.

I had a look, what files come with libiscsi:

equery files libiscsi
 * Searching for libiscsi ...
 * Contents of net-libs/libiscsi-1.9.0:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libiscsi-1.9.0
/usr/share/doc/libiscsi-1.9.0/README.bz2
/usr/share/doc/libiscsi-1.9.0/TODO.bz2

The download of libiscsi is :
net-libs/libiscsi
      Latest version available: 1.9.0
      Latest version installed: 1.9.0
      Size of files: 177 kB
      Homepage:      https://github.com/sahlberg/libiscsi
      Description:   iscsi client library and utilities
      License:       GPL-2 LGPL-2

177 kB in size.

Googling for libiscsi-1.9.0.tar.gz showed a size of 516 kB.

Installing the tar found on https://sites.google.com/site/libiscsitarballs/libiscsitarballs/ using configure, make, make install and after that emerging qemu works.

I tested this on two gentoo machines with the same result.

So I think, there are some files missing in the ebuild.

Best regards.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-19 13:27:27 UTC
cvs/gentoo-x86/net-libs/libiscsi $ ebuild libiscsi-1.9.0.ebuild install
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Downloading 'https://github.com/sahlberg/libiscsi/archive/1.9.0.tar.gz'
--2013-03-19 14:25:24--  https://github.com/sahlberg/libiscsi/archive/1.9.0.tar.gz
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/sahlberg/libiscsi/tar.gz/1.9.0 [following]
--2013-03-19 14:25:24--  https://nodeload.github.com/sahlberg/libiscsi/tar.gz/1.9.0
Resolving nodeload.github.com (nodeload.github.com)... 207.97.227.252
Connecting to nodeload.github.com (nodeload.github.com)|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 182123 (178K) [application/x-gzip]
Saving to: ‘/world/distfiles/libiscsi-1.9.0.tar.gz’

100%[==========================================================================================>] 182,123      259KB/s   in 0.7s

2013-03-19 14:25:26 (259 KB/s) - ‘/world/distfiles/libiscsi-1.9.0.tar.gz’ saved [182123/182123]

 * libiscsi-1.9.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking libiscsi-1.9.0.tar.gz to /home/jer/portage/net-libs/libiscsi-1.9.0/work
>>> Source unpacked in /home/jer/portage/net-libs/libiscsi-1.9.0/work
>>> Preparing source in /home/jer/portage/net-libs/libiscsi-1.9.0/work/libiscsi-1.9.0 ...
>>> Source prepared.
>>> Configuring source in /home/jer/portage/net-libs/libiscsi-1.9.0/work/libiscsi-1.9.0 ...
>>> Source configured.
>>> Compiling source in /home/jer/portage/net-libs/libiscsi-1.9.0/work/libiscsi-1.9.0 ...
>>> Source compiled.
>>> Test phase [not enabled]: net-libs/libiscsi-1.9.0

>>> Install libiscsi-1.9.0 into /home/jer/portage/net-libs/libiscsi-1.9.0/image/ category net-libs
>>> Completed installing libiscsi-1.9.0 into /home/jer/portage/net-libs/libiscsi-1.9.0/image/

ecompressdir: bzip2 -9 /usr/share/doc


jer@wim ~ $ lsfind portage/net-libs/libiscsi-1.9.0/image/
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libiscsi-1.9.0
/usr/share/doc/libiscsi-1.9.0/TODO.bz2
/usr/share/doc/libiscsi-1.9.0/README.bz2
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-19 13:34:14 UTC
It should probably run eautoreconf in src_prepare(). Since the ebuild partly uses autotools-utils.eclass, I tried adding that, but autotools-utils_src_prepare didn't actually do anything, so I decided to stop my brain hurting. It works fine with autotools.eclass / eautoreconf, though.
Comment 3 Richard Yao (RETIRED) gentoo-dev 2013-03-20 18:58:25 UTC
This is my fault for not being quick to get a tagged version of libiscsi in tree for QEMU. I will fix the mess shortly.
Comment 4 Richard Yao (RETIRED) gentoo-dev 2013-03-23 14:42:41 UTC
Fixed in tree.