Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[qt overlay] Qt beta and live ebuilds & Qt4 apps
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ayoy
Retired Dev
Retired Dev


Joined: 07 Sep 2009
Posts: 4
Location: Łódź(PL)/Helsinki(FI)

PostPosted: Mon Sep 14, 2009 7:34 pm    Post subject: Reply with quote

Rion wrote:
while compiling qt-assistant-4.6.0_alpha_pre1 i get lots of messages like:
Code:
c:76: Cannot find example file 'examples/linguist/trollprint/printpanel.cpp'
/var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc/src/examples/trollprint.qdoc:76: Unexpected '\snippet (//! [0])'
/var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc/src/examples/trollprint.qdoc:81: Cannot find example file 'examples/linguist/trollprint/printpanel.cpp'
/var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc/src/examples/trollprint.qdoc:81: Unexpected '\snippet (//! [1])'

and
Code:
Warning: The file /var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc-build/html-qt/qtglobal-members.html does not exist! Skipping it.
Warning: The file /var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc-build/html-qt/qtplugin-members.html does not exist! Skipping it.
Warning: The file /var/tmp/portage/x11-libs/qt-assistant-4.6.0_alpha_pre1/work/qt-everywhere-opensource-src-4.6.0-tp1/doc-build/html-qt/qtendian-members.html does not exist! Skipping it.

is it ok?


It's not :) but it has been fixed a while ago. Now there are just a few warnings about missing files and links, but I'd rather not modify Qt's documentation ;-)
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 377
Location: Ekaterinburg, Russia

PostPosted: Tue Sep 15, 2009 5:45 am    Post subject: Reply with quote

ayoy wrote:
It's not :) but it has been fixed a while ago. Now there are just a few warnings about missing files and links, but I'd rather not modify Qt's documentation ;-)
yeah. its much better now =) some useless doc pages are still broken.

btw in the new assistant clicking on links and positioning works properly at last. :) it was very annoying to scroll page down after each click in 4.5.
_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 377
Location: Ekaterinburg, Russia

PostPosted: Mon Oct 05, 2009 6:58 am    Post subject: Reply with quote

cant build qt-core 4.6_tp1

Code:
>>> Preparing source in /var/tmp/portage/x11-libs/qt-core-4.6.0_alpha_pre1-r2/work ...
sed: невозможно прочитать /var/tmp/portage/x11-libs/qt-core-4.6.0_alpha_pre1-r2/work/qt-core-4.6.0_alpha_pre1/mkspecs/linux-g++/qmake.conf: Нет такого файла или каталога
 * ERROR: x11-libs/qt-core-4.6.0_alpha_pre1-r2 failed:
 *   sed /var/tmp/portage/x11-libs/qt-core-4.6.0_alpha_pre1-r2/work/qt-core-4.6.0_alpha_pre1/mkspecs/linux-g++/qmake.conf failed


Нет такого файла или каталога = No such file or directory

Code:
ls  /var/tmp/portage/x11-libs/qt-core-4.6.0_alpha_pre1-r2/work/
qt-everywhere-opensource-src-4.6.0-tp1

_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Oct 05, 2009 10:42 am    Post subject: Reply with quote

First page updated 8)
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Oct 05, 2009 10:59 am    Post subject: Reply with quote

@Rion

Please open a bug report on Gentoo bugzilla so all of Qt developers can take a look at it

Many thanks
Back to top
View user's profile Send private message
SpectreDragon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2008
Posts: 92
Location: Germany

PostPosted: Thu Oct 08, 2009 12:33 pm    Post subject: Reply with quote

Anyone here who is able to compile PyQt4 using 4.6.9999? :?
Back to top
View user's profile Send private message
ayoy
Retired Dev
Retired Dev


Joined: 07 Sep 2009
Posts: 4
Location: Łódź(PL)/Helsinki(FI)

PostPosted: Thu Oct 08, 2009 3:35 pm    Post subject: Reply with quote

