Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44041 - app-text/sword-1.5.6 fails to compile (FTBFS)
Summary: app-text/sword-1.5.6 fails to compile (FTBFS)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-08 09:20 UTC by Philipp Kern
Modified: 2004-04-08 15:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kern 2004-03-08 09:20:00 UTC
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 Nathaniel McCallum (RETIRED) gentoo-dev 2004-03-19 08:22:06 UTC
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 Jon Hood (RETIRED) gentoo-dev 2004-04-06 19:36:01 UTC
Could you check out sword-1.5.7?
Comment 3 Philipp Kern 2004-04-07 08:41:28 UTC
Works for me.
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-04-07 12:01:29 UTC
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 Jon Hood (RETIRED) gentoo-dev 2004-04-08 15:15:02 UTC
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.