Date: Mon, 24 Sep 2018 09:32:25 +0000 From: Lorenzo Salvadore <phascolarctos@protonmail.ch> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: error: undefined symbol: main in poudriere jail Message-ID: <CDduIhEqP4vsAGt5p9RXp80UXqbhGB5dv_xW33IcdKyLT6_t2y0NYRlI5oS3zOViJwrPM_W36TWeD2HP2zH3Ho6wLDDFl_KFcZk9Iffe6B8=@protonmail.ch> In-Reply-To: <CALM2mEnTp2aPWCcBQ-zUrSo_vdfSU0b=pXoEuAto_kytPnvUgg@mail.gmail.com> References: <CALM2mEnTp2aPWCcBQ-zUrSo_vdfSU0b=pXoEuAto_kytPnvUgg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDduIhEqP4vsAGt5p9RXp80UXqbhGB5dv_xW33IcdKyLT6_t2y0NYRlI5oS3zOViJwrPM_W36TWeD2HP2zH3Ho6wLDDFl_KFcZk9Iffe6B8=>