PDF build is broken

Started by Devrim Gündüzalmost 9 years ago4 messages
#1Devrim Gündüz
devrim@gunduz.org

Hi,

I can't build PDFs with latest snapshot tarball:

====================================================================================
$ make postgres-A4.pdf
{ \
echo "<!ENTITY version \"10devel\">"; \
echo "<!ENTITY majorversion \"10\">"; \
} > version.sgml
'/usr/bin/perl' ./mk_feature_tables.pl YES ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-supported.sgml
'/usr/bin/perl' ./mk_feature_tables.pl NO ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
'/usr/bin/perl' ./generate-errcodes-table.pl ../../../src/backend/utils/errcodes.txt > errcodes-table.sgml
openjade -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D . -c /usr/share/sgml/docbook/dsssl-stylesheets/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
LC_ALL=C '/usr/bin/perl' /usr/bin/collateindex.pl -f -g -i 'bookindex' -o bookindex.sgml HTML.index
Processing HTML.index...
2762 entries loaded...
collateindex.pl: duplicated index entry found: TRUNC
1 entries ignored...
Done.
openjade -D . -D . -c /usr/share/sgml/docbook/dsssl-stylesheets/catalog -d ./stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index -V texpdf-output -V '%paper-type%'=A4 -o postgres-A4.tex-pdf postgres.sgml
openjade:ref/alter_collation.sgml:96:10:E: [xref to REFSECT1 unsupported]
pdfjadetex postgres-A4.tex-pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdfjadetex)
restricted \write18 enabled.
entering extended mode
! I can't find file `postgres-A4.tex-pdf'.
<*> postgres-A4.tex-pdf

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
====================================================================================

Can someone please take a look?

Regards,
-- 
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

#2Peter Eisentraut
peter.eisentraut@2ndquadrant.com
In reply to: Devrim Gündüz (#1)
Re: PDF build is broken

On 3/25/17 07:27, Devrim Gündüz wrote:

I can't build PDFs with latest snapshot tarball:

Fixed. But I also suggest that you try out the FOP based builds,
because the jadetex-based builds will probably go away soon.

====================================================================================
$ make postgres-A4.pdf
{ \
echo "<!ENTITY version \"10devel\">"; \
echo "<!ENTITY majorversion \"10\">"; \
} > version.sgml
'/usr/bin/perl' ./mk_feature_tables.pl YES ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-supported.sgml
'/usr/bin/perl' ./mk_feature_tables.pl NO ../../../src/backend/catalog/sql_feature_packages.txt ../../../src/backend/catalog/sql_features.txt > features-unsupported.sgml
'/usr/bin/perl' ./generate-errcodes-table.pl ../../../src/backend/utils/errcodes.txt > errcodes-table.sgml
openjade -wall -wno-unused-param -wno-empty -wfully-tagged -D . -D . -c /usr/share/sgml/docbook/dsssl-stylesheets/catalog -d stylesheet.dsl -t sgml -i output-html -V html-index postgres.sgml
LC_ALL=C '/usr/bin/perl' /usr/bin/collateindex.pl -f -g -i 'bookindex' -o bookindex.sgml HTML.index
Processing HTML.index...
2762 entries loaded...
collateindex.pl: duplicated index entry found: TRUNC
1 entries ignored...
Done.
openjade -D . -D . -c /usr/share/sgml/docbook/dsssl-stylesheets/catalog -d ./stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index -V texpdf-output -V '%paper-type%'=A4 -o postgres-A4.tex-pdf postgres.sgml
openjade:ref/alter_collation.sgml:96:10:E: [xref to REFSECT1 unsupported]
pdfjadetex postgres-A4.tex-pdf
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdfjadetex)
restricted \write18 enabled.
entering extended mode
! I can't find file `postgres-A4.tex-pdf'.
<*> postgres-A4.tex-pdf

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
====================================================================================

Can someone please take a look?

Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Devrim Gündüz
devrim@gunduz.org
In reply to: Peter Eisentraut (#2)
Re: PDF build is broken

Hi Peter,

On Sun, 2017-03-26 at 15:05 -0400, Peter Eisentraut wrote:

Fixed. 

(Sorry for the late response): Thanks, it builds fine.

But I also suggest that you try out the FOP based builds,
because the jadetex-based builds will probably go away soon.

Can you please let me know how I will do it? Any docs somewhere?

Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

#4Peter Eisentraut
peter.eisentraut@2ndquadrant.com
In reply to: Devrim Gündüz (#3)
Re: PDF build is broken

On 3/30/17 12:03, Devrim Gündüz wrote:

But I also suggest that you try out the FOP based builds,
because the jadetex-based builds will probably go away soon.

Can you please let me know how I will do it? Any docs somewhere?

Please see this thread:
/messages/by-id/8533aa6b-0f07-9d76-af3b-1f8515b1365e@2ndquadrant.com

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers