First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 104746
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo PDA Herd <pda@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ondrej Novy <gentoo@ondrej.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104746 depends on: Show dependency tree
Bug 104746 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-03 13:55 0000
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 From Jakub Moc (RETIRED) 2005-09-04 02:45:49 0000 -------
What kind of problem? Could you be more verbose?

------- Comment #2 From Ondrej Novy 2005-09-04 03:10:58 0000 -------
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 From Boris Smus 2006-08-10 18:02:07 0000 -------
Ondrej, please clarify what the problem is with this ebuild.

------- Comment #4 From Ondrej Novy 2006-08-15 12:01:37 0000 -------
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 From Boris Smus 2006-08-15 13:56:03 0000 -------
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 From Ondrej Novy 2006-08-15 14:58:02 0000 -------
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 From Alastair Tse (RETIRED) 2006-08-16 03:16:39 0000 -------
can you try plptools-0.13?

------- Comment #8 From Ondrej Novy 2006-08-16 03:34:57 0000 -------
0.13 compile fines, so solution is make 0.13 stable (~x86 -> x86)

------- Comment #9 From Alastair Tse (RETIRED) 2006-08-22 03:51:36 0000 -------
bumped to stable for x86. thanks for following through with the report.

First Last Prev Next    No search results available      Search page      Enter new bug