[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: ftbfs on powerpc: /usr/bin/make Makefile:190: *** missing separator



On 06/27/2012 10:47 AM, Guo Yixuan wrote:
> Hello,
> 
> My package boinc(7.0.27+dfsg-4) failed on powerpc, with a bad Makefile.
> However, I tried to set up a sid system in qemu, but cannot reproduce
> this problem. The Makefile was generated by autoconf/automake, so this
> is very strange.
> 
> From historical buildd logs[1], it seems to be a praetorius-specific
> problem: last 8 builds on praetorius failed with the same symptom, but
> poulenc, parry, porpora are good.
> 
> [1] https://buildd.debian.org/status/logs.php?pkg=boinc&arch=powerpc
> 
> For the record, this is the revelant part of Makefile (in qemu image):
> 
>    185  EXEEXT =
>    186  F77 =
>    187  FFLAGS = -g -O2
>    188  FGREP = /bin/grep -F
>    189  FULLNAME = Guo Yixuan,,,

This line could be the reason, it's generated by this line in configure
script:
FULLNAME=`grep ^${LOGNAME}: /etc/passwd | awk -F: '{print $5}'`

if that introduce an newline in FULLNAME, make will complain. So please
have a check on /etc/passwd of praetorius, thanks.

>    190  GLUT_CFLAGS = -pthread
>    191  GLUT_LIBS = -L/usr/lib -lglut  -lSM -lICE -lXmu -lXi  -L/usr/lib
> -lGLU -L/usr/lib -lGL  -lm
>    192  GLU_CFLAGS = -pthread
>    193  GLU_LIBS = -L/usr/lib -lGLU -L/usr/lib -lGL  -lm
>    194  GL_CFLAGS = -pthread
>    195  GL_LIBS = -L/usr/lib -lGL  -lm
>    196  GREP = /bin/grep
>    197  GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/powerpc-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> 
> 
>> debian/rules override_dh_auto_build make[1]: Entering directory
>> `/build/buildd-boinc_7.0.27+dfsg-5-powerpc-ThRZGR/boinc-7.0.27+dfsg' 
>> docbook2x-man debian/manpages/update-boinc-applinks.xml
>>
>> ****        ***** **** Making **** ****        *****
>>
>> /usr/bin/make Makefile:190: *** missing separatormake[2]: Entering
>> directory
>> `/build/buildd-boinc_7.0.27+dfsg-5-powerpc-ThRZGR/boinc-7.0.27+dfsg' 
>> .  Stop. make[2]: Leaving directory
>> `/build/buildd-boinc_7.0.27+dfsg-5-powerpc-ThRZGR/boinc-7.0.27+dfsg' 
>> make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving
>> directory
>> `/build/buildd-boinc_7.0.27+dfsg-5-powerpc-ThRZGR/boinc-7.0.27+dfsg' 
>> make: *** [build-arch] Error 2

Guo Yixuan


Reply to: