Bug 107045 - kde-i18n-pt_BR cannot be built
Summary: kde-i18n-pt_BR cannot be built
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: pt-BR (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Pfutzenreuter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 17:01 UTC by Magno Alexandre Torres
Modified: 2006-09-03 18:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magno Alexandre Torres 2005-06-08 17:01:18 UTC
Version:           pt_BR (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.5-20050130 CXXFLAGS=CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
OS:                Linux

I get the follow error when i tried compile the kde-i18n on pt_BR language:

make[5]: Leaving directory
`/var/tmp/portage/kde-i18n-3.4.1/work/kde-i18n-pt_BR-3.4.1/docs/kdewebdev/kommander'
index.docbook:159: element xref: validity error : IDREF attribute linkend
references an unknown ID "gnu-fdl"
</book>
       ^
make[4]: *** [index.cache.bz2] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kde-i18n-3.4.1/work/kde-i18n-pt_BR-3.4.1/docs/kdewebdev/kommander'

I SOLVED this with:
vi /var/tmp/portage/kde-i18n-3.4.1/work/kde-i18n-pt_BR-3.4.1/docs/kdewebdev/kommander/index.docbook +111

Alter the line:
>&FDLNotice;</legalnotice>

by
>&FDLNotice;&underFDL;&underGPL;</legalnotice>


I don't know if this is the right way to solve, but it work's well and komander don't crash after install this package.
Comment 1 John Babiak 2005-06-30 00:35:32 UTC
I have encountered the same bug building the pt_BR translations from source. Here is the output from the make command:

Making all in kommander
make[4]: Entering directory 
`/home/builder1/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1/docs/kdewebdev/kommander'

/opt/kde/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:159: element xref: validity error : IDREF attribute linkend 
references an unknown ID "gnu-fdl"
</book>
       ^
make[4]: *** [index.cache.bz2] Error 1
make[4]: Leaving directory 
`/home/builder1/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1/docs/kdewebdev/kommander'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/builder1/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1/docs/kdewebdev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/builder1/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/builder1/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1'
make: *** [all] Error 2
johnsbox:/~/kde3.4.1/kde-i18n/kde-i18n-pt_BR-3.4.1
Comment 2 Gregorio Guidi 2005-07-28 00:27:26 UTC
Still valid in KDE 3.4.2.
Comment 3 Gregorio Guidi 2005-09-21 16:37:27 UTC
Still valid in 3.5-beta1.
Comment 4 Andreas Kling 2006-09-03 18:40:07 UTC
The offending file was removed in revision 469459, and pt_BR build just fine on current 3.5 branch.