/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I.. '-DDEBUG_TRAP=__asm__("int $3")' -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -DAVAHI_INTERFACES_DIR=\"/usr/share/avahi/interfaces/\" -O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -Wl,-O1 -o avahi-discover-standalone avahi_discover_standalone-main.o ../avahi-common/libavahi-common.la ../avahi-glib/libavahi-glib.la ../avahi-core/libavahi-core.la -lglib-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 libtool: link: cannot find the library `/usr/lib64/libpng12.la' or unhandled argument `/usr/lib64/libpng12.la' make[2]: *** [avahi-discover-standalone] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.25-r1/work/avahi-0.6.25/avahi-discover-standalone' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.25-r1/work/avahi-0.6.25' make: *** [all] Error 2
Created attachment 236855 [details] /var/tmp/portage/net-dns/avahi-0.6.25-r1/temp/build.log
Created attachment 236857 [details] /var/tmp/portage/net-dns/avahi-0.6.25-r1/temp/environment
Created attachment 236859 [details] emerge --info =net-dns/avahi-0.6.25-r1
Created attachment 236861 [details] emerge -pqv =net-dns/avahi-0.6.25-r1
You missed the postinst message of libpng. Run the script, it fixes those .la files.