You are not logged in.
I am trying to build kdesudo, and it is erroring out on me.... not sure what this error means, and was wondering if anyone has seen this and/or knows how to fix this. Thanks in advance.
[roberts@ghost ~]$ yaourt kdesudo
1 aur/kdesudo 3.4.2.3-1 (119)
A SUdo frontend for KDE
2 aur/kdesudo-kde4 3.1-2 (Out of Date) (19)
KdeSudo is a sudo frontend for KDE originaly developed by Robert
Gruber, and now maintained by Kubuntu developers.
3 aur/rootactions-servicemenu-kde4 2.5.0-1 (Out of Date) (66)
allows admin users to perform several root only actions from
dolphin via kdesu/kdesudo
==> Enter n° (separated by blanks, or a range) of packages to be installed
==> --------------------------------------------------------------------
==> 1
==> Downloading kdesudo PKGBUILD from AUR...
bsdtar: Removing leading '/' from member names
x PKGBUILD
Comment by: fettouhi on Mon, 16 Aug 2010 15:15:36 +0000
Then it's probably because of moving KDE 4.5.
Comment by: amirs on Mon, 16 Aug 2010 15:30:09 +0000
it seems that Ubuntu had a similar problem but i couldn't find out how they fixed it:
https://bugs.launchpad.net/ubuntu/+source/kdesudo/+bug/600202
Comment by: Xavion on Wed, 18 Aug 2010 10:04:15 +0000
You might wanna email the author of KdeSudo directly. I won't be upgrading to KDE v4.5 until it's moved into 'extra'.
Comment by: kite on Thu, 19 Aug 2010 23:01:57 +0000
In Ubuntu they fixed this bug a month ago - they are applying simple patch (drop_doc.patch) which comment out ADD_SUBDIRECTORY(en). And I don't know why you don't want to do in the same way.
Comment by: Xavion on Sat, 21 Aug 2010 00:31:09 +0000
I've added a configuration option to the PKGBUILD, which should take care of this problem. You will need to enable it manually for now, because this package still builds correctly without it here.
Comment by: amirs on Sat, 21 Aug 2010 04:13:53 +0000
works, thank you.
First Submitted: Fri, 21 Dec 2007 03:13:26 +0000
kdesudo 3.4.2.3-1 : A SUdo frontend for KDE
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> kdesudo dependencies:
- kdelibs (already installed)
- sudo (already installed)
- cmake (already installed)
- automoc4 (already installed)
==> Continue building kdesudo ? [Y/n]
==> ---------------------------------
==>
==> Building and installing package
==> Making package: kdesudo 3.4.2.3-1 (Fri Sep 24 20:36:00 HST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading kdesudo-3.4.2.3.tar.gz...
--2010-09-24 20:36:00-- http://launchpad.net/kdesudo/3.x/3.4.2.3/+download/kdesudo-3.4.2.3.tar.gz
Resolving launchpad.net... 91.189.89.222
Connecting to launchpad.net|91.189.89.222|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://launchpadlibrarian.net/38452901/kdesudo-3.4.2.3.tar.gz [following]
--2010-09-24 20:36:00-- http://launchpadlibrarian.net/38452901/kdesudo-3.4.2.3.tar.gz
Resolving launchpadlibrarian.net... 91.189.89.228
Connecting to launchpadlibrarian.net|91.189.89.228|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55414 (54K) [application/x-tar]
Saving to: "kdesudo-3.4.2.3.tar.gz.part"
100%[==============================>] 55,414 60.8K/s in 0.9s
2010-09-24 20:36:02 (60.8 KB/s) - "kdesudo-3.4.2.3.tar.gz.part" saved [55414/55414]
==> Validating source files with sha1sums...
kdesudo-3.4.2.3.tar.gz ... Passed
==> Extracting Sources...
-> Extracting kdesudo-3.4.2.3.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include (found version "4.4.2", required is "4.3.80")
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.5 include dir: /usr/include
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-roberts/aur-kdesudo/src/kdesudo-3.4.2.3
Scanning dependencies of target kdesudo_automoc
Generating moc_kdesudo.cpp
[ 0%] Built target kdesudo_automoc
Scanning dependencies of target kdesudo
[ 2%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kdesudo_automoc.o
[ 4%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/main.o
[ 6%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kdesudo.o
[ 8%] Building CXX object kdesudo/CMakeFiles/kdesudo.dir/kcookie.o
Linking CXX executable kdesudo
[ 8%] Built target kdesudo
Scanning dependencies of target en-handbook
[ 8%] Generating index.cache.bz2
index.docbook:8: warning: failed to load external entity "dtd/kdex.dtd"
]>
^
index.docbook:10: parser error : Entity 'language' not defined
<book lang="&language;">
^
index.docbook:10: element book: validity error : No declaration for attribute lang of element book
<book lang="&language;">
^
index.docbook:13: element application: validity error : No declaration for element application
<title>The &kdesudo; handbook</title>
^
index.docbook:13: element title: validity error : No declaration for element title
<title>The &kdesudo; handbook</title>
^
index.docbook:17: element firstname: validity error : No declaration for element firstname
<firstname>Robert</firstname>
^
index.docbook:18: element surname: validity error : No declaration for element surname
<surname>Gruber</surname>
^
index.docbook:20: element email: validity error : No declaration for element email
<address><email>rgruber@users.sourceforge.net</email></address>
^
index.docbook:20: element address: validity error : No declaration for element address
<address><email>rgruber@users.sourceforge.net</email></address>
^
index.docbook:21: element affiliation: validity error : No declaration for element affiliation
</affiliation>
^
index.docbook:22: element author: validity error : No declaration for element author
</author>
^
index.docbook:24: element authorgroup: validity error : No declaration for element authorgroup
</authorgroup>
^
index.docbook:27: element year: validity error : No declaration for element year
<year>2003</year>
^
index.docbook:28: element holder: validity error : No declaration for element holder
<holder>Robert Gruber</holder>
^
index.docbook:29: element copyright: validity error : No declaration for element copyright
</copyright>
^
index.docbook:31: parser error : Entity 'FDLNotice' not defined
<legalnotice>&FDLNotice;</legalnotice>
^
index.docbook:31: element legalnotice: validity error : No declaration for element legalnotice
<legalnotice>&FDLNotice;</legalnotice>
^
index.docbook:33: element date: validity error : No declaration for element date
<date>2002-03-29</date>
^
index.docbook:34: element releaseinfo: validity error : No declaration for element releaseinfo
<releaseinfo>1.00.00</releaseinfo>
^
index.docbook:38: element command: validity error : No declaration for element command
<command>sudo</command> command.</para></abstract>
^
index.docbook:38: element para: validity error : No declaration for element para
<command>sudo</command> command.</para></abstract>
^
index.docbook:38: element abstract: validity error : No declaration for element abstract
<command>sudo</command> command.</para></abstract>
^
index.docbook:41: element keyword: validity error : No declaration for element keyword
<keyword>KDE</keyword>
^
index.docbook:42: element keyword: validity error : No declaration for element keyword
<keyword>sudo</keyword>
^
index.docbook:43: element keyword: validity error : No declaration for element keyword
<keyword>password</keyword>
^
index.docbook:44: element keyword: validity error : No declaration for element keyword
<keyword>root</keyword>
^
index.docbook:45: element keywordset: validity error : No declaration for element keywordset
</keywordset>
^
index.docbook:47: element bookinfo: validity error : No declaration for element bookinfo
</bookinfo>
^
index.docbook:49: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="introduction">
^
index.docbook:50: element title: validity error : No declaration for element title
<title>Introduction</title>
^
index.docbook:53: element command: validity error : No declaration for element command
<command>su</command> command for the K Desktop Environment.
^
index.docbook:56: element command: validity error : No declaration for element command
the system's <command>sudo</command> command.</para>
^
index.docbook:56: element para: validity error : No declaration for element para
the system's <command>sudo</command> command.</para>
^
index.docbook:59: element filename: validity error : No declaration for element filename
from <filename>.desktop</filename> files.</para>
^
index.docbook:59: element para: validity error : No declaration for element para
from <filename>.desktop</filename> files.</para>
^
index.docbook:61: element chapter: validity error : No declaration for element chapter
</chapter>
^
index.docbook:63: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="using-kdesu">
^
index.docbook:64: element title: validity error : No declaration for element title
<title>Using &kdesudo;</title>
^
index.docbook:66: element para: validity error : No declaration for element para
<para>Usage of &kdesudo; is easy. The syntax is like this:</para>
^
index.docbook:69: element command: validity error : No declaration for element command
<command>kdesudo</command>
^
index.docbook:70: element replaceable: validity error : No declaration for element replaceable
<arg>-u <replaceable>RUNAS</replaceable></arg>
^
index.docbook:70: element arg: validity error : No declaration for element arg
<arg>-u <replaceable>RUNAS</replaceable></arg>
^
index.docbook:71: element arg: validity error : No declaration for element arg
<arg>COMMAND</arg>
^
index.docbook:72: element cmdsynopsis: validity error : No declaration for element cmdsynopsis
</cmdsynopsis>
^
index.docbook:74: element para: validity error : No declaration for element para
<para>The command line options are explained below.</para>
^
index.docbook:79: element option: validity error : No declaration for element option
<term><option>COMMAND</option></term>
^
index.docbook:79: element term: validity error : No declaration for element term
<term><option>COMMAND</option></term>
^
index.docbook:80: element command: validity error : No declaration for element command
<listitem><para>This is the command that <command>sudo</command> will execute.</
^
index.docbook:80: element para: validity error : No declaration for element para
item><para>This is the command that <command>sudo</command> will execute.</para>
^
index.docbook:80: element listitem: validity error : No declaration for element listitem
>This is the command that <command>sudo</command> will execute.</para></listitem
^
index.docbook:81: element varlistentry: validity error : No declaration for element varlistentry
</varlistentry>
^
index.docbook:84: element replaceable: validity error : No declaration for element replaceable
<term><option>-u <replaceable>RUNAS</replaceable></option></term>
^
index.docbook:84: element option: validity error : No declaration for element option
<term><option>-u <replaceable>RUNAS</replaceable></option></term>
^
index.docbook:84: element term: validity error : No declaration for element term
<term><option>-u <replaceable>RUNAS</replaceable></option></term>
^
index.docbook:86: element para: validity error : No declaration for element para
is specified at RUNAS</para></listitem>
^
index.docbook:86: element listitem: validity error : No declaration for element listitem
is specified at RUNAS</para></listitem>
^
index.docbook:87: element varlistentry: validity error : No declaration for element varlistentry
</varlistentry>
^
index.docbook:89: element variablelist: validity error : No declaration for element variablelist
</variablelist>
^
index.docbook:91: element chapter: validity error : No declaration for element chapter
</chapter>
^
index.docbook:93: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="Author">
^
index.docbook:94: element title: validity error : No declaration for element title
<title>Author</title>
^
index.docbook:96: element para: validity error : No declaration for element para
<para>&kdesudo;</para>
^
index.docbook:98: element para: validity error : No declaration for element para
<para>Copyright 2003 Robert Gruber</para>
^
index.docbook:101: element email: validity error : No declaration for element email
<email>rgruber@users.sourceforge.net</email>. Please report any bugs you
^
index.docbook:103: element para: validity error : No declaration for element para
to contact me.</para>
^
index.docbook:105: parser error : Entity 'underFDL' not defined
&underFDL;
^
index.docbook:106: parser error : Entity 'underGPL' not defined
&underGPL;
^
index.docbook:108: element chapter: validity error : No declaration for element chapter
</chapter>
^
index.docbook:110: element appendix: validity error : No declaration for attribute id of element appendix
<appendix id="installation">
^
index.docbook:111: element title: validity error : No declaration for element title
<title>Installation</title>
^
index.docbook:113: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="downloading">
^
index.docbook:114: element title: validity error : No declaration for element title
<title>Downloading</title>
^
index.docbook:116: parser error : Entity 'install.intro.documentation' not defined
&install.intro.documentation;
^
index.docbook:118: element sect1: validity error : No declaration for element sect1
</sect1>
^
index.docbook:120: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="compiling">
^
index.docbook:121: element title: validity error : No declaration for element title
<title>Compiling</title>
^
index.docbook:123: parser error : Entity 'install.compile.documentation' not defined
&install.compile.documentation;
^
index.docbook:125: element sect1: validity error : No declaration for element sect1
</sect1>
^
index.docbook:126: element appendix: validity error : No declaration for element appendix
</appendix>
^
index.docbook:128: element book: validity error : No declaration for element book
</book>
^
make[2]: *** [doc/en/index.cache.bz2] Error 1
make[1]: *** [doc/en/CMakeFiles/en-handbook.dir/all] Error 2
make: *** [all] Error 2
Aborting...
==> ERROR: Makepkg was unable to build kdesudo.
==> Restart building kdesudo ? [y/N]
==> --------------------------------
==> Last edited by Zer01ne (2010-09-25 18:23:22)
Offline
Have you read the comments? https://bugs.launchpad.net/ubuntu/+sour … bug/600202
You need to uncomment the line that starts with 'sed':
# Config
#sed -i "s|ADD_SUBDIRECTORY(en)|#ADD_SUBDIRECTORY(en)|g" doc/CMakeLists.txt || return 1save the PKGBUILD and try to compile kdesudo again using this PKGBUILD.
Last edited by karol (2010-09-25 07:38:42)
Offline
Thanks, that fixed the problem!
Offline