From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 9 09:26:59 2009 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A3E41065672 for ; Fri, 9 Jan 2009 09:26:59 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.82.27]) by mx1.freebsd.org (Postfix) with ESMTP id 835428FC08 for ; Fri, 9 Jan 2009 09:26:58 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from localhost (unknown [81.23.190.117]) by mx1.skyriver.ru (Postfix) with ESMTP id EA6D55A8B; Fri, 9 Jan 2009 11:59:53 +0300 (MSK) Date: Fri, 9 Jan 2009 13:10:10 +0400 From: Peter Vereshagin To: multimedia@FreeBSD.org Message-ID: <20090109091010.GK87660@screwed.box> References: <200901081301.n08D1Mnv088857@freefall.freebsd.org> <20090108132735.GA87660@screwed.box> <1231423533.51790.178.camel@pav.hide.vol.cz> <20090109073511.GB87660@screwed.box> <1231488904.51790.213.camel@pav.hide.vol.cz> <20090109084535.GG87660@screwed.box> <1231490914.51790.220.camel@pav.hide.vol.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <1231490914.51790.220.camel@pav.hide.vol.cz> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L (~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Cc: Pav Lucistnik Subject: audio/faac does not compile without devel/libgnugetopt Re: ports/130292: security/pinentry lacks on no_argument type X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 09:26:59 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Hello, Not sure if I should file a PR for this or put on mailing list: === configure.in:17: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3860: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:3859: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to multimedia@FreeBSD.org [maintainer] and attach the "/spacy/volume/ports/audio/faac/work/faac/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /spacy/volume/ports/audio/faac. === Attached is the config.log. Could not read it out for clear. More details are: many .m4 warnings before ./configure. Intended to put libgnugetopt in presence for this to compile and run. 2009/01/09 09:48:34 +0100 Pav Lucistnik => To Peter Vereshagin : PL> They surely do compile without libgnugetopt present on many other PL> machines. You need to see, what's different on your machine. PL> PL> Copy of the error message would be helpful. PL> PL> Peter Vereshagin p??e v p? 09. 01. 2009 v 12:45 +0400: PL> > I'm very sorry to bother you again but have noticed that it is the audio/faac ( and ffmpeg and mplayer therefore ) to require the devel/libgnugetopt to be present... it just does neither work nor even compile without libgnugetopt. Should I file a new PR for this? PL> > PL> > 2009/01/09 09:15:04 +0100 Pav Lucistnik => To Peter Vereshagin : PL> > PL> No, I just closed the PR. PL> > PL> PL> > PL> Peter Vereshagin p??e v p? 09. 01. 2009 v 11:35 +0400: PL> > PL> > It does now but I'm frustrated much to see the #define operators are the same on those headers. Looks like some unfamiliar C magic to me. PL> > PL> > Need to do something to close PR? PL> > PL> > PL> > PL> > 2009/01/08 15:05:33 +0100 Pav Lucistnik => To Peter Vereshagin : PL> > PL> > PL> You have libgnugetopt package on 7.1 system? Whee, impressive. This port PL> > PL> > PL> was only relevant on FreeBSD 4.x and older. Delete it and try again with PL> > PL> > PL> pinentry. PL> > PL> > PL> PL> > PL> > PL> PL> > PL> > PL> Peter Vereshagin p??e v ?t 08. 01. 2009 v 17:27 +0400: PL> > PL> > PL> > Every getopt.h I looked contained no such a typedefs but only the constants. Those are in: /usr/src/include /usr/include and /usr/local/include ( by libgnugetopt-1.2_1 package ). PL> > PL> > PL> > I googled on such a message but nothing helpful. Is it well known which header should contain such a type definitions? PL> > PL> > PL> > PL> > PL> > PL> > 2009/01/08 13:01:22 +0000 pav@FreeBSD.org => To peter@vereshagin.org : PL> > PL> > PL> > > Synopsis: security/pinentry lacks on no_argument type PL> > PL> > PL> > > PL> > PL> > PL> > > State-Changed-From-To: open->feedback PL> > PL> > PL> > > State-Changed-By: pav PL> > PL> > PL> > > State-Changed-When: Thu Jan 8 13:01:08 UTC 2009 PL> > PL> > PL> > > State-Changed-Why: PL> > PL> > PL> > > Cannot reproduce. PL> > PL> > PL> > > PL> > PL> > PL> > > Are you sure where aren't multiple getopt.h headers on your machine? PL> > PL> > PL> > > PL> > PL> > PL> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=130292 PL> > PL> > PL> > PL> > PL> > PL> > 73! Peter PL> > PL> > PL> -- PL> > PL> > PL> Pav Lucistnik PL> > PL> > PL> PL> > PL> > PL> PL> > PL> > PL> It's now using GIFs instead of JPEGs. This is similar to replacing PL> > PL> > PL> triangular wheels with round ones. PL> > PL> > PL> > PL> > PL> > PL> > 73! Peter PL> > PL> -- PL> > PL> Pav Lucistnik PL> > PL> PL> > PL> PL> > PL> The Linimon's Rule: The More You Close, The More Will Come PL> > PL> > PL> > 73! Peter PL> -- PL> Pav Lucistnik PL> PL> PL> Why did the stoplight turn red? PL> You would too, if you had to change in front of all those people. 73! Peter -- http://vereshagin.org --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by FAAC configure 1.25, which was generated by GNU Autoconf 2.62. Invocation command line was $ ./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.1 ## --------- ## ## Platform. ## ## --------- ## hostname = screwed.box uname -m = i386 uname -r = 7.1-PRERELEASE uname -s = FreeBSD uname -v = FreeBSD 7.1-PRERELEASE #2: Fri Jan 2 15:03:09 SAMT 2009 toor@screwed.box:/usr/local/src/sys/i386/compile/OPER /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2085: checking for a BSD-compatible install configure:2153: result: /usr/bin/install -c -o root -g wheel configure:2164: checking whether build environment is sane configure:2207: result: yes configure:2269: checking for gawk configure:2285: found /usr/local/bin/gawk configure:2296: result: gawk configure:2307: checking whether gmake sets $(MAKE) configure:2329: result: yes configure:2585: checking for gcc configure:2612: result: cc configure:2850: checking for C compiler version configure:2858: cc --version >&5 cc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2862: $? = 0 configure:2869: cc -v >&5 Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] configure:2873: $? = 0 configure:2880: cc -V >&5 cc: '-V' option must have argument configure:2884: $? = 1 configure:2907: checking for C compiler default output file name configure:2929: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib conftest.c -lmp4v2 >&5 /usr/bin/ld: warning: libgnugetopt.so.1, needed by /usr/local/lib/libmp4v2.so, not found (try using -rpath or -rpath-link) configure:2933: $? = 0 configure:2971: result: a.out configure:2988: checking whether the C compiler works configure:2998: ./a.out /libexec/ld-elf.so.1: Shared object "libgnugetopt.so.1" not found, required by "libmp4v2.so.0" configure:3002: $? = 1 configure:3009: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set='' ac_cv_env_CCC_value='' ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/local/include ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_CXXCPP_set='' ac_cv_env_CXXCPP_value='' ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -fno-strict-aliasing -pipe' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ ac_cv_env_F77_set='' ac_cv_env_F77_value='' ac_cv_env_FFLAGS_set='' ac_cv_env_FFLAGS_value='' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/usr/local/lib ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-lmp4v2 ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-portbld-freebsd7.1 ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=cc ac_cv_prog_make_gmake_set=yes lt_cv_sys_max_cmd_len=262144 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='/usr/local/bin/aclocal-1.9' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /spacy/volume/ports/audio/faac/work/faac/missing --run tar' AR='' AUTOCONF='/usr/local/bin/autoconf-2.62' AUTOHEADER='/usr/local/bin/autoheader-2.62' AUTOMAKE='/usr/local/bin/automake-1.9' AWK='gawk' CC='cc' CCDEPMODE='' CFLAGS='-O2 -fno-strict-aliasing -pipe' CPP='' CPPFLAGS='-I/usr/local/include' CXX='c++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-O2 -fno-strict-aliasing -pipe' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' GREP='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='-L/usr/local/lib' LIBOBJS='' LIBS='-lmp4v2' LIBTOOL='/usr/local/bin/libtool' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /spacy/volume/ports/audio/faac/work/faac/missing --run makeinfo' OBJEXT='' PACKAGE='faac' PACKAGE_BUGREPORT='faac-dev@lists.sourceforge.net' PACKAGE_NAME='FAAC' PACKAGE_STRING='FAAC 1.25' PACKAGE_TARNAME='faac' PACKAGE_VERSION='1.25' PATH_SEPARATOR=':' RANLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' USE_DRM_FALSE='' USE_DRM_TRUE='' VERSION='1.25' WITH_MP4V2_FALSE='' WITH_MP4V2_TRUE='' ac_ct_CC='cc' ac_ct_CXX='' ac_ct_F77='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-portbld-freebsd7.1' build_alias='i386-portbld-freebsd7.1' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/local/info' install_sh='/spacy/volume/ports/audio/faac/work/faac/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/usr/local/man' mkdir_p='$(install_sh) -d' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "FAAC" #define PACKAGE_TARNAME "faac" #define PACKAGE_VERSION "1.25" #define PACKAGE_STRING "FAAC 1.25" #define PACKAGE_BUGREPORT "faac-dev@lists.sourceforge.net" #define PACKAGE "faac" #define VERSION "1.25" configure: exit 1 --qDbXVdCdHGoSgWSk--