Date: Thu, 25 Oct 2012 00:40:00 GMT From: <rick@sloservers.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/163942: [patch] fix i386 build of dns/inadyn Message-ID: <201210250040.q9P0e0ec093828@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/163942; it has been noted by GNATS. From: <rick@sloservers.com> To: <bug-followup@FreeBSD.org>, <yanegomi@gmail.com>, <samm@os2.kiev.ua> Cc: Subject: Re: ports/163942: [patch] fix i386 build of dns/inadyn Date: Wed, 24 Oct 2012 17:36:32 -0700 Hi there, I don't think that this latest update has resolved the original issue with TARGET_ARCH. I ran into this same problem today when using the FreeNAS build scripts and the latest version of the port. You can reproduce it like so: [root@ /usr/ports/dns/inadyn]# make TARGET_ARCH=amd64 . . . [root@ /usr/ports/dns/inadyn]# make TARGET_ARCH=amd64 install ===> Installing for inadyn-1.96.2_3 ===> Generating temporary packing list ===> Checking if dns/inadyn already installed /bin/mkdir -p /usr/local/share/doc/inadyn install -o root -g wheel -m 444 -p /usr/ports/dns/inadyn/work/inadyn.v1.96.2/readme.html /usr/local/share/doc/inadyn install -s -o root -g wheel -m 555 /usr/ports/dns/inadyn/work/inadyn.v1.96.2/bin/linux/inadyn /usr/local/bin strip: /usr/local/bin/inadyn: File format not recognized install: wait: No such file or directory *** Error code 70 Stop in /usr/ports/dns/inadyn. This happens because inadyn puts the binary under workdir/bin/${TARGET_ARCH} when TARGET_ARCH is set. The Makefile, however, installs out of workdir/bin/linux. [root@ /usr/ports/dns/inadyn]# find work/inadyn.v1.96.2/bin/ -type d work/inadyn.v1.96.2/bin/ work/inadyn.v1.96.2/bin/win32 work/inadyn.v1.96.2/bin/mac work/inadyn.v1.96.2/bin/amd64 <--- Here is the correct directory work/inadyn.v1.96.2/bin/linux Regards, Rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210250040.q9P0e0ec093828>