Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66140 - ebuild of loki_patch fails unable to find md5.h (provided by loki_setupdb?)
Summary: ebuild of loki_patch fails unable to find md5.h (provided by loki_setupdb?)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-02 10:36 UTC by Larry Kopenkoskey
Modified: 2004-10-06 12:38 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 Larry Kopenkoskey 2004-10-02 10:36:31 UTC
When I emerged loki_patch; The following was sucessfully emerged to satisfy loki_patch 's  dependencies:
dev-libs/libxml-1.8.17-r2 ,  games-util/loki_setupdb-20040916 , dev-util/xdelta-1.1.3 .

Then when loki_patch emerged there was a sed parsing error, followed by an inabiliey to find md5.h (which could be provided by loki_setupdb?).

turtle root # emerge loki_patch
Calculating dependencies ...done!
>>> emerge (1 of 1) games-util/loki_patch-20040916 to /
--- No package manifest found: /usr/portage/games-util/loki_patch/Manifest
>>> md5 src_uri ;-) loki_patch-20040916.tar.bz2
>>> Unpacking source...
>>> Unpacking loki_patch-20040916.tar.bz2 to /var/tmp/portage/loki_patch-20040916/work
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe ) works... yes
checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for xml-config... /usr/bin/xml-config
SetupDB library found in /usr/share/loki_setupdb/x86
updating cache ./config.cache
creating ./config.status
creating Makefile
sed: -e expression #2, char 1: Unknown command: `-'
gcc -g -Wall -I../loki_setupdb -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -DVERSION=\"1.0.2\"   -c -o make_patch.o make_patch.c
gcc -g -Wall -I../loki_setupdb -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -DVERSION=\"1.0.2\"   -c -o tree_patch.o tree_patch.c
gcc -g -Wall -I../loki_setupdb -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -DVERSION=\"1.0.2\"   -c -o save_patch.o save_patch.c
In file included from make_patch.c:8:
loki_patch.h:3:17: md5.h: No such file or directory
In file included from make_patch.c:8:
loki_patch.h:47: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:75: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:77: error: `CHECKSUM_SIZE' undeclared here (not in a function)
In file included from make_patch.c:12:
log_output.h:12: warning: conflicting types for built-in function `log'
gcc -g -Wall -I../loki_setupdb -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -DVERSION=\"1.0.2\"   -c -o load_patch.o load_patch.c
make: *** [make_patch.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from tree_patch.c:14:
loki_patch.h:3:17: md5.h: No such file or directory
In file included from tree_patch.c:14:
loki_patch.h:47: error: `CHECKSUM_SIZE' undeclared here (not in a function)
In file included from save_patch.c:4:
loki_patch.h:3:17: md5.h: No such file or directory
In file included from save_patch.c:4:
loki_patch.h:47: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:75: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:77: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:75: error: `CHECKSUM_SIZE' undeclared here (not in a function)
loki_patch.h:77: error: `CHECKSUM_SIZE' undeclared here (not in a function)
tree_patch.c:19:17: md5.h: No such file or directory
In file included from tree_patch.c:20:
log_output.h:12: warning: conflicting types for built-in function `log'
tree_patch.c: In function `tree_add_file':
tree_patch.c:365: warning: implicit declaration of function `md5_compute'
tree_patch.c: In function `tree_patch_file':
tree_patch.c:476: error: `CHECKSUM_SIZE' undeclared (first use in this function)
tree_patch.c:476: error: (Each undeclared identifier is reported only once
tree_patch.c:476: error: for each function it appears in.)
make: *** [save_patch.o] Error 1

!!! ERROR: games-util/loki_patch-20040916 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! emake failed

tree_patch.c:476: warning: unused variable `oldsum'
tree_patch.c:477: warning: unused variable `newsum'


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




turtle root # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://lug.mtu.edu/gentoo-portage"
USE="3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvdr
encode esd foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 imlib java jpeg kde
libg++ libwww mad mikmod mmx mmxext motif mozilla mpeg ncurses oggvorbis opengl
oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang
spell sse ssl svga tcpd tiff truetype usb wmf x86 xml2 xmms xprint xv zlib"
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-04 14:30:09 UTC
emerge sync and try again... you shouldn't be getting the sed error, which is causing the second error.

Also, can you post the ebuild as an attachment if it fails again?
Comment 2 Larry Kopenkoskey 2004-10-06 10:20:11 UTC
I "emerge sync" 'ed and "emerge loki_patch" 'ed.  It works now.  Don't know why it didn't before...  Sorry to post this non-bug.  For my information; was sed parsing the ebuild, or some portion of the loki_patch makefile?

Thanks.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-06 12:38:11 UTC
The Makefile