Bug 71006 - [maintainer update]: net/verlihub to 0.9.8a
Summary: [maintainer update]: net/verlihub to 0.9.8a
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 22:10 UTC by hurbold
Modified: 2004-08-29 11:43 UTC (History)
0 users

See Also:


Attachments
verlihub.diff (5.36 KB, patch)
2004-08-26 22:10 UTC, hurbold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hurbold 2004-08-26 22:10:20 UTC
        Supersedes ports/71002. Explicitly set GCC 3.3 as port does not build with 3.4.x. 
        As before, update to verlihub-0.9.8a. Increased functionality and multiple bug fixes.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-08-28 05:51:58 UTC
State Changed
From-To: open->feedback

Unfortunately it doesn't seem to build on gcc3.3.3 either (with different 
errors as on gcc3.4): 

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -O -pipe -march=pentium -I/usr/local/include -I/usr/local/include -MT cban.lo -MD -MP -MF .deps/cban.Tpo -c cban.cpp  -fPIC -DPIC 
In file included from cconfmysql.h:24, 
from cbanlist.h:13, 
from cban.cpp:12: 
cmysql.h:18:19: mysql.h: No such file or directory 
In file included from cconfmysql.h:24, 
from cbanlist.h:13, 
from cban.cpp:12: 
cmysql.h:44: error: syntax error before `*' token 
In file included from cconfmysql.h:25, 
from cbanlist.h:13, 
from cban.cpp:12: 
cquery.h:40: error: syntax error before `)' token 
cquery.h:49: error: syntax error before `*' token 
In file included from cbanlist.h:13, 
from cban.cpp:12: 
cconfmysql.h:59: error: syntax error before `&' token 
cconfmysql.h:164: error: 'MYSQL_ROW' is used as a type, but is not defined as a 
type. 
cconfmysql.h:166: error: syntax error before `row' 
cconfmysql.h:166: error: missing ';' before right brace 
cconfmysql.h:168: error: semicolon missing after declaration of ` 
nConfig::cConfMySQL::ufLoad' 
cconfmysql.h:169: error: two or more data types in declaration of `operator()' 
cconfmysql.h: In member function `nConfig::cConfMySQL::ufLoad 
nConfig::cConfMySQL::operator()(nConfig::cConfigItemBase*)': 
cconfmysql.h:170: error: `mRow' undeclared (first use this function) 
cconfmysql.h:170: error: (Each undeclared identifier is reported only once for 
each function it appears in.) 
cconfmysql.h:170: error: `i' undeclared (first use this function) 
cconfmysql.h: At global scope: 
cconfmysql.h:178: error: syntax error before `public' 
cconfmysql.h:186: error: ISO C++ forbids declaration of `db_iterator' with no 
type 
cconfmysql.h: In function `int nConfig::db_iterator(nConfig::cConfMySQL*)': 
cconfmysql.h:186: error: only constructors take base initializers 
cconfmysql.h:186: confused by earlier errors, bailing out 
gmake[2]: *** [cban.lo] Error 1 
gmake[2]: Leaving directory `/usr/ports/net/verlihub/work/verlihub-0.9.8a/src' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/usr/ports/net/verlihub/work/verlihub-0.9.8a' 
gmake: *** [all] Error 2 
*** Error code 2 

Can the maintainer confirm this?
Comment 2 hurbold 2004-08-29 01:11:53 UTC
It builds fine for me with gcc 3.3.3, 3.3.4, and  3.3.5. The problem seems to be that mysql.h can't be located, which causes it to throw up those errors. I haven't ever seen this behavior with the port, and I can't seem to replicate it on any of the systems I have at my disposal. At this point, I'm not really certain what direction to take with this.

		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-08-29 01:27:41 UTC
State Changed
From-To: feedback->open

Feedback received.  Perhaps some other committer can see whether 
they get the same problem, or if it is only on my system.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-29 11:42:18 UTC
State Changed
From-To: open->closed

Committed, with modifications: 

1) you can't use USE_GCC as you want, it will not pick gcc33 from port 
on gcc34 system. Instead, I marked the port BROKEN for gcc34 systems. 
2) Never descrease/remove PORTEPOCH