Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10733 - cannot emerge mysql-3.23.52-r1
Summary: cannot emerge mysql-3.23.52-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Highest normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 06:45 UTC by Jan Wuyts
Modified: 2006-02-04 06:03 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 Jan Wuyts 2002-11-14 06:45:24 UTC
When I try to emerge mysql, portage stop with the message

Makefile:17654: warning: NUL character seen; rest of line ignored
make[3]: Nothing to be done for `install-exec-am'.
for lang in czech danish dutch english estonian french german greek hungarian
italian japanese korean norwegian norwegian-ny polish portuguese romanian
russian slovak spanish swedish ukrainian
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[3]: *** [install-data-local] Error 2
make[3]: Leaving directory
`/var/tmp/portage/mysql-3.23.52-r1/work/mysql-3.23.52/sql/share'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/mysql-3.23.52-r1/work/mysql-3.23.52/sql/share'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mysql-3.23.52-r1/work/mysql-3.23.52/sql'
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 1, Exitcode 2
!!! (no error message)

(the first line here is the last in a long list of identical lines, only the
line numbers are different (they ascent by 1))

emerge info gives me:

Portage 2.0.43 (default-ppc-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r6,2.2.5-r7)
=================================================================
System uname: 2.4.19-r6 ppc
USE="oss dvd xv libwww nls mitshm qt kde ppc gnome-libs gdbm berkdb slang
readline bonobo java guile mysql postgres X sdl tcpd esd oggvorbis gnome gtk
motif opengl mozilla gtkhtml tcltk imlib ncurses gif jpeg png tiff ssl pam crypt
socks5 truetype freetype xml xml2 pdflib perl python samba afs gpm dga"
ARCH="ppc"
COMPILER=""
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
CXXFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
ACCEPT_KEYWORDS="ppc"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

it's rather annoying since it stops my emerge -u world

Greetings,

Jan.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-11-14 14:33:06 UTC
try removing the nls use var... and please tell me if that fixes the problem.
Comment 2 Jan Wuyts 2002-11-18 05:53:43 UTC
I removed the nls USE variable (by export USE="-nls") but this has no effect,
the problem remains. (and it still mentions all the languages in the error message)
I also updated portage to 2.0.44 but this also has no effect.
Comment 3 Thomas R. (TRauMa) 2002-11-30 10:54:42 UTC
Funny, got this one, same ebuild:
- --  - - - - - - -- 
 i686-pc-linux-gnu-g++ -DMYSQL_SERVER                    -
DDEFAULT_MYSQL_HOME="\"/usr\""                         -
DDATADIR="\"/var/lib/mysql\""                 -
DSHAREDIR="\"/usr/share/mysql\""                        -DHAVE_CONFIG_H -
I./../include                  -I./../regex                    -I. -
I../include -I.. -I.    -O3 -DDBUG_OFF -march=athlon  -pipe -fomit-frame-
pointer -falign-functions=4 -O3 -felide-constructors -fno-exceptions -fno-
rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -c mysqld.cc
/usr/local/include/tcpd.h: In function `void* handle_connections_sockets
(void*)':
/usr/local/include/tcpd.h:135: too many arguments to function `void sock_host()'
mysqld.cc:2444: at this point in file
/usr/local/include/tcpd.h:73: too many arguments to function `int hosts_access
()'
mysqld.cc:2445: at this point in file
/usr/local/include/tcpd.h:128: too many arguments to function `char* eval_client
()'
mysqld.cc:2453: at this point in file
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.52-r1/work/mysql-
3.23.52/sql'
- - - - - - - -
If this isn't the first version to include tcpd.h, I don't understand why the 
forme ebuilds worked with this header. Alas, I tried it 3 times now and it 
always breaks at this location.

