# Error install new version Tryton a 5.2.5

**URL:** https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718
**Category:** System Administrator
**Created:** [September 5, 2019, 3:57pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718 "2019-09-05T15:57:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)
#### Post date: [September 5, 2019, 3:57pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718/1 "2019-09-05T15:57:34Z")

</div>

Today the system has shown me a notice of a new update, when trying to do the update on Gentoo I have the following error

* * *

```
>>> Failed to emerge app-office/tryton-5.2.5, Log file:

```

> > > ‘/var/tmp/portage/app-office/tryton-5.2.5/temp/build.log’

- Messages for package app-office/tryton-5.2.5:

- ERROR: app-office/tryton-5.2.5::tryton failed (install phase):

- ‘dohtml’ has been banned for EAPI ‘7’

- 
- If you need support, post the output of `emerge --info '=app-office/tryton-5.2.5::tryton'`,

- the complete build log and the output of `emerge -pqv '=app-office/tryton-5.2.5::tryton'`.

- The complete build log is located at ‘/var/tmp/portage/app-office/tryton-5.2.5/temp/build.log’.

- The ebuild environment file is located at ‘/var/tmp/portage/app-office/tryton-5.2.5/temp/environment’.

- Working directory: ‘/var/tmp/portage/app-office/tryton-5.2.5/work/tryton-5.2.5’

- S: ‘/var/tmp/portage/app-office/tryton-5.2.5/work/tryton-5.2.5’

* * *

Reviewing the documentation of Gentoo I have noticed that since May 2018 the EAPI 6 “dohtml” is banned and therefore the same happens in the EAPI 7 according to an excerpt from the documentation "Banned commands and removed variables  
dohtml is banned

The dohtml function has been deprecated in EAPI 6 already, so it should come as no surprise that EAPI 7 finally bans it. The rationale remains the same: it was overcomplex, confusing and frequently asked for specification updates.

The replacement is dodoc -r, combined with docinto whenever necessary. However, I should point out that there is no technical reason to force html subdirectory for HTML files. Packages with a single HTML file or no non-HTML docs (sic!) Can install them straight to docdir. Packages that have multiple HTML document trees can use subdirectories named after what they contain. "

What should I do to solve this error?

[Gentoo guide EAPI 7](https://dev.gentoo.org/~mgorny/articles/the-ultimate-guide-to-eapi-7.html)

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [September 5, 2019, 4:25pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718/2 "2019-09-05T16:25:28Z")

</div>

The quick solution is to not activate the doc IUSE. But I will replace soon the dohtml calls.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [September 5, 2019, 4:33pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718/3 "2019-09-05T16:33:52Z")

</div>

It is fixed by [http://hg.tryton.org/tryton-overlay/rev/48c563b7f4c0](http://hg.tryton.org/tryton-overlay/rev/48c563b7f4c0) and [http://hg.tryton.org/tryton-overlay/rev/0e9f3108dc55](http://hg.tryton.org/tryton-overlay/rev/0e9f3108dc55).

---

<div class="post-metadata">

### Author: ![eleazar](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/eleazar/32/488_2.png) [@eleazar](https://discuss.tryton.org/u/eleazar)
#### Post date: [September 6, 2019, 12:24pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718/4 "2019-09-06T12:24:20Z")

</div>

Thanks solved the problem with an IUSE -doc

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [October 6, 2019, 12:24pm UTC](https://discuss.tryton.org/t/error-install-new-version-tryton-a-5-2-5/1718/5 "2019-10-06T12:24:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
