Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108623 - problem after emerging app-text/htp
Summary: problem after emerging app-text/htp
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-09 10:50 UTC by Dirk Schoenberger
Modified: 2008-08-02 08:13 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 Dirk Schoenberger 2005-10-09 10:50:57 UTC
while trying to emerge htp-1.15 I ran into the following problem

>>> Unpacking htp-1.15.tar.gz to /var/tmp/portage/htp-1.15/work
missing header for unified diff at line 1 of patch
(Patch is indented 16 spaces.)
patching file /var/tmp/portage/htp-1.15/work/htp-1.15/src/misc-proc.c
>>> Source unpacked.
echo '#define VER_STRING "1.15"' > version.inc
echo '#define PROGRAM_NAME "htp"' >> version.inc
gcc -c -O2 -pipe -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1 -ohtp.o htp.c
gcc -c -O2 -pipe -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1 -obool-proc.o 
bool-proc.c
In file included from htp.h:119,
                 from defs.h:17,
                 from bool-proc.h:17,
                 from bool-proc.c:15:
streams.h:30: error: parse error before 'ulong'
streams.h:30: warning: no semicolon at end of struct or union
streams.h:31: warning: data definition has no type or storage class
streams.h:32: warning: data definition has no type or storage class
streams.h:42: error: parse error before 'STREAMBUFFER'
streams.h:42: warning: no semicolon at end of struct or union
streams.h:42: warning: no semicolon at end of struct or union
streams.h:43: warning: data definition has no type or storage class
streams.h:44: error: parse error before '}' token
streams.h:44: warning: data definition has no type or storage class
streams.h:46: error: parse error before '*' token
streams.h:47: error: parse error before '*' token
streams.h:48: error: parse error before '*' token
streams.h:49: error: parse error before '*' token
streams.h:50: error: parse error before '*' token
streams.h:51: error: parse error before '*' token
streams.h:52: error: parse error before '*' token
streams.h:53: error: parse error before '*' token
streams.h:56: error: parse error before '*' token
streams.h:57: error: parse error before '*' token
streams.h:58: error: parse error before '*' token
streams.h:60: error: parse error before '*' token
streams.h:61: error: parse error before '*' token
streams.h:63: error: parse error before '*' token
In file included from htp.h:121,
                 from defs.h:17,
                 from bool-proc.h:17,
                 from bool-proc.c:15:
msg.h:31: error: parse error before 'STREAM'
In file included from htp.h:119,
                 from defs.h:17,
                 from htp.c:14:
streams.h:30: error: parse error before 'ulong'
streams.h:30: warning: no semicolon at end of struct or union
streams.h:31: warning: data definition has no type or storage class
streams.h:32: warning: data definition has no type or storage class
streams.h:42: error: parse error before 'STREAMBUFFER'
streams.h:42: warning: no semicolon at end of struct or union
streams.h:42: warning: no semicolon at end of struct or union
streams.h:43: warning: data definition has no type or storage class
streams.h:44: error: parse error before '}' token
streams.h:44: warning: data definition has no type or storage class
streams.h:46: error: parse error before '*' token
streams.h:47: error: parse error before '*' token
streams.h:48: error: parse error before '*' token
streams.h:49: error: parse error before '*' token
streams.h:50: error: parse error before '*' token
streams.h:51: error: parse error before '*' token
streams.h:52: error: parse error before '*' token
streams.h:53: error: parse error before '*' token
streams.h:56: error: parse error before '*' token
streams.h:57: error: parse error before '*' token
streams.h:58: error: parse error before '*' token
streams.h:60: error: parse error before '*' token
streams.h:61: error: parse error before '*' token
streams.h:63: error: parse error before '*' token
In file included from htp.h:121,
                 from defs.h:17,
                 from htp.c:14:
