<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>220595</bug_id>
          
          <creation_ts>2008-05-06 13:55 0000</creation_ts>
          <short_desc>www-apache/mod_auth_openid-0.2 fails aclocal and issue with APR include</short_desc>
          <delta_ts>2008-05-08 19:13:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chad.simmons@member.fsf.org</reporter>
          <assigned_to>apache-bugs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 13:55:07 0000</bug_when>
            <thetext>* Running eautoreconf in &apos;/var/tmp/portage/www-apache/mod_auth_openid-0.2/work/mod_auth_openid-0.2&apos; ...
 * Running aclocal -I /acinclude.d/ -I acinclude.d ...                                                               [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/www-apache/mod_auth_openid-0.2/temp/aclocal-16219.out

 *
 * ERROR: www-apache/mod_auth_openid-0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2799:  Called eautoreconf
 *             environment, line 1011:  Called eaclocal
 *             environment, line  950:  Called autotools_run_tool &apos;aclocal&apos; &apos;-I&apos; &apos;/acinclude.d/&apos; &apos;-I&apos; &apos;acinclude.d&apos;
 *             environment, line  501:  Called die
 * The specific snippet of code:
 *           die &quot;Failed Running $1 !&quot;;
 *  The die message:
 *   Failed Running aclocal !


Reproducible: Always

Steps to Reproduce:
1. emerge mod_auth_openid
2.
3.

Actual Results:  
aclocal fails

Expected Results:  
compiled and installed

chadgentoo ~ # emerge --info
Portage 2.1.5_rc6 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Tue, 06 May 2008 07:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r11, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=k8 -msse3 -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-march=k8 -msse3 -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks parallel-fetch sandbox sfperms strict unmerge-orphans user-sandbox userfetch userpriv&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;en_US.utf-8&quot;
LDFLAGS=&quot;&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/sunrise /usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow 3dnowext X Xaw3d a52 aac aalib acct acl acpi aio alsa amd64 amr apache2 apm asf athena bash-completion berkdb blas blender-game bluetooth branding bzip2 cairo ccache cddb cdr cgi cli color-console commercial connectionstatus cracklib crypt css cups curl cvs daap dbus divx dnd dri dts dvd dvdnav dvdr dvdread eds emboss emerald encode escreen esd evo exif extensions fam fame fat ffmpeg fftw firefox flac fortran gd gdbm gif glitz glx gmail gmailtimestamps gnome gnutls gpm graphviz gstreamer gtk hal hddtemp hdri hpn httpd iconv ieee1394 imagemagick ipod ipv6 isdnlog java joystick jpeg kde kdeenablefinal kdehiddenvisibility kdenablefinal kerberos lame lcms ldap libcaca libnotify lm_sensors lzo mad midi mikmod mjpeg mmap mmx mmxext mp2 mp3 mp4 mpeg mpeg2 mpi mplayer mplayer-bin mpm-worker mudflap multilib mysql ncurses netmeeting network network-cron nls nptl nptlonly nsplugin nvidia nxclient ocaml offensive ogg openal openexr opengl openmp pam pcre pdf perl php pic plugins png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection reiserfs rtc rtsp sdl session sftplogging shout smi smp sms snmp spell spl sqlite3 sse sse2 ssl ssse3 startup-notification stream subversion svg tcpd theora threads tiff tk toolbar truetype unicode upnp usb visualization vorbis winpopup wmp x264 xcb xcomposite xml xml2 xorg xprint xscreensaver xv xvid xvmc yv12 zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev mouse keyboard joystick&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 13:56:09 0000</bug_when>
            <thetext>Created an attachment (id=152119)
aclocal out

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 14:03:19 0000</bug_when>
            <thetext>next line is the command portage runs for ac local.
aclocal -I /acinclude.d/ -I acinclude.d

Looks like for some reason the ebuild is trying to run aclocal with two paths one valid(acinclude.d) and one that doesnt exist(/acinclude.d/). It looks like this line in the ebuild may be the issue but I don&apos;t see where it is picking up the / at the beginning and end of the dir.

        AT_M4DIR=&quot;acinclude.d&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:01:08 0000</bug_when>
            <thetext>ok this problem comes from the makefile. I will be attaching an -r1 ebuild and makefile patch that solves this problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:07:03 0000</bug_when>
            <thetext>Patching this issue exposes another issue. APR is not being properly included here causing compilation failures.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:11:58 0000</bug_when>
            <thetext>Created an attachment (id=152121)
fixes aclocal issue but exposes and issue with APR not being included properly

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:13:16 0000</bug_when>
            <thetext>Created an attachment (id=152123)
makefile patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:24:50 0000</bug_when>
            <thetext>ok attaching working ebuild. Problem was configure was picking up apr-config instead of apr-1-config. Please test and verify but this should work for everyone.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-06 15:26:28 0000</bug_when>
            <thetext>Created an attachment (id=152125)
working ebuild with patch for makefile and passes correct apr-1-config to configure

working -r1 ebuild</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-07 23:32:39 0000</bug_when>
            <thetext>updating description to reflect all issues corrected by patch/ebuild update</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chad.simmons@member.fsf.org</who>
            <bug_when>2008-05-08 17:48:26 0000</bug_when>
            <thetext>configured a vhost on my machine and verified openid authentication works as expected.

Could someone from the Apache herd review and commit the r1 ebuild as it appears the 0.2 ebuild currently in portage is completely unusable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hollow@gentoo.org</who>
            <bug_when>2008-05-08 19:13:51 0000</bug_when>
            <thetext>fixed, thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>152119</attachid>
            <date>2008-05-06 13:56 0000</date>
            <desc>aclocal out</desc>
            <filename>aclocal-16219.out</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqKiogYWNsb2NhbCAqKioqKgoqKioqKiBhY2xvY2FsIC1JIC9hY2luY2x1ZGUuZC8gLUkgYWNp
bmNsdWRlLmQKCmFjbG9jYWwtMS4xMDogY291bGRuJ3Qgb3BlbiBkaXJlY3RvcnkgYC9hY2luY2x1
ZGUuZC8nOiBObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>152121</attachid>
            <date>2008-05-06 15:11 0000</date>
            <desc>fixes aclocal issue but exposes and issue with APR not being included properly</desc>
            <filename>mod_auth_openid-0.2-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA4IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWM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wKCQktLXdpdGhvdXQtYmRiLWRpciBcCgkJLS13aXRo
LXNxbGl0ZTM9L3VzciBcCgkJfHwgZGllICJlY29uZiBmYWlsZWQiCgllbWFrZSB8fCBkaWUgImVt
YWtlIGZhaWxlZCIKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>152123</attachid>
            <date>2008-05-06 15:13 0000</date>
            <desc>makefile patch</desc>
            <filename>mod_auth_openip-0.2-makefile.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIE1ha2VmaWxlLmFtCTIwMDgtMDEtMDYgMTQ6NDY6MDguMDAwMDAwMDAwIC0wNTAwCisrKyBN
YWtlZmlsZS5hbS5vbGQJMjAwOC0wNS0wNiAxMDo1MjowMy4wMDAwMDAwMDAgLTA0MDAKQEAgLTEs
NSArMSwzIEBACi1BQ0xPQ0FMX0FNRkxBR1M9LUkgJHt0b3Bfc3JjZGlyfS9hY2luY2x1ZGUuZC8K
LQogbm9pbnN0X0xUTElCUkFSSUVTID0gbGlibW9kYXV0aG9wZW5pZC5sYQogbm9pbnN0X1BST0dS
QU1TID0gZGJfaW5mbwogbm9pbnN0X0RBVEEgPSBtb2RfYXV0aF9vcGVuaWQubGEKQEAgLTIyLDQg
KzIwLDQgQEAKIAogbW9kX2F1dGhfb3BlbmlkLmxhOiBsaWJtb2RhdXRob3BlbmlkLmxhCiAJJHtB
UFhTfSAtYyAtbyAkQCAkPCAke0FQQUNIRV9DRkxBR1N9ICR7T1BLRUxFX0NGTEFHU30gJHtPUEtF
TEVfTElCU30gJHtCREJfTElCU30gXAotCQkJICAgICR7U1FMSVRFM19DRkxBR1N9ICR7UENSRV9M
SUJTfSAke0NVUkxfTElCU30KXCBObyBuZXdsaW5lIGF0IGVuZCBvZiBmaWxlCisJCQkgICAgJHtT
UUxJVEUzX0NGTEFHU30gJHtQQ1JFX0xJQlN9ICR7Q1VSTF9MSUJTfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>152125</attachid>
            <date>2008-05-06 15:26 0000</date>
            <desc>working ebuild with patch for makefile and passes correct apr-1-config to configure</desc>
            <filename>mod_auth_openid-0.2-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA4IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L3d3dy1hcGFjaGUvbW9kX2F1dGhfb3BlbmlkL21v
ZF9hdXRoX29wZW5pZC0wLjIuZWJ1aWxkLHYgMS4xIDIwMDgvMDMvMjIgMTk6MjA6MzAgaG9sbG93
IEV4cCAkCgppbmhlcml0IGV1dGlscyBhcGFjaGUtbW9kdWxlIGF1dG90b29scwoKREVTQ1JJUFRJ
T049ImFuIE9wZW5JRCBhdXRoZW50aWNhdGlvbiBtb2R1bGUgZm9yIHRoZSBhcGFjaGUgd2Vic2Vy
dmVyIgpIT01FUEFHRT0iaHR0cDovL3RyYWMuYnV0dGVyZmF0Lm5ldC9wdWJsaWMvbW9kX2F1dGhf
b3BlbmlkIgpTUkNfVVJJPSJodHRwOi8vYnV0dGVyZmF0Lm5ldC9yZWxlYXNlcy9tb2RfYXV0aF9v
cGVuaWQvJHtQfS50YXIuZ3oiCgpMSUNFTlNFPSJhcy1pcyIKU0xPVD0iMCIKS0VZV09SRFM9In5h
bWQ2NCB+eDg2IgpJVVNFPSIiCgpERVBFTkQ9ImRldi1saWJzL2FwcgoJbmV0LWxpYnMvbGlib3Br
ZWxlCgk+PWRldi1kYi9zcWxpdGUtMyIKUkRFUEVORD0iJHtERVBFTkR9IgoKQVBBQ0hFMl9NT0Rf
Q09ORj0iMTBfJHtQTn0iCkFQQUNIRTJfTU9EX0RFR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