Package Details: ufoai-git 1:2.6.45213.9b2eab2222-1

Git Clone URL: https://aur.archlinux.org/ufoai-git.git (read-only, click to copy)
Package Base: ufoai-git
Description: In UFO: Alien Invasion you fight aliens trying to capture Earth (dev version)
Upstream URL: http://ufoai.org/wiki/News
Licenses: GPL
Conflicts: ufoai, ufoai-data
Submitter: darkfm
Maintainer: darkfm
Last Packager: darkfm
Votes: 0
Popularity: 0.000000
First Submitted: 2022-12-16 01:29 (UTC)
Last Updated: 2023-02-22 02:32 (UTC)

Dependencies (22)

Required by (0)

Sources (1)

Latest Comments

zwastik commented on 2023-04-07 20:50 (UTC)

Game was fixed upstream, it compiles and runs now. However for map editor to work gtkglext-pangox is necessary.

zwastik commented on 2023-02-22 23:39 (UTC) (edited on 2023-02-22 23:40 (UTC) by zwastik)

Compiled but...

===> CXX [ufo2map] src/common/ioapi.cpp                                                                                                      
===> CXX [ufo2map] src/ports/unix/unix_files.cpp                                                                                             
===> CXX [ufo2map] src/ports/unix/unix_shared.cpp                                                                                            
===> CXX [ufo2map] src/ports/unix/unix_main.cpp                                                                                              
===> LD [ufo2map]                                                                                                                            
./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/test_routing.map                                                               
additional gamedir = unittest                                                                                                                
verbosity = 4                                                                                                                                
nice = 19                                                                                                                                    
extrasamples = true                                                                                                                          
soft = true                                                                                                                                  
---- ufo2map 1.2.6 ----                                                                                                                      
---- endianness initialization -----                                                                                                         
found little endian system                                                                                                                   
path: 'maps/test_routing.map'                                                                                                                

---- filesystem initialization -----                                                                                                         
Adding game dir: /usr/share/ufoai/base                                                                                                       
Adding game dir: ./base                                                                                                                      
Adding game dir: /home/user/.ufoai/2.6-dev/base                                                                                              
using ./base for writing                                                                                                                     
change writing directory to unittest                                                                                                         
Adding game dir: unittest                                                                                                                    
...map: 'maps/test_routing.map'                                                                                                              
...bsp: 'maps/test_routing.bsp'                                                                                                              
     LEVEL: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 259)                                                                 
 UNITCHECK: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 131072)                                                              
 CONNCHECK: 0...1...2...3...4...5...6...7...8...9... (time:      1s, #: 1048576)                                                             
Writing maps/test_routing.bsp                                                                                                                
    1 seconds elapsed                                                                                                                        
----- Lighting ----                                                                                                                          
Couldn't load textures/tex_common/no                                                                                                         
0 direct lights for night lightmap                                                                                                           
FACELIGHTS: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 284)                                                                 
FINALLIGHT: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 284)
    0 seconds elapsed
0 direct lights for day lightmap
FACELIGHTS: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 284)
FINALLIGHT: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 284)
    0 seconds elapsed
writing maps/test_routing.bsp
sum:     1 seconds elapsed - 0.4 MB (457492 bytes)
./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/test_game.map                                                                  
additional gamedir = unittest                                                                                                                
verbosity = 4                                                                                                                                
nice = 19                                                                                                                                    
extrasamples = true                                                                                                                          
soft = true                                                                                                                                  
---- ufo2map 1.2.6 ----                                                                                                                      
---- endianness initialization -----
found little endian system
path: 'maps/test_game.map'

---- filesystem initialization -----
Adding game dir: /usr/share/ufoai/base
Adding game dir: ./base
Adding game dir: /home/user/.ufoai/2.6-dev/base
using ./base for writing
change writing directory to unittest
Adding game dir: unittest
...map: 'maps/test_game.map'
...bsp: 'maps/test_game.bsp'
     LEVEL: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 259)
 UNITCHECK: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 131072)
 CONNCHECK: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 1048576)
Writing maps/test_game.bsp
    0 seconds elapsed
----- Lighting ----
0 direct lights for night lightmap
FACELIGHTS: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 107)
FINALLIGHT: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 107)
    0 seconds elapsed
