[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-29 Thread Matthias Pfafferodt
Follow-up Comment #13, bug #21897 (project freeciv):

all builds (S2_4, S2_5 and S2_6) are fine - I did not test the functionality

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-29 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-28 Thread Matthias Pfafferodt
Follow-up Comment #12, bug #21897 (project freeciv):

patch added to the opensuse builds but it will need some time till results
will be available; the build service is stopped at the moment

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-27 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

Severity:  3 - Normal = 5 - Blocker
 Planned Release: 2.4.3, 2.5.0, 2.6.0 = 2.4.3, 2.5.0-beta1, 2.6.0

___

Follow-up Comment #11:

I'm adding a new version once set of builds with it has finished. Change to
previous one is that server/scripting/ does not LIBADD the LUA_LIBS  friends
but only relies on libfreeciv to provide them.

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-27 Thread Marko Lindqvist
Additional Item Attachment, bug #21897 (project freeciv):

File name: LuasqlBase-4.patch Size:5 KB
File name: LuasqlBase-S2_4-4.patchSize:5 KB


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev



[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-25 Thread Marko Lindqvist
Follow-up Comment #10, bug #21897 (project freeciv):

For some reason I had not seen your reply, but I now got similar failure
myself when doing all kind of test builds. Namely the build that uses shared
libfreeciv fails.
It seems that while the patch does the logically right thing, it needs to be
changed to be logically incorrect hack around the linking limitations (not
linking lua libs to some places where they belong, but to rely on them getting
linked via another dependency)

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-24 Thread Matthias Pfafferodt
Follow-up Comment #9, bug #21897 (project freeciv):

I did test both patches. It does not work - have a look at
https://build.opensuse.org/project/monitor/home:syntron:freeciv (only 64bit;
32bit did not rebuild due to an error on the SAN server of the build system)

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-22 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

  Status: In Progress = Ready For Test 

___

Follow-up Comment #8:

 If this works for you, 

Going forward hoping the answer to be yes. Attached are complete versions.

(file #20555, file #20556)
___

Additional Item Attachment:

File name: LuasqlBase-3.patch Size:5 KB
File name: LuasqlBase-S2_4-3.patchSize:5 KB


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-13 Thread Marko Lindqvist
Follow-up Comment #5, bug #21897 (project freeciv):

How that is even supposed to work? I can't figure out how it has ever worked
(or works in systems other than yours). While mysql.m4 and friends set
xxx_LDFLAGS (*not* xxx_LIBS, but that's another matter) for database libraries
to link against, I don't see them used anywhere.

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-13 Thread Marko Lindqvist
Follow-up Comment #6, bug #21897 (project freeciv):

Ok, configure.ac does assing them to xxx_LIBS that then is used.

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-13 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

  Status:  Ready For Test = In Progress

___

Follow-up Comment #7:

Test patch, not commit candidate. If this works for you, more cleanup should
be done (removing variables ending unused etc) for the final patch.


(file #20512)
___

Additional Item Attachment:

File name: LuasqlBase-2.patch Size:2 KB


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-06 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

 Planned Release: = 2.4.3, 2.5.0, 2.6.0

___

Follow-up Comment #1:

Patches

(file #20490, file #20491)
___

Additional Item Attachment:

File name: LuasqlBase.patch   Size:1 KB
File name: LuasqlBase-S2_4.patch  Size:1 KB


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-06 Thread Marko Lindqvist
Update of bug #21897 (project freeciv):

  Status: In Progress = Ready For Test 


___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-06 Thread Matthias Pfafferodt
Follow-up Comment #2, bug #21897 (project freeciv):

Now there is another linking error (see
https://build.opensuse.org/project/monitor/home:syntron:freeciv)


[  903s]   CC   dummy.o
[  904s]   CCLD freeciv-gtk2
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_fetch_lengths'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_double'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_int64'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `sqlite3_exec'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_changes'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_text'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_autocommit'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_num_rows'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `mysql_init'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQstatus'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`PQsetNoticeProcessor'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_busy_timeout'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_fetch_fields'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `sqlite3_step'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `mysql_close'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQnfields'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQsetdbLogin'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQgetvalue'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `sqlite3_open'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_reset'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_bytes'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQcmdTuples'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_insert_id'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQclear'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQfmod'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQconnectdb'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_blob'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_last_insert_rowid'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `mysql_error'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_name'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQntuples'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_prepare'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQfname'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_free_result'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_affected_rows'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_real_escape_string'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_field_count'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_real_query'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQfinish'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_fetch_row'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_finalize'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_real_connect'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`PQerrorMessage'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `mysql_commit'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_store_result'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_count'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_close'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_mprintf'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_decltype'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQgetisnull'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_column_type'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`PQescapeStringConn'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQexec'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`sqlite3_errmsg'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `sqlite3_free'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to `PQftype'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`mysql_rollback'
[  904s] ../common/.libs/libfreeciv.so: undefined reference to
`PQresultStatus'
[  904s] collect2: error: ld returned 1 exit status
[  904s] make[3]: *** [freeciv-gtk2] Error 1
[  

[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-06 Thread Jacob Nevins
Follow-up Comment #3, bug #21897 (project freeciv):

I note that multiple fcdb backends currently don't work even when they do
compile: bug #20723.

Don't know if it's related, but since it's a regression from 2.4 I consider it
a 2.5.0 blocker, so any insight would be appreciated.

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-06 Thread Matthias Pfafferodt
Follow-up Comment #4, bug #21897 (project freeciv):

At the moment I only trigger rebuilds of the RPMs for the svn versions from
time to time. There are no test games etc.

___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21897] Enabling multiple fcdb backends cause same object files to be linked from multiple libraries

2014-04-05 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?21897

 Summary: Enabling multiple fcdb backends cause same object
files to be linked from multiple libraries
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 06 Apr 2014 03:08:50 AM EEST
Category: bootstrap
Severity: 3 - Normal
Priority: 5 - Normal
  Status: In Progress
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

From bug #21696:
I can see how your --enable-fcdb=all could be relevant, as configure.ac then
sets all the alternative libs to LUASQL_LIBS, with partly same content.





___

Reply to this item at:

  http://gna.org/bugs/?21897

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev