Modify

Opened 4 years ago

Closed 3 years ago

#17242 closed defect (moved_to_github)

building package pcre fails

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

When compile hits the package pcre it complains that it doesn't have all the dependencies. The fix seems to be:

libs/pcre/Makefile

-$(eval $(call BuildPackage,libpcrecpp))
+$(eval $(call BuildPackage,libpcrecpp,+libpcre))

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by anonymous

Nope, not the fix. Here's the error.

make[4]: Leaving directory `/usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35'
touch /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/.built
mkdir -p /usr/local/google/home/dart/src/openwrt/bin/ar71xx/packages /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-ar71xx/libpcre/CONTROL /usr/local/google/home/dart/src/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo
install -d -m0755 /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-ar71xx/libpcre/usr/lib
cp -fpR /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-install/usr/lib/libpcre{,posix}.so.* /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-ar71xx/libpcre/usr/lib/
cp -fpR /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-install/usr/lib/libpcre.so /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-ar71xx/libpcre/usr/lib/
find /usr/local/google/home/dart/src/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pcre-8.35/ipkg-ar71xx/libpcre -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libpcre is missing dependencies for the following libraries:
libpcre.so.0
make[3]: * /usr/local/google/home/dart/src/openwrt/bin/ar71xx/packages/libpcre_8.35-2_ar71xx.ipk Error 1
make[3]: Leaving directory `/usr/local/google/home/dart/src/openwrt/feeds/packages/libs/pcre'
make[2]:
* [package/feeds/packages/pcre/compile] Error 2

comment:2 Changed 4 years ago by anonymous

the same problem

comment:3 Changed 3 years ago by Sion

it seems that the pcre build has changed it's library name.
The previous version 8.11 had libpcre.so.0 and this has been changed to libpcre.so.1?

comment:4 Changed 3 years ago by CieNTi

Compiling trunk for a HG556a (Ralink). Same problem here and proposed fix works perfect.

Thanks

comment:5 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

pcre is maintained here: https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.