Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45240 - media-radio/kpsk Will Not Compile
Summary: media-radio/kpsk Will Not Compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 15:29 UTC by David M. Carney
Modified: 2004-04-28 07:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Carney 2004-03-20 15:29:34 UTC
Ebuild may be faulty.

Will not build with db-4.1.25* or greater.

Will not build with a lesser version to completion either. Here's the last few lines of the output:

Here's the last few lines with the error:

REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -march=athlon-xp -pipe -O2 -fno-exceptions -fno-check-new -c -o myqlineedit.moc.o `test -f myqlineedit.moc.cpp || echo './'`myqlineedit.moc.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -march=athlon-xp -pipe -O2 -fno-exceptions -fno-check-new -o kpsk -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib kpskmeter.o kpsktip.o autocallchexdlg.o dcddlg.o waterfall.o qsoinfo.o personalsdlg.o mystatusbar.o myqlistviewitem.o myqlineedit.o mainview.o logsearch.o logedit.o logcore.o logbook.o gttextwidget.o fixtextdlg.o fixtext.o devicesdlg.o banddlg.o auxwindow.o autocqdlg.o appearencedlg.o kpsk.o main.o kpskmeter.moc.o autocqdlg.moc.o fixtextdlg.moc.o waterfall.moc.o qsoinfo.moc.o banddlg.moc.o devicesdlg.moc.o mystatusbar.moc.o appearencedlg.moc.o logsearch.moc.o auxwindow.moc.o autocallchexdlg.moc.o personalsdlg.moc.o mainview.moc.o gttextwidget.moc.o kpsk.moc.o fixtext.moc.o logbook.moc.o dcddlg.moc.o logedit.moc.o myqlineedit.moc.o ./server/libserver.a ./modes/libmodes.a -lm -lkio -lkdeui -lkdecore -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -ldb-4.0 -lpthread
make[3]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/kpsk'
make[2]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/kpsk'
Making all in po
make[2]: Entering directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/po'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc'
Making all in en
make[3]: Entering directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc/en'
/usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc/en'
make[3]: Entering directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc'
make[2]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1/doc'
make[2]: Entering directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1'
make[2]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1'
make[1]: Leaving directory `/var/tmp/portage/kpsk-1.0.1/work/kpsk-1.0.1'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-radio_-_kpsk-1.0.1-30441.log"

open_wr: /usr/qt/3/etc/settings/.qtrc.lock
open_wr: /usr/qt/3/etc/settings/.qtrc.lock
--------------------------------------------------------------------------------
n1zhe david # 

Any ideas?

David
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-20 17:38:02 UTC
another one of those qt sandbox errors
Comment 2 David M. Carney 2004-03-21 06:39:13 UTC
OK. Here's what needs to happen to emerge KPSK. (Note: My Gentoo system is up to date before this procedure)

1. You MUST use a db version less then 4.1.25*. I installed and used db-4.0.14-r3 and it worked. 

2. You must set 'FEATURES="-sandbox"'.

3. Emerge KPSK and it will build just fine.

Can things be done to the ebuild to correct this?

David
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-03-21 20:28:21 UTC
This is another appearance of the Problem with Qt writing to /usr/.. directly. See Bug 36731, Comment #6 for a description of a workaround. 

A quick search in Bugzilla shows around 50 similar Bugs, 20 of them still open. 

I think that we should come up with a general solution for Qt-ebuilds that have this problem.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-04-28 07:01:13 UTC
fixed in portage.