Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71742 - dev-libs/ace-5.4-r1 ebuild isn't installing all required files required to compile apps against it
Summary: dev-libs/ace-5.4-r1 ebuild isn't installing all required files required to co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 03:01 UTC by Håkon Innerdal
Modified: 2004-12-01 15:34 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 Håkon Innerdal 2004-11-19 03:01:19 UTC
Emerging dev-libs/ace-5.4-r1 works (compiles/installs) fine, but I cant compile against it because several include files are missing, like
/usr/include/ace/os_include

Even then, my ace-application fails compiling, because it also needs a lot of the .cpp files

This diff will install necessary files, but it copies _all_ the .cpp from ACE_wrappers/ace/ I'm not sure all those are needed...
--- ace-5.4-r1.ebuild.orig      2004-11-15 20:41:01.000000000 +0100
+++ ace-5.4-r1.ebuild   2004-11-19 11:42:43.652356040 +0100
@@ -45,8 +45,10 @@
 
        cd ${S}/ace
        #don't really need the .cpp's after it's built
-       cp -r *.{h,hpp,i,inl} ${D}/usr/include/ace
-#      cp -r * ${D}/usr/include/ace/
+       #Hmm, 5.4 seems to need the .cpp's?
+#      cp -r *.{h,hpp,i,inl} ${D}/usr/include/ace
+       cp -r * ${D}/usr/include/ace/
+       cp -r os_include ${D}/usr/include/ace/
        chmod -R 644 ${D}/usr/include/ace/*
        cd ${D}/usr/include/ace/
        find -type d -exec chmod 755 \{\} \;



Reproducible: Always
Steps to Reproduce:
1. emerge dev-libs/ace
2. Compile this:
#include <ace/OS.h>
main()
{
}

... lots of errors about missing includes


Actual Results:  
In file included from /usr/include/ace/OS.h:28,
                 from main.cpp:1:
/usr/include/ace/Object_Manager_Base.h:29:41: ace/os_include/sys/os_types.h: No
such file or directory
/usr/include/ace/Object_Manager_Base.h:30:38: ace/os_include/os_signal.h: No
such file or directory
In file included from /usr/include/ace/OS.h:28,
                 from main.cpp:1:
/usr/include/ace/Object_Manager_Base.h:117: error: 'u_int' is used as a type, 
   but is not defined as a type.


Expected Results:  
install ACE_wrappers/ace/os_include/*.h into /usr/include/ace/os_include/
pluss several important *.cpp files in /usr/include/ace ( I hate that .cpp files
are put into /usr/include/ace/ but I don't know any other sollution)



Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3
/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.du.se/pub/os/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j20"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://(local-mirror,name hidden to protect the innocent)"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77
fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick
imlib java joystick jpeg junit libg++ libwww mad mikmod motif mozilla mpeg mysql
ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime
radeon readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86
xml2 xmms xv zlib"
Comment 1 Arkadi Shishlov 2004-11-21 05:17:43 UTC
This CPP files subset works for me:
root:~/ACE_wrappers> cp $(egrep -r 'include.*\.cpp' /usr/include/ace|perl -ne 'print "$1\n" if /"(.*)"/;') /usr/include/ace
Comment 2 Michael Imhof (RETIRED) gentoo-dev 2004-12-01 15:34:02 UTC
I added your changes to 5.4-r2.
Please check if it solves your problems.