After updating portage to the newest version (im running the development kernel by the way) and rsyncing did emerge fluxbox error is as follows >>> emerge (1 of 4) media-gfx/xv-3.10a-r5 to / >>>md5 src_uri ;-) xv-3.10a.tar.gz >>>unpacking source... >>>unpacking xv-3.10a.tar.gz to /var/tmp/portage/xu-3.10a-rf/work *Applying xv-3.10a-enehanced-Nu.patch... *Applying xv-3.10a-gentoo-Nu.patch >>>Source unpacked make *** No rule to make target '-ltiff' , needed by `all'. Stop. !!! Error: media-gfx-xv-3.10a-r5 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge fluxbox or blackbox 2. 3. Actual Results: compile error on in the above said library Expected Results: smooth emerge without library compile errors This is an IBM t23 laptop with the developer kernel
Gentoo is an amazing distro thanks for all your hard work!
This is caused by the two patches explicitely setting: JPEGLIB = -ljpeg PNGLIB = -lpng ZLIBLIB = -lz TIFFLIB = -ltiff LIBS = -L/usr/X11R6/lib -lX11 $(JPEGLIB) $(TIFFLIB) $(PNGLIB) $(ZLIBLIB) -lm and so '-ljpeg', '-lpng', '-lz' and '-ltiff' all become targets for make; if the libraries are not installed then make rightly complains it can't find them. Changing the xv-3.10a-r5 ebuild to the following fixes this problem. [ -z `use jpeg` ] \ && sed -i -e "s:JPEGLIB = -ljpeg:JPEGLIB =:" Makefile \ || append-flags -DDOJPEG [ -z `use png` ] \ && sed -i -e "s:PNGLIB = -lpng:PNGLIB =:" Makefile \ && sed -i -e "s:ZLIBLIB = -lz:ZLIBLIB =:" Makefile \ || append-flags -DDOPNG [ -z `use tiff` ] \ && sed -i -e "s:TIFFLIB = -ltiff:TIFFLIB =:" Makefile \ || append-flags -DDOTIFF One other note. sys-libs/zlib isn't a fixed dependency of xv. Instead it could be included with media-libs/libpng: png? ( >=media-libs/libpng-1.2 >=sys-libs/zlib-1.1.4 )
closing with -r6