Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417455 - sys-fs/ocfs2-tools-1.8.2 should depend on dev-libs/libaio
Summary: sys-fs/ocfs2-tools-1.8.2 should depend on dev-libs/libaio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 07:37 UTC by victor romanchuk
Modified: 2012-05-29 12:53 UTC (History)
1 user (show)

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 victor romanchuk 2012-05-25 07:37:18 UTC
failed to build sys-fs/ocfs2-tools-1.8.2 due to lack of dependency to dev-libs/libaio

Reproducible: Always

Actual Results:  
fragment of build.log:

...
unix_io.c:45:20: fatal error: libaio.h: No such file or directory
compilation terminated.
make[1]: *** [unix_io.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/ocfs2-tools-1.8.2/work/ocfs2-tools-1.8.2/libocfs2'
make: *** [libocfs2] Error 2
 * ERROR: sys-fs/ocfs2-tools-1.8.2 failed (compile phase):
 *   emake failed
 * 
...



### installation info:

# emerge --info sys-fs/ocfs2-tools
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.2.12-gentoo-baremetal x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-baremetal-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.1
Timestamp of tree: Fri, 25 May 2012 04:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo home-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -g0 -march=native         -ftree-loop-distribution -ftree-loop-linear         -floop-interchange -floop-strip-mine -floop-block         -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -g0 -march=native         -ftree-loop-distribution -ftree-loop-linear         -floop-interchange -floop-strip-mine -floop-block         -fomit-frame-pointer -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.local/gentoo-portage"
USE="acl acpi amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm iconv mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd python readline session sse sse2 ssl tcpd unicode xorg zlib" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard" KERNEL="linux" LCD_DEVICES="text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-fs/ocfs2-tools-1.8.2-r9999 was built with the following:
USE="(multilib) -debug -external -gtk"

### proposed patch:

--- /usr/portage/sys-fs/ocfs2-tools/ocfs2-tools-1.8.2.ebuild	2012-05-21 23:31:28.000000000 +0400
+++ /usr/local/portage/sys-fs/ocfs2-tools/ocfs2-tools-1.8.2-r9999.ebuild	2012-05-25 11:15:11.608408040 +0400
@@ -26,6 +26,7 @@
 	sys-libs/ncurses
 	sys-libs/readline
 	sys-process/psmisc
+	dev-libs/libaio
 	gtk? (
 		dev-python/pygtk
 	)
Comment 1 László Szalma 2012-05-29 12:29:37 UTC
I confirm, after

emerge libaio

the package builds fine.
It should be depended.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-29 12:53:08 UTC
+  29 May 2012; Kacper Kowalik <xarthisius@gentoo.org> ocfs2-tools-1.6.4.ebuild,
+  ocfs2-tools-1.8.2.ebuild:
+  Add missing dependency on dev-libs/libaio wrt #417455. Thanks to victor
+  romanchuk <rom@persimplex.net> and László Szalma <dblaci@dblaci.hu> for the
+  report and confirmation respectively
+