Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24974 - gawk 3.1.3 upgrade problem
Summary: gawk 3.1.3 upgrade problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-21 09:21 UTC by Ali Tekin
Modified: 2003-07-21 10:36 UTC (History)
0 users

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 Ali Tekin 2003-07-21 09:21:19 UTC
I cannot upgrage gawk from 3.1.2-r3 to 3.1.3

Reproducible: Always
Steps to Reproduce:
1. # emerge -p gawk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    U ] sys-apps/gawk-3.1.3 [3.1.2-r3]


2.Oki doki, then 
#emerge gawk 
cp ./eg/prog/igawk.sh igawk ; chmod 755 igawk
(cd ./eg/lib ; \
sed 's;/usr/local/libexec/awk;/usr/lib/awk/awk;' < passwdawk.in) > passwd.awk
(cd ./eg/lib ; \
sed 's;/usr/local/libexec/awk;/usr/lib/awk/awk;' < groupawk.in) > group.awk
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/awklib'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/doc'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/po'
Making all in test
make[2]: Entering directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/test'
make[1]: Leaving directory `/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3'
 * Building filefuncs module ...
gcc -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC
-I/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3 filefuncs.c
filefuncs.c:371:12: warning: null character(s) ignored
filefuncs.c:371:12: warning: no newline at end of file
filefuncs.c: In function `do_stat':
filefuncs.c:371: `apt' undeclared (first use in this function)
filefuncs.c:371: (Each undeclared identifier is reported only once
filefuncs.c:371: for each function it appears in.)
filefuncs.c:371: parse error at end of input
filefuncs.c:322: warning: unused variable `type'
filefuncs.c:321: warning: unused variable `pmode'
filefuncs.c:54: warning: `do_chdir' defined but not used
filefuncs.c:85: warning: `do_symlink' defined but not used
filefuncs.c:118: warning: `do_unlink' defined but not used
filefuncs.c:148: warning: `do_mkdir' defined but not used
filefuncs.c:181: warning: `do_rmdir' defined but not used
filefuncs.c:211: warning: `format_mode' defined but not used
filefuncs.c:315: warning: `do_stat' defined but not used
make: *** [filefuncs.o] Error 1

!!! ERROR: sys-apps/gawk-3.1.3 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)

3.

Actual Results:  
I just could not upgrade gawk.

Expected Results:  
It should upgrade the gawk.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 09:29:23 UTC
please provide
#emerge info

also try #revdep-rebuild
from gentoolkit

and emerge -puD gawk
Comment 2 Ali Tekin 2003-07-21 10:05:25 UTC
# emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r3 i686 AMD Athlon(tm) XP 1600+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm slang readline svga java guile X sdl gpm tcpd pam ssl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr aalib -arts -berkdb dga directfb emacs -gnome -kde -nls perl sse xml freetype -matrox -gtk2 -snmp tcltk tiff -alsa nptl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -fomit-frame-pointer -Wall -funroll-loops"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -fomit-frame-pointer -Wall -funroll-loops"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


# revdep-rebuild

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot --nodeps  =dev-libs/DirectFB-0.9.17 =gnome-base/gnome-libs-1.4.2 =media-libs/gdk-pixbuf-0.21.0 =gnome-base/control-center-1.4.0.5-r1 =media-libs/libsdl-1.2.5-r2 =media-libs/libdv-0.99 =media-libs/xine-lib-1_beta12 =media-sound/mad-0.14.2b-r2 
....

I do not want gnome-libs and control center to be installed at the present time.  I cancelled the process. And I do not think these also related to gawk. I might be wrong of course :)



# emerge -puD gawk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    UD] dev-lang/tcl-8.3.4 [8.4.2] 
[ebuild    UD] sys-apps/miscfiles-1.3-r1 [1.3-r2] 
[ebuild    UD] dev-lang/tk-8.3.4-r1 [8.4.2] 
[ebuild    U ] sys-apps/gawk-3.1.3 [3.1.2-r3] 

Comment 3 Ali Tekin 2003-07-21 10:15:08 UTC
It is so strange that:

# pwd
/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3/extension

# gcc -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I/var/tmp/portage/gawk-3.1.3/work/gawk-3.1.3 filefuncs.c

is correctly working.

# ls
Makefile.pc  filefuncs.c  ordchr.c    testarrayparm.awk
arrayparm.c  filefuncs.o  pcext.def   testff.awk
dl.c         foo.awk      readfile.c  testfork.awk
doit         fork.c       steps       testordchr.awk

Comment 4 Ali Tekin 2003-07-21 10:35:17 UTC
Ok. I have found the problem. The following file

/usr/portage/sys-apps/gawk/files/filefuncs/filefuncs.c

was broken in portage tree. emerge rsync should correct it, but not. Because I resynced before for this problem. This time I have deleted the file then rersynced. It is working now.

Thanks for your time and, sorry for all this long posts and your time.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 10:36:53 UTC
fixed, rsync issue