Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111211 - stable dev-util/cook-2.24, dump 2.20 (broken)
Summary: stable dev-util/cook-2.24, dump 2.20 (broken)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 00:03 UTC by wang meng jia
Modified: 2007-01-23 18:29 UTC (History)
1 user (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 wang meng jia 2005-11-02 00:03:17 UTC
seems the package cook-2.20 's problem ?

but why choose cook-2.20 ? there's cook-2.24 but in cook-2.24.ebuild 

KEYWORDS="~x86 ~sparc ~ppc" 





Reproducible: Always
Steps to Reproduce:
1.emerge dev-util/cook
2.
3.

Actual Results:  
compile cook-2.20 failure!

Expected Results:  
why can' use cook-2.24?

sorry for my poor english. 

i am a chinese, i like gentoo ! 

thanks very much!
Comment 1 wang meng jia 2005-11-02 00:35:31 UTC
this afternoon i resolve this problem .

i modify this line in /usr/portage/dev-util/cook/cook-2.24.ebuild

KEYWORDS="~x86 ~sparc ~ppc"  => KEYWORDS="x86 ~sparc ~ppc"

then modify Manifest and make sure the md5/size of cook-2.24.ebuild is correct!

and then retry : emerge dev-util/cook

then OK!

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-02 00:44:10 UTC
We need actual error messages and 'emerge --info' output.
Comment 3 wang meng jia 2005-11-02 17:36:24 UTC
i am sorry . here 's the info.

localhost cook # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode
foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++
libwww mad mikmod mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib
perl png python qt quicktime
readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 wang meng jia 2005-11-02 17:51:05 UTC
the actual error message is compile error in cook-2.20:

gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c
cook/hashline.gen.c
mv hashline.gen.o cook/hashline.gen.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id.c
mv id.o cook/id.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/builtin.c
mv builtin.o cook/id/builtin.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/function.c
mv function.o cook/id/function.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/global.c
mv global.o cook/id/global.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/nothing.c
mv nothing.o cook/id/nothing.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/private.c
mv private.o cook/id/private.o
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/id/variable.c
mv variable.o cook/id/variable.o
Expect no conflicts:
bison -y -d cook/parse.y
sed -e 's/[yY][yY]/parse_/g' -e '/<stdio.h>/d' -e \
'/<stdlib.h>/d' -e '/<stddef.h>/d' y.tab.c > \
        cook/parse.gen.c
sed -e 's/[yY][yY]/parse_/g' -e 's/Y_TAB_H/parse_TAB_H/g' \
y.tab.h > cook/parse.gen.h
rm y.tab.c y.tab.h
gcc -Icook -Icommon  -O2 -mcpu=i686 -fomit-frame-pointer -c cook/lex.c
In file included from cook/lex.c:53:
cook/hashline.gen.h:32: error: syntax error before numeric constant
make: *** [cook/lex.o] Error 1

!!! ERROR: dev-util/cook-2.20 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-11-03 06:07:41 UTC
You forgot to reopen... 
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-01-22 20:16:21 UTC
Arch teams please stable dev-util/cook-2.24
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-01-22 21:31:09 UTC
x86 stable
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-23 13:48:27 UTC
sparc stable.
Comment 9 nixnut (RETIRED) gentoo-dev 2007-01-23 18:29:13 UTC
Stable on ppc, closing since we're last to stable