Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104746 - app-pda/plptools compilation problem
Summary: app-pda/plptools compilation problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 13:55 UTC by Ondrej Novy
Modified: 2006-08-22 03:51 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 Ondrej Novy 2005-09-03 13:55:46 UTC
cd /var/tmp/portage/plptools-0.11-r1/work/plptools-0.11/lib

patch:
--- Enum.h.orig 2005-09-03 22:49:34.000000000 +0200
+++ Enum.h      2005-09-03 19:41:13.000000000 +0200
@@ -23,6 +23,8 @@
 #ifndef _ENUM_H_
 #define _ENUM_H_

+#include <assert.h>
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 02:45:49 UTC
What kind of problem? Could you be more verbose?
Comment 2 Ondrej Novy 2005-09-04 03:10:58 UTC
without this patch package can't be compiled:
...
c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -O3
-march=pentium4 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
-mmmx -msse -msse2 -mfpmath=sse -fforce-addr -frerun-cse-after-loop
-frerun-loop-opt -fprefetch-loop-arrays -c rfsv32.cc  -fPIC -DPIC -o .libs/rfsv32.lo
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/backward/stream.h:31,
                 from rfsv32.cc:28:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
Enum.h: In constructor `Enum<E>::Enum(E) [with E = rfsv::errs]':
rfsv32.cc:157:   instantiated from here
Enum.h:180: error: `assert' undeclared (first use this function)
Enum.h:180: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
Enum.h: In constructor `Enum<E>::Enum(E) [with E = rfsv::errs]':
rfsv16.cc:136:   instantiated from here
Enum.h:180: error: `assert' undeclared (first use this function)
Enum.h:180: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
Enum.h: In member function `Enum<E>& Enum<E>::operator=(E) [with E = 
   rfsv::errs]':
rfsv32.cc:47:   instantiated from here
Enum.h:198: error: `assert' undeclared (first use this function)
c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -O3
-march=pentium4 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
-mmmx -msse -msse2 -mfpmath=sse -fforce-addr -frerun-cse-after-loop
-frerun-loop-opt -fprefetch-loop-arrays -c ppsocket.cc -o ppsocket.o >/dev/null 2>&1
Enum.h: In member function `Enum<E>& Enum<E>::operator=(E) [with E = 
   rfsv::errs]':
rfsv16.cc:48:   instantiated from here
Enum.h:198: error: `assert' undeclared (first use this function)
make[1]: *** [rfsv16.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [rfsv32.lo] Error 1
mv -f .libs/ppsocket.lo ppsocket.lo
make[1]: Leaving directory
`/var/tmp/portage/plptools-0.11-r1/work/plptools-0.11/lib'
make: *** [all-recursive] Error 1

!!! ERROR: app-pda/plptools-0.11-r1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Boris Smus 2006-08-10 18:02:07 UTC
Ondrej, please clarify what the problem is with this ebuild.
Comment 4 Ondrej Novy 2006-08-15 12:01:37 UTC
Clarify? Just read my comment:

------- Comment #2 From Ondrej Novy  2005-09-04 03:10 PST -------
without this patch package can't be compiled
Comment 5 Boris Smus 2006-08-15 13:56:03 UTC
What's your machine configuration, Ondrej? I'm trying this on x86 with the following error:

In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3/backward/stream.h:31,  
                 from bufferarray.cc:25:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from bufferarray.cc:28:
bufferstore.h:132: error: using typedef-name `std::ostream' after `class'
make[1]: *** [bufferarray.lo] Error 1
Comment 6 Ondrej Novy 2006-08-15 14:58:02 UTC
heh :)
i'm trying it now, but i got same error as you. i can't reproduce my old error now, but it seems that this package is un-compilable at all.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2006-08-16 03:16:39 UTC
can you try plptools-0.13?
Comment 8 Ondrej Novy 2006-08-16 03:34:57 UTC
0.13 compile fines, so solution is make 0.13 stable (~x86 -> x86)
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2006-08-22 03:51:36 UTC
bumped to stable for x86. thanks for following through with the report.