ebuild info:
- - - -  - - - - -- - -
Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r7 i686 AMD Duron(tm) processor
USE="x86 zlib mmx 3dnow -sse -3dfx -matrox -voodoo3 apm -pcmcia nocardbus -pnp -
trusted -pda -gphoto2 -cups -slp X dga opengl xv -fbcon -directfb -arts esd 
alsa -mikmod oss -nas -kde qt -qtmt -gnome gtk gtk2 bonobo -evo -gb gtkhtml -
motif tcltk -aalib imlib ncurses -readline sdl -svga lcms gif jpeg png tiff avi 
mpeg quicktime -ggi dvd xmms oggvorbis flash encode -ipv6 -snmp ggz pam ssl 
crypt socks5 imap -ldap tcpd -xface mozilla -mozaccess-builtin mozctl -mozirc -
mozxmlterm mozsvg spell truetype xml xml2 pdflib -plotutils tetex guile java 
perl python -ruby slang libg++ libwww atlas pic -berkdb -mysql -postgres -odbc -
innodb gd gdbm -acl -afs samba -nls -doc gpm -zoe"
ARCH="x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

Comment 4 Thomas R. (TRauMa) 2002-11-30 11:23:18 UTC
:-| Sorry for the spam.

For everyone, who encounters this too:

emerge rsync
emerge tcpd-wrappers

fixes it.

Perhaps it would be good to add a recent depedancy.
Comment 5 Mark Guertin 2002-12-02 09:42:53 UTC
Hmm afaik that is attached to a USE flag and should have pulled in if you have
that USE setup.  rphillips: any thoughts? sounds valid to me
Comment 6 Jan Wuyts 2002-12-02 12:40:58 UTC
Aren't we mixing 2 bugs under 1 bug# now? TRauMa's bugs looks like something 
completely different from my original post, no? Or are they somehow related?
I think I will try an emerge -e world sometime later this week, I have never 
done that (since install 6 months ago) and my use variable has been changed a 
few times. Who knows... I'll keep you updated.
Greeting,  Jan.
Comment 7 Mark Guertin 2002-12-12 11:28:24 UTC
Tossing this back to bug-wranglers to get some attention
Comment 8 Jan Wuyts 2002-12-13 02:40:17 UTC
OK, I tried 'emerge -e world' but this bailed out on gcc-2.95.3-r7 with the message
-------------------------
Bootstrapping the compiler
make[1]: Entering directory `/var/tmp/portage/gcc-2.95.3-r7/work/gcc-2.95.3/gcc'
make[1]: *** No rule to make target `bootstrap-lean'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r7/work/gcc-2.95.3/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-2.95.3-r7 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
-------------------------
although gcc-2.95.3-r7 in the version currently installed (from source). It
seems to have problems compiling itself.
I have currently no time to investigate this further

Greetings,

Jan.
Comment 9 Donny Davies (RETIRED) gentoo-dev 2002-12-16 10:43:02 UTC
hi can you please try 3.23.54 and tell me if you're still having
this problem?

emerge latest tcp_wrappers and then mysql.

Comment 10 Jan Wuyts 2002-12-16 15:41:32 UTC
yes, I also have the problem with 3.23.54
I redirected the output of emerge to 2 files:
the error "Makefile:17691: warning: NUL character seen; rest of line ignored" is
given for lines 361 to 17691 and this complete chunk is repeated 3 times.
between chunks 1 and 2 is the comment
---
Symbols: 313  Functions: 123;  Total: 436
Shifts per char: 1,  Array size: 4999
mkdir /var/tmp/portage/mysql-3.23.54/image/usr
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/include
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/include/mysql
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/share
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/share/info
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/lib
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/lib/mysql
libtool: install: warning: remember to run `libtool --finish /usr/lib/mysql'
libtool: install: warning: remember to run `libtool --finish /usr/lib/mysql'
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/bin
mkdir /var/tmp/portage/mysql-3.23.54/image/usr/share/mysql
---
and after the last chunk is
---
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[3]: *** [install-data-local] Error 2
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

!!! ERROR: dev-db/mysql-3.23.54 failed.
!!! Function src_install, Line 98, Exitcode 2
!!! (no error message)
---
I think something must be wrong with the configure script because if I list all
the makefiles (with "find ./ -name Makefile | xargs ls -l"), I get:
---
-rw-r--r--    1 root     root        19041 Dec 16 21:33
./work/mysql-3.23.54/Docs/Makefile
-rw-r--r--    1 root     root        20877 Dec 16 21:32
./work/mysql-3.23.54/Makefile
-rw-r--r--    1 root     root         1925 Dec 16 21:32
./work/mysql-3.23.54/bdb/Makefile
-rw-r--r--    1 root     root        32083 Dec 16 21:32
./work/mysql-3.23.54/bdb/build_unix/Makefile
-rw-r--r--    1 root     root        22277 Dec 16 21:32
./work/mysql-3.23.54/client/Makefile
-rw-r--r--    1 root     root        16130 Dec 16 21:33
./work/mysql-3.23.54/dbug/Makefile
-rw-r--r--    1 root     root        18040 Dec 16 21:32
./work/mysql-3.23.54/extra/Makefile
-rw-r--r--    1 root     root        18499 Dec 16 21:32
./work/mysql-3.23.54/heap/Makefile
-rw-r--r--    1 root     root        14974 Dec 16 21:33
./work/mysql-3.23.54/include/Makefile
-rw-r--r--    1 root     root        21518 Dec 16 21:32
./work/mysql-3.23.54/isam/Makefile
-rw-r--r--    1 root     root        22748 Dec 16 21:32
./work/mysql-3.23.54/libmysql/Makefile
-rw-r--r--    1 root     root        20466 Dec 16 21:32
./work/mysql-3.23.54/libmysql_r/Makefile
-rw-r--r--    1 root     root        12957 Dec 16 21:32
./work/mysql-3.23.54/man/Makefile
-rw-r--r--    1 root     root        16097 Dec 16 21:33
./work/mysql-3.23.54/merge/Makefile
-rw-r--r--    1 root     root        27880 Dec 16 21:32
./work/mysql-3.23.54/myisam/Makefile
-rw-r--r--    1 root     root        16983 Dec 16 21:32
./work/mysql-3.23.54/myisammrg/Makefile
-rw-r--r--    1 root     root        14094 Dec 16 21:33
./work/mysql-3.23.54/mysql-test/Makefile
-rw-r--r--    1 root     root        26431 Dec 16 21:32
./work/mysql-3.23.54/mysys/Makefile
-rw-r--r--    1 root     root        15857 Dec 16 21:32
./work/mysql-3.23.54/os2/Makefile
-rw-r--r--    1 root     root        15607 Dec 16 21:32
./work/mysql-3.23.54/os2/include/Makefile
-rw-r--r--    1 root     root        11282 Dec 16 21:32
./work/mysql-3.23.54/os2/include/sys/Makefile
-rw-r--r--    1 root     root        17043 Dec 16 21:32
./work/mysql-3.23.54/readline/Makefile
-rw-r--r--    1 root     root        15753 Dec 16 21:32
./work/mysql-3.23.54/regex/Makefile
-rw-r--r--    1 root     root        16849 Dec 16 21:33
./work/mysql-3.23.54/scripts/Makefile
-rw-r--r--    1 root     root        15347 Dec 16 21:33
./work/mysql-3.23.54/sql-bench/Makefile
-rw-r--r--    1 root     root        30252 Dec 16 21:32
./work/mysql-3.23.54/sql/Makefile
-rw-r--r--    1 root     root     55455310 Dec 16 21:33
./work/mysql-3.23.54/sql/share/Makefile
-rw-r--r--    1 root     root        23672 Dec 16 21:32
./work/mysql-3.23.54/strings/Makefile
-rw-r--r--    1 root     root        16496 Dec 16 21:33
./work/mysql-3.23.54/support-files/Makefile
-rw-r--r--    1 root     root        11560 Dec 16 21:33
./work/mysql-3.23.54/tests/Makefile
---
Look at the 4th last: it's 55 MB !

Sorry for the long post,
Greetings,

Jan.
Comment 11 Donny Davies (RETIRED) gentoo-dev 2002-12-16 21:30:01 UTC
i really have no idea whats going on here.  looks like maybe a locale
setting thing or either your toolchain is messed up or maybe your
compiler options are too freaky on your system.

do you use a different language than english?  by maybe setting
some environment variables like LANG with the LOCALE stuff?

if none of this gives you any ideas, im, afraid im out of suggestions :\
Comment 12 Jan Wuyts 2002-12-17 10:35:39 UTC
OK, I have it working !!! at last
it was the same problem as in BUG #10565: sed version 4 behaves unexpectedly so
I had to downgrade it to the latest version 3
Greetings,

Jan.