On Mon, Nov 10, 2008 at 04:41:43PM +0100, Luk Claes wrote:
> Pierre Habouzit wrote:
> > On Mon, Nov 10, 2008 at 07:09:21AM +0000, Frank Lichtenheld wrote:
> 
> >> your package failed to build from source. config.log says:
> 
> configure:2293: s390-linux-gnu-gcc -V >&5
> s390-linux-gnu-gcc: '-V' option must have argument
> configure:2296: $? = 1
> configure:2319: checking for C compiler default output file name

Nah, that's another check entirely.

> >> configure:2319: checking for C compiler default output file name
> >> configure:2346: sparc-linux-gnu-gcc -g -Wall -Wextra -O2  -Wl,-z,defs
> >> conftes
> >> t.c  >&5
> >> cc1: error: /home/buildd/include: Permission denied
> >> configure:2349: $? = 1
> >> configure:2387: result: 
> >> configure: failed program was:
> >> | /* confdefs.h.  */
> >> | #define PACKAGE_NAME "tokyocabinet"
> >> | #define PACKAGE_TARNAME "tokyocabinet"
> >> | #define PACKAGE_VERSION "1.3.15"
> >> | #define PACKAGE_STRING "tokyocabinet 1.3.15"
> >> | #define PACKAGE_BUGREPORT ""
> >> | /* end confdefs.h.  */
> >> | 
> >> | int
> >> | main ()
> >> | {
> >> | 
> >> |   ;
> >> |   return 0;
> >> | }
> >> configure:2394: error: C compiler cannot create executables
> > 
> > huh, it builds fine here, and it seems it broke on _every_ buildd out
> > there, have you any clue what is happening ?

Ok, it breaks because of this insanity from configure.in:
<--- snip --->
# Building flags
MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include
-DNDEBUG -D_GNU_SOURCE=1"
MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
MYCMDLDFLAGS=""
MYRUNPATH="\$(LIBDIR)"
MYLDLIBPATHENV="LD_LIBRARY_PATH"
MYPOSTCMD="true"

# Building paths
pathtmp="$PATH"
PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
CPATH="$HOME/include:/usr/local/include:$CPATH"
PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
<--- snip --->

The reason it only fails on buildds is because they often have a
/home/buildd that is not readable/writable by user buildd (exactly
to catch such stuff).

Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to