From owner-freebsd-current@freebsd.org Thu Sep 24 05:18:52 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E619A087DB for ; Thu, 24 Sep 2015 05:18:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F04FD1252 for ; Thu, 24 Sep 2015 05:18:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id ECF66A087DA; Thu, 24 Sep 2015 05:18:51 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1967A087D9 for ; Thu, 24 Sep 2015 05:18:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F26B1250; Thu, 24 Sep 2015 05:18:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by obbbh8 with SMTP id bh8so50239168obb.0; Wed, 23 Sep 2015 22:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=c+IMfoduBHl+kNguOmeCvK7lPEJE6kJA9QGkxoC2J9E=; b=SnozXvN7JHcUcNn2M6VPLQlb0ehAfBfJdKFU9aH8H3ue4Jpv1nXsAPTaMf5iAAv1/4 CezBAlmB2FxRk2FYxCOHOKXVXQE6Wno1ahYBr93Gq1HdRCsQkf+zg5r6s1GhsArTuJlJ ENBkK5izhlJDXrcwnyqrG/G74I0/wGAqgkzpFxiPJWgC5EEOf/okPUuSRo2SWODCG3gh 0W60ZfItLQghwVsUn5NkEs4hK2nIW7SphCSQjeDutP/ZsFjOxucN+SE7X3bhqTuEDDGD Af/m4J2mS8dCHvVbhcjG9HYDXC06tv+KGFO02Vjd6RTGcu8XBn7J4BFCIkdxbXCDRbqp Hr7w== MIME-Version: 1.0 X-Received: by 10.60.140.169 with SMTP id rh9mr7522430oeb.75.1443071930676; Wed, 23 Sep 2015 22:18:50 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.202.102.9 with HTTP; Wed, 23 Sep 2015 22:18:50 -0700 (PDT) In-Reply-To: <20150923203926.GJ36682@home.opsec.eu> References: <2278F1AB-D2B6-4445-A352-D1D26B68CB64@FreeBSD.org> <20150923203926.GJ36682@home.opsec.eu> Date: Wed, 23 Sep 2015 22:18:50 -0700 X-Google-Sender-Auth: jmrLDHfcUraf0SzUuMLU5XbLUjs Message-ID: Subject: Re: Port compilation fails on HEAD. works on 9 and 10 STABLE From: Kevin Oberman To: Kurt Jaeger Cc: Dimitry Andric , "current@freebsd.org" , leo@mediatomb.cc Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 05:18:52 -0000 On Wed, Sep 23, 2015 at 1:39 PM, Kurt Jaeger wrote: > Hi! > > > > Try dropping the attached patch in net/mediatomb/files. I submitted it > > > in March, in PR198436: > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198436 > > > > Eh, now with an actual patch. :) > > Thanks, helps to build it. Still fails on 9.3a, but I *have* to go > to bed now. > > -- > pi@opsec.eu +49 171 3101372 5 years to > go ! > Hmm. Looks like something is going wrong with Mk/Uses/iconv. The failing test for iconv builds without -liconv. Now it's time for me to get some sleep. Here is the relevant section of the log: configure:8520: checking iconv.h usability configure:8537: cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include conftest.c >&5 configure:8544: $? = 0 configure:8558: result: yes configure:8562: checking iconv.h presence configure:8577: cpp -I/usr/local/include conftest.c configure:8584: $? = 0 configure:8598: result: yes configure:8631: checking for iconv.h configure:8638: result: yes configure:9290: checking for iconv configure:9346: cc -o conftest -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -lpthread -fstack-protector conftest.c >&5 /tmp/ccLEMR46.o: In function `main': conftest.c:(.text+0x7): undefined reference to `iconv' configure:9353: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "MediaTomb" | #define PACKAGE_TARNAME "mediatomb" | #define PACKAGE_VERSION "0.12.1" | #define PACKAGE_STRING "MediaTomb 0.12.1" | #define PACKAGE_BUGREPORT "jin@mediatomb.cc" #define PACKAGE "mediatomb" | #define VERSION "0.12.1" | #define EXTEND_PROTOCOLINFO 1 | #define UPNP_VERSION_STRING "0.12.1" | #define UPNP_VERSION_MAJOR 0 | #define UPNP_VERSION_MINOR 4 | #define UPNP_VERSION_PATCH 1 | #define HAVE_DIRENT_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_TIME_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_SCHED_GETPARAM 1 | #define HAVE_SCHED_SETPARAM 1 | #define HAVE_SCHED_GET_PRIORITY_MIN 1 | #define HAVE_SCHED_GET_PRIORITY_MAX 1 | #define HAVE_MKDIR 1 | #define HAVE_GETOPT_H 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_MKFIFO 1 | #define EXTERNAL_TRANSCODING 1 | /* end confdefs.h. */ | /* Define iconv to an innocuous variant, in case declares iconv. | For example, HP-UX 11i declares gettimeofday. */ | #define iconv innocuous_iconv | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char iconv (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef iconv | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char iconv (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_iconv || defined __stub___iconv | choke me | #endif | | int | main () | { | return iconv (); | ; | return 0; | } configure:9373: result: no -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683