First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 188397
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qt Bug Alias <qt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rafał Mużyło <galtgendo@o2.pl>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188397 depends on: Show dependency tree
Bug 188397 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-10 19:50 0000
Ebuild issue may affect previous too.
The issue:
sed: nie można odczytać
/var/tmp/portage/x11-libs/qt-4.3.0-r2/image///usr/lib/qt
4/*.pc: Nie ma takiego pliku ani katalogu (twice) at the end of install phase
caused by:
sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${D}/${QTLIBDIR}/*.pc
sed -i -e "s:${S}/bin:${QTBINDIR}:g" ${D}/${QTLIBDIR}/*.pc
failing -- this causes
QtAssistantClient.pc
QtDBus.pc
QtTest.pc
QtXml.pc
to have /var/tmp/portage related content.
TEXTREL is something different:
I checked my portage logs and unless it's gcc-4.2.0 related, it didn't affect
qt-4.3.0, but it does affect qt-4.3.0-r2 and qt-4.3.1
TEXTREL usr/lib/qt4/libQtScript.so.4.3.0
TEXTREL usr/lib/qt4/libQtOpenGL.so.4.3.0
TEXTREL usr/lib/qt4/libQtDBus.so.4.3.0

logs:
qt-4.3.0:20070707-011126
qt-4.3.0-r2:20070804-054613 
qt-4.3.1:20070810-033039

There were a few of 
warning: dereferencing type-punned pointer will break strict-aliasing rules
but those are probably harmless.

------- Comment #1 From Jakub Moc (RETIRED) 2007-08-10 19:59:04 0000 -------
Please, file a separate bug for the textrels, completely unrelated.

------- Comment #2 From Rafał Mużyło 2007-08-10 20:39:01 0000 -------
Well, sed part probably affects at least all of 4.3.0, if not some of the
earlier, cause I don't think this is a recent change in directory
structure/*.pc.in

------- Comment #3 From Caleb Tennis 2007-08-12 15:34:44 0000 -------
do you have a proposal for a fix?

------- Comment #4 From Arfrever Frehtes Taifersar Arahesis 2007-08-12 18:20:02 0000 -------
(In reply to comment #3)
> do you have a proposal for a fix?

Lines 246-253 of qt-4.3.1.ebuild:
-------------------------------------------------------------------------------
    sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${D}/${QTLIBDIR}/*.pc

    # pkgconfig files refer to WORKDIR/bin as the moc and uic locations.  Fix:
    sed -i -e "s:${S}/bin:${QTBINDIR}:g" ${D}/${QTLIBDIR}/*.pc

    # Move .pc files into the pkgconfig directory
    dodir ${QTPCDIR}
    mv ${D}/${QTLIBDIR}/pkgconfig/*.pc ${D}/${QTPCDIR}
-------------------------------------------------------------------------------

My proposal is to replace all '${D}/${QTLIBDIR}/*.pc' with
'${D}/${QTLIBDIR}/pkgconfig/*.pc'.

------- Comment #5 From Caleb Tennis 2007-08-12 19:29:43 0000 -------
gotcha - should be fixed now.  thanks for the report.

First Last Prev Next    No search results available      Search page      Enter new bug