public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] PSI+ compile error
@ 2018-09-09  9:32 Klaus Ethgen
  2018-09-09 16:30 ` Klaus Ethgen
  2018-09-10 10:11 ` Nuno Silva
  0 siblings, 2 replies; 6+ messages in thread
From: Klaus Ethgen @ 2018-09-09  9:32 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I try to compile psi+ as I depend on OTR. I added the following to
packages:
   ~net-im/psi-9999 **

and the following to use:
   net-im/psi extras xscreensaver

Unfortunatelly I get the following error nearly at the end:
   make[1]: Leaving directory '/var/tmp/portage/net-im/psi-9999/work/psi-9999/src'
   rm: cannot remove '/var/tmp/portage/net-im/psi-9999/image//usr/share/psi-plus/README': No such file or directory
    * ERROR: net-im/psi-9999::gentoo failed (install phase):
    *   Installed file set seems to be changed by upstream

I know how I would fix that but I do not know enough about Gentoo
portage builds how to fix that.

Anybody an idea how to fix that?

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluU6KEACgkQpnwKsYAZ
9qyypgv5AQdER2fGLOlfuTdMNCnvqBBy258hTa2Se/0KR/QWuLFtfKMouD5HyFaG
7fWeHc4I71CSL7+x/1MyQhz8HXkPPeZg/GMLa1vkXkCnkK1J6kEXbUKPuUcle7m2
b0X/X/KgBqRSWfJ5LKZHA/xSyi+INYXTcqRpiLdx2cQIDrq855H8dg21pGzmi9Ge
YQ/DmrFGAtPXQ5nuaWYeVW/W57EyKyPEEWTKatABFsFozHRYW6d3KCmnew2KmALD
lHRVv/BjbPwZ9rE7sYHG8wnTgVGGgTU9RpOdTXJKcAMOIPXzyRpIp7XTTPjLaVwq
xsx8Y1RofWOqNxmJrq3jcJ4bTiAQzu8GcGS8FvH6SI/jEjwuavK/oPU263VH4XGd
SKrfHloibRsmhxkzyvwM2Hvg09Yj3zfmPkLG9X8dOl6qRCwB+YhkWLz/9n1aQcqJ
/sZcIMFDhAUYpXBIhoyopaKflUWJLvaWGEzvE1gbu6TfSs9ypDgj4BRHry5Yf4Jg
NuFmFl3L
=fFq1
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] PSI+ compile error
  2018-09-09  9:32 [gentoo-user] PSI+ compile error Klaus Ethgen
@ 2018-09-09 16:30 ` Klaus Ethgen
  2018-09-10 10:09   ` [gentoo-user] " Nuno Silva
  2018-09-10 10:11 ` Nuno Silva
  1 sibling, 1 reply; 6+ messages in thread
From: Klaus Ethgen @ 2018-09-09 16:30 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I created a ebuild patch that fixes the issue. Unfortunatelly I do not
know where to report that error in gentoo.

There is no reportbug binary and I do not know a mail address where to
post that to.

Does anybody have an idea?

For iterest, there ist the patch to the original ebuild file:
   --- /usr/portage/net-im/psi/psi-9999.ebuild 2018-05-16 23:38:57.000000000 +0100
   +++ psi-9999.ebuild 2018-09-09 17:16:06.628779038 +0100
   @@ -20,13 +20,15 @@
    LICENSE="GPL-2"
    SLOT="0"
    KEYWORDS=""
   -IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets sql ssl webengine webkit whiteboarding xscreensaver"
   +IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets otr plugins sql ssl webengine webkit whiteboarding xscreensaver"

    REQUIRED_USE="
     ?? ( aspell enchant hunspell )
     iconsets? ( extras )
     sql? ( extras )
     webengine? ( !webkit )
   + otr? ( plugins )
   + plugins? ( extras )
    "

    RDEPEND="
   @@ -57,6 +59,10 @@
     webkit? ( dev-qt/qtwebkit:5 )
     whiteboarding? ( dev-qt/qtsvg:5 )
     xscreensaver? ( x11-libs/libXScrnSaver )
   + otr? (
   +  net-libs/libotr
   +  app-text/tidy-html5
   + )
    "
    DEPEND="${RDEPEND}
     dev-qt/linguist-tools:5
   @@ -105,6 +111,19 @@
      EGIT_REPO_URI="${PSI_PLUS_URI}/main.git" \
      git-r3_src_unpack

   +  if use plugins; then
   +   unset EGIT_BRANCH EGIT_COMMIT
   +   EGIT_CHECKOUT_DIR="${WORKDIR}/plugins" \
   +   EGIT_REPO_URI="${PSI_URI}/plugins.git" \
   +   git-r3_src_unpack
   +   ln -s "${S}/src/plugins/include" "${WORKDIR}/plugins/include"
   +
   +   # Remove broken plugins
   +   sed -i -e '/omemoplugin/d' -e '/screenshotplugin/d' -e '/videostatusplugin/d' "${WORKDIR}/plugins/generic/CMakeLists.txt"
   +   use webkit || sed -i -e '/imagepreviewplugin/d' -e '/juickplugin/d' "${WORKDIR}/plugins/generic/CMakeLists.txt"
   +   use otr || sed -i -e '/otrplugin/d' "${WORKDIR}/plugins/generic/CMakeLists.txt"
   +  fi
   +
      if use iconsets; then
       unset EGIT_BRANCH EGIT_COMMIT
       EGIT_CHECKOUT_DIR="${WORKDIR}/resources" \
   @@ -159,22 +178,35 @@
     ./configure "${CONF[@]}" || die "configure failed"

     eqmake5 psi.pro
   +
   + MODCONF=(
   +  -DENABLE_PLUGINS=ON
   +  -DONLY_PLUGINS=ON
   +  -DCMAKE_INSTALL_PREFIX="/usr"
   +  -DLIB_SUFFIX=""
   +  -DMAIN_PROGRAM_NAME="${MY_PN}"
   +  -DCMAKE_MODULE_PATH="${S}/cmake/modules"
   + )
   + use webkit || MODCONF+=("-DENABLE_WEBKIT=OFF")
   + use plugins && (cd "${WORKDIR}/plugins" && cmake "${MODCONF[@]}")
    }

    src_compile() {
     emake
     use doc && emake -C doc api_public
   + use plugins && emake -C "${WORKDIR}/plugins"
    }

    src_install() {
     emake INSTALL_ROOT="${D}" install

     # this way the docs will be installed in the standard gentoo dir
   - rm "${ED}"/usr/share/${MY_PN}/{COPYING,README} || die "Installed file set seems to be changed by upstream"
   + rm "${ED}"/usr/share/${MY_PN}/{COPYING,README.html} || die "Installed file set seems to be changed by upstream"
     newdoc iconsets/roster/README README.roster
     newdoc iconsets/system/README README.system
     newdoc certs/README README.certs
   - dodoc README
   + dodoc README.md
   + dodoc README.html

     use doc && HTML_DOCS=( doc/api/. )
     einstalldocs
   @@ -188,6 +220,8 @@
      doins "translations/${PN}_${1}.qm"
     }
     l10n_for_each_locale_do install_locale
   +
   + use plugins && emake -C "${WORKDIR}/plugins" DESTDIR="${D}" install
    }

    pkg_postinst() {

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluVSqAACgkQpnwKsYAZ
9qyITAv/SSsUAcEZ+l+hs9ufJP/n3Rs2TyQ9YsFf9buNes+IQ6Eyped9zSQsr5HJ
xjXu7oMLEdQgHFmir7DsJSWe/Rxdr61AcTDZz/TzWH1iQTVXyN4lHrkYAlHs705d
y5u9H4Z0vHc5yRXssYZSL+O97Wz1Hmo8RKdyfkYTVrtERXdIPcB579i5mEm72aUs
7eblV1SmEzXJp7UgHUo7A3Go/benvmu1nZMxjgGySTVZb0SwwcE2rpBCr7+en/HY
bubHYG8gRbxgI5QgvFbE5qI4Y8fE2Jlr83VBWbZbxeSo3Lb856uSSbdQ8+CALHsY
1yWuGO8GoZXxclCyKA+i5rPUZ+O7ljb5nAZBsYKsjADlHoKFzlOB9p519Kqdyi7u
uXvXkCjoUoYu5IDCkJXDaIWWPIRelpEFHODPtWW5E89Mv7JgrvaEpVxxawV01G5x
ObaxAAHqIy1KdV7A3E3G8bZCCKK9xKswKY+EdhPIktFmGqJv53mVMVc8aZ/Q8ReX
/+1+jKji
=5z3p
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: PSI+ compile error
  2018-09-09 16:30 ` Klaus Ethgen
@ 2018-09-10 10:09   ` Nuno Silva
  0 siblings, 0 replies; 6+ messages in thread
From: Nuno Silva @ 2018-09-10 10:09 UTC (permalink / raw
  To: gentoo-user

On 2018-09-09, Klaus Ethgen wrote:

> I created a ebuild patch that fixes the issue. Unfortunatelly I do not
> know where to report that error in gentoo.
>
> There is no reportbug binary and I do not know a mail address where to
> post that to.
>
> Does anybody have an idea?

Bugzilla at https://bugs.gentoo.org/

-- 
Nuno Silva



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: PSI+ compile error
  2018-09-09  9:32 [gentoo-user] PSI+ compile error Klaus Ethgen
  2018-09-09 16:30 ` Klaus Ethgen
@ 2018-09-10 10:11 ` Nuno Silva
  2018-09-10 12:44   ` Klaus Ethgen
  1 sibling, 1 reply; 6+ messages in thread
From: Nuno Silva @ 2018-09-10 10:11 UTC (permalink / raw
  To: gentoo-user

On 2018-09-09, Klaus Ethgen wrote:

> Hi,
>
> I try to compile psi+ as I depend on OTR.

You might be also interested in the following bug report
https://bugs.gentoo.org/show_bug.cgi?id=651248

-- 
Nuno Silva



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: PSI+ compile error
  2018-09-10 10:11 ` Nuno Silva
@ 2018-09-10 12:44   ` Klaus Ethgen
  2018-09-10 14:08     ` Klaus Ethgen
  0 siblings, 1 reply; 6+ messages in thread
From: Klaus Ethgen @ 2018-09-10 12:44 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Mo den 10. Sep 2018 um 11:11 schrieb Nuno Silva:
> You might be also interested in the following bug report
> https://bugs.gentoo.org/show_bug.cgi?id=651248

I hate web based bugtracker.

Nevertheless, is it possible to add my patch there? I do not find a way
to add a comment or a file to this bug.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluWZx8ACgkQpnwKsYAZ
9qwjZQv+PBxZ2gC3jfL5vAhaSkkrLCFxh+i8ZL1xeDLK04FcWimAXEntWwMSu2eK
cqYv7nRTN9hzwTyEd5hukIcFclKjyJ4sOFMttRbH0+B3nDbZfg81kx9IvAzp/9jf
oCwkeBvixx3ySYYIDNgGAZ+rd7EhAoBItCtWXqBmyFppVqDsjPUv/hjo2NNur2JU
cy5k2LPpUSI6/T+hj3g2FVtRU2vCUy2dtxlPGluwO2FuSE3u5dXt9GHM5Z+4Ymk7
ETByauVGU83AY36B2PjMASA/1LrCGP2d1PCBE0t1nQh5y1+l43wcaD0yxUACfMd5
ikctEWwjaLYNhdPP17SCYukWkfzqEiH9DM8063jHSf/iPY0eJXGsxSjmP+t4JoN4
BPi0QdN3nol5gJviyG9UVziuEEH+QhE6WRMt/TetejbfnJng/5hrnYkZEETPvRoM
Rl0jW08lISlRqf+1kgCzlzCPQHWz5IfH4S8MSn0CTCV2pZBpKrio+ERZUH3h7r90
o/vayxOP
=05IC
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: PSI+ compile error
  2018-09-10 12:44   ` Klaus Ethgen
@ 2018-09-10 14:08     ` Klaus Ethgen
  0 siblings, 0 replies; 6+ messages in thread
From: Klaus Ethgen @ 2018-09-10 14:08 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Mo den 10. Sep 2018 um 13:44 schrieb Klaus Ethgen:
> Nevertheless, is it possible to add my patch there? I do not find a way
> to add a comment or a file to this bug.

Ah, you need an account over there. One more of the thousand accounts I
already have. :-(
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluWetYACgkQpnwKsYAZ
9qw4BgwAgpVjvhHB8Zls71PHJxGytwN9/OIRmO6XilWTp0XFcZHbDz45hMEMAxGg
WEglmzVzqAvmP2eBeGo3grOcx2ySQoiPZyctA0U3W7+cQ9xspqzcHFGSUGQIobh8
pC6wgP+I4sCYIrvE3VXjDa3Iszj7BCsJs6AdxC5tY1b7kezMz9jkk5rpXeQFMk3v
iL7UYd/axYws+hi9dJj4MpjmMaJbDIi9b0gF7c5Zv8Bhm/2/uWu71I9Ti96YFwUV
3S9sdcp1nWV7Sf5EgsB8C697E9lC2UStHdbcqK9E7NJmpeHjDbbK6a2IfJZm6UXc
F16ri29cQLI0L0AM1WIlVo/azK2xsAgh6LNlykGGVKSaZ+eo1suxoZ9SIxxfvNn5
U81yvhOIzxyCUxRzgTiNuBe6uI3RuofxmT7aqdevpT3Ai45iizVU6Px/6b3uKECf
4b30BBLTqcdlbnRelXOaqKIVT9Adg7aSgox0CUEbH6q+b/aQHWE6qryCiSRyAw8+
4/r7ypZZ
=DczF
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-10 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-09  9:32 [gentoo-user] PSI+ compile error Klaus Ethgen
2018-09-09 16:30 ` Klaus Ethgen
2018-09-10 10:09   ` [gentoo-user] " Nuno Silva
2018-09-10 10:11 ` Nuno Silva
2018-09-10 12:44   ` Klaus Ethgen
2018-09-10 14:08     ` Klaus Ethgen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox