Date: Sat, 4 Jan 2014 00:15:40 +0800 From: Jiansong Liu <jiansong.liu@gmail.com> To: Big Lebowski <spankthespam@gmail.com> Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: www/rubygem-passenger: link error on 10.0-PRERELEASE r259862M Message-ID: <CAA-bO=mpXK2c16FiQpcfhM3xF5f7uLKtdRLo0eTB8v2e3ULvkA@mail.gmail.com> In-Reply-To: <CAHcXP%2BczHaJSyCur4b0yAKDAYW9qNzO%2BfdKNmAmTn_Zz5wni-g@mail.gmail.com> References: <CAA-bO==Ow5wesiZW%2BKiETdpY=1ZN12CZ3HtK1uZ7O0sgkFG43w@mail.gmail.com> <CAHcXP%2BdGw-SiVT7t=a=uH00fPcbcALoabHuf=dD-VikKG8vf7w@mail.gmail.com> <CAHcXP%2BczHaJSyCur4b0yAKDAYW9qNzO%2BfdKNmAmTn_Zz5wni-g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello S. I tried your patch and it works (r260082M), thank you very much. Cheers, Jiansong On Thu, Jan 2, 2014 at 6:52 PM, Big Lebowski <spankthespam@gmail.com> wrote: > I've just made a test and updated my port to the latest version of > passenger, that is 4.0.31 and it now builds fine and starts fine compiled > as Nginx module as well, so I've made a patch to the port and submitted it > here: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185416 > > Regards, > S. > > > On Thu, Jan 2, 2014 at 11:03 AM, Big Lebowski <spankthespam@gmail.com>wrote: > >> Hi, >> >> I would like to confirm that issue: I've ecountered it while trying to >> compile rubygem-passenger-4.0.30 from ports on FreeBSD 10.0-RC3 amd64, >> fresh ISO installation. >> >> Is there anything happening about that? Do we know if its CLANG issue of >> Passenger one, and should be reported to them? >> >> Regards, >> S. >> >> >> On Thu, Dec 26, 2013 at 7:57 AM, Jiansong Liu <jiansong.liu@gmail.com>wrote: >> >>> Hi, >>> >>> I try to re-install the www/rubygem-passenger by the portmaster tool >>> after >>> I upgraded to 10.0, and got error like below: >>> >>> It produced 4 warnings at first: >>> >>> c++ -Iext -D_REENTRANT -I/usr/local/include -Wall -Wextra >>> -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings >>> -Wno-long-long -Wno-missing-field-initializers >>> -Wno-ambiguous-member-template -fcommon -fvisibility=hidden >>> -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAVE_ACCEPT4 -DHAS_SFENCE >>> -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 >>> -DHAS_UNORDERED_MAP -o buildout/common/libboost_oxt/boost/thread.o -c >>> ext/boost/libs/thread/src/pthread/thread.cpp >>> In file included from ext/boost/libs/thread/src/pthread/thread.cpp:30: >>> ext/boost/libs/thread/src/pthread/./timeconv.inl:51:13: warning: unused >>> function 'to_time' [-Wunused-function] >>> inline void to_time(int milliseconds, timespec& ts) >>> ^ >>> ext/boost/libs/thread/src/pthread/./timeconv.inl:71:13: warning: unused >>> function 'to_timespec_duration' [-Wunused-function] >>> inline void to_timespec_duration(const boost::xtime& xt, timespec& ts) >>> ^ >>> ext/boost/libs/thread/src/pthread/./timeconv.inl:104:13: warning: unused >>> function 'to_duration' [-Wunused-function] >>> inline void to_duration(boost::xtime xt, int& milliseconds) >>> ^ >>> ext/boost/libs/thread/src/pthread/./timeconv.inl:126:13: warning: unused >>> function 'to_microduration' [-Wunused-function] >>> inline void to_microduration(boost::xtime xt, int& microseconds) >>> ^ >>> 4 warnings generated. >>> >>> >>> Then ran into a link error: >>> >>> c++ -o buildout/agents/PassengerHelperAgent.o -Iext -Iext/common >>> -I/usr/local/include -Wno-ambiguous-member-template -I/usr/local/include >>> -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter >>> -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long >>> -Wno-missing-field-initializers -Wno-ambiguous-member-template -fcommon >>> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAVE_ACCEPT4 >>> -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS >>> -std=gnu++11 -DHAS_UNORDERED_MAP -c >>> ext/common/agents/HelperAgent/Main.cpp >>> c++ buildout/agents/PassengerHelperAgent.o -o >>> buildout/agents/PassengerHelperAgent >>> buildout/common/libpassenger_common/Logging.o >>> buildout/common/libpassenger_common/Exceptions.o >>> buildout/common/libpassenger_common/Utils/SystemTime.o >>> buildout/common/libpassenger_common/Utils/StrIntUtils.o >>> buildout/common/libpassenger_common/Utils/IOUtils.o >>> buildout/common/libpassenger_common/Utils.o >>> buildout/common/libpassenger_common/Utils/Base64.o >>> buildout/common/libpassenger_common/Utils/CachedFileStat.o >>> buildout/common/libpassenger_common/Utils/LargeFiles.o >>> buildout/common/libpassenger_common/ApplicationPool2/Implementation.o >>> buildout/common/libpassenger_common/ApplicationPool2/AppTypes.o >>> buildout/common/libpassenger_common/AgentsBase.o >>> buildout/common/libpassenger_common/Utils/MD5.o >>> buildout/common/libpassenger_common/Utils/fib.o >>> buildout/common/libpassenger_common/Utils/jsoncpp.o >>> buildout/common/libboost_oxt.a -L/usr/local/lib -lev -L/usr/local/lib >>> -leio -pthread -lrt >>> buildout/agents/PassengerHelperAgent.o: In function >>> `_ZNK5boost13function_base6targetIDnEEPKT_v': >>> >>> /usr/local/lib/ruby/gems/2.0/gems/passenger-4.0.29/ext/boost/function/function_base.hpp:670: >>> undefined reference to `_ZTIDn' >>> c++: error: linker command failed with exit code 1 (use -v to see >>> invocation) >>> rake aborted! >>> Command failed with status (1): [c++ >>> buildout/agents/PassengerHelperAgent.o >>> -o buildout/agents/PassengerHelperAgent >>> buildout/common/libpassenger_common/Logging.o >>> buildout/common/libpassenger_common/Exceptions.o >>> buildout/common/libpassenger_common/Utils/SystemTime.o >>> buildout/common/libpassenger_common/Utils/StrIntUtils.o >>> buildout/common/libpassenger_common/Utils/IOUtils.o >>> buildout/common/libpassenger_common/Utils.o >>> buildout/common/libpassenger_common/Utils/Base64.o >>> buildout/common/libpassenger_common/Utils/CachedFileStat.o >>> buildout/common/libpassenger_common/Utils/LargeFiles.o >>> buildout/common/libpassenger_common/ApplicationPool2/Implementation.o >>> buildout/common/libpassenger_common/ApplicationPool2/AppTypes.o >>> buildout/common/libpassenger_common/AgentsBase.o >>> buildout/common/libpassenger_common/Utils/MD5.o >>> buildout/common/libpassenger_common/Utils/fib.o >>> buildout/common/libpassenger_common/Utils/jsoncpp.o >>> buildout/common/libboost_oxt.a -L/usr/local/lib -lev -L/usr/local/lib >>> -leio -pthread -lrt ] >>> >>> Tasks: TOP => nginx => nginx_without_native_support => >>> buildout/agents/PassengerHelperAgent >>> (See full trace by running task with --trace) >>> *** Error code 1 >>> >>> Stop. >>> make[1]: stopped in /usr/ports/www/rubygem-passenger >>> *** Error code 1 >>> >>> Stop. >>> make: stopped in /usr/ports/www/rubygem-passenger >>> >>> ===>>> Installation of rubygem-passenger-4.0.29 (www/rubygem-passenger) >>> failed >>> ===>>> Aborting update >>> >>> ===>>> Killing background jobs >>> Terminated >>> >>> ===>>> You can restart from the point of failure with this command line: >>> portmaster <flags> www/rubygem-passenger >>> >>> ===>>> Exiting >>> >>> >>> I reinstalled below ports and the error remained: >>> devel/libeio >>> devel/libev >>> devel/m4 >>> devel/autoconf >>> devel/automake >>> devel/gmake >>> >>> Any suggestion will be appreciated, thanks in advance. >>> >>> Cheers, >>> Jiansong >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>> >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA-bO=mpXK2c16FiQpcfhM3xF5f7uLKtdRLo0eTB8v2e3ULvkA>