It's a known issue, upstream doesn't like Qt 4.6 yet :(

https://bugs.gentoo.org/show_bug.cgi?id=287255
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Sun Nov 22, 2009 4:15 pm    Post subject: Reply with quote

qting-edge moved to gitorious now. I have updated the first page as well
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Nov 22, 2009 5:24 pm    Post subject: Reply with quote

Hwoarang wrote:
qting-edge moved to gitorious now. I have updated the first page as well


thanks ! :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
ayoy
Retired Dev
Retired Dev


Joined: 07 Sep 2009
Posts: 4
Location: Łódź(PL)/Helsinki(FI)

PostPosted: Sun Nov 22, 2009 6:07 pm    Post subject: Reply with quote

Hwoarang wrote:
qting-edge moved to gitorious now. I have updated the first page as well


Update your signature too :P
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Nov 25, 2009 2:13 am    Post subject: Reply with quote

what's the exact difference between the stable-branch* and -stable-branch* ebuilds for

qt 4.6.9999 live ebuilds ?

thanks

edit:

found it while looking through the qt4-build-edge.eclass

Quote:
4.?.9999-stable | 4.9999-stable)
ewarn "The ${PV} version ebuilds install live git code from Nokia Qt Software - stable branch."
ewarn "See http://labs.trolltech.com/blogs/2009/07/28/getting-the-best-out-of-two-worlds/"
;;


and grepping through the files' content:

