Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326075 - app-office/dia-0.97.1 don't rebuild
Summary: app-office/dia-0.97.1 don't rebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 21:52 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-06-29 07:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,15.72 KB, text/plain)
2010-06-28 21:52 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/var/log/portage/app-office:dia-0.97.1:20100628-214503.log (app-office:dia-0.97.1:20100628-214503.log,242.84 KB, text/plain)
2010-06-28 21:52 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-28 21:52:09 UTC
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 !
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-28 21:52:28 UTC
Created attachment 236851 [details]
/tmp/emerge--info
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-28 21:52:56 UTC
Created attachment 236853 [details]
/var/log/portage/app-office:dia-0.97.1:20100628-214503.log
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-28 21:55:59 UTC
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)
Comment 4 Rafał Mużyło 2010-06-28 23:06:54 UTC
la file related failures are a completely different topic
than anything about '@preserved-rebuild'.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-29 02:01:48 UTC
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.
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-29 02:05:21 UTC
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 ~ #
Comment 7 DEMAINE Benoît-Pierre, aka DoubleHP 2010-06-29 02:07:44 UTC
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
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 07:21:47 UTC
(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.