Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 72898
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Engelhardt <flo@dotbox.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 72898 depends on: Show dependency tree
Bug 72898 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: 2004-11-30 02:22 0000
pth-2.0.2 does not compile

Reproducible: Always
Steps to Reproduce:
1. emerge pth
2.
3.

Actual Results:  
Now please type `make' to compile. Good luck.

./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' pth_compat.c
pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_uctx.c
pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c
pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c
pth_high.c pth_ext.c pth_string.c
./libtool --mode=compile --quiet i686-pc-linux-gnu-gcc -c -I. -march=pentium4
-Os -s -pipe -fomit-frame-pointer -funroll-loops pth_uctx.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_std.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_common.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_mp.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_misc.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_philo.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_sig.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_select.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_httpd.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_sfio.c
i686-pc-linux-gnu-gcc -c -I. -march=pentium4 -Os -s -pipe -fomit-frame-pointer
-funroll-loops test_uctx.c
pth_uctx.c:31:19: pth_p.h: No such file or directory
pth_uctx.c:37: error: parse error before "size_t"
pth_uctx.c:37: warning: no semicolon at end of struct or union
pth_uctx.c:39: error: parse error before "uc_mctx"
pth_uctx.c:39: warning: data definition has no type or storage class
pth_uctx.c:45: error: parse error before '*' token
pth_uctx.c: In function `pth_uctx_create':
pth_uctx.c:47: error: `pth_uctx_t' undeclared (first use in this function)
pth_uctx.c:47: error: (Each undeclared identifier is reported only once
pth_uctx.c:47: error: for each function it appears in.)
pth_uctx.c:47: error: parse error before "uctx"
pth_uctx.c:50: error: `puctx' undeclared (first use in this function)
pth_uctx.c:50: error: `NULL' undeclared (first use in this function)
pth_uctx.c:51: error: `FALSE' undeclared (first use in this function)
pth_uctx.c:51: error: `EINVAL' undeclared (first use in this function)
pth_uctx.c:54: error: `uctx' undeclared (first use in this function)
pth_uctx.c:54: error: parse error before "malloc"
pth_uctx.c:62: error: `pth_mctx_t' undeclared (first use in this function)
pth_uctx.c:67: error: `TRUE' undeclared (first use in this function)
pth_uctx.c: At top level:
pth_uctx.c:72: error: parse error before "pth_mctx_t"
pth_uctx.c:72: warning: no semicolon at end of struct or union
pth_uctx.c:73: warning: data definition has no type or storage class
pth_uctx.c:74: error: parse error before "uctx_after"
pth_uctx.c:74: warning: data definition has no type or storage class
pth_uctx.c:77: error: parse error before '}' token
pth_uctx.c:77: warning: data definition has no type or storage class
pth_uctx.c:78: error: parse error before "pth_uctx_trampoline_ctx"
pth_uctx.c:78: warning: data definition has no type or storage class
pth_uctx.c: In function `pth_uctx_trampoline':
pth_uctx.c:83: error: syntax error before "ctx"
pth_uctx.c:86: error: `ctx' undeclared (first use in this function)
pth_uctx.c:86: error: request for member `mctx_parent' in something not a
structure or union
pth_uctx.c:87: error: request for member `uctx_this' in something not a
structure or union
pth_uctx.c:88: error: request for member `uctx_after' in something not a
structure or union
pth_uctx.c:89: error: request for member `start_func' in something not a
structure or union
pth_uctx.c:90: error: request for member `start_arg' in something not a
structure or union
pth_uctx.c:99: error: `NULL' undeclared (first use in this function)
pth_uctx.c: At top level:
pth_uctx.c:112: error: parse error before "uctx"
pth_uctx.c:115: error: `pth_uctx_make' declared as function returning a function
pth_uctx.c:115: error: parse error before "void"
pth_uctx.c:119: warning: data definition has no type or storage class
pth_uctx.c:153: error: parse error before '&' token
pth_uctx.c:153: warning: data definition has no type or storage class
pth_uctx.c:168: error: parse error before "uctx"
pth_uctx.c: In function `pth_uctx_save':
pth_uctx.c:171: error: `uctx' undeclared (first use in this function)
pth_uctx.c:171: error: `NULL' undeclared (first use in this function)
pth_uctx.c:172: error: `FALSE' undeclared (first use in this function)
pth_uctx.c:172: error: `EINVAL' undeclared (first use in this function)
pth_uctx.c:176: error: `TRUE' undeclared (first use in this function)
pth_uctx.c: At top level:
pth_uctx.c:184: error: parse error before "uctx"
pth_uctx.c: In function `pth_uctx_restore':
pth_uctx.c:187: error: `uctx' undeclared (first use in this function)
pth_uctx.c:187: error: `NULL' undeclared (first use in this function)
pth_uctx.c:188: error: `FALSE' undeclared (first use in this function)
pth_uctx.c:188: error: `EINVAL' undeclared (first use in this function)
pth_uctx.c:190: error: `EPERM' undeclared (first use in this function)
pth_uctx.c:195: error: `TRUE' undeclared (first use in this function)
pth_uctx.c: At top level:
pth_uctx.c:201: error: parse error before "uctx_from"
pth_uctx.c: In function `pth_uctx_switch':
pth_uctx.c:205: error: `uctx_from' undeclared (first use in this function)
pth_uctx.c:205: error: `NULL' undeclared (first use in this function)
pth_uctx.c:205: error: `uctx_to' undeclared (first use in this function)
pth_uctx.c:206: error: `FALSE' undeclared (first use in this function)
pth_uctx.c:206: error: `EINVAL' undeclared (first use in this function)
pth_uctx.c:208: error: `EPERM' undeclared (first use in this function)
pth_uctx.c:211: error: `TRUE' undeclared (first use in this function)
pth_uctx.c: At top level:
pth_uctx.c:220: error: parse error before "uctx"
pth_uctx.c: In function `pth_uctx_destroy':
pth_uctx.c:223: error: `uctx' undeclared (first use in this function)
pth_uctx.c:223: error: `NULL' undeclared (first use in this function)
pth_uctx.c:224: error: `FALSE' undeclared (first use in this function)
pth_uctx.c:224: error: `EINVAL' undeclared (first use in this function)
pth_uctx.c:233: error: `TRUE' undeclared (first use in this function)
make: *** [pth_uctx.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-libs/pth-2.0.2 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed


Expected Results:  
it should compile

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.2, glibc-2.3.4.20041102-r0,
2.6.10-rc2 i686)
=================================================================
System uname: 2.6.10-rc2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -s -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -s -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://gentoo.inode.at/source/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups dillo directfb dvd encode
f77 fam fbcon foomaticdb fortran gdbm gif gpm gtk gtk2 gtkhtml imagemagick imlib
jpeg libg++ libwww mad maildir mbox mikmod mmx motif moznoxft mpeg ncurses nls
nntp nptl nptlonly oggvorbis opengl oracle oss pam pdflib perl png python
quicktime readline samba sdl slang spell sse sse2 ssl svga tcpd tiff truetype
x86 xml xml2 xmms xv zlib"

------- Comment #1 From Andre Kloth 2004-11-30 03:08:39 0000 -------
There is a workaround discribed in
http://forums.gentoo.org/viewtopic.php?t=232109

In short:
ebuild /usr/portage/dev-libs/pth/pth-2.0.2.ebuild install
ebuild /usr/portage/dev-libs/pth/pth-2.0.2.ebuild qmerge

HTH.

------- Comment #2 From Carsten Lohrke 2004-11-30 05:27:21 0000 -------
*** Bug 72908 has been marked as a duplicate of this bug. ***

------- Comment #3 From Lars Wendler (Polynomial-C) 2004-11-30 06:25:02 0000 -------
Hi,

I got the ebuild working (on ~x86) after changing MAKEOPTS to -j1

Poly

------- Comment #4 From Dennis Schridde 2004-11-30 06:51:25 0000 -------
The critical line seems to be:
pth_uctx.c:31:19: pth_p.h: No such file or directory

------- Comment #5 From Florian Engelhardt 2004-11-30 07:35:49 0000 -------
That works:

MAKEOPTS="-j1" emerge -1 pth

------- Comment #6 From Sven Wegener 2004-11-30 08:09:10 0000 -------
Fixed in CVS. Thanks for reporting!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug