<?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>218310</bug_id>
          
          <creation_ts>2008-04-18 18:45 0000</creation_ts>
          <short_desc>sys-cluster/pvfs2-2.7.1 doesn&apos;t build kernel module with gentoo-sources-2.6.25</short_desc>
          <delta_ts>2008-04-21 14:53:34 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>218127</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>portage@bigmichi1.dyndns.org</reporter>
          <assigned_to>hp-cluster@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>portage@bigmichi1.dyndns.org</who>
            <bug_when>2008-04-18 18:45:31 0000</bug_when>
            <thetext>CC=&quot;i686-pc-linux-gnu-gcc&quot; ./maint/depend.sh src/server -I./include -O2 -march=native -pipe -I/usr/lib/include  -D__STATIC_FLOWPROTO_MULTIQUEUE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I . -I . -I./src/client/sysint -I./src/common/misc -I./src/common/quickhash -I./src/common/quicklist -I./src/common/id-generator -I./src/common/gossip -I./src/common/gen-locks -I./src/io/trove -I./src/io/bmi -I./src/io/description -I./src/io/buffer -I./src/io/job -I./src/io/dev -I./src/proto -DPVFS2_VERSION=&quot;\&quot;2.7.1\&quot;&quot; -D__STATIC_METHOD_BMI_TCP__ -DUSE_MMAP_RA_CACHE -pipe -Wall -Wstrict-prototypes    -I./src/server src/server/readdir.c &gt; src/server/readdir.d
for i in pvfs2-utils.c devpvfs2-req.c pvfs2-cache.c dcache.c file.c inode.c dir.c namei.c super.c pvfs2-mod.c pvfs2-bufmap.c symlink.c xattr.c acl.c xattr-trusted.c xattr-default.c waitqueue.c pvfs2-proc.c pvfs2-kernel.h pvfs2-dev-proto.h pvfs2-bufmap.h upcall.h downcall.h pvfs2-proc.h; do \
            if [ ! -f $i  -a  ! -L $i ] ; then \
                ln -s ../../.././src/kernel/linux-2.6/$i ;\
            fi ;\
        done
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6 modules
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2-utils.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/devpvfs2-req.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2-cache.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/dcache.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/file.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/inode.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/dir.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/namei.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/super.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2-mod.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2-bufmap.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/symlink.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/xattr.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/acl.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/xattr-trusted.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/xattr-default.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/waitqueue.o
  CC [M]  /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2-proc.o
/bin/sh: -c: line 0: syntax error near unexpected token `(&apos;
/bin/sh: -c: line 0: `echo &gt;/dev/null(cat /dev/null;   echo kernel//var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/pvfs2.ko;) &gt; /var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/modules.order&apos;
make[3]: *** [/var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6/modules.order] Fehler 2
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[2]: *** [_module_/var/tmp/portage/sys-cluster/pvfs2-2.7.1/work/pvfs-2.7.1/src/kernel/linux-2.6] Fehler 2
make[1]: *** [default] Fehler 2
make: *** [just_kmod] Fehler 2
 * 
 * ERROR: sys-cluster/pvfs2-2.7.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3635:  Called linux-mod_src_compile
 *             environment, line 2862:  Called die
 * The specific snippet of code:
 *               eval &quot;emake HOSTCC=\&quot;$(tc-getBUILD_CC)\&quot;                                               CC=\&quot;$(get-KERNEL_CC)\&quot;                                                 LDFLAGS=\&quot;$(get_abi_LDFLAGS)\&quot;                                          ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} &quot; || die &quot;Unable to emake HOSTCC=&quot;$(tc-getBUILD_CC)&quot; CC=&quot;$(get-KERNEL_CC)&quot; LDFLAGS=&quot;$(get_abi_LDFLAGS)&quot; ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}&quot;;
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   just_kmod
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at &apos;/var/log/portage/sys-cluster:pvfs2-2.7.1:20080418-175926.log&apos;.
 * The ebuild environment file is located at &apos;/var/tmp/portage/sys-cluster/pvfs2-2.7.1/temp/environment&apos;.
 * 



the problem is caused by the included Makefile.in
--snip--
ifeq ($(QUIET_COMPILE),1)
  # say a one-line description of the action, do not echo the command
  Q=@echo
  E=@
else
  # do not say the short Q lines, but do echo the entire command
  Q=@echo &gt;/dev/null
  E=
endif
--snip--

here Q is defined and this causes the error, there was a change in the kernel Makefile between 2.6.24 and 2.6.25 so that all pvfs ebuilds fail at this point. setting Q=@ instead of Q=@echo &gt;/dev/null fixes this error and all builds fine.

Reproducible: Always

Steps to Reproduce:
1. emerge gentoo-sources-2.6.25
2. emerge pvfs2
3. kernel module won&apos;t build

Actual Results:  
kernel module isn&apos;t build

Expected Results:  
kernel module should be build</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jsbronder@gentoo.org</who>
            <bug_when>2008-04-21 14:53:34 0000</bug_when>
            <thetext>Fixed in cvs, should hit the mirrors in an hour or so.  Thanks for the detailed report and fix!
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>