msg.h:31: error: parse error before 'STREAM'
In file included from htp.c:14:
defs.h:89: error: parse error before 'STREAM'
defs.h:89: warning: no semicolon at end of struct or union
defs.h:90: warning: data definition has no type or storage class
defs.h:95: error: parse error before '}' token
defs.h:95: warning: data definition has no type or storage class
defs.h:100: error: parse error before '*' token
defs.h:118: error: parse error before '*' token
defs.h:119: error: parse error before 'ulong'
In file included from htp.c:16:
htp-files.h:50: error: parse error before '*' token
In file included from htp.c:17:
macro.h:19: error: parse error before '*' token
macro.h:23: error: parse error before '*' token
macro.h:27: error: parse error before '*' token
macro.h:29: error: parse error before '*' token
In file included from htp.c:18:
option.h:53: error: parse error before '*' token
option.h:54: error: parse error before '*' token
htp.c:30: error: parse error before '*' token
htp.c: In function 'ProcessTask':
htp.c:43: error: 'task' undeclared (first use in this function)
htp.c:43: error: (Each undeclared identifier is reported only once
htp.c:43: error: for each function it appears in.)
htp.c: In function 'ProcessFileByName':
htp.c:126: error: parse error before 'infile'
htp.c:188: error: 'infile' undeclared (first use in this function)
htp.c:208: error: 'task' undeclared (first use in this function)
htp.c:257: error: request for member 'name' in something not a structure or union
htp.c:262: error: request for member 'name' in something not a structure or union
htp.c: In function 'ProcessDefaultFile':
htp.c:288: error: parse error before 'defTask'
htp.c:293: error: 'infile' undeclared (first use in this function)
htp.c:305: error: 'defTask' undeclared (first use in this function)
htp.c: In function 'ProcessResponseFile':
htp.c:327: error: parse error before 'respfile'
htp.c:365: error: 'respfile' undeclared (first use in this function)
In file included from bool-proc.h:17,
                 from bool-proc.c:15:
defs.h:89: error: parse error before 'STREAM'
defs.h:89: warning: no semicolon at end of struct or union
defs.h:90: warning: data definition has no type or storage class
defs.h:95: error: parse error before '}' token
defs.h:95: warning: data definition has no type or storage class
defs.h:100: error: parse error before '*' token
defs.h:118: error: parse error before '*' token
defs.h:119: error: parse error before 'ulong'
In file included from bool-proc.c:15:
bool-proc.h:19: error: parse error before '*' token
In file included from bool-proc.c:18:
htp-files.h:50: error: parse error before '*' token
bool-proc.c:21: error: parse error before '*' token
bool-proc.c: In function 'EvaluateIfTag':
bool-proc.c:31: error: 'htmlMarkup' undeclared (first use in this function)
bool-proc.c:31: error: (Each undeclared identifier is reported only once
bool-proc.c:31: error: for each function it appears in.)
bool-proc.c:36: error: 'task' undeclared (first use in this function)
bool-proc.c: At top level:
bool-proc.c:78: error: parse error before '*' token
bool-proc.c: In function 'DiscardConditionalBlock':
bool-proc.c:90: error: 'task' undeclared (first use in this function)
bool-proc.c:120: error: 'takeElseBlock' undeclared (first use in this function)
bool-proc.c: At top level:
bool-proc.c:146: error: parse error before '*' token
bool-proc.c: In function 'BooleanProcessor':
bool-proc.c:149: error: 'newPlaintext' undeclared (first use in this function)
bool-proc.c:152: error: 'task' undeclared (first use in this function)
bool-proc.c:153: error: 'htmlMarkup' undeclared (first use in this function)
make[1]: *** [bool-proc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [htp.o] Error 1
make: *** [subdir-all] Error 1


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




Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power 
Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.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="ppc aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff 
vorbis userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2008-02-07 20:24:51 UTC
still the same.  Please provide a patch if you want this package.
Comment 2 Stefan Wimmer 2008-08-02 08:13:22 UTC
Not sure whether it helps but I wanted to inform you guys anyway that I submitted a version bump in #233678

I hope this helps with your problem ...