From owner-freebsd-ports@freebsd.org Mon Sep 24 09:32:47 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB5D910A75E1 for ; Mon, 24 Sep 2018 09:32:46 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail1.protonmail.ch (mail1.protonmail.ch [185.70.40.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69CC6768F9 for ; Mon, 24 Sep 2018 09:32:46 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Mon, 24 Sep 2018 09:32:25 +0000 To: FreeBSD Ports From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: error: undefined symbol: main in poudriere jail Message-ID: In-Reply-To: References: Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.protonmail.ch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 09:32:47 -0000 > This issue seemed to have come up in the past: > https://lists.freebsd.org/pipermail/freebsd-current/2018-March/068870.htm= l > > Jail name: amd64_cur > Jail version: 12.0-ALPHA7 1200084 > Jail vcs version: r338898 > Jail arch: amd64 > Jail method: svn > Jail mount: /usr/local/poudriere/jails/amd64_cur > Jail fs: zroot/poudriere/jails/amd64_cur > Jail updated: 2018-09-24 03:39:31 > Tree name: default > Tree method: portsnap > Status: > > error > /usr/bin/cc -pipe -fno-strict-aliasing -fno-common -fexceptions -std=3Dgn= u99 > -m64 -Qunused-arguments -O3 -march=3Dnative -finline-functions -flto > -fomit-frame-pointer -pedantic -pedantic-errors -Wall -Wextra -Wundef > -Wfloat-equal -Wshadow -Wbad-function-cast -Wdeclaration-after-statement > -Wc++-compat -Winline -Wno-long-long -Wno-variadic-macros -Wdocumentation > -m64 src/rttherm/CMakeFiles/rttherm.dir/spectrum.c.o > src/rttherm/CMakeFiles/rttherm.dir/viewtherm.c.o -o bin/rttherm > -Wl,-rpath,/wrkdirs/usr/ports/cad/brlcad/work/.build/lib:/usr/local/lib: > lib/libged.so.20.0.1 lib/librtuif_multispectral.a > lib/libmultispectral.so.20.0.1 lib/libfb.so.20.0.1 lib/libpkg.so.20.0.1 > /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libGLU.so > /usr/local/lib/libGL.so /usr/local/lib/libSM.so /usr/local/lib/libICE.so > /usr/local/lib/libGLU.so /usr/local/lib/libGL.so lib/libtk.so.8.5 > /usr/local/lib/libX11.so /usr/local/lib/libXext.so lib/libtkstub.a > lib/libtclstub.a /usr/local/lib/libXrender.so lib/libwdb.so.20.0.1 > lib/libicv.so.20.0.1 lib/libpng16.so.16.29.0 lib/libnetpbm.so > lib/libanalyze.so.20.0.1 lib/libtcl.so.8.5.19 lib/libclipper.so.4.6.0 > lib/librt.so.20.0.1 lib/libnmg.so lib/libgdiam.so lib/libvds.so.1.0.1 > lib/libbrep.so.20.0.1 lib/libbg.so.20.0.1 lib/libopenNURBS.so.2012.10.245 > lib/libp2t.so.1.0.1 lib/libz.so.1.2.11 lib/libtinycthread.so lib/liblz4.s= o > lib/libbn.so.20.0.1 lib/libbu.so.20.0.1 lib/libregex.so.1.0.4 -lm -pthrea= d > -ldl && : > FAILED: bin/rttherm > : && /usr/bin/cc -pipe -fno-strict-aliasing -fno-common -fexceptions > -std=3Dgnu99 -m64 -Qunused-arguments -O3 -march=3Dnative -finline-functio= ns > -flto -fomit-frame-pointer -pedantic -pedantic-errors -Wall -Wextra -Wund= ef > -Wfloat-equal -Wshadow -Wbad-function-cast -Wdeclaration-after-statement > -Wc++-compat -Winline -Wno-long-long -Wno-variadic-macros -Wdocumentation > -m64 src/rttherm/CMakeFiles/rttherm.dir/spectrum.c.o > src/rttherm/CMakeFiles/rttherm.dir/viewtherm.c.o -o bin/rttherm > -Wl,-rpath,/wrkdirs/usr/ports/cad/brlcad/work/.build/lib:/usr/local/lib: > lib/libged.so.20.0.1 lib/librtuif_multispectral.a > lib/libmultispectral.so.20.0.1 lib/libfb.so.20.0.1 lib/libpkg.so.20.0.1 > /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libGLU.so > /usr/local/lib/libGL.so /usr/local/lib/libSM.so /usr/local/lib/libICE.so > /usr/local/lib/libGLU.so /usr/local/lib/libGL.so lib/libtk.so.8.5 > /usr/local/lib/libX11.so /usr/local/lib/libXext.so lib/libtkstub.a > lib/libtclstub.a /usr/local/lib/libXrender.so lib/libwdb.so.20.0.1 > lib/libicv.so.20.0.1 lib/libpng16.so.16.29.0 lib/libnetpbm.so > lib/libanalyze.so.20.0.1 lib/libtcl.so.8.5.19 lib/libclipper.so.4.6.0 > lib/librt.so.20.0.1 lib/libnmg.so lib/libgdiam.so lib/libvds.so.1.0.1 > lib/libbrep.so.20.0.1 lib/libbg.so.20.0.1 lib/libopenNURBS.so.2012.10.245 > lib/libp2t.so.1.0.1 lib/libz.so.1.2.11 lib/libtinycthread.so lib/liblz4.s= o > lib/libbn.so.20.0.1 lib/libbu.so.20.0.1 lib/libregex.so.1.0.4 -lm -pthrea= d > -ldl && : > /usr/bin/ld: error: undefined symbol: main > > > > > referenced by crt1.c:74 > > (/usr/local/poudriere/jails/amd64_cur/usr/src/lib/csu/amd64/crt1.c:74) > > > > > /usr/lib/crt1.o:(_start) > > > > > > cc: error: linker command failed with exit code 1 (use -v to see invocati= on) > ninja: build stopped: subcommand failed. > *** Error code 1 Can you please explain what were you trying to do and how the error can be reproduced? Lorenzo Salvadore.