Code:
grep -lir "stable" /usr/local/portage/qting-edge/*


I hope this fixes the issues I'm currently seeing with kde4 and qt:

Quote:
okular: symbol lookup error: /usr/lib64/libsolid.so.4: undefined symbol: _ZN9QHashData13detach_helperEPFvPNS_4NodeEPvEPFvS1_Ei

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Nov 25, 2009 5:59 pm    Post subject: Reply with quote

Quote:
src_compile() {
# help libQtHelp find freshly built libQtCLucene (bug #289811)
export LD_LIBRARY_PATH="${S}/lib"

qt4-build-edge_src_compile
# ugly hack to build docs
cd "${S}"
export LD_LIBRARY_PATH="${S}/lib"
qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die "qmake projects faied"
emake qch_docs || die "emake docs failed"
}


qt-assistant (qt-assistant-4.6.9999.ebuild) needs a fix to let it build due to the QtHelp and QtCLucene build errors: see above

Quote:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libQtCLucene.so.4, needed by /var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so, not found (try using -rpath or -rpath-link)
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::setMergeFactor(int)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::isLocked(QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexSearcher::close()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::get(QString const&) const'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexSearcher::QCLuceneIndexSearcher(QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneBooleanQuery::QCLuceneBooleanQuery()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneHits::length() const'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::QCLuceneIndexWriter(QString const&, QCLuceneAnalyzer&, bool, bool)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneStopAnalyzer::QCLuceneStopAnalyzer()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneBooleanQuery::~QCLuceneBooleanQuery()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneHits::~QCLuceneHits()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::~QCLuceneIndexReader()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::close()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::unlock(QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneQueryParser::parse(QString const&, QString const&, QCLuceneAnalyzer&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexSearcher::~QCLuceneIndexSearcher()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneTermQuery::QCLuceneTermQuery(QCLuceneTerm const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::deleteDocuments(QCLuceneTerm const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::close()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLucenePhraseQuery::addTerm(QCLuceneTerm const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneTermQuery::~QCLuceneTermQuery()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneStopAnalyzer::~QCLuceneStopAnalyzer()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneBooleanQuery::add(QCLuceneQuery*, bool, bool, bool)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneStandardAnalyzer::QCLuceneStandardAnalyzer()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::setMinMergeDocs(int)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneStopAnalyzer::englishStopWords() const'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::clear()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneTerm::QCLuceneTerm(QString const&, QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::setMaxFieldLength(int)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLucenePhraseQuery::QCLucenePhraseQuery()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneStandardAnalyzer::~QCLuceneStandardAnalyzer()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::addDocument(QCLuceneDocument&, QCLuceneAnalyzer&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneSearcher::search(QCLuceneQuery const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::QCLuceneDocument()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneQuery::toString() const'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::~QCLuceneDocument()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::open(QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocument::add(QCLuceneField*)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneHitsPrivate::~QCLuceneHitsPrivate()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::optimize()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneField::QCLuceneField(QString const&, QString const&, int)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexReader::indexExists(QString const&)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneTerm::~QCLuceneTerm()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneDocumentPrivate::~QCLuceneDocumentPrivate()'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneHits::document(int)'
/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/lib/libQtHelp.so: undefined reference to `QCLuceneIndexWriter::~QCLuceneIndexWriter()'
collect2: ld returned 1 exit status
make[2]: *** [../../../../bin/assistant] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/tools/assistant/tools/assistant'
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-assistant-4.6.9999/work/qt-x11-opensource-src-4.6.9999/tools/assistant/tools'
make: *** [sub-tools-make_default-ordered] Error 2

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
ayoy
Retired Dev
Retired Dev


Joined: 07 Sep 2009
Posts: 4
Location: Łódź(PL)/Helsinki(FI)

PostPosted: Wed Nov 25, 2009 7:14 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Quote:
src_compile() {
# help libQtHelp find freshly built libQtCLucene (bug #289811)
export LD_LIBRARY_PATH="${S}/lib"

qt4-build-edge_src_compile
# ugly hack to build docs
cd "${S}"
export LD_LIBRARY_PATH="${S}/lib"
qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die "qmake projects faied"
emake qch_docs || die "emake docs failed"
}


qt-assistant (qt-assistant-4.6.9999.ebuild) needs a fix to let it build due to the QtHelp and QtCLucene build errors: see above


Thanks for noticing it, fixed. But for the future record, please file bugs like this to Bugzilla, cause we're not sitting on the forum all the time :)

Concerning your undefined symbols in okular, it's a bigger thing, read on:
http://www.linuxized.com/2009/11/qt-4-6-0-rc1-in-portage-binary-incompatibility-warning/

Those changes are not yet in stable-master branch of Qt, so if messed up and now you're going to compile Qt with stable-master flag, you'll get Qt 4.6 from before the ABI break and things should work (provided that you didn't recompile your Qt apps in the meantime when they were broken). If you compile straight from master, and you had Qt 4.6 before, your Qt applications are all badly broken and you have to recompile them.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Nov 25, 2009 7:39 pm    Post subject: Reply with quote

ayoy wrote:


Thanks for noticing it, fixed. But for the future record, please file bugs like this to Bugzilla, cause we're not sitting on the forum all the time :)

Concerning your undefined symbols in okular, it's a bigger thing, read on:
http://www.linuxized.com/2009/11/qt-4-6-0-rc1-in-portage-binary-incompatibility-warning/

Those changes are not yet in stable-master branch of Qt, so if messed up and now you're going to compile Qt with stable-master flag, you'll get Qt 4.6 from before the ABI break and things should work (provided that you didn't recompile your Qt apps in the meantime when they were broken). If you compile straight from master, and you had Qt 4.6 before, your Qt applications are all badly broken and you have to recompile them.


thanks & thanks for the link !

I'll go the bugzilla way in the future then ,

meanwhile I completely un-emerged qt4 and kde4 and started re-emerging (without the stable-branch flag enabled) all from scratch - I guess that was the right decision ;)



can dev-python/pyside already be used as a alternative for PyQt4 or does it still need some time to gain momentum ?

thanks
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Thu Nov 26, 2009 7:41 pm    Post subject: Reply with quote

cuberok needs yajl. there is a messy ebuild in bugzilla, so i did a simple new one :D

yajl-1.0.5.ebuild
Code:
DESCRIPTION="YAJL is a small event-driven (SAX-style) JSON parser written in
ANSI C, and a small validating JSON generator."
HOMEPAGE="http://lloyd.github.com/yajl/"

PACK_NAME="lloyd-yajl-40d5148"
SRC_URI="http://download.github.com/${PACK_NAME}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"

# I could not find any OPTION in CMakeLists.txt. So no IUSE
IUSE=""

# No FIND_PACKAGE in CMakeLists.txt, so empty DEPEND :P
DEPEND=""
RDEPEND=""

inherit cmake-utils

S="${WORKDIR}/${PACK_NAME}/"

I'M not sure about category, placed it in "dev-libs"...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Thu Nov 26, 2009 7:46 pm    Post subject: Reply with quote

kernelOfTruth wrote:
meanwhile I completely un-emerged qt4 and kde4 and started re-emerging (without the stable-branch flag enabled) all from scratch - I guess that was the right decision ;)

Have a lot (!) of fun.
I hope you know about the small apps/libs lying outside kde-base or x11-libs/qt-* :P
those are
* media-sound/phonon
* soprano
* qca
* poppler-qt4
* some more I don't remember...

You will get compile-errors (more specific: linker errors), when those libs are built with qt4_beta and get linked to an app compiled with qt4_rc. So stay awaik, I'm sure you forgot one or more dependencies ;)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Nov 26, 2009 8:11 pm    Post subject: Reply with quote

franzf wrote:
kernelOfTruth wrote:
meanwhile I completely un-emerged qt4 and kde4 and started re-emerging (without the stable-branch flag enabled) all from scratch - I guess that was the right decision ;)

Have a lot (!) of fun.
I hope you know about the small apps/libs lying outside kde-base or x11-libs/qt-* :P
those are
* media-sound/phonon
* soprano
* qca
* poppler-qt4
* some more I don't remember...

You will get compile-errors (more specific: linker errors), when those libs are built with qt4_beta and get linked to an app compiled with qt4_rc. So stay awaik, I'm sure you forgot one or more dependencies ;)


thanks for the heads up :)

and you were right:

I ran into some compile errors with plasma and several depending apps in the queue due to long overdue re-emerge of qca- and poppler-related packages :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Fri Dec 04, 2009 10:50 pm    Post subject: Reply with quote

When is pyside-0.2.2 likely to be put into the overlay?
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sun Dec 06, 2009 1:22 pm    Post subject: Reply with quote

Nobody seems to be updating dev-util/eric snapshots so here's the ebuild and patch for snapshot-20091129. I had issues with the build if I had python:3.1 installed also even though it wasn't eselected for use.

Things like $(python_get_sitedir), python_mod_optimize, and $(PYTHON) all used 3.1 for some unknown reasons.


eric-4.4_pre20091129.ebuild
Code:
# Copyright 1999-2009 Gentoo Foundation                                                                                                                                         
# Distributed under the terms of the GNU General Public License v2                                                                                                               
# $Header: $                                                                                                                                                                     
                                                                                                                                                                                 
EAPI="2"                                                                                                                                                                         
NEED_PYTHON="2.6"                                                                                                                                                               
SUPPORT_PYTHON_ABIS="1"                                                                                                                                                         
                                                                                                                                                                                 
inherit eutils python                                                                                                                                                           
                                                                                                                                                                                 
MY_PN="${PN}4"                                                                                                                                                                   
MY_PV="${PV/_pre/-snapshot-}"                                                                                                                                                   
MY_P="${MY_PN}-${MY_PV}"                                                                                                                                                         
                                                                                                                                                                                 
LANGS="cs de es fr it ru tr zh_CN"                                                                                                                                               
                                                                                                                                                                                 
DESCRIPTION="A full featured Python IDE written in PyQt4 using the QScintilla editor widget"                                                                                     
HOMEPAGE="http://eric-ide.python-projects.org/"                                                                                                                                 
SRC_URI="mirror://sourceforge/eric-ide/${MY_P}.tar.gz"                                                                                                                           
RESTRICT="mirror"                                                                                                                                                               

SLOT="4"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="spell"         

for L in ${LANGS}; do
        SRC_URI="${SRC_URI}
                linguas_${L}? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
        IUSE="${IUSE} linguas_${L}"                                                                                   
done                                                                                                                 

DEPEND=">=dev-python/PyQt4-4.4[assistant,svg,webkit,X]
        >=dev-python/qscintilla-python-2.2[qt4]"
RDEPEND="${DEPEND}
        >=dev-python/chardet-1.0.1
        >=dev-python/pygments-1.0"
PDEPEND="spell? ( dev-python/pyenchant )"

S="${WORKDIR}"/${MY_P}

src_prepare() {
        epatch "${FILESDIR}"/${PN}-20091129-no-interactive.patch
        # remove bundled copies, bug #283148
        rm -rf "${S}"/eric/ThirdParty
}

src_install() {
        installation() {
                "$(PYTHON)" install.py \
                        -b "/usr/bin" \
                        -i "${D}" \
                        -d "$(python_get_sitedir)" \
                        -c \
                        -z
        }
        python_execute_function installation

        make_desktop_entry eric4 eric4 \
                        "$(python_get_sitedir)/eric4/icons/default/eric.png" \
                        "Development;IDE;Qt"
}

pkg_postinst() {
        python_mod_optimize eric4{,config.py,plugins}

        elog
        elog "If you want to use eric4 with mod_python, have a look at"
        elog "'${ROOT%/}$(python_get_sitedir)/eric4/patch_modpython.py'."
        elog
        elog "The following packages will give eric extended functionality:"
        elog "  dev-python/pylint"
        elog "  dev-python/pysvn"
        elog
        elog "This version has a plugin interface with plugin-autofetch from"
        elog "the application itself. You may want to check those as well."
        elog
}

pkg_postrm() {
        python_mod_cleanup
}


the patch files/eric-20091129-no-interactive.patch
Code:
--- install-new.py      2009-11-29 11:10:57.000000000 +0000
+++ install.py  2009-12-06 13:03:07.000000000 +0000
@@ -761,9 +761,6 @@
                     (v[0], v[1], v[2])
                 print "    with foreign characters. Please see 'README-PyXML.txt' for"
                 print "    details."
-                res = raw_input("    Shall pyXML be patched now (y/n)? ")
-                if res in ["Y", "y"]:
-                    patchPyXML()
     except ImportError:
         pass

@@ -784,8 +781,6 @@
             print "See the patches directory for details."

     print
-    if sys.platform.startswith("win"):
-        raw_input("Press enter to continue...")


 if __name__ == "__main__":
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Mon Dec 07, 2009 11:11 am    Post subject: Reply with quote

There's a problem with the apiextractor Manifest

Code:
Calculating dependencies... done!
[ebuild  N    ] dev-python/apiextractor-0.3.2  USE="-debug" 260 kB [1]
[ebuild  N    ] dev-python/generatorrunner-0.3.2  USE="-debug" 406 kB [1]
[ebuild  N    ] dev-python/boostpythongenerator-0.3.2_p20091124  USE="-debug" 31 kB [1]
[ebuild  N    ] dev-python/pyside-0.2.2  USE="debug" 723 kB [1]                       

Total: 4 packages (4 new), Size of downloads: 1,420 kB
Portage tree and overlays:                           
 [0] /usr/portage                                     
 [1] /usr/local/portage/layman/qting-edge             

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/local/portage/layman/qting-edge/dev-python/boostpythongenerator/ChangeLog
!!! Reason: Filesize does not match recorded size                                 
!!! Got: 1262                                                                     
!!! Expected: 1096                                                               



I just manually "ebuild digested" the apiextractor ebuild and the error disappears.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon Dec 07, 2009 8:52 pm    Post subject: Reply with quote

You mean boostpythongenerator. Fixed.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Sun Dec 13, 2009 6:21 pm    Post subject: Reply with quote

using sip -> SEGFAULT.
e.g. eric:
Code:
gdb --args "/usr/bin/python2" "/usr/lib64/python3.1/site-packages/eric4/eric4.py"
[...]                                                                                   
(gdb) run                                                                                                                                   
Starting program: /usr/bin/python2 /usr/lib64/python3.1/site-packages/eric4/eric4.py                                                       
[Thread debugging using libthread_db enabled]                                                                                               

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5057eb7 in createClassType () from /usr/lib64/python2.6/site-packages/sip.so
(gdb) bt                                                                               
#0  0x00007ffff5057eb7 in createClassType () from /usr/lib64/python2.6/site-packages/sip.so
#1  0x00007ffff5057ea8 in createClassType () from /usr/lib64/python2.6/site-packages/sip.so
#2  0x00007ffff5058d3a in sip_api_init_module () from /usr/lib64/python2.6/site-packages/sip.so
#3  0x00007ffff2722d55 in initQsci () from /usr/lib64/python2.6/site-packages/PyQt4/Qsci.so   
#4  0x00007ffff7ecef68 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.6.so.1.0     
#5  0x00007ffff7ecd096 in import_submodule () from /usr/lib/libpython2.6.so.1.0               
#6  0x00007ffff7ecd640 in ensure_fromlist () from /usr/lib/libpython2.6.so.1.0                 
#7  0x00007ffff7ecdbf0 in import_module_level () from /usr/lib/libpython2.6.so.1.0             
#8  0x00007ffff7ece631 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
[...]

The same python-segfault also arises, when trying to install eric4.

Code:
readelf -s /usr/lib64/python2.6/site-packages/sip.so | grep NOTYPE
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     2: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyDict_SetItemString
     3: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND _Py_ZeroStruct
     4: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyString_AsString
     5: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyImport_Import
     6: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyBool_Type
     7: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyUnicodeUCS4_AsLatin1Str
     9: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyObject_Print
    10: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyClass_Type
    12: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND Py_InitModule4_64
    13: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyExc_ValueError
    14: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyType_Ready
    15: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND PyLong_FromVoidPtr
[...]

Code:
ldd /usr/lib64/python2.6/site-packages/sip.so
        linux-vdso.so.1 =>  (0x00007fffd898c000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libstdc++.so.6 (0x00007ffd969c1000)
        libm.so.6 => /lib/libm.so.6 (0x00007ffd96740000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ffd96528000)
        libc.so.6 => /lib/libc.so.6 (0x00007ffd961cf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffd96f21000)

It isn't linked against python...
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Dec 13, 2009 7:02 pm    Post subject: Reply with quote

Using python3 is not supported, and is known to break eric. If you use the current ebuild in the overlay, python3 is blocked.

As to sip - which version of sip? And did you reinstall PyQt4 after upgrading sip?
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Sun Dec 13, 2009 9:38 pm    Post subject: Reply with quote

yngwin wrote:
Using python3 is not supported, and is known to break eric. If you use the current ebuild in the overlay, python3 is blocked.

As to sip - which version of sip? And did you reinstall PyQt4 after upgrading sip?

It is since some time now (can't tell exactly) with recent sip + PyQt4, as they get an update.
And I am NOT using python 3! The gdb output is from python-2.6, if you have a closer look. I know that there are problems concerning python3.
paludis --info
Code:
paludis 0.42.2         
Paludis build information:
    Compiler:             
        CXX:                   x86_64-pc-linux-gnu-g++ 4.4.2
        CXXFLAGS:               -march=k8 -O2 -pipe -msse3 
        LDFLAGS:               -Wl,-O1                     
        DATE:                  2009-11-04T08:04:54+0100     

    Libraries:
        C++ Library:           GNU libstdc++ 20091015

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc       
        PYTHONINSTALLDIR:      /usr/lib64/python2.6/site-packages
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:
    Linux localhost 2.6.32-gentoo #1 Fri Dec 11 10:52:47 CET 2009 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

Reduced Privs:
    reduced_uid:               1000
    reduced_uid->name:         franz
    reduced_uid->dir:          /home/franz/
    reduced_gid:               1000       
    reduced_gid->name:         franz       

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /                 

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false           
    binary_keywords:                           
    binary_uri_prefix:                         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/paludis/distfiles     
    eapi_when_unknown:         0                         
    eapi_when_unspecified:     0                         
    eclassdirs:                /usr/portage/eclass       
    ignore_deprecated_profiles: false                     
    layout:                    traditional               
    names_cache:               /usr/portage/.cache/names 
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0                     
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0/desktop
    securitydir:               /usr/portage/metadata/glsa                           
    setsdir:                   /usr/portage/sets                                     
    sync:                      rsync://rsync.de.gentoo.org/gentoo-portage           
    sync_options:                                                                   
    use_manifest:              use                                                   
    write_cache:               /var/cache/paludis/metadata                           

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.0_p35   
        dev-java/java-config:  1.3.7-r1 2.1.9-r1
        dev-lang/python:       2.6.4 3.1.1-r1   
        dev-python/pycrypto:   2.0.1-r8         
        dev-util/ccache:       2.4-r8           
        dev-util/cmake:        2.8.0           
        dev-util/confcache:    (none)           
        sys-apps/baselayout:   2.0.1           
        sys-apps/openrc:       0.5.3           
        sys-apps/sandbox:      2.2             
        sys-devel/autoconf:    2.13 2.63-r1     
        sys-devel/automake:    1.10.3 1.11.1 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.20                                       
        sys-devel/gcc-config:  1.4.1                                       
        sys-devel/libtool:     2.2.6b                                     
        virtual/os-headers:    2.6.30-r1 (for sys-kernel/linux-headers::installed)
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Tue Dec 15, 2009 2:08 pm    Post subject: Reply with quote

Erm, funny. Downgraded to recent versions available through portage, and everything goes fine.
What could have caused my trouble?
I always built sip + PyQt4, when there were new Snapshots and i have synced. So sip + PyQt4 should have been compatible...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 14, 15, 16  Next
Page 9 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum