Bug#640559: ircd-hybrid: FTBFS: make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop.
tags 640559 patch user ubuntu-de...@lists.ubuntu.com usertags 640559 ubuntu-patch oneiric thanks On Mon, Sep 05, 2011 at 08:47:22PM +0200, Mònica Ramírez Arceda wrote: During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: [...] make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop. This broke because the static library moved with the multiarchification of libpcre. Here's a patch. I didn't see any reason to link libpcre statically; this seemed to be just a leftover from when the ircd-hybrid package used to use its embedded copy, and switching to dynamic linking lets the linker figure out the path for itself. * Update 16_use_debian_pcre.dpatch to link dynamically with libpcre rather than statically (closes: #640559, LP: #749282). diff -u ircd-hybrid-7.2.2.dfsg.2/debian/patches/16_use_debian_pcre.dpatch ircd-hybrid-7.2.2.dfsg.2/debian/patches/16_use_debian_pcre.dpatch --- ircd-hybrid-7.2.2.dfsg.2/debian/patches/16_use_debian_pcre.dpatch +++ ircd-hybrid-7.2.2.dfsg.2/debian/patches/16_use_debian_pcre.dpatch @@ -74,14 +74,14 @@ CORE_SRCS = \ diff -urNad ircd-hybrid-7.2.2~/src/Makefile.in ircd-hybrid-7.2.2/src/Makefile.in --- ircd-hybrid-7.2.2~/src/Makefile.in 2006-08-31 18:45:47.034670237 + -+++ ircd-hybrid-7.2.2/src/Makefile.in 2006-08-31 18:45:47.378765476 + ircd-hybrid-7.2.2/src/Makefile.in 2011-09-09 02:23:18.818901800 +0100 @@ -35,8 +35,8 @@ SSL_LIBS = @SSL_LIBS@ SSL_INCLUDES = @SSL_INCLUDES@ -IRCDLIBS = @MODULES_LIBS@ @LIBS@ ../lib/pcre/libpcre.a $(SSL_LIBS) -INCLUDES = -I../include -I../lib/pcre $(SSL_INCLUDES) -+IRCDLIBS = @MODULES_LIBS@ @LIBS@ /usr/lib/libpcre.a $(SSL_LIBS) ++IRCDLIBS = @MODULES_LIBS@ @LIBS@ -lpcre $(SSL_LIBS) +INCLUDES = -I../include -I/usr/include/pcre $(SSL_INCLUDES) CPPFLAGS = ${INCLUDES} @CPPFLAGS@ @@ -91,7 +91,7 @@ build: all -ircd: @MODULES_LIBS@ ../lib/libpcre.a $(OBJS) -+ircd: @MODULES_LIBS@ /usr/lib/libpcre.a $(OBJS) ++ircd: @MODULES_LIBS@ $(OBJS) ${CC} ${CFLAGS} ${LDFLAGS} -o ircd-hybrid ${OBJS} ${IRCDLIBS} ../modules/libmodules.a: Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#640559: ircd-hybrid: FTBFS: make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop.
Processing commands for cont...@bugs.debian.org: tags 640559 patch Bug #640559 [src:ircd-hybrid] ircd-hybrid: FTBFS: make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop. Added tag(s) patch. user ubuntu-de...@lists.ubuntu.com Setting user to ubuntu-de...@lists.ubuntu.com (was cjwat...@ubuntu.com). usertags 640559 ubuntu-patch oneiric Bug#640559: ircd-hybrid: FTBFS: make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop. There were no usertags set. Usertags are now: ubuntu-patch oneiric. thanks Stopping processing here. Please contact me if you need assistance. -- 640559: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640559 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640559: ircd-hybrid: FTBFS: make[2]: *** No rule to make target `/usr/lib/libpcre.a', needed by `ircd'. Stop.
Source: ircd-hybrid Version: 1:7.2.2.dfsg.2-6.2 Severity: serious Tags: wheezy sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20110902 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: make[2]: Entering directory `/build/ircd-hybrid-jlLidC/ircd-hybrid-7.2.2.dfsg.2/modules' gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_die.c -o core/m_die.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_join.c -o core/m_join.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_kick.c -o core/m_kick.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_kill.c -o core/m_kill.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_message.c -o core/m_message.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_mode.c -o core/m_mode.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_nick.c -o core/m_nick.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_part.c -o core/m_part.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_quit.c -o core/m_quit.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_server.c -o core/m_server.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_sjoin.c -o core/m_sjoin.so core/m_sjoin.c: In function 'introduce_lazy_link_clients': core/m_sjoin.c:888:2: warning: suggest parentheses around operand of '!' or change '' to '' or '!' to '~' [-Wparentheses] gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g core/m_squit.c -o core/m_squit.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_accept.c -o m_accept.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_admin.c -o m_admin.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_away.c -o m_away.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_cap.c -o m_cap.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_capab.c -o m_capab.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_cburst.c -o m_cburst.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_close.c -o m_close.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_connect.c -o m_connect.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_drop.c -o m_drop.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_encap.c -o m_encap.so m_encap.c: In function 'ms_encap': m_encap.c:73:19: warning: variable 'mpara' set but not used [-Wunused-but-set-variable] m_encap.c:73:7: warning: variable 'paramcount' set but not used [-Wunused-but-set-variable] gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_eob.c -o m_eob.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_etrace.c -o m_etrace.so m_etrace.c: In function 'report_this_status': m_etrace.c:167:15: warning: variable 'name' set but not used [-Wunused-but-set-variable] gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_hash.c -o m_hash.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_help.c -o m_help.so m_help.c: In function 'sendhelpfile': m_help.c:190:7: warning: variable 'type' set but not used [-Wunused-but-set-variable] gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_gline.c -o m_gline.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_info.c -o m_info.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_invite.c -o m_invite.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_ison.c -o m_ison.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_kline.c -o m_kline.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_knock.c -o m_knock.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_links.c -o m_links.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_list.c -o m_list.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_lljoin.c -o m_lljoin.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_llnick.c -o m_llnick.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_locops.c -o m_locops.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g m_lusers.c -o m_lusers.so gcc -fPIC -DPIC -shared -I../include -I/usr/include/pcre -Wall -O2 -g