Bug 78782 - [Maintainer] www/gatling: update to 0.7
Summary: [Maintainer] www/gatling: update to 0.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Yen-Ming Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-13 13:10 UTC by Thomas-Martin Seck
Modified: 2005-03-17 06:08 UTC (History)
0 users

See Also:


Attachments
file.diff (1.90 KB, patch)
2005-03-13 13:10 UTC, Thomas-Martin Seck
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas-Martin Seck 2005-03-13 13:10:02 UTC
- Update to 0.7
- Remove a patch that is no longer needed

Note to committer:
please 'cvs rm' files/patch-gatling.c

Fix: Apply this patch:
Comment 1 Michael Johnson freebsd_committer freebsd_triage 2005-03-13 19:36:41 UTC
State Changed
From-To: open->feedback

Does not compile on 4.x 

===>  Building for gatling-0.7 
(head -n 1 CHANGES | sed 's/([^:]*):/#define VERSION "1"/') > version.h 
cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -c gatling.c 
if  cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -o trysocket trysocket.c >/dev/null 2>&1; then echo ""; else  if  cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -o trysocket trysocket.c -lsocket >/dev/null 2>&1; then echo "-lsocket"; else  if  cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -o trysocket trysocket.c -lsocket -lnsl >/dev/null 2>&1; then echo "-lsocket -lnsl";  fi; fi; fi > libsocket 
rm -f trysocket 
if  cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -o tryiconv tryiconv.c >/dev/null 2>&1; then echo ""; else  if  cc -O -pipe  -I/usr/local/include/libowfat -I/usr/include  -o tryiconv tryiconv.c -liconv >/dev/null 2>&1; then echo "-liconv";  fi; fi > libiconv 
rm -f tryiconv 
cc -o gatling gatling.o  -L/usr/local/lib -lowfat -L/usr/lib -rpath=/usr/lib:/usr/local/lib `cat libsocket libiconv` 
gatling.o: In function `http_openfile': 
gatling.o(.text+0x2018): undefined reference to `scan_urlencoded2' 
*** Error code 1 

Stop in /tmp/a/ports/www/gatling/work/gatling-0.7. 
*** Error code 1 


Does not compile on 5.x 

===>  Building for gatling-0.7 
(head -n 1 CHANGES | sed 's/([^:]*):/#define VERSION "1"/') > version.h 
cc -O2 -pipe -march=athlon-xp -c gatling.c 
gatling.c:14:20: socket.h: No such file or directory 
gatling.c:15:16: io.h: No such file or directory 
gatling.c:16:20: buffer.h: No such file or directory 
gatling.c:17:17: ip4.h: No such file or directory 
gatling.c:18:17: ip6.h: No such file or directory 
gatling.c:19:19: array.h: No such file or directory 
gatling.c:20:18: case.h: No such file or directory 
gatling.c:21:17: fmt.h: No such file or directory 
gatling.c:22:17: iob.h: No such file or directory 
gatling.c:23:17: str.h: No such file or directory 
gatling.c:24:18: scan.h: No such file or directory 
gatling.c:25:22: textcode.h: No such file or directory 
gatling.c:26:20: uint32.h: No such file or directory 
gatling.c:27:20: uint16.h: No such file or directory 
gatling.c:28:18: mmap.h: No such file or directory 
gatling.c:57:24: havealloca.h: No such file or directory 
gatling.c:60: error: syntax error before "next" 
gatling.c:60: warning: data definition has no type or storage class 
gatling.c:109: error: syntax error before "origdir" 
gatling.c:109: warning: data definition has no type or storage class 
gatling.c: In function `carp': 
gatling.c:127: error: `buffer_2' undeclared (first use in this function) 
gatling.c:127: error: (Each undeclared identifier is reported only once 
gatling.c:127: error: for each function it appears in.) 
gatling.c: At top level: 
gatling.c:203: error: syntax error before "array" 
gatling.c:206: error: syntax error before "uint32" 
gatling.c:220: error: syntax error before "uint64" 
gatling.c:244: error: syntax error before "uint16" 
gatling.c: In function `add_proxy': 
gatling.c:276: error: structure has no member named `scope_id' 
gatling.c:279: error: structure has no member named `port' 
gatling.c: At top level: 
gatling.c:291: error: syntax error before '*' token 
gatling.c: In function `proxy_connection': 
gatling.c:310: error: `IP6_FMT' undeclared (first use in this function) 
gatling.c:317: error: structure has no member named `myport' 
gatling.c:320: error: structure has no member named `r' 
gatling.c:320: warning: assignment makes pointer from integer without a cast 
gatling.c:334: error: `buffer_1' undeclared (first use in this function) 
gatling.c:334: error: structure has no member named `port' 
gatling.c:347: error: structure has no member named `port' 
gatling.c:359: error: structure has no member named `port' 
gatling.c:359: error: structure has no member named `scope_id' 
gatling.c:364: error: `FMT_ULONG' undeclared (first use in this function) 
gatling.c:370: error: structure has no member named `port' 
gatling.c:371: error: structure has no member named `scope_id' 
gatling.c:392: error: syntax error before "a" 
gatling.c:394: error: structure has no member named `r' 
gatling.c:394: warning: initialization makes pointer from integer without a cast 
gatling.c:399: error: `a' undeclared (first use in this function) 
gatling.c:405: error: `b' undeclared (first use in this function)
Comment 2 Thomas-Martin Seck 2005-03-14 15:16:42 UTC
* Michael Johnson (ahze@FreeBSD.org):

> Does not compile on 4.x
...
> Does not compile on 5.x
...

www/gatling is very closely tied to devel/libowfat and gatling-0.7
requires libowfat-0.22 to build. Please check whether you have
libowfat-0.22 installed; it builds here on RELENG_5 and RELENG_4.
Comment 3 Yen-Ming Lee freebsd_committer freebsd_triage 2005-03-17 04:52:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->leeym

I will take care of this PR.
Comment 4 Yen-Ming Lee freebsd_committer freebsd_triage 2005-03-17 06:08:03 UTC
State Changed
From-To: feedback->closed

Committed, thanks.