Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103912 - sys-fs/dmraid-1.0.0_rc8-r1 fails to emerge because dmraid.c can't include dmraid.h
Summary: sys-fs/dmraid-1.0.0_rc8-r1 fails to emerge because dmraid.c can't include dm...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 139860
  Show dependency tree
 
Reported: 2005-08-27 05:27 UTC by Petteri Räty (RETIRED)
Modified: 2007-06-13 06:35 UTC (History)
2 users (show)

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


Attachments
full emerge log (2615-dmraid-1.0.0_rc8-r1.log,9.83 KB, text/plain)
2005-08-27 05:30 UTC, Petteri Räty (RETIRED)
Details
New ebuild for new dmraid version. Build fixes included. (dmraid-1.0.0_rc9.ebuild,1.70 KB, text/plain)
2005-09-23 11:21 UTC, Gerte Hoogewerf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-08-27 05:27:15 UTC
tools/dmraid.c:12:20: dmraid.h: No such file or directory
In file included from tools/dmraid.c:13:
tools/commands.h:68: warning: "struct lib_context" declared inside parameter list
tools/commands.h:68: warning: its scope is only this definition or declaration,
which is probably not what you want
tools/commands.h:100: warning: "struct lib_context" declared inside parameter list
tools/commands.h:103: warning: "struct lib_context" declared inside parameter list
tools/commands.h:104: warning: "struct lib_context" declared inside parameter list
In file included from tools/dmraid.c:14:
tools/toollib.h:14: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:15: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:17: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:18: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:19: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:20: warning: "struct lib_context" declared inside parameter list
tools/toollib.h:23: warning: "struct lib_context" declared inside parameter list
tools/dmraid.c: In function `main':
tools/dmraid.c:23: warning: implicit declaration of function `libdmraid_init'
tools/dmraid.c:23: warning: nested extern declaration of `libdmraid_init'
tools/dmraid.c:23: warning: assignment makes pointer from integer without a cast
tools/dmraid.c:32: warning: implicit declaration of function `init_locking'
tools/dmraid.c:32: warning: nested extern declaration of `init_locking'
tools/dmraid.c:42: warning: implicit declaration of function `libdmraid_exit'
tools/dmraid.c:42: warning: nested extern declaration of `libdmraid_exit'
make: *** [tools/dmraid] Error 1
make: *** Waiting for unfinished jobs....
ar: creating ../lib/libdmraid.a
../lib/libdmraid.a ../lib/libdmraid.so  ../lib/libdmraid.so

!!! ERROR: sys-fs/dmraid-1.0.0_rc8-r1 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

pena ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/init.d
/etc/java-config/vms/ /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoconfig cvs distlocks fixpackages noauto sandbox sfperms sign strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="fi"
MAKEOPTS="-j2 -s"
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="cvs://betelgeuse@cvs.gentoo.org:/var/cvsroot"
USE="x86 X aac acl acpi alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 bzlib cdb cddb cdparanoia crypt cups dbus
divx4linux dts dvd dvdr dvdread emboss esd fam foomaticdb freetype gif gstreamer
gtk2 hal java jpeg kde kdeenablefinal kdexdeltas libg++ libwww logitech-mouse
lzo mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg ncurses network nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib png qt quicktime
readline real rtc samba spell sse sse2 ssl subversion svg symlink tcpd theora
tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis
win32codecs xml xml2 xv xvid zlib video_cards_nvidia linguas_fi userland_
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-08-27 05:30:11 UTC
Created attachment 66969 [details]
full emerge log
Comment 2 solar (RETIRED) gentoo-dev 2005-09-08 06:44:47 UTC
Horton please review this one.
Comment 3 Gerte Hoogewerf 2005-09-23 11:21:59 UTC
Created attachment 69100 [details]
New ebuild for new dmraid version. Build fixes included.

This is the new ebuild for dmraid-1.0.0-rc9. Tested and working on x86.
Comment 4 Bob Ketterhagen (RETIRED) gentoo-dev 2005-10-14 07:44:39 UTC
I am unable to test this.
My test box is now in production.
In order to test this properly you need someone using it with mirroring and
stripping. My experience with mirroring was random kernel panics and crashes. It
is supposed to more stable if you strip them. Needless to say both
configurations need to be checked.
Comment 5 Ian Stakenvicius 2006-09-01 23:19:07 UTC
Version -rc12 now in portage.  Please test and see if this error persists (note, I could not produce this error w/the new package). Marking resolved/fixed. willing to reopen if issue can be reproduced.
Comment 6 Ales M. Michalek 2006-12-04 01:31:51 UTC
I have the same problem with -rc13. After a lot of experimenting I found strange think: the problem depends on MAKEOPTS. I had MAKEOPTS="-j2 -s" and compilation fails. But after removing the options compilation succeed. It works for no options, for "-j2" or for "-s" but not for combination!
Comment 7 Ian Stakenvicius 2006-12-04 07:40:54 UTC
That's strange...  there must be something about -s that causes an issue when making in parallel...  ok re-opening, this should be tested further.. i guess probably forcing a -j1 would ensure that it builds for everybody..
Comment 8 solar (RETIRED) gentoo-dev 2006-12-04 08:25:38 UTC
Removing myself from dmraid related bugs.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 09:14:21 UTC
May I ask why are you sticking -s into MAKEOPTS???
Comment 10 SpanKY gentoo-dev 2006-12-04 22:12:07 UTC
why do you care ?  using -s in MAKEOPTS is perfectly reasonable
Comment 11 SpanKY gentoo-dev 2006-12-04 22:20:48 UTC
post updated build failures ... the original report is simply not possible anymore:
tools/dmraid.c:12:20: dmraid.h: No such file or directory

dmraid.h always exist at $S/include/dmraid/dmraid.h and tools/dmraid.c does #include <dmraid/dmraid.h> with -I ../include
Comment 12 Ian Stakenvicius 2007-06-13 06:35:04 UTC
AHA -- I knew i saw this bug before..

Successfully tested new ebuild dmraid-1.0.0_rc14 with MAKEOPTS="-s" on both amd64 and x86.  

Note that this bug is a duplicate of bug #164572 and bug #145415 (or vice-versa)