FS#77188 - [freeorion] Build flags not used

Attached to Project: Community Packages
Opened by loqs (loqs) - Thursday, 19 January 2023, 21:12 GMT
Last edited by George Rawlinson (rawlinsong) - Friday, 20 January 2023, 19:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To George Rawlinson (rawlinsong)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Build flags are not used as cmake generate is called in prepare() where they are not set rather than build() where they are.

Additional info:
* freeorion 0.4.10.2-4

Steps to reproduce:
namcap freeorion-0.4.10.2-4-x86_64.pkg.tar.zst
freeorion W: ELF file ('usr/bin/freeorion') lacks FULL RELRO, check LDFLAGS.
freeorion W: ELF file ('usr/bin/freeorionca') lacks FULL RELRO, check LDFLAGS.
freeorion W: ELF file ('usr/bin/freeoriond') lacks FULL RELRO, check LDFLAGS.
freeorion W: ELF file ('usr/lib/freeorion/libGiGi.so') lacks FULL RELRO, check LDFLAGS.
freeorion W: ELF file ('usr/lib/freeorion/libfreeorioncommon.so') lacks FULL RELRO, check LDFLAGS.
freeorion W: ELF file ('usr/lib/freeorion/libfreeorionparse.so') lacks FULL RELRO, check LDFLAGS.
freeorion W: Referenced library 'CombatRatingsAI' is an uninstalled dependency
freeorion W: Referenced library 'InvasionAI' is an uninstalled dependency
freeorion W: Referenced library 'fleet_orders' is an uninstalled dependency
freeorion W: Referenced library 'pytest' is an uninstalled dependency
freeorion W: Referenced library 'common' is an uninstalled dependency
freeorion W: Referenced library 'freeorion_tools' is an uninstalled dependency
freeorion W: Referenced library 'starsystems' is an uninstalled dependency
freeorion W: Referenced library 'ShipDesignAI' is an uninstalled dependency
freeorion W: Referenced library 'ExplorationAI' is an uninstalled dependency
freeorion W: Referenced library 'planets' is an uninstalled dependency
freeorion W: Referenced library 'util' is an uninstalled dependency
freeorion W: Referenced library 'pylab' is an uninstalled dependency
freeorion W: Referenced library 'empires' is an uninstalled dependency
freeorion W: Referenced library 'character' is an uninstalled dependency
freeorion W: Referenced library 'MoveUtilsAI' is an uninstalled dependency
freeorion W: Referenced library 'PlanetUtilsAI' is an uninstalled dependency
freeorion W: Referenced library 'AIstate' is an uninstalled dependency
freeorion W: Referenced library 'statprof' is an uninstalled dependency
freeorion W: Referenced library 'stub_generator' is an uninstalled dependency
freeorion W: Referenced library 'ProductionAI' is an uninstalled dependency
freeorion W: Referenced library 'galaxy' is an uninstalled dependency
freeorion W: Referenced library 'specials' is an uninstalled dependency
freeorion W: Referenced library 'MilitaryAI' is an uninstalled dependency
freeorion W: Referenced library 'AIFleetMission' is an uninstalled dependency
freeorion W: Referenced library 'aistate_interface' is an uninstalled dependency
freeorion W: Referenced library 'PriorityAI' is an uninstalled dependency
freeorion W: Referenced library 'universe_tables' is an uninstalled dependency
freeorion W: Referenced library 'FleetUtilsAI' is an uninstalled dependency
freeorion W: Referenced library 'ResearchAI' is an uninstalled dependency
freeorion W: Referenced library 'starnames' is an uninstalled dependency
freeorion W: Referenced library 'universe_statistics' is an uninstalled dependency
freeorion W: Referenced library 'TechsListsAI' is an uninstalled dependency
freeorion W: Referenced library 'DiplomaticCorp' is an uninstalled dependency
freeorion W: Referenced library 'savegame_codec' is an uninstalled dependency
freeorion W: Referenced library 'pathfinding' is an uninstalled dependency
freeorion W: Referenced library 'EspionageAI' is an uninstalled dependency
freeorion W: Referenced library 'turn_state' is an uninstalled dependency
freeorion W: Referenced library 'ColonisationAI' is an uninstalled dependency
freeorion W: Referenced library 'natives' is an uninstalled dependency
freeorion W: Referenced library 'freeOrionAIInterface' is an uninstalled dependency
freeorion W: Referenced library 'EnumsAI' is an uninstalled dependency
freeorion W: Referenced library 'monsters' is an uninstalled dependency
freeorion W: Referenced library 'ResourcesAI' is an uninstalled dependency
freeorion W: Referenced library 'AIDependencies' is an uninstalled dependency
freeorion W: Referenced library 'freeorion' is an uninstalled dependency
freeorion W: Referenced library 'options' is an uninstalled dependency
freeorion W: Referenced library 'target' is an uninstalled dependency
freeorion W: Referenced library 'freeorion_logger' is an uninstalled dependency
freeorion W: Referenced library 'fields' is an uninstalled dependency
freeorion W: Referenced library 'names' is an uninstalled dependency
freeorion W: Referenced library 'teams' is an uninstalled dependency
freeorion W: Referenced library 'usr/lib/freeorion/libfreeorioncommon.so' is an uninstalled dependency
freeorion W: Referenced library 'usr/lib/freeorion/libfreeorionparse.so' is an uninstalled dependency
freeorion W: Referenced library 'usr/lib/freeorion/libGiGi.so' is an uninstalled dependency
freeorion W: Referenced library 'libGLEW.so.2.2' is an uninstalled dependency
freeorion W: Unused shared library '/usr/lib/libogg.so.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libvorbisenc.so.2' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_iostreams.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_locale.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_log_setup.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_chrono.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_serialization.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libz.so.1' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_atomic.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_regex.so.1.80.0' by file ('usr/bin/freeorion')
freeorion W: Unused shared library '/usr/lib/libboost_iostreams.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_locale.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_log_setup.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_atomic.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_chrono.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_regex.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_serialization.so.1.80.0' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libz.so.1' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/freeorionca')
freeorion W: Unused shared library '/usr/lib/libboost_locale.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_log_setup.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_atomic.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_chrono.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_regex.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_thread.so.1.80.0' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libz.so.1' by file ('usr/bin/freeoriond')
freeorion W: Unused shared library '/usr/lib/libboost_regex.so.1.80.0' by file ('usr/lib/freeorion/libGiGi.so')
freeorion W: Unused shared library '/usr/lib/libboost_atomic.so.1.80.0' by file ('usr/lib/freeorion/libGiGi.so')
freeorion W: Unused shared library '/usr/lib/libz.so.1' by file ('usr/lib/freeorion/libGiGi.so')
freeorion W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/freeorion/libfreeorionparse.so')
freeorion E: Dependency python2 detected and not included (programs ['python2'] needed in scripts ['usr/share/freeorion/default/python/common/charting/charts.py'])
freeorion W: Dependency included and not needed ('glew')
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Friday, 20 January 2023, 19:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.4.10.2-5
Comment by George Rawlinson (rawlinsong) - Friday, 20 January 2023, 19:19 GMT
D’oh, thanks for pointing that out.

Some of my packages, unfortunately have the generate step in prepare. I’ll have to check them.

Loading...