ports/145271: ports/games/vegastrike doesn't compile on x86_64

Rusty Nejdl rnejdl at ringofsaturn.com
Thu Apr 1 21:50:08 UTC 2010


>Number:         145271
>Category:       ports
>Synopsis:       ports/games/vegastrike doesn't compile on x86_64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 01 21:50:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rusty Nejdl
>Release:        8-STABLE AMD64
>Organization:
>Environment:
FreeBSD tethys.ringofsaturn.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Apr  1 08:51:44 CDT 2010     root at tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN  amd64
>Description:
Looks like there's an int conversion issue:

       c++ -DHAVE_CONFIG_H -I.   -I./boost/1_33 -I/usr/local/include   -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1 -I/usr/local/include  -DHAVE_OGG  -DDATA_DIR=\"/usr/local/share/vegastrike\"  -I/usr/local/include/python2.5 -DHAVE_PYTHON=1    -I./src   -pipe  -O2 -pipe -march=nocona -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/cmd/script/pythonmission.o -MD -MP -MF $depbase.Tpo -c -o src/cmd/script/pythonmission.o src/cmd/script/pythonmission.cpp &&\                                 
        mv -f $depbase.Tpo $depbase.Po                                          
src/vsfilesystem.cpp: In function 'void VSFileSystem::InitMods()':              
src/vsfilesystem.cpp:711: error: invalid conversion from 'int (*)(dirent*)' to 'int (*)(const dirent*)'                                                         
src/vsfilesystem.cpp:711: error:   initializing argument 3 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))'                                                                            
src/vsfilesystem.cpp:730: error: invalid conversion from 'int (*)(dirent*)' to 'int (*)(const dirent*)'                                                         
src/vsfilesystem.cpp:730: error:   initializing argument 3 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))'                                                                            
src/vsfilesystem.cpp: In function 'void VSFileSystem::CreateDirectoryAbs(const char*)':                                                                         
src/vsfilesystem.cpp:958: warning: large integer implicitly truncated to unsigned type                                                                          
src/vsfilesystem.cpp:962: warning: deprecated conversion from string constant to 'char*'                                                                        
src/vsfilesystem.cpp: In member function 'std::string VSFileSystem::VSFile::ReadFull()':                                                                        
src/vsfilesystem.cpp:1770: warning: deprecated conversion from string constant to 'char*'                                                                       
src/vsfilesystem.cpp: In member function 'void VSFileSystem::VSFile::Clear()':  
src/vsfilesystem.cpp:1972: warning: deprecated conversion from string constant to 'char*'                                                                       
gmake[1]: *** [src/vsfilesystem.o] Error 1                                      
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/usr/ports/games/vegastrike/work/vegastrike-0.5.0'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/games/vegastrike.
*** Error code 1

>How-To-Repeat:
Compile vegastrike on AMD64 system with latest ports tree.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list