during emerge -va @preserved-rebuild mv -f .deps/dialib.Tpo .deps/dialib.Plo mv -f .deps/diacellrendererproperty.Tpo .deps/diacellrendererproperty.Plo /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/libxml2 -I/usr/include/freetype2 -O2 -march=athlon64 -pipe -Wall --std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -Wpointer-arith -Winit-self -Wformat-nonliteral -avoid-version --export-dynamic -Wl,--as-needed -o libdia.la -rpath /usr/lib64/dia diagramdata.lo layer.lo geometry.lo color.lo dia_xml.lo attributes.lo text.lo textline.lo font.lo group.lo utils.lo arrows.lo message.lo focus.lo sheet.lo connectionpoint.lo object.lo object_defaults.lo connection.lo orth_conn.lo neworth_conn.lo poly_conn.lo bezier_conn.lo element.lo polyshape.lo beziershape.lo objchange.lo dialogs.lo widgets.lo units.lo dia_image.lo intl.lo filter.lo connpoint_line.lo properties.lo propdesc.lo proplist.lo propoffsets.lo propobject.lo prop_basic.lo prop_dict.lo prop_inttypes.lo prop_geomtypes.lo prop_attr.lo prop_text.lo prop_widgets.lo prop_sdarray.lo propdialogs.lo propregistry.lo dia_dirs.lo plug-ins.lo paper.lo boundingbox.lo dynamic_obj.lo create.lo diatransform.lo diarenderer.lo diainteractiverenderer.lo diagdkrenderer.lo diasvgrenderer.lo dia_svg.lo autoroute.lo parent.lo render_pixmap.lo diaarrowchooser.lo dialinechooser.lo persistence.lo diaerror.lo diamarshal.lo debug.lo prefs.lo newgroup.lo dialib.lo diacellrendererproperty.lo -pthread -lxml2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -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 -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lpng -lz -lm -lz /bin/grep: /usr/lib64/libpng12.la: No such file or directory /bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive make[4]: *** [libdia.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-office/dia-0.97.1/work/dia-0.97.1/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-office/dia-0.97.1/work/dia-0.97.1/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-office/dia-0.97.1/work/dia-0.97.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/dia-0.97.1/work/dia-0.97.1' make: *** [all] Error 2 * ERROR: app-office/dia-0.97.1 failed: * compile failure Maye dup of 319101 ? anyway, it's not fixed for Dia !
Created attachment 236851 [details] /tmp/emerge--info
Created attachment 236853 [details] /var/log/portage/app-office:dia-0.97.1:20100628-214503.log
As emerge -va @preserved-rebuild tries to be a substitute for revdep-rebuild, the bug may be in portage: as long as the lib is required, the lib should be kept. revdep-rebuild on way, more news in 1h. It should fix the issue; but, I think there is a bug in portage: proposed new title for bug: portage 2.2 does sometimes remoove usefull libs (dispite of new architecture that tries to keep them until emerge @preserved-rebuild is run)
la file related failures are a completely different topic than anything about '@preserved-rebuild'.
revdep-rebuild fixed it. Different topic, but then, what ? known ? dup of already existing bug ? sth like bug 319101 ? Other problem: @preserved-rebuild keeps rebuild dia again and again, but, for now, it's not rebuilding "only" dia; so, dia may depend on other things that are being rebuild ... and the other things do vary for now. After 3 consecutive rebuild of @preserved-rebuild with *only* dia in, i am bored. Good night. You can mark won't fix if you want. I reportred. You decide.
This is not an application error, but this message may cause harm later on: --- replaced dir /usr/bin --- replaced dir /usr * Updating desktop mime database ... * Updating shared mime info database ... /usr/share/mime/packages/libgeda.xml:6: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE9 0x6D 0x61 0x20 <comment xml:lang="fr">Schéma de circuit gEDA</comment> ^ Failed to parse '//usr/share/mime/packages/libgeda.xml' * Updating icons cache ... [ ok ] * Updating scrollkeeper database ... <<< /usr/share/dia/sheets/SISSI >>> Original instance of package unmerged safely. * No GNOME 2 GConf schemas found * Updating desktop mime database ... * Updating shared mime info database ... /usr/share/mime/packages/libgeda.xml:6: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE9 0x6D 0x61 0x20 <comment xml:lang="fr">Schéma de circuit gEDA</comment> ^ Failed to parse '//usr/share/mime/packages/libgeda.xml' * Updating icons cache ... [ ok ] * Updating scrollkeeper database ... * Compilation and optimization of Python modules for CPython 2.6 ... [ ok ] >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: media-libs/libpng-1.4.3 * - /usr/lib64/libpng12.so * - /usr/lib64/libpng12.so.0 * - /usr/lib64/libpng12.so.0.43.0 * used by /usr/bin/dia (app-office/dia-0.97.1) * used by /usr/lib64/dia/libcairo_filter.so (app-office/dia-0.97.1) * used by /usr/lib64/dia/libdia.so (app-office/dia-0.97.1) * used by /usr/lib64/dia/libuml_objects.so (app-office/dia-0.97.1) Use emerge @preserved-rebuild to rebuild packages using these libraries uranus ~ #
uranus ~ # locale LANG=en_GB.ISO-8859-15 LC_CTYPE="en_GB.ISO-8859-15" LC_NUMERIC="en_GB.ISO-8859-15" LC_TIME="en_GB.ISO-8859-15" LC_COLLATE="en_GB.ISO-8859-15" LC_MONETARY="en_GB.ISO-8859-15" LC_MESSAGES="en_GB.ISO-8859-15" LC_PAPER="en_GB.ISO-8859-15" LC_NAME="en_GB.ISO-8859-15" LC_ADDRESS="en_GB.ISO-8859-15" LC_TELEPHONE="en_GB.ISO-8859-15" LC_MEASUREMENT="en_GB.ISO-8859-15" LC_IDENTIFICATION="en_GB.ISO-8859-15" LC_ALL=en_GB.ISO-8859-15 uranus ~ # I did not put French in locales, so, maybe the issues comes from some LANG flag ? see attached emerge --info. This may help if you want to repro: LINGUAS="fr fr_FR" emerge -va1 dia
(In reply to comment #0) > /bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory You didn't read the postinst message of libpng, run the correct updater script.