0 direct lights for day lightmap
FACELIGHTS: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 107)
FINALLIGHT: 0...1...2...3...4...5...6...7...8...9... (time:      0s, #: 107)
    0 seconds elapsed
writing maps/test_game.bsp
sum:     0 seconds elapsed - 0.4 MB (464796 bytes)

===> LD [testall]
make: *** No rule to make target 'base/game.so', needed by 'ufo'.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...

darkfm commented on 2023-02-22 02:34 (UTC)

@zwastik It seems the makefile is ignoring that gtest isn't available and not disabling tests. I've added gtest as a makedependency but I'll have to check the makefile later to see if it's an issue on our side or theirs.

zwastik commented on 2023-02-22 02:08 (UTC)

Had an error when compiling, don't know if it is upstream related or not.

pikaur -S ufoai-git                                                                                                           
Reading repository package databases...                                                                                                      
Reading local package database...                                                                                                            
Resolving AUR dependencies...                                                                                                                

:: New dependency will be installed from repository:                                                                                         
 gtkglext (for ufoai-git)                                   -> 1.2.0-13                                                                      

:: AUR package will be installed:                                                                                                            
 ufoai-git                                                  -> 1:2.6.45213.9b2eab2222-1                                                      

:: New dependency will be installed from AUR:                                                                                                
 gtksourceview2 (for ufoai-git)                             -> 2.10.5-1                                                                      

:: Proceed with installation? [Y/n]                                                                                                          
:: [v]iew package details   [m]anually select packages                                                                                       
>> y                                                                                                                                         
looking for conflicting AUR packages...                                                                                                      
:: warning: Not showing diff for ufoai-git package (installing for the first time)                                                           
Do you want to edit PKGBUILD for ufoai-git package? [Y/n] n                                                                                  
:: warning: Not showing diff for gtksourceview2 package (installing for the first time)                                                      
Do you want to edit PKGBUILD for gtksourceview2 package? [Y/n] n                                                                             

:: Package gtksourceview2 is already built. Pass '--rebuild' flag to force the build.                                                        

Reading local package database...                                                                                                            
:: Installing already built dependencies for ufoai-git:                                                                                      
loading packages...                                                                                                                          
resolving dependencies...                                                                                                                    
looking for conflicting packages...                                                                                                          

Packages (1) gtksourceview2-2.10.5-1                                                                                                         

Total Installed Size:  4.38 MiB                                                                                                              

:: Proceed with installation? [Y/n] Y                                                                                                        
(1/1) checking keys in keyring                                                       [#################################################] 100%
(1/1) checking package integrity                                                     [#################################################] 100%
(1/1) loading package files                                                          [#################################################] 100%
(1/1) checking for file conflicts                                                    [#################################################] 100%
(1/1) checking available disk space                                                  [#################################################] 100%
:: Processing package changes...                                                                                                             
(1/1) installing gtksourceview2                                                      [#################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
:: Installing repository dependencies for ufoai-git:
resolving dependencies...
looking for conflicting packages... 

Packages (1) gtkglext-1.2.0-13

Total Installed Size:  1.54 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                       [#################################################] 100%
(1/1) checking package integrity                                                     [#################################################] 100%
(1/1) loading package files                                                          [#################################################] 100%
(1/1) checking for file conflicts                                                    [#################################################] 100%
(1/1) checking available disk space                                                  [#################################################] 100%
:: Processing package changes...
(1/1) installing gtkglext                                                            [#################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Reading local package database...
:: Downloading the latest sources for a devel package ufoai-git...

:: Starting the build:
==> Making package: ufoai-git 1:2.6.45241.72b305d4cf-1 (Tue 21 Feb 2023 10:03:58 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating code git repo...
==> Validating source files with sha256sums...
    code ... Skipped
==> Extracting sources...
  -> Creating working copy of code git repo...
Reset branch 'makepkg'
==> Starting prepare()...
Check C compiler as 'gcc'...
C compiler version 12.2.1 was found 
Check C++ compiler as 'g++'...
C++ compiler version 12.2.1 was found
Compile for linux
Compile for x86_64
Compile in release mode
Disable ccache
Using default CFLAGS
Using default LDFLAGS
Using bindir /usr/bin/
Using datadir /usr/share/ufoai
Using libdir /usr/lib/
Using localedir /usr/share/ufoai/base/i18n/
Using prefix /usr
Enable hard linked cgame
Use signal handler
Setting custom data directory
Setting custom library directory
Setting custom locale directory
Found zip from zip
Found python from python
Found python3 from python3
Could not find doxygen from doxygen 
Found xvid.h
Found theora/theora.h
Found execinfo.h
Could not find libiberty.h
Found libiberty/libiberty.h
Found bfd.h
Found sys/utsname.h
Found link.h
Found jpeglib.h
Found zlib.h
Found png.h
Found curl/curl.h
Found lua.h
Could not find mxml.h
Found SDL.h
Found SDL_mixer.h
Found SDL_ttf.h
Could not find gtest/gtest.h
Could not find picomodel.h
Found gtk/gtk.h
Found gtksourceview/gtksourceview.h 
Found libxml/parser.h
Found AL/al.h
Found gtk/gtkglwidget.h
Build modules:
Build cgame-campaign
Build cgame-multiplayer
Build cgame-skirmish
Build game
Build testall
Build ufo2map
Build ufoded
Build ufo
Build ufomodel
Disable uforadiant
Build ufoslicer
==> Starting pkgver()...
==> Starting build()...

...

===> CXX [testall] src/shared/mathlib_extra.cpp
===> CXX [testall] src/shared/parse.cpp
===> CXX [testall] src/shared/shared.cpp
===> CXX [testall] src/shared/stringhunk.cpp
===> CXX [testall] src/shared/utf8.cpp
===> CXX [testall] src/tests/test_all.cpp
src/tests/test_all.cpp:27:10: fatal error: gtest/gtest.h: No such file or directory
   27 | #include <gtest/gtest.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:181: release-linux-x86_64/testall/tests/test_all.cpp.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

darkfm commented on 2023-02-22 00:58 (UTC)

@zwastik it seems they actually merged in the patch so it's no longer necessary :P it's disabled now, thanks!

zwastik commented on 2023-02-22 00:53 (UTC) (edited on 2023-02-22 00:57 (UTC) by zwastik)

:: Downloading the latest sources for a devel package ufoai-git...
*error failed to retrieve latest dev sources*
==> Making package: ufoai-git 1:2.6.45213.9b2eab2222-1 (Tue 21 Feb 2023 09:51:26 PM -03)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Updating code git repo...
  -> Found 0001-Fix-compilation-errors-on-format-security.patch
==> Validating source files with sha256sums...
    code ... Skipped
    0001-Fix-compilation-errors-on-format-security.patch ... Passed
==> Extracting sources...
  -> Creating working copy of code git repo...
Reset branch 'makepkg'
==> Starting prepare()...
patching file src/client/cl_lua.cpp
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/client/cl_lua.cpp.rej
patching file src/client/ui/swig/ui_lua_shared.cpp
patching file src/tests/test_rma.cpp
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/tests/test_rma.cpp.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

Some data was downloaded:

du -hs .cache/pikaur/build/ufoai-git/
4.6G    .cache/pikaur/build/ufoai-git/