MantisBT - VCMI
View Issue Details
0001151VCMIOtherpublic2012-11-27 20:432014-05-30 17:41
actics 
Ivan 
highminoralways
closedfixed 
LinuxArch-linuxrolling
0.9 
 
0001151: Can't install on arch-linux from AUR svn version. Source bug
  CXXLD vcmiclient
vcmiclient-Client.o: In function `void CISer<CLoadFile>::loadPointerHlp<CMapGenOptions*>(unsigned short, CMapGenOptions*&, unsigned int)':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/../lib/Connection.h:870: undefined reference to `CMapGenOptions::CMapGenOptions()'
vcmiclient-Client.o: In function `void CISer<CConnection>::loadPointerHlp<CMapGenOptions*>(unsigned short, CMapGenOptions*&, unsigned int)':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/../lib/Connection.h:870: undefined reference to `CMapGenOptions::CMapGenOptions()'
vcmiclient-CPreGame.o: In function `operator()':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1604: undefined reference to `CMapGenOptions::setWidth(int)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1605: undefined reference to `CMapGenOptions::setHeight(int)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1613: undefined reference to `CMapGenOptions::setHasTwoLevels(bool)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1614: undefined reference to `CMapGenOptions::setHasTwoLevels(bool)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1632: undefined reference to `CMapGenOptions::setPlayersCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1646: undefined reference to `CMapGenOptions::setTeamsCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1658: undefined reference to `CMapGenOptions::setCompOnlyPlayersCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1672: undefined reference to `CMapGenOptions::setCompOnlyTeamsCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1685: undefined reference to `CMapGenOptions::setWaterContent(EWaterContent::EWaterContent)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1696: undefined reference to `CMapGenOptions::setMonsterStrength(EMonsterStrength::EMonsterStrength)'
vcmiclient-CPreGame.o: In function `RandomMapTab::RandomMapTab()':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1589: undefined reference to `CMapGenOptions::CMapGenOptions()'
vcmiclient-CPreGame.o: In function `RandomMapTab::validatePlayersCnt(int)':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1763: undefined reference to `CMapGenOptions::getTeamsCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1765: undefined reference to `CMapGenOptions::setTeamsCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1766: undefined reference to `CMapGenOptions::getTeamsCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1768: undefined reference to `CMapGenOptions::getCompOnlyPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1770: undefined reference to `CMapGenOptions::setCompOnlyPlayersCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1771: undefined reference to `CMapGenOptions::getCompOnlyPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1774: undefined reference to `CMapGenOptions::getCompOnlyPlayersCnt() const'
vcmiclient-CPreGame.o: In function `RandomMapTab::validateCompOnlyPlayersCnt(int)':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1784: undefined reference to `CMapGenOptions::getCompOnlyTeamsCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1786: undefined reference to `CMapGenOptions::setCompOnlyTeamsCnt(signed char)'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1787: undefined reference to `CMapGenOptions::getCompOnlyTeamsCnt() const'
vcmiclient-CPreGame.o: In function `RandomMapTab::updateMapInfo()':
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1823: undefined reference to `CMapGenOptions::getHeight() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1824: undefined reference to `CMapGenOptions::getWidth() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1825: undefined reference to `CMapGenOptions::getHasTwoLevels() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1829: undefined reference to `CMapGenOptions::getPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1830: undefined reference to `CMapGenOptions::getCompOnlyPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1831: undefined reference to `CMapGenOptions::getPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1831: undefined reference to `CMapGenOptions::getCompOnlyPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1838: undefined reference to `CMapGenOptions::getPlayersCnt() const'
/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client/CPreGame.cpp:1838: undefined reference to `CMapGenOptions::getPlayersCnt() const'
collect2: error: ld returned 1 exit status
make[2]: *** [vcmiclient] Ошибка 1
make[2]: Выход из каталога `/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога `/tmp/yaourt-tmp-actics/aur-vcmi-svn/src/vcmi/client'
make: *** [all-recursive] Ошибка 1
No tags attached.
Issue History
2012-11-27 20:43acticsNew Issue
2012-11-28 09:08IvanNote Added: 0003218
2012-11-28 09:19IvanNote Edited: 0003218bug_revision_view_page.php?bugnote_id=3218#r2042
2012-11-28 09:21IvanAssigned To => Ivan
2012-11-28 09:21IvanStatusnew => confirmed
2012-11-28 09:23IvanNote Edited: 0003218bug_revision_view_page.php?bugnote_id=3218#r2043
2012-12-08 10:42Raziel23Note Added: 0003239
2012-12-08 11:21IvanNote Added: 0003240
2012-12-08 11:21IvanStatusconfirmed => resolved
2012-12-08 11:21IvanResolutionopen => fixed
2014-05-30 17:41beegeeStatusresolved => closed

Notes
(0003218)
Ivan   
2012-11-28 09:08   
(edited on: 2012-11-28 09:23)
It looks like autotools files were not updated.

I will fix this but somebody needs to update AUR as well - we're switching to cmake so autotools won't be here for long.


EIDT: Fix committed, but autotools will be removed soon (~1-2 month) so AUR should be updated as well.

I'll keep this open untill AUR will use CMake.
Link so I can check it easily: https://aur.archlinux.org/packages/vcmi-svn/ [^]

(0003239)
Raziel23   
2012-12-08 10:42   
Hello,

I'm a new maintainer of archlinux vcmi-svn package. I've moved the package from autotools to cmake and successfully prepared data files using the vcmibuilder script.

I have only one suggestion regarding wiki. In preparing data section in step "Copy resulting files into your vcmi data directory" instead of line:
cp -RT vcmi /path/to/vcmi/data/directory
it should be line:
cp -RTu vcmi /path/to/vcmi/data/directory
because from the svn we have the newer configuration files than from the core.zip archive.

Best regards,
Raziel23
(0003240)
Ivan   
2012-12-08 11:21   
Thanks. Moving to resolved then.

And I've edited the wiki (you can do this yourself if you have forum account)