First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 78749
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Bart Verwilst <bart@verwilst.be>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roel Brook <Rainmaker526@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
4614-pth-2.0.3.log Full build log text/plain Roel Brook 2005-01-19 16:51 0000 14.71 KB Details
pth-locale.diff pth-2.0.3-locale.diff patch Simone Piunno 2005-01-22 11:38 0000 468 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 78749 depends on: Show dependency tree
Bug 78749 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-01-19 16:51 0000
dev-libs/pth-2.0.3 fails to build and exits with the following error:

pth_sched.c:207: warning: assignment makes pointer from integer without a cast
./libtool --mode=compile --quiet i686-pc-linux-gnu-gcc -c -I. -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math pth_attr.c
./libtool --mode=compile --quiet i686-pc-linux-gnu-gcc -c -I. -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math pth_lib.c
pth_lib.c: In function `pth_init':
pth_lib.c:95: error: `pth_scheduler' undeclared (first use in this function)
pth_lib.c:95: error: (Each undeclared identifier is reported only once
pth_lib.c:95: error: for each function it appears in.)
pth_lib.c: In function `pth_spawn':
pth_lib.c:321: error: `pth_scheduler' undeclared (first use in this function)
make: *** [pth_lib.lo] Fout 1
make: *** Wachten op onafgeronde taken...



Reproducible: Always
Steps to Reproduce:
1. echo dev-libs/pth \~86 >> /etc/portage/package.keywords
2. emerge pth



Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-nitro2 i686)
=================================================================
System uname: 2.6.10-nitro2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 24 2004, 18:21:57)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/alias
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts audiofile avi bitmap-fonts bzlib
calender cdparanoia cdr chroot crypt cups dba divx4linux dvd dvdr encode esd f77
fam filepro flac font-server foomaticdb fortran gd gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk2 guile imagemagick imlib insecure-drivers java jpeg jpeg2k
junit kde ldap libg++ libwww live mad mikmod mime mmx motif mpeg msn mysql
ncurses nls nptl odbc offensive oggvorbis ooo-kde opengl pam pdflib perl php pic
png postgres python qmail qt quicktime readline real rplay samba scanner sdk sdl
session sftplogging slang softmmu speex spell sse ssl stroke svga tcltk tcpd
threads tiff truetype truetype-fonts type1-fonts usb userlocales wmf xine
xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia
linguas_nl"
Unset:  LDFLAGS

------- Comment #1 From Roel Brook 2005-01-19 16:51:57 0000 -------
Created an attachment (id=49001) [edit]
Full build log

------- Comment #2 From Charles Goodwin 2005-01-20 05:35:56 0000 -------
Same here. :(

------- Comment #3 From Arthur I. 2005-01-20 07:59:55 0000 -------
me too .. ;(

------- Comment #4 From Andrew Gaydenko 2005-01-20 20:06:22 0000 -------
the same

------- Comment #5 From Lars Weiler (RETIRED) 2005-01-20 22:26:19 0000 -------
Add ~ppc to the list of architectures where it does not compile.

------- Comment #6 From Scott Taylor (RETIRED) 2005-01-22 01:47:59 0000 -------
Wild guess, everyone who had trouble building this was using a non-default
locale.
That was affecting the awk script that generates the header file. The fix:

LANG=C emake pth_p.h

------- Comment #7 From Fabio Coatti 2005-01-22 06:14:52 0000 -------
On my system this is not enough... may I suggest LC_ALL=C instead of LANG=C (or
possibly with LANG=C I'm no expert in Languages issues :)
with LC_ALL=C pth 2.0.3 compiles for me, otherwise it fails.
the default setting on my system for LC_ALL is it_IT.utf8

------- Comment #8 From Simone Piunno 2005-01-22 11:38:26 0000 -------
Created an attachment (id=49215) [edit]
pth-2.0.3-locale.diff

Fabio's fix works for me too, on amd64.
Here is the patch

------- Comment #9 From Daniel Black 2005-01-22 14:06:02 0000 -------
Basesystem/vapier - FYI another locale gawk problem.

Reporters with problems which verions of gawk were you using?

------- Comment #10 From Daniel Black 2005-01-22 14:15:35 0000 -------
Fabio, Simone - changed to LC_ALL=C LANG=C as you suggested.

------- Comment #11 From Fabio Coatti 2005-01-22 15:22:57 0000 -------
On my system:
cova@kefk ~ $ gawk --version
GNU Awk 3.1.4

------- Comment #12 From Roel Brook 2005-01-22 17:38:41 0000 -------
I'm using GNU Awk 3.1.4

------- Comment #13 From Andrew Gaydenko 2005-01-22 18:12:10 0000 -------
awk 3.1.4 too.

------- Comment #14 From SpanKY 2005-01-28 22:33:37 0000 -------
actually, i dont think this is a gawk bug ... the pth package uses
non-locale-portable character matching:
[a-zA-Z_][a-zA-Z0-9_]

[a-zA-Z] is known to be wrong ... it should use [:alpha:] since the order of
some alphabets is such that 'a' is not the first letter and 'z' is not the last
letter (see the estonian alphabet for a very good example of this)

------- Comment #15 From SpanKY 2005-01-28 22:53:51 0000 -------
well, maybe it is a gawk bug (see #78227) ... however, my previous statement
about gawk using [A-Z] still stands ... packages should never do that

------- Comment #16 From SpanKY 2005-01-28 23:00:38 0000 -------
can you guys try gawk-3.1.4-r1 and see if that works w/out screwing with LC_ALL
/ LANG ?

------- Comment #17 From Jean Bréfort 2005-01-30 00:12:58 0000 -------
It works for me, thanks a lot.

------- Comment #18 From Daniel Black 2005-02-09 02:18:38 0000 -------
removed - LC_ALL from pth ebuild

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