Michael,

Thanks very much for your input. I have had a look around and still
can't find the source of the problem. I'm not overriding
CONFIGURE_TARGET in either make.conf or pkgtools.conf -- neither has
any mention of build or host targets.

The problem still occurs if I enter /usr/ports/audio/arts and `make`:

phoenix ~ # portinstall -R arts                                       
          (0) 9:46 (ttyp2:1)
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 14308
port entries found
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000...
..... done]
--->  Upgrading 'arts-1.5.1_1,1' to 'arts-1.5.2,1' (audio/arts)
--->  Building '/usr/ports/audio/arts'
===>  Cleaning for ruby-1.8.4_5,1
===>  Cleaning for qt-3.3.6_2
---- snip ----
===>  Cleaning for nasm-0.98.39,1
===>  Cleaning for arts-1.5.2,1
===>  Found saved configuration for arts-1.5.2,1
=> arts-1.5.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE.
=> Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/3.5.2/src/.
arts-1.5.2.tar.bz2                            100% of  944 kB   81 kBps 00m00s
===>  Extracting for arts-1.5.2,1
=> MD5 Checksum OK for KDE/arts-1.5.2.tar.bz2.
=> SHA256 Checksum OK for KDE/arts-1.5.2.tar.bz2.
===>   arts-1.5.2,1 depends on file: /usr/local/bin/ruby18 - found
===>  Patching for arts-1.5.2,1
===>   arts-1.5.2,1 depends on file: /usr/local/bin/ruby18 - found
===>  Applying FreeBSD patches for arts-1.5.2,1
===>   arts-1.5.2,1 depends on file: /usr/local/bin/ruby18 - found
===>   arts-1.5.2,1 depends on file: /usr/X11R6/bin/moc - found
===>   arts-1.5.2,1 depends on executable: gmake - found
===>   arts-1.5.2,1 depends on file: /usr/local/bin/libtool - found
===>   arts-1.5.2,1 depends on shared library: audiofile - found
===>   arts-1.5.2,1 depends on shared library: mad - found
===>   arts-1.5.2,1 depends on shared library: ogg - found
===>   arts-1.5.2,1 depends on shared library: glib - found
===>   arts-1.5.2,1 depends on shared library: vorbis - found
===>   arts-1.5.2,1 depends on shared library: jack - found
===>   arts-1.5.2,1 depends on shared library: audio - found
===>   arts-1.5.2,1 depends on shared library: esd.2 - found
===>  Configuring for arts-1.5.2,1
/usr/bin/sed -i.bak  -e 's|LIBS="-laudio  $LIBS"|LIBS="-laudio -lm
-lXt -lXau $LIBS"|g'  /usr/ports/audio/arts/work/arts-1.5.2/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking for i386-portbld-freebsd6-strip... no
checking for strip... strip
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel

.. but not if I enter /usr/ports/audio/arts/work/arts-1.5.2/ and do a
`./configure`:

phoenix ...o/arts/work/arts-1.5.2 # ./configure                       
          (0) 9:50 (ttyp2:1)
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -p
checking for style of include used by make... GNU
checking for gcc... gcc

Is there anything more I can give you to help track this down? I'll
keep looking ...

Nick

On 4/6/06, Michael Nottebrock <[EMAIL PROTECTED]> wrote:
> Nick Stenning schrieb:
> > As per instructions from the error, I'm reporting an arts build error.
> >
> > On:
> >
> > FreeBSD phoenix.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Sun
> > Apr  2 20:36:23 BST 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PHOENIX  i386
> >
> > Using: ! audio/arts (arts-1.5.1_1,1)   (configure error)
> >
> > Configure error as follows:
> >
> > [...]
> >
> > checking size of pthread_mutex_t... configure: error: cannot run test
> > program while cross compiling
>
> The configure script thinks you're using a cross-compiling gcc:
>
> > configure:2811: checking whether we are cross compiling
> > configure:2813: result: yes
>
> This is most likely the result of the mismatch between the detected host
> type and build/target type:
>
> > configure:1615: checking build system type
> > configure:1633: result: i386-portbld-freebsd6.1
> > configure:1641: checking host system type
> > configure:1655: result: i386-portbld-freebsd6
> > configure:1663: checking target system type
> > configure:1677: result: i386-portbld-freebsd6
>
> ... which again is probably caused by how your arts configure script is run:
>
> > $ ./configure --build=i386-portbld-freebsd6.1 --x-libraries=/usr/X11R6/lib 
> > --x-includes=/usr/X11R6/include --disable-debug --with-xinerama 
> > --with-qt-includes=/usr/X11R6/include --with-qt-libraries=/usr/X11R6/lib 
> > --with-extra-libs=/usr/local/lib --with-extra-includes=/usr/local/include 
> > --prefix=/usr/local i386-portbld-freebsd6
>
> The very last part of that line (i386-portbld-freebsd6) shouldn't be
> there at all. Are you by chance setting CONFIGURE_TARGET in
> /etc/make.conf or /usr/local/etc/pkgtools.conf or have you modified the
> Makefile of the arts port?
>
>
> Cheers,
> --
>    ,_,   | Michael Nottebrock               | [EMAIL PROTECTED]
>  (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
>    \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
>
>
>
>
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to