Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63575 - Compile fails due to extra newline char in mod_auth_kerb-4.11
Summary: Compile fails due to extra newline char in mod_auth_kerb-4.11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2004-09-10 11:24 UTC by MesseR
Modified: 2005-04-23 20:21 UTC (History)
1 user (show)

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

Trivial patch to fix compilation error (mod_auth_kerb.triv.patch,734 bytes, patch)
2005-01-22 05:33 UTC, Elfyn McBratney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MesseR 2004-09-10 11:24:11 UTC
At line 379, a space is replaced by a newline character...
I checked on Sourceforge and that's how the original file is, they just released it with this bug...

Reproducible: Always
Steps to Reproduce:
1. emerge mod_auth_kerb

Actual Results:  
Compile fails due to string delimiter errors.

Expected Results:  

emerge info is irrelevant for this issue.
Comment 1 Guy Van Sanden 2004-09-11 07:45:36 UTC
Me too:

merge mod_auth_kerb-4.11.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/mod_auth_kerb-4.11 to /
>>> md5 src_uri ;-) mod_auth_kerb-4.11.tar.gz
>>> Unpacking source...
>>> Unpacking mod_auth_kerb-4.11.tar.gz to /var/tmp/portage/mod_auth_kerb-4.11/work
 * Applying mod_auth_kerb_register.patch...                                                      [ ok ]
>>> Source unpacked.
/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -march=athlon-xp -fomit-frame-pointer -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apache2   -I/usr/include/apache2  -DAPXS2 -DKRB5 -DKRB5_SAVE_CREDENTIALS -DKRB_DEF_REALM=\"EOS.NCSU.EDU\"  -c -o mod_auth_kerb.lo mod_auth_kerb.c && touch mod_auth_kerb.slo
mod_auth_kerb.c:379:23: missing terminating " character
mod_auth_kerb.c:380:60: missing terminating " character
distcc[26700] ERROR: compile on localhost failed
apxs:Error: Command failed with rc=65536

!!! ERROR: net-www/mod_auth_kerb-4.11 failed.
!!! Function src_compile, Line 28, Exitcode 1
!!! (no error message)
Comment 2 Mark 2005-01-22 03:09:44 UTC
I also have this problem
Comment 3 Elfyn McBratney 2005-01-22 05:33:39 UTC
Created attachment 49196 [details, diff]
Trivial patch to fix compilation error

The above patch fixes compilation.
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-30 07:19:51 UTC
please try 5.0_rc6. see bug #56155
Comment 5 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:21:42 UTC
Long since fixed, closing.