[opensuse-packaging] Help with tideEditor at x86_64
Hi, Can anyone help me figure out how to define the QTDIR in x86_64. The x86 works fine, but the package doesn't build in 64arch. https://build.opensuse.org/package/live_build_log?arch=x86_64&package=tideEditor&project=home%3Aocefpaf&repository=openSUSE_11.3 Thanks, Filipe. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 03/19/2011 07:27 PM, Filipe Pires Alvarenga Fernandes wrote:
Hi,
Can anyone help me figure out how to define the QTDIR in x86_64. The x86 works fine, but the package doesn't build in 64arch.
Thanks, Filipe. That's not much information but try export QTDIR=%{_libdir} which might explain your failure, I've used export QTDIR=%{_prefix}/ in my spec files though and my 11.4 system still defines the qt3 QTDIR Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Sat, 19 Mar 2011 13:27:45 -0400 schrieb Filipe Pires Alvarenga Fernandes <ocefpaf@gmail.com>:
Can anyone help me figure out how to define the QTDIR in x86_64. The x86 works fine, but the package doesn't build in 64arch.
Why did you do that: %ifarch x86_64 BuildRequires: qt3-devel-32bit You don't need 32bit devel for a x86_64 build. You need qt3-devel for i586 _and_ for x86_64. Detlef -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, Mar 19, 2011 at 15:05, Detlef Reichelt <detlef@die-mafia.de> wrote:
Am Sat, 19 Mar 2011 13:27:45 -0400 schrieb Filipe Pires Alvarenga Fernandes <ocefpaf@gmail.com>:
Why did you do that:
%ifarch x86_64 BuildRequires: qt3-devel-32bit
You don't need 32bit devel for a x86_64 build. You need qt3-devel for i586 _and_ for x86_64.
I'm a begginer at packaging... that's something I found in a forum and didn't work.
Detlef
I also tried setting: export QTDIR=%{_libdir} export QTDIR=%{_libdir}/qt3 export QTDIR=%{_prefix}/ None of those worked, I keep getting the following error: checking for qt_badwindow in -lqt-mt... no configure: error: cannot find qt-mt; try setting QTDIR. error: Bad exit status from /var/tmp/rpm-tmp.JWnbLk (%build) That just happen when building in x86_64 arch only, 32 arch works fine. Filipe -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sunday 20 March 2011 01:58:39 Filipe Pires Alvarenga Fernandes wrote:
I also tried setting: export QTDIR=%{_libdir} export QTDIR=%{_libdir}/qt3 export QTDIR=%{_prefix}/
None of those worked, I keep getting the following error:
checking for qt_badwindow in -lqt-mt... no configure: error: cannot find qt-mt; try setting QTDIR. error: Bad exit status from /var/tmp/rpm-tmp.JWnbLk (%build)
That just happen when building in x86_64 arch only, 32 arch works fine.
I made changes to your package and submitted them to your repository. I also will add it to KDE:KDE3 repository so if you have any further changes, submit them there. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, Mar 19, 2011 at 20:05, Ilya Chernykh <neptunia@mail.ru> wrote:
On Sunday 20 March 2011 01:58:39 Filipe Pires Alvarenga Fernandes wrote:
I made changes to your package and submitted them to your repository. I also will add it to KDE:KDE3 repository so if you have any further changes, submit them there.
Will do (as soon as I learn how to do this with osc). Thanks a lot. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sunday 20 March 2011 03:18:15 Filipe Pires Alvarenga Fernandes wrote:
I made changes to your package and submitted them to your repository. I also will add it to KDE:KDE3 repository so if you have any further changes, submit them there.
Will do (as soon as I learn how to do this with osc).
osc sr -m "commit description" from-project package to-project
Thanks a lot.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sunday 20 March 2011 03:18:15 Filipe Pires Alvarenga Fernandes wrote:
I made changes to your package and submitted them to your repository. I also will add it to KDE:KDE3 repository so if you have any further changes, submit them there.
Will do (as soon as I learn how to do this with osc).
Oh sorry. It seems to be a console utility only. Not sure we should include it in KDE3 repo. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, Mar 19, 2011 at 20:50, Ilya Chernykh <neptunia@mail.ru> wrote:
On Sunday 20 March 2011 03:18:15 Filipe Pires Alvarenga Fernandes wrote:
Oh sorry. It seems to be a console utility only. Not sure we should include it in KDE3 repo.
Yes, it is part (but not a requirement) for xtide, and xtide is a qt3 application. However, I have no idea where they should live... ps: I appreciate the osc command tip. Thanks. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi Filipe, * Filipe Pires Alvarenga Fernandes (ocefpaf@gmail.com) [20110319 18:35]:
Can anyone help me figure out how to define the QTDIR in x86_64. The x86 works fine, but the package doesn't build in 64arch.
I've just made a SR for tideEditor that fixes the issue. I ripped out the useless tests in configure.ac (Stupid code calling AC_CHECK_HEADER and AC_CHECK_LIB without setting things up to use $QTDIR for both checks ...) and made it use AX_HAVE_QT from the autoconf-archive instead. That identified errors in ax_have_qt.m4 that I also fixed. As autoconf-archive currently isn't in factory I've included that file in your package for the time being. When autoconf-archive is in factory you can remove ax_have_qt.m4 from tideEditor. tideEditor now builds without problems. have fun Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Mar 23, 2011 at 13:00, Philipp Thomas <pth@suse.de> wrote:
Hi Filipe,
* Filipe Pires Alvarenga Fernandes (ocefpaf@gmail.com) [20110319 18:35]:
I've just made a SR for tideEditor that fixes the issue. I ripped out the useless tests in configure.ac (Stupid code calling AC_CHECK_HEADER and AC_CHECK_LIB without setting things up to use $QTDIR for both checks ...) and made it use AX_HAVE_QT from the autoconf-archive instead. That identified errors in ax_have_qt.m4 that I also fixed.
As autoconf-archive currently isn't in factory I've included that file in your package for the time being. When autoconf-archive is in factory you can remove ax_have_qt.m4 from tideEditor.
tideEditor now builds without problems.
Thanks a lot, all this packing stuff is new to me and the OBS can be overwhelming sometimes. I just can't wait for that book/manual someone mentioned to be out...
have fun Philipp
Filipe -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Dave Plater
-
Detlef Reichelt
-
Filipe Pires Alvarenga Fernandes
-
Ilya Chernykh
-
Philipp Thomas