Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 44041
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Caleb Tennis <caleb@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Philipp Kern <phil@lordaeron.in-berlin.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44041 depends on: Show dependency tree
Bug 44041 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-08 09:20 0000
The sword version in portage fails to build from source. (FTBFS)

The following patch fixes the source error (in conjunction with curl).
(On which it doesn't depend anyway - just another ebuild error)

hyppher+ work # diff -Naur sword-1.5.6/src/mgr/ sword-1.5.6.new/src/mgr
diff -Naur sword-1.5.6/src/mgr/installmgr.cpp sword-1.5.6.new/src/mgr/installmgr.cpp
--- sword-1.5.6/src/mgr/installmgr.cpp  2003-08-15 10:52:15.000000000 +0200
+++ sword-1.5.6.new/src/mgr/installmgr.cpp      2004-03-08 18:10:45.932859616 +0100
@@ -150,6 +150,7 @@
    curl_easy_setopt(curl, CURLOPT_FILE, &ftpfile);
 
    /* Switch on full protocol/debug output */
+   #define TRUE 1
    curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);
 
    res = curl_easy_perform(curl);

------- Comment #1 From Nathaniel McCallum (RETIRED) 2004-03-19 08:22:06 0000 -------
Actually, it should be this ("true" is already defined):

--- sword-1.5.6/src/mgr/installmgr.cpp  2003-08-15 10:52:15.000000000 +0200
+++ sword-1.5.6.new/src/mgr/installmgr.cpp      2004-03-08 18:10:45.932859616 +0100
@@ -150,6 +150,7 @@
    curl_easy_setopt(curl, CURLOPT_FILE, &ftpfile);
 
    /* Switch on full protocol/debug output */
-   curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);
+   curl_easy_setopt(curl, CURLOPT_VERBOSE, true);

    res = curl_easy_perform(curl);

------- Comment #2 From Jon Hood (RETIRED) 2004-04-06 19:36:01 0000 -------
Could you check out sword-1.5.7?

------- Comment #3 From Philipp Kern 2004-04-07 08:41:28 0000 -------
Works for me.

------- Comment #4 From Jon Hood (RETIRED) 2004-04-07 12:01:29 0000 -------
After another week or so in ~x86, I'll see if I can bump it to stable. I need
to make sure no one else has any trouble.

------- Comment #5 From Jon Hood (RETIRED) 2004-04-08 15:15:02 0000 -------
patch will now fix sword-1.5.6 or 1.5.7 and has been committed to portage, so
I'm closing this bug. The problem was caused with syntax changes from the curl
updates.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug