Modify

Opened 5 years ago

Closed 5 years ago

#12844 closed defect (fixed)

opewrt missing dependencies libjpeg.so.8

Reported by: williamtoyang@… Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

when used of libjpeg,always says "missing dependencies libjpeg.so.8"

william@ap2dev:/home/test/OpenWrt/trunk$ find -name libjpeg*
./package/feeds/packages/libjpeg-turbo
./feeds/packages/libs/libjpeg-turbo
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.so.62
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.so
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.so.8.0.2
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.a
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.so.8
./staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libjpeg.so.62.0.0
./staging_dir/target-i386_uClibc-0.9.33.2/packages/libjpeg-turbo.list
./staging_dir/target-i386_uClibc-0.9.33.2/root-x86/usr/lib/libjpeg.so.62
./staging_dir/target-i386_uClibc-0.9.33.2/root-x86/usr/lib/libjpeg.so.62.0.0
./staging_dir/target-i386_uClibc-0.9.33.2/pkginfo/libjpeg.provides
./staging_dir/target-i386_uClibc-0.9.33.2/pkginfo/libjpeg-turbo.provides
./staging_dir/target-i386_uClibc-0.9.33.2/pkginfo/libjpeg-turbo.default.install
./staging_dir/target-i386_uClibc-0.9.33.2/pkginfo/libjpeg-turbo.default.install.flags

make[4]: Leaving directory `/home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4'
touch /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/.built
mkdir -p /home/test/OpenWrt/trunk/bin/x86/packages /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/ipkg-x86/libcups/CONTROL /home/test/OpenWrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/pkginfo
install -d -m0755 /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/ipkg-x86/libcups/usr/lib
cp -fpR /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/ipkg-install/usr/lib/libcups.so* /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/ipkg-x86/libcups/usr/lib/
find /home/test/OpenWrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/cups-1.5.4/ipkg-x86/libcups -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libcups is missing dependencies for the following libraries:
libjpeg.so.8
make[3]: * /home/test/OpenWrt/trunk/bin/x86/packages/libcups_1.5.4-1_x86.ipk Error 1
make[3]: Leaving directory `/home/test/OpenWrt/trunk/feeds/packages/net/cups'
make[2]:
* [package/feeds/packages/cups/compile] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by marius@…

  • i noticed that if i change dependency to +libjpeg-turbo that everything works fine. I-m guessing it might be related to the way package dependencies are checked. It would be nice to have a way to declare package aliases for such scenarios where packages replace one another.

comment:2 Changed 5 years ago by williamtoyang@…

so does it!
some other packages dependence the libjpeg,show the same error.

comment:3 Changed 5 years ago by anonymous

  • unfortunately quite a few packages depend on the old libjpeg. Here is a list of the ones i found:

lang/php5 gd module
lang/python-imaging-library
libs/aalib
libs/leptonica
libs/libgphoto2
libs/libvncserver
libs/st2205tool
libs/vips
multimedia/graphicsmagick
multimedia/imagemagick
multimedia/mjpg-streamer
multimedia/motion
net/cups
net/freeswitch
net/vnc-reflector
utils/gnuplot

comment:4 Changed 5 years ago by mazilo

If your compilation includes libjpeg-turbo, then FS will try to link with libjpeg-turbo and that is just find. However, that will cause OpenWRT to flag with 'lack of dependencies' during packaging stage. If you clean libjpeg-turbo package and recompile FS, it shouldn't give such an error message during packaging stage. However, once libjpecg-turbo gets compiled and installed in the staging directory, then the problem will repeat when FS gets compiled again.

BTW, where did you get libjpeg-turbo package? I have OpenWRT from the latest SVN trunk (r35816 as of this writing) and did not see any libjpeg-turbo package.

comment:5 Changed 5 years ago by williamtoyang@…

make sure you had download everything during building

comment:6 Changed 5 years ago by jogo

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker (trunk)
  • Resolution set to fixed
  • Status changed from new to closed

Libjpeg-turbo which was causing these errors has been removed for now in r36135.

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.