Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12683 - app-misc/screen-3.9.13-r3 failed to emerge
Summary: app-misc/screen-3.9.13-r3 failed to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael M Nazaroff (RETIRED)
URL:
Whiteboard:
Keywords:
: 12354 12741 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-25 03:28 UTC by Patrick Hsieh
Modified: 2003-02-04 19:42 UTC (History)
5 users (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 Patrick Hsieh 2002-12-25 03:28:01 UTC
<snip>
ansi.c: In function `PrintStart':
ansi.c:1528: `D_PO' undeclared (first use in this function)
ansi.c:1528: (Each undeclared identifier is reported only once
ansi.c:1528: for each function it appears in.)
ansi.c: In function `PrintFlush':
ansi.c:1587: `D_PO' undeclared (first use in this function)
ansi.c:1589: `D_PF' undeclared (first use in this function)
ansi.c: In function `WBell':
ansi.c:2781: `D_BL' undeclared (first use in this function)
ansi.c:2782: `D_VB' undeclared (first use in this function)
ansi.c: In function `WReverseVideo':
ansi.c:2810: `D_VB' undeclared (first use in this function)
make: *** [ansi.o] Error 1
make: *** Waiting for unfinished jobs....
screen.c: In function `serv_select_fn':
screen.c:2745: `D_VB' undeclared (first use in this function)
screen.c:2745: (Each undeclared identifier is reported only once
screen.c:2745: for each function it appears in.)
make: *** [screen.o] Error 1

!!! ERROR: app-misc/screen-3.9.13-r3 failed.
!!! Function src_compile, Line -219, Exitcode 2
!!! Failed to compile
<snip>



system infomation:
--------------------
gcc-3.2.1
kernel 2.4.19-gentoo-r10

make.conf
-----------
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
CHOST='i686-pc-linux-gnu'
CFLAGS='-march=pentium4 -O3 -pipe'
CXXFLAGS='-march=pentium4 -O3 -pipe'
GENTOO_MIRRORS="ftp://mdk.linux.org.tw/pub/gentoo"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-12-26 16:28:53 UTC
*** Bug 12741 has been marked as a duplicate of this bug. ***
Comment 2 Jeffrey Yasskin 2003-01-06 01:25:26 UTC
me too: I get the same compilation errors.

system infomation:
--------------------
gcc-3.2.1
glibc-2.3.1-r2
kernel 2.4.19-gentoo-r10

make.conf
-----------
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -funroll-loops" and just
"-pipe"
CXXFLAGS="${CFLAGS}"
Comment 3 Jeffrey Yasskin 2003-01-06 01:36:35 UTC
Sorry for the spam. I did some more checking, and screen-3.9.11-r3 won't emerge
(with the same errors) even though I currently have it installed. The things
that have changed include gcc 3.2->3.2.1 and the glibc upgrade, although that's
by no means complete. 
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-01-15 10:19:38 UTC
I believe I've fixed this problem now.  Please resync and give it a try.  You
can reopen this bug if it's still broken for you.

Aron
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-01-15 10:57:00 UTC
*** Bug 12354 has been marked as a duplicate of this bug. ***
Comment 6 Miguel Sousa Filipe 2003-01-15 12:24:50 UTC
OKAY.. BIG NEWS.. it merges now!
j2@freenode found the problem.. it was LC_ALL setting problem..
LC_ALL was "" in my machine..
setting it to "POSIX" fixed the problem.. screen merge just fine.
setting to pt_PT (my locale, i'm portuguese) didn't fix, and emerge screen still
failed... however.. this semed to be a problem with portage itselft and with the
way it handles gcc, make and palls..
since..
LC_ALL="pt_PT" ./configure && make works fine according to j2@freenode.

big thanks to j2@freenode here.. since he fixed the problem for me! ;-)

also.. I will not close this bug until some gentoo developer confirms if there
is some bug with handling locales, and also, screen should build just fine with
LC_ALL="pt_PT" under portage.

Miguel Filipe (aka m3thos)
Comment 7 Patrick Hsieh 2003-01-15 18:43:30 UTC
It just merged in my system.
I just "emerge sync;emerge -u world"
and app-misc/screen-3.9.13-r3 merged.

BTW, my LC_ALL value is "zh_TW.Big5"

I think this bug might be resolved. Thanks men! You're doing a good job!! :-)
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2003-01-15 21:31:55 UTC
> LC_ALL="pt_PT" ./configure && make works fine according to j2@freenode

Miguel and j2, this line doesn't demonstrate what you might think.  The
environment setting only applies to the configure command, not to the make.  The
problematic file "term.h" is created during the make process.  Hopefully the
header file fixup in the ebuild solves the problem equally, though.

Aron
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2003-01-16 09:54:01 UTC
I've just fixed this problem again.  Turns out that the awk solution caused
problems at run-time.  Hopefully this new solution (which really comes from j2)
will work better.

Aron