Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 167105

Summary: dev-libs/judy-1.0.1 fails to build - no rule to make target JudyLCount.lo
Product: Gentoo Linux Reporter: Stephen Torri <storri>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen Torri 2007-02-15 19:53:44 UTC
Attempted to build Judy 1.0.1 but it fails to build the JudyLCount.c file in order to make the target JudyLCount.lo to satisfy libJudyL.la.

Reproducible: Always

Steps to Reproduce:
1. emerge -av judy

Actual Results:  
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../JudyCommon/    -DJUDYL   -UJU_64BIT -O2 -march=pentium4 -pipe -MT JudyLTables.lo -MD -MP -MF ".deps/JudyLTables.Tpo" -c -o JudyLTables.lo JudyLTables.c; \
        then mv -f ".deps/JudyLTables.Tpo" ".deps/JudyLTables.Plo"; else rm -f ".deps/JudyLTables.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../JudyCommon/ -DJUDYL -UJU_64BIT -O2 -march=pentium4 -pipe -MT JudyLTables.lo -MD -MP -MF .deps/JudyLTables.Tpo -c JudyLTables.c  -fPIC -DPIC -o .libs/JudyLTables.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../JudyCommon/ -DJUDYL -UJU_64BIT -O2 -march=pentium4 -pipe -MT JudyLTables.lo -MD -MP -MF .deps/JudyLTables.Tpo -c JudyLTables.c -o JudyLTables.o >/dev/null 2>&1
make[3]: *** No rule to make target `JudyLCount.lo', needed by `libJudyL.la'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/dev-libs/judy-1.0.1/work/Judy-1.0.1/src/JudyL'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/judy-1.0.1/work/Judy-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/judy-1.0.1/work/Judy-1.0.1'
make: *** [all] Error 2

!!! ERROR: dev-libs/judy-1.0.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2963:   Called src_compile
  judy-1.0.1.ebuild, line 23:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/dev-libs:judy-1.0.1:20070215-193622.log'.


Expected Results:  
Judy to build

Steps I took to manual build it after untarring the file:

1. Edited bootstrap to replaced specific call to autotools with generic (e.g. autoconf2.50 to autoconf)

2. Ran ./configure --enable-32-bit (To install to /usr/local/)

3. make (fails)

4. make (fails but gets farther)

5. make (successfully builds)

It appears that the "copies" make target that they use is well broke. It does not guarantee to work. That is atleast a theory. The general choice of the programming language has hamstrung the programmer into using such a build system.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-15 21:32:02 UTC

*** This bug has been marked as a duplicate of bug 151934 ***