You are not logged in.

#1 2011-08-06 09:14:22

k4misiek
Member
Registered: 2008-02-10
Posts: 11

[SOLVED]can't build qnapi

Some time ago I compiled and worked.
Now I can't find packages and I don't know why it can't compile.

Any suggestions?

[k4misiek@arch qnapi]$ LANG=C makepkg
==> Making package: qnapi 0.1.6_rc2-1 (Sat Aug  6 11:07:06 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found qnapi-0.1.6-rc2.tar.gz
==> Validating source files with md5sums...
    qnapi-0.1.6-rc2.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting qnapi-0.1.6-rc2.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
res/resources.qrc: Warning: potential duplicate alias detected: 'sq.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'bg.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'de.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'en.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'es.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'et.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'fi.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'fr.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'hr.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'hu.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'id.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'it.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'mk.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'nl.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'no.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'ro.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'pt.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'pl.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'ru.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'sk.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'sl.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'sr.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'sv.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'tr.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'pl.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'en.gif'
g++ -m64 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o qnapi tmp/main.o tmp/frmprogress.o tmp/frmabout.o tmp/frmoptions.o tmp/frmupload.o tmp/frmcorrect.o tmp/frmreport.o tmp/frmscan.o tmp/frmcreateuser.o tmp/frmsummary.o tmp/frmnapiprojektconfig.o tmp/frmlistsubtitles.o tmp/qnapiconfig.o tmp/qnapiapp.o tmp/movieinfo.o tmp/qmultiparthttprequest.o tmp/qmanagedrequest.o tmp/qmanagedsocket.o tmp/qsingleapplication.o tmp/qnapiabstractengine.o tmp/qnapiprojektengine.o tmp/qnapicli.o tmp/qnapiopendialog.o tmp/client.o tmp/request.o tmp/variant.o tmp/response.o tmp/qnapi.o tmp/qopensubtitlesengine.o tmp/qnapilanguage.o tmp/frmopensubtitlesconfig.o tmp/qinterprocesschannel.o tmp/qrc_resources.o tmp/moc_frmprogress.o tmp/moc_frmabout.o tmp/moc_frmoptions.o tmp/moc_frmupload.o tmp/moc_frmcorrect.o tmp/moc_frmreport.o tmp/moc_frmscan.o tmp/moc_frmcreateuser.o tmp/moc_frmsummary.o tmp/moc_frmnapiprojektconfig.o tmp/moc_frmlistsubtitles.o tmp/moc_qnapiapp.o tmp/moc_qnapithread.o tmp/moc_synchttp.o tmp/moc_qmanagedsocket.o tmp/moc_qsingleapplication.o tmp/moc_qnapiopendialog.o tmp/moc_qsyncxmlrpcclient.o tmp/moc_client.o tmp/moc_qnapilanguage.o tmp/moc_frmopensubtitlesconfig.o tmp/moc_qinterprocesschannel.o    -L/usr/lib -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread 
tmp/frmopensubtitlesconfig.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [qnapi] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by k4misiek (2011-08-07 23:08:59)

Offline

#2 2011-08-06 10:10:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]can't build qnapi

Builds fine here, although I get same 'res/resources.qrc: Warning: potential duplicate alias detected:' errors as you.

...
res/resources.qrc: Warning: potential duplicate alias detected: 'sv.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'tr.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'pl.gif'
res/resources.qrc: Warning: potential duplicate alias detected: 'en.gif'
/usr/bin/uic ui/frmprogress.ui -o tmp/ui_frmprogress.h
/usr/bin/uic ui/frmabout.ui -o tmp/ui_frmabout.h
/usr/bin/uic ui/frmoptions.ui -o tmp/ui_frmoptions.h
/usr/bin/uic ui/frmupload.ui -o tmp/ui_frmupload.h
/usr/bin/uic ui/frmcorrect.ui -o tmp/ui_frmcorrect.h
/usr/bin/uic ui/frmreport.ui -o tmp/ui_frmreport.h
/usr/bin/uic ui/frmscan.ui -o tmp/ui_frmscan.h
/usr/bin/uic ui/frmcreateuser.ui -o tmp/ui_frmcreateuser.h
/usr/bin/uic ui/frmsummary.ui -o tmp/ui_frmsummary.h
/usr/bin/uic ui/napiprojekt/frmnapiprojektconfig.ui -o tmp/ui_frmnapiprojektconfig.h
/usr/bin/uic ui/opensubtitles/frmopensubtitlesconfig.ui -o tmp/ui_frmopensubtitlesconfig.h
/usr/bin/uic ui/frmlistsubtitles.ui -o tmp/ui_frmlistsubtitles.h
ui/frmlistsubtitles.ui: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -Isrc -Itmp -Itmp -o tmp/main.o src/main.cpp
...

Do you have qt installed? (/usr/bin/uic is provided by qt, I don't know if it matters or not)
I've noticed that on the AUR page https://aur.archlinux.org/packages.php?ID=15204 there's only

Dependencies p7zip

but in the PKGBUILD https://aur.archlinux.org/packages/qnapi/PKGBUILD

depends=('qt>=4.4' 'p7zip')

Last edited by karol (2011-08-06 10:32:36)

Offline

#3 2011-08-06 21:51:45

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [SOLVED]can't build qnapi

I have installed QT

[root@arch k4misiek]# LANG=C pacman -Qo /usr/bin/uic
/usr/bin/uic is owned by qt 4.7.3-3

Really don't know what is wrong.

Offline

#4 2011-08-07 00:31:11

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED]can't build qnapi

try removing the src directory in your build directory and try again. Maybe old build files are messing things up.

Offline

#5 2011-08-07 10:18:32

k4misiek
Member
Registered: 2008-02-10
Posts: 11

Re: [SOLVED]can't build qnapi

Snowman wrote:

try removing the src directory in your build directory and try again. Maybe old build files are messing things up.

It worked.
Thanks guys.

Offline

#6 2011-08-07 14:45:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED]can't build qnapi

k4misiek,

If all is well, please edit your first post in the thread and and [SOLVED] to the thread title.

Thanks


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB