Patching the actual compile failures was easy enough. I've attatched a
patch for that. I'm not absoloutely sure of it's correctness though
(apparently there are some weird ways printf can be used and I don't
know if aegis is using any of them).
Unfortunately after fixing the compile failures the build failed for me
with test failures. The last screenful of output is below
aegis: warning: chmod("/var/lib", 00755): Operation not permitted [user
"nobody", group "nogroup"]
NO RESULT when testing the aedist functionality (new project 154)
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0266a-walt.sh test/02/t0266a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0266a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0268a-walt.sh test/02/t0268a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0268a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0269a-walt.sh test/02/t0269a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0269a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0270a-walt.sh test/02/t0270a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0270a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0273a-walt.sh test/02/t0273a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0273a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0278a-walt.sh test/02/t0278a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0278a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0283a-walt.sh test/02/t0283a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0283a-walt.sh: 23: .: test_funcs: not found
CXX="g++" /bin/sh etc/test.sh -shell /bin/sh -run \
test/02/t0289a-walt.sh test/02/t0289a-walt.ES
su: Authentication failure
(Ignored)
test/02/t0289a-walt.sh: 23: .: test_funcs: not found
Passed 45 of 285 tests.
Failed 10 of 285 tests.
No result for 230 of 285 tests.
make[1]: *** [sure] Error 1
make[1]: Leaving directory `/aegis-4.24.3'
make: *** [debian/stamp-makefile-check] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
root@debian:/aegis-4.24.3#
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
aegis (4.24.3-2) unstable; urgency=low
.
* Segfault fixed, closes SF.net #3066593.
* Updated Danish debconf translations. (Closes: #602452)
* Bump Standards-Version to 3.9.1 (no changes needed)
Author: Walter Franzini <walter.franz...@gmail.com>
Bug-Debian: http://bugs.debian.org/602452
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- aegis-4.24.3.orig/libaegis/http.cc
+++ aegis-4.24.3/libaegis/http.cc
@@ -404,7 +404,7 @@ void
emit_change_href(change::pointer cp, const char *modifier)
{
if (cp->bogus)
- emit_project_href(cp->pp, modifier);
+ emit_project_href(cp->pp,"%s", modifier);
else
emit_change_href_n(cp->pp, magic_zero_decode(cp->number), modifier);
}
--- aegis-4.24.3.orig/aeget/get/project/integr_histo.cc
+++ aegis-4.24.3/aeget/get/project/integr_histo.cc
@@ -189,14 +189,14 @@ get_project_integration_histogram(projec
if (recursive)
{
printf("faster ");
- emit_project_href(pp, ref.c_str());
+ emit_project_href(pp,"%s", ref.c_str());
printf("non-");
}
else
{
printf("slower ");
ref += "+recursive";
- emit_project_href(pp, ref.c_str());
+ emit_project_href(pp,"%s", ref.c_str());
}
printf("recursive</a> listing available.</p>\n");