Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268926 - app-shell/zsh-4.3.9 gdbm dependency
Summary: app-shell/zsh-4.3.9 gdbm dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Torsten Veller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 11:17 UTC by Daniel
Modified: 2009-05-07 14:52 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 Daniel 2009-05-07 11:17:08 UTC
app-shell/zsh-4.3.9 won't compile w/o gdbm.
If I change USE="gdbm" the build & install goes fine.


Reproducible: Always

Steps to Reproduce:
1.USE="examples maildir pcre static unicode -caps -debug -doc -gdbm" emerge zsh

Actual Results:  
make[3]: Leaving directory `/tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9/Src/Builtins'                        
make[3]: Entering directory `/tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9/Src/Modules'                        
/usr/bin/gcc -c -I.  -DHAVE_CONFIG_H -O2 -march=native -pipe  -o clone.o clone.c                                  
echo '' clone.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp                                            
/usr/bin/gcc -c -I.  -DHAVE_CONFIG_H -O2 -march=native -pipe  -o datetime.o datetime.c                            
echo '' datetime.o | sed 's" " Modules/"g' >> ../../Src/stamp-modobjs.tmp                                         
/usr/bin/gcc -c -I.  -DHAVE_CONFIG_H -O2 -march=native -pipe  -o db_gdbm.o db_gdbm.c                              
db_gdbm.c:222:3: error: #error no gdbm                                                                            
db_gdbm.c:226: error: 'bintab' undeclared here (not in a function)                                                
make[3]: *** [db_gdbm.o] Error 1                                                                                  
make[3]: Leaving directory `/tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9/Src/Modules'                         
make[2]: *** [modobjs] Error 1                                                                                    
make[2]: Leaving directory `/tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9/Src'                                 
make[1]: *** [modobjs] Error 2                                                                                    
make[1]: Leaving directory `/tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9/Src'                                 
make: *** [all] Error 1                                                                                           
 *                                                                                                                
 * ERROR: app-shells/zsh-4.3.9 failed.                                                                            
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2541:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/app-shells/zsh-4.3.9/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-shells/zsh-4.3.9/temp/environment'.



Expected Results:  
To build & install static zsh w/o gdbm support.

############
emerge zsh -pv

[ebuild  N    ] app-shells/zsh-4.3.9  USE="examples maildir pcre static unicode -caps -debug -doc -gdbm" 0 kB

############

CPU=Intel Q6600
gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)

############

>>> Source unpacked in /tmp/portage/app-shells/zsh-4.3.9/work                                                     
>>> Compiling source in /tmp/portage/app-shells/zsh-4.3.9/work/zsh-4.3.9 ...                                      
 * econf: updating zsh-4.3.9/config.sub with /usr/share/gnuconfig/config.sub                                      
 * econf: updating zsh-4.3.9/config.guess with /usr/share/gnuconfig/config.guess                                  
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --libdir=/usr/lib64 --enable-etcdir=/etc/zsh --enable-fndir=/usr/share/zsh/4.3.9/functions --enable-site-fndir=/usr/share/zsh/site-functions --enable-function-subdirs --enable-ldflags=-Wl,-O1 -static --with-term-lib=ncursesw ncurses --with-tcsetpgrp --enable-maildir-support --enable-pcre --disable-cap --enable-multibyte --disable-gdbm --disable-dynamic


############
zsh configuration
-----------------
zsh version               : 4.3.9
host operating system     : x86_64-pc-linux-gnu
source code location      : .                  
compiler                  : /usr/bin/gcc       
preprocessor flags        :                    
executable compiler flags : -O2 -march=native -pipe
executable linker flags   : -Wl,-O1 -static        
library flags             : -L/usr/lib64 -lpcre -lncursesw -lm  -lc
installation basename     : zsh                                    
binary install path       : /bin                                   
man page install path     : /usr/share/man                         
info install path         : /usr/share/info                        
functions install path    : /usr/share/zsh/4.3.9/functions         

############
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-05-07 13:33:07 UTC
Fixed. Thanks.

I am not sure whether all the modules which we currently includ should be in the static zsh at all.
Comment 2 Daniel 2009-05-07 14:52:58 UTC
(In reply to comment #1)
> Fixed. Thanks.
 
Confirm. Thank you!


> I am not sure whether all the modules which we currently includ should be in
> the static zsh at all.

It should be up to the user when possible ("the gentoo way (tm)") :)