MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001151VCMIOtherpublic2012-11-27 20:432014-05-30 17:41
Reporteractics 
Assigned ToIvan 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSArch-linuxOS Versionrolling
Product Version0.9 
Target VersionFixed in Version 
Summary0001151: Can't install on arch-linux from AUR svn version. Source bug
Description  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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003218)
Ivan (developer)
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 (reporter)
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 (developer)
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)

- Issue History
Date Modified Username Field Change
2012-11-27 20:43 actics New Issue
2012-11-28 09:08 Ivan Note Added: 0003218
2012-11-28 09:19 Ivan Note Edited: 0003218 View Revisions
2012-11-28 09:21 Ivan Assigned To => Ivan
2012-11-28 09:21 Ivan Status new => confirmed
2012-11-28 09:23 Ivan Note Edited: 0003218 View Revisions
2012-12-08 10:42 Raziel23 Note Added: 0003239
2012-12-08 11:21 Ivan Note Added: 0003240
2012-12-08 11:21 Ivan Status confirmed => resolved
2012-12-08 11:21 Ivan Resolution open => fixed
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean