Skip to contentSkip to conversation

problem building v4l2-spec from docbook source

DISCUSSION Németh Márton 7 participants 17 messages Aug 30, 2009 – Sep 12, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I get the source from http://linuxtv.org/hg/v4l-dvb repository and I am now at version 12564:6f58a5d8c7c6. When I try to build the human readable version of the V4L2 specification I get some error message:

$ make v4l2-spec
[...]
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V3.1//EN"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: reference to entity "BOOK" for which no system identifier could be generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD did not contain element declaration for document type name
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E: there is no attribute "ID"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E: element "BOOK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:26:11:E: element "BOOKINFO" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:27:10:E: element "TITLE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:28:13:E: element "SUBTITLE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:30:16:E: element "AUTHORGROUP" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:31:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:32:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:33:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:34:17:E: there is no attribute "ROLE"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:34:21:E: element "OTHERNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:35:13:E: element "AFFILIATION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:36:11:E: element "ADDRESS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:37:11:E: element "EMAIL" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:42:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:43:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:44:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:51:9:E: element "CONTRIB" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:55:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:56:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:57:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:58:9:E: element "CONTRIB" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:61:13:E: element "AFFILIATION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:62:11:E: element "ADDRESS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:63:11:E: element "EMAIL" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:68:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:69:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:70:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:77:9:E: element "CONTRIB" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:81:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:82:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:83:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:84:9:E: element "CONTRIB" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:87:13:E: element "AFFILIATION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:88:11:E: element "ADDRESS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:89:11:E: element "EMAIL" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:95:13:E: element "AUTHOR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:96:11:E: element "FIRSTNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:97:9:E: element "SURNAME" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:98:9:E: element "CONTRIB" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:100:13:E: element "AFFILIATION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:101:11:E: element "ADDRESS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:102:11:E: element "EMAIL" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:107:14:E: element "COPYRIGHT" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:108:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:109:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:110:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:111:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:112:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:113:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:114:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:115:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:116:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:117:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:118:11:E: element "YEAR" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:119:13:E: element "HOLDER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:123:16:E: element "LEGALNOTICE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:124:11:E: element "PARA" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:124:42:W: cannot generate system identifier for general entity "copy"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:124:42:E: general entity "copy" not defined and no default entity
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:124:46:E: reference to entity "copy" for which no system identifier could be generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:124:41: entity was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:128:11:E: element "PARA" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:135:11:E: element "PARA" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:139:15:E: element "REVHISTORY" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:146:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:147:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:148:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:149:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:150:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:153:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:154:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:155:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:156:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:157:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:160:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:161:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:162:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:163:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:164:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:167:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:168:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:169:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:170:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:171:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:175:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:176:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:177:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:178:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:179:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:185:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:186:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:187:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:188:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:189:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:193:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:194:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:195:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:196:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:197:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:201:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:202:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:203:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:204:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:205:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:214:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:215:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:216:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:217:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:218:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:221:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:222:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:223:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:224:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:225:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:229:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:230:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:231:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:232:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:233:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:236:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:237:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:238:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:239:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:240:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:244:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:245:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:246:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:247:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:248:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:251:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:252:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:253:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:254:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:255:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:259:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:260:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:261:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:262:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:263:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:270:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:271:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:272:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:273:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:274:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:279:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:280:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:281:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:282:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:283:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:288:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:289:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:290:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:291:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:292:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:296:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:297:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:298:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:299:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:300:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:304:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:305:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:306:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:307:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:308:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:312:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:313:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:314:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:315:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:316:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:322:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:323:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:324:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:325:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:326:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:330:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:331:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:332:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:333:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:334:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:339:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:340:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:341:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:342:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:343:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:347:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:348:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:349:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:350:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:351:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:354:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:355:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:356:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:357:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:358:11:E: element "REVREMARK" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:363:15:E: element "REVISION" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:364:11:E: element "REVNUMBER" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:365:6:E: element "DATE" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:366:16:E: element "AUTHORINITIALS" undefined
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E: element "REVREMARK" undefined
openjade:I: maximum number of errors (200) reached; change with -E option
make[2]: *** [html-single-build.stamp] Error 8
make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec'
make[1]: *** [v4l2-spec] Error 2
make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
make: *** [v4l2-spec] Error 2

I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1. Any idea how to fix this?

Regards,

Márton Németh

#1 lore raw
Quoted 28 lines · Németh Márton

Hi,

I get the source from http://linuxtv.org/hg/v4l-dvb repository and I am now
at version 12564:6f58a5d8c7c6. When I try to build the human readable version
of the V4L2 specification I get some error message:

$ make v4l2-spec
[...]
Using catalogs: /etc/sgml/catalog
Using stylesheet:
/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W:
cannot generate system identifier for public text "-//OASIS//DTD
DocBook V3.1//EN"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E:
reference to entity "BOOK" for which no system identifier could be
generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity
was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD
did not contain element declaration for document type name
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E:
there is no attribute "ID"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E:
element "BOOK" undefined

<snip>

Quoted 10 lines

openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E:
element "REVREMARK" undefined
openjade:I: maximum number of errors (200) reached; change with -E option
make[2]: *** [html-single-build.stamp] Error 8
make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec' make[1]: *** [v4l2-spec] Error 2
make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
make: *** [v4l2-spec] Error 2

Quoted 6 lines

I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1. Any idea how to fix this?

Regards,

Márton Németh

It appears you are missing one or more of the packages involved in the sgml catalog for docbook. My first guess would be the sgml-common package; my second guess would be docbook-dtds. After that, it gets more complicated - can you confirm you have those two and still have the problem?

Bill

#2 lore raw

Em Mon, 31 Aug 2009 05:42:18 -0700
"William M. Brack" <[email protected]> escreveu:

Quoted 43 lines
Quoted 28 lines · Németh Márton

Hi,

I get the source from http://linuxtv.org/hg/v4l-dvb repository and I am now
at version 12564:6f58a5d8c7c6. When I try to build the human readable version
of the V4L2 specification I get some error message:

$ make v4l2-spec
[...]
Using catalogs: /etc/sgml/catalog
Using stylesheet:
/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W:
cannot generate system identifier for public text "-//OASIS//DTD
DocBook V3.1//EN"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E:
reference to entity "BOOK" for which no system identifier could be
generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity
was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD
did not contain element declaration for document type name
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E:
there is no attribute "ID"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E:
element "BOOK" undefined

<snip>

Quoted 13 lines

openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E:
element "REVREMARK" undefined
openjade:I: maximum number of errors (200) reached; change with -E option
make[2]: *** [html-single-build.stamp] Error 8
make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec' make[1]: *** [v4l2-spec] Error 2
make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
make: *** [v4l2-spec] Error 2

I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1. Any idea how to fix this?

Quoted 8 lines
Quoted 3 lines

Regards,

Márton Németh

It appears you are missing one or more of the packages involved in the sgml catalog for docbook. My first guess would be the sgml-common package; my second guess would be docbook-dtds. After that, it gets more complicated - can you confirm you have those two and still have the problem?

Hmm.. maybe Debian docbook packages have some issues with old versions of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on kernel. This will make easier for a future integration of the documentation at the kernel tree.

Quoted 7 lines

Bill

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Cheers,
Mauro

#3 lore raw

Em Mon, 31 Aug 2009 13:52:37 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 5 lines

Hmm.. maybe Debian docbook packages have some issues with old versions of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on kernel. This will make easier for a future integration of the documentation at the kernel tree.

As promised, I just committed a changeset that upgraded the DocBook version. It will now prefer to use xmlto, since, on my tests, it seemed more reliable than docbook, for html targets. Unfortunately, it didn't work fine for pdf target, so, it will keep using docbook (in fact db2pdf) for generating the pdf version.

Please test. It everything is fine, IMO, we should consider the inclusion of the V4L2 API on kernel (or at least, some parts of the API - since the "changes" chapter doesn't seem much relevant to be on kernel).

Cheers,
Mauro

#4 lore raw
Quoted 9 lines · On Tuesday 01 September 2009 02:35:31 Mauro Carvalho Chehab wrote:

Em Mon, 31 Aug 2009 13:52:37 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 5 lines

Hmm.. maybe Debian docbook packages have some issues with old versions of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on kernel. This will make easier for a future integration of the documentation at the kernel tree.

Quoted 8 lines

As promised, I just committed a changeset that upgraded the DocBook version. It will now prefer to use xmlto, since, on my tests, it seemed more reliable than docbook, for html targets. Unfortunately, it didn't work fine for pdf target, so, it will keep using docbook (in fact db2pdf) for generating the pdf version.

Please test. It everything is fine, IMO, we should consider the inclusion of the V4L2 API on kernel (or at least, some parts of the API - since the "changes" chapter doesn't seem much relevant to be on kernel).

Hi Mauro,

I did a quick test of the html output and it seems that table handling is hit and miss: e.g. see section 1.9.5.1. In other cases there is very little space between columns, e.g. section 3.5, table 3.3.

Regarding pdf: do we really want to keep that? The output never looked good. I wouldn't shed a tear if we dropped pdf support.

I would also suggest to either remove the revision and changes sections or move it to a ChangeLog file instead. Now that we have the spec under revision control I do not see much benefit. The only reason why we still need something like that is that it provides a log of when certain functionality first appeared. A ChangeLog would do just as well.

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
#5 lore raw
Quoted 21 lines · On Tuesday 01 September 2009 08:59:33 Hans Verkuil wrote:
Quoted 16 lines · On Tuesday 01 September 2009 02:35:31 Mauro Carvalho Chehab wrote:

Em Mon, 31 Aug 2009 13:52:37 -0300

Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 6 lines

Hmm.. maybe Debian docbook packages have some issues with old versions of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on kernel. This will make easier for a future integration of the documentation at the kernel tree.

As promised, I just committed a changeset that upgraded the DocBook version. It will now prefer to use xmlto, since, on my tests, it seemed more reliable than docbook, for html targets. Unfortunately, it didn't work fine for pdf target, so, it will keep using docbook (in fact db2pdf) for generating the pdf version.

Quoted 3 lines

Please test. It everything is fine, IMO, we should consider the inclusion of the V4L2 API on kernel (or at least, some parts of the API - since the "changes" chapter doesn't seem much relevant to be on kernel).

Quoted 8 lines

Hi Mauro,

I did a quick test of the html output and it seems that table handling is hit and miss: e.g. see section 1.9.5.1. In other cases there is very little space between columns, e.g. section 3.5, table 3.3.

Regarding pdf: do we really want to keep that? The output never looked good. I wouldn't shed a tear if we dropped pdf support.

Can't we fix it to make it look good instead ? :-)

Quoted 5 lines

I would also suggest to either remove the revision and changes sections or move it to a ChangeLog file instead. Now that we have the spec under revision control I do not see much benefit. The only reason why we still need something like that is that it provides a log of when certain functionality first appeared. A ChangeLog would do just as well.

--
Regards,

Laurent Pinchart

#6 lore raw
Quoted 38 lines · On Tuesday 01 September 2009 08:59:33 Hans Verkuil wrote:
Quoted 36 lines · On Tuesday 01 September 2009 02:35:31 Mauro Carvalho Chehab wrote:
Quoted 4 lines

Em Mon, 31 Aug 2009 13:52:37 -0300

Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 1 line

Hmm.. maybe Debian docbook packages have some issues with old

versions

Quoted 3 lines
Quoted 3 lines

of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on

kernel.

Quoted 1 line
Quoted 1 line

This will make easier for a future integration of the documentation

at

Quoted 4 lines
Quoted 1 line

the kernel tree.

As promised, I just committed a changeset that upgraded the DocBook version. It will now prefer to use xmlto, since, on my tests, it

seemed

Quoted 2 lines

more reliable than docbook, for html targets. Unfortunately, it didn't work fine for pdf target, so, it will keep using docbook (in fact

db2pdf)

Quoted 3 lines

for generating the pdf version.

Please test. It everything is fine, IMO, we should consider the

inclusion

Quoted 1 line

of the V4L2 API on kernel (or at least, some parts of the API - since

the

Quoted 1 line

"changes" chapter doesn't seem much relevant to be on kernel).

Hi Mauro,

I did a quick test of the html output and it seems that table handling is
hit and miss: e.g. see section 1.9.5.1. In other cases there is very little
space between columns, e.g. section 3.5, table 3.3.

Quoted 4 lines
Quoted 2 lines

Regarding pdf: do we really want to keep that? The output never looked good. I wouldn't shed a tear if we dropped pdf support.

Can't we fix it to make it look good instead ? :-)

I suspect that that is quite difficult: the core problem are some very wide tables that are cut off on the right hand side if I am not mistaken.

Of course, if someone wants to take this on...

Regards,

Hans

Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG
#7 lore raw

Em Tue, 1 Sep 2009 10:55:10 +0200
"Hans Verkuil" <[email protected]> escreveu:

Quoted 27 lines
Quoted 27 lines · On Tuesday 01 September 2009 08:59:33 Hans Verkuil wrote:
Quoted 25 lines · On Tuesday 01 September 2009 02:35:31 Mauro Carvalho Chehab wrote:
Quoted 4 lines

Em Mon, 31 Aug 2009 13:52:37 -0300

Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 1 line

Hmm.. maybe Debian docbook packages have some issues with old

versions

Quoted 3 lines
Quoted 3 lines

of DocBook? Anyway, we should upgrade to XML 4.1.2 to use the same DocBook version as used on kernel. Also, as kernel uses xmlto, I'm working on a patch to port it to the same version/tools used on

kernel.

Quoted 1 line
Quoted 1 line

This will make easier for a future integration of the documentation

at

Quoted 4 lines
Quoted 1 line

the kernel tree.

As promised, I just committed a changeset that upgraded the DocBook version. It will now prefer to use xmlto, since, on my tests, it

seemed

Quoted 2 lines

more reliable than docbook, for html targets. Unfortunately, it didn't work fine for pdf target, so, it will keep using docbook (in fact

db2pdf)

Quoted 3 lines

for generating the pdf version.

Please test. It everything is fine, IMO, we should consider the

inclusion

Quoted 1 line

of the V4L2 API on kernel (or at least, some parts of the API - since

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

the

Quoted 1 line

"changes" chapter doesn't seem much relevant to be on kernel).

Hi Mauro,

I did a quick test of the html output and it seems that table handling is
hit and miss: e.g. see section 1.9.5.1.

IMHO, the spanspec is bad specified on this table. See if this would produce a better result:

v4l2-spec/controls.sgml +1 -1
@@ -610,7 +610,7 @@ certain hardware.</para>
 	    <colspec colname="c3" colwidth="2*" />
 	    <colspec colname="c4" colwidth="6*" />
 	    <spanspec namest="c1" nameend="c2" spanname="id" />
-	    <spanspec namest="c2" nameend="c4" spanname="descr" />
+	    <spanspec namest="c3" nameend="c4" spanname="descr" />
 	    <thead>
 	      <row>
 		<entry spanname="id" align="left">ID</entry>
Quoted 3 lines

In other cases there is very

Quoted 2 lines
Quoted 2 lines

little
space between columns, e.g. section 3.5, table 3.3.

Maybe it is not properly handling the colwidth. We need to do more investigation.

This DocBook version is less tolerant to standard violations. I had to fix several violations that V3.1 didn't complain during the conversion. Maybe there are some violations at the way some tables are specified, or maybe xmlto doesn't care to colwidth or handles it differently.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Regarding pdf: do we really want to keep that? The output never looked good. I wouldn't shed a tear if we dropped pdf support.

Can't we fix it to make it look good instead ? :-)

I suspect that that is quite difficult: the core problem are some very wide tables that are cut off on the right hand side if I am not mistaken.

There are also some pictures that are cut.

Quoted 1 line

Of course, if someone wants to take this on...

It will be good if someone could fix it. I had to keep the old docbook2pdf to generate pdf's since xmlto refuses to do it, mostly due to the size violations.

Cheers,
Mauro

#8 lore raw
In reply to William M. Brack
Quoted 40 lines · William M. Brack
Quoted 28 lines · Németh Márton

Hi,

I get the source from http://linuxtv.org/hg/v4l-dvb repository and I am now
at version 12564:6f58a5d8c7c6. When I try to build the human readable version
of the V4L2 specification I get some error message:

$ make v4l2-spec
[...]
Using catalogs: /etc/sgml/catalog
Using stylesheet:
/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W:
cannot generate system identifier for public text "-//OASIS//DTD
DocBook V3.1//EN"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E:
reference to entity "BOOK" for which no system identifier could be
generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity
was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD
did not contain element declaration for document type name
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E:
there is no attribute "ID"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E:
element "BOOK" undefined

<snip>

Quoted 10 lines

openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E:
element "REVREMARK" undefined
openjade:I: maximum number of errors (200) reached; change with -E option
make[2]: *** [html-single-build.stamp] Error 8
make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec' make[1]: *** [v4l2-spec] Error 2
make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
make: *** [v4l2-spec] Error 2

Quoted 8 lines
Quoted 2 lines

I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1. Any idea how to fix this?

It appears you are missing one or more of the packages involved in the sgml catalog for docbook. My first guess would be the sgml-common package; my second guess would be docbook-dtds. After that, it gets more complicated - can you confirm you have those two and still have the problem?

Unfortunately the sgml-common and the docbook-dtds are not installed and I cannot install them on Debian because they are not found:
http://packages.debian.org/search?keywords=sgml-common&searchon=names&suite=stable&section=all
http://packages.debian.org/search?suite=stable&section=all&arch=any&searchon=names&keywords=docbook-dtds

In the meantime I updated to version "12614:fd679bbd8bb3" and now I get a different error message:

| $ make v4l2-spec
| [...]
| Using catalogs: /etc/sgml/catalog
| Using stylesheet: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
| Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
| openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/./remote_controllers.sgml:21:27:E: there is no attribute "Role"
| make[2]: *** [html-single-build.stamp] Error 8
| make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec'
| make[1]: *** [v4l2-spec] Error 2
| make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
| make: *** [v4l2-spec] Error 2

I have the following sgml and docbook related packages installed:

ii  libsgmls-perl                        1.03ii-32                      Perl modules for processing SGML parser outp
ii  sgml-base                            1.26                           SGML infrastructure and SGML catalog file su
ii  sgml-data                            2.0.3                          common SGML and XML data
ii  sgmlspl                              1.03ii-32                      SGMLS-based example Perl script for processi
ii  docbook-defguide                     2.0.17+svn7549-3               DocBook: The Definitive Guide - HTML version
ii  docbook-dsssl                        1.79-6                         modular DocBook DSSSL stylesheets, for print
ii  docbook-utils                        0.6.14-1.1                     Convert Docbook files to other formats (HTML
ii  docbook-xml                          4.5-6                          standard XML documentation system, for softw

Regards,

Márton Németh

#9 lore raw

Em Thu, 03 Sep 2009 07:23:45 +0200
Németh Márton <[email protected]> escreveu:

Quoted 58 lines
Quoted 40 lines · William M. Brack
Quoted 28 lines · Németh Márton

Hi,

I get the source from http://linuxtv.org/hg/v4l-dvb repository and I am now
at version 12564:6f58a5d8c7c6. When I try to build the human readable version
of the V4L2 specification I get some error message:

$ make v4l2-spec
[...]
Using catalogs: /etc/sgml/catalog
Using stylesheet:
/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:55:W:
cannot generate system identifier for public text "-//OASIS//DTD
DocBook V3.1//EN"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E:
reference to entity "BOOK" for which no system identifier could be
generated
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:1:0: entity
was defined here
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:23:0:E: DTD
did not contain element declaration for document type name
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:9:E:
there is no attribute "ID"
openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:25:19:E:
element "BOOK" undefined

<snip>

Quoted 10 lines

openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml:367:11:E:
element "REVREMARK" undefined
openjade:I: maximum number of errors (200) reached; change with -E option
make[2]: *** [html-single-build.stamp] Error 8
make[2]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l2-spec' make[1]: *** [v4l2-spec] Error 2
make[1]: Leaving directory `/usr/src/linuxtv.org/v4l-dvb/v4l'
make: *** [v4l2-spec] Error 2

Quoted 8 lines
Quoted 2 lines

I am running Debian 5.0 with docbook-utils package version 0.6.14-1.1. Any idea how to fix this?

It appears you are missing one or more of the packages involved in the sgml catalog for docbook. My first guess would be the sgml-common package; my second guess would be docbook-dtds. After that, it gets more complicated - can you confirm you have those two and still have the problem?

Unfortunately the sgml-common and the docbook-dtds are not installed and I cannot install them on Debian because they are not found:
http://packages.debian.org/search?keywords=sgml-common&searchon=names&suite=stable&section=all
http://packages.debian.org/search?suite=stable&section=all&arch=any&searchon=names&keywords=docbook-dtds

In the meantime I updated to version "12614:fd679bbd8bb3" and now I get a different error message:

Quoted 6 lines
| $ make v4l2-spec
| [...]
| Using catalogs: /etc/sgml/catalog
| Using stylesheet: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/custom.dsl#html
| Working on: /usr/src/linuxtv.org/v4l-dvb/v4l2-spec/v4l2.sgml
| openjade:/usr/src/linuxtv.org/v4l-dvb/v4l2-spec/./remote_controllers.sgml:21:27:E: there is no attribute "Role"

Try to replace "Role" to "role". Maybe it is just another case where you need to use lowercase with some xml engines.

Cheers,
Mauro

#10 lore raw

Em Thu, 3 Sep 2009 08:54:55 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 5 lines

Em Thu, 03 Sep 2009 07:23:45 +0200
Németh Márton <[email protected]> escreveu:

Try to replace "Role" to "role". Maybe it is just another case where you need to use lowercase with some xml engines.

Ok, I just added a patch that does this to remote_controllers.sgml:

-<row><entry><emphasis Role="bold">Miscelaneous keys</emphasis></entry></row> +<row><entry><emphasis role="bold">Miscelaneous keys</emphasis></entry></row>

changeset:   12615:2b49813f8482
tag:         tip
user:        Mauro Carvalho Chehab <[email protected]>
date:        Thu Sep 03 09:06:34 2009 -0300
summary:     v4l2-spec: Fix xmlto compilation with some versions of the tool

Please see if this fixes the issue.

Cheers,
Mauro

#11 lore raw
Quoted 14 lines · Mauro Carvalho Chehab

Em Thu, 3 Sep 2009 08:54:55 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 5 lines

Em Thu, 03 Sep 2009 07:23:45 +0200
Németh Márton <[email protected]> escreveu:

Try to replace "Role" to "role". Maybe it is just another case where you need to use lowercase with some xml engines.

Ok, I just added a patch that does this to remote_controllers.sgml:

-<row><entry><emphasis Role="bold">Miscelaneous keys</emphasis></entry></row> +<row><entry><emphasis role="bold">Miscelaneous keys</emphasis></entry></row>

Quoted 7 lines
changeset:   12615:2b49813f8482
tag:         tip
user:        Mauro Carvalho Chehab <[email protected]>
date:        Thu Sep 03 09:06:34 2009 -0300
summary:     v4l2-spec: Fix xmlto compilation with some versions of the tool

Please see if this fixes the issue.

Thanks, now the "make v4l2-spec" successfully build the html documentation on my computer.

Regards,

Márton Németh

#12 lore raw

Is it possible to create a link on the linuxtv.org website to the latest dvb and v4l spec in pdf? For dvb the v3 is still on the documentation page.

Peter

Quoted 33 lines · Németh Márton
Quoted 13 lines · Mauro Carvalho Chehab

Em Thu, 3 Sep 2009 08:54:55 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 5 lines

Em Thu, 03 Sep 2009 07:23:45 +0200
Németh Márton <[email protected]> escreveu:

Try to replace "Role" to "role". Maybe it is just another case where you need to use lowercase with some xml engines.

Ok, I just added a patch that does this to remote_controllers.sgml:

-<row><entry><emphasis Role="bold">Miscelaneous keys</emphasis></entry></row> +<row><entry><emphasis role="bold">Miscelaneous keys</emphasis></entry></row>

Quoted 7 lines
changeset:   12615:2b49813f8482
tag:         tip
user:        Mauro Carvalho Chehab <[email protected]>
date:        Thu Sep 03 09:06:34 2009 -0300
summary:     v4l2-spec: Fix xmlto compilation with some versions of the tool

Please see if this fixes the issue.

Thanks, now the "make v4l2-spec" successfully build the html documentation on my computer.

Regards,

Márton Németh
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw

Em Sat, 05 Sep 2009 18:54:27 +0100
Peter Brouwer <[email protected]> escreveu:

Quoted 3 lines

Is it possible to create a link on the linuxtv.org website to the latest dvb and v4l spec in pdf?
For dvb the v3 is still on the documentation page.

The pdf version of V4L2 spec is currently broken: several tables and graphics don't fit at the page size. If you (or someone else) is interested on fixing it, I'll add a pointer at linuxtv.org for the updated version, and improve the script to auto-generate it.

In the case of the DVB spec, the version of the current document is version 3. Patrick's ISDB-T patch series are increasing version to 5.1, but there are still some missing parts when comparing with the current API.

In order to make easier for people to maintain the DVB API and to allow people of just using just one language and document generation tools, I've converted the DVB API specs to DocBook as well. I'll add it to the tree soon. It is yet a work undergoing, but it would be nice if people could review it and improve. After having some review and porting the ISDB-T changes to it, IMO, the better is to deprecate the LaTex version using the DocBooc version one instead.

Cheers,
Mauro

#14 lore raw

Em Sun, 6 Sep 2009 22:25:25 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 16 lines

Em Sat, 05 Sep 2009 18:54:27 +0100
Peter Brouwer <[email protected]> escreveu:

Quoted 3 lines

Is it possible to create a link on the linuxtv.org website to the latest dvb and v4l spec in pdf?
For dvb the v3 is still on the documentation page.

The pdf version of V4L2 spec is currently broken: several tables and graphics don't fit at the page size. If you (or someone else) is interested on fixing it, I'll add a pointer at linuxtv.org for the updated version, and improve the script to auto-generate it.

In the case of the DVB spec, the version of the current document is version 3. Patrick's ISDB-T patch series are increasing version to 5.1, but there are still some missing parts when comparing with the current API.

Quoted 7 lines

In order to make easier for people to maintain the DVB API and to allow people of just using just one language and document generation tools, I've converted the DVB API specs to DocBook as well. I'll add it to the tree soon. It is yet a work undergoing, but it would be nice if people could review it and improve. After having some review and porting the ISDB-T changes to it, IMO, the better is to deprecate the LaTex version using the DocBooc version one instead.

I've updated the Documentation page at linuxtv.org to warn people to not trust at V4L2 spec pdf file, while nobody fixes it. I also added there a link to the dvbapi spec generated via the newly DocBook port of the docs that I posted at:
http://linuxtv.org/hg/~mchehab/dvb-specs

This way, it will be easier for people to double check if nothing were lost during the format conversion. IMHO, one of the biggest advantage of the html generated from DocBook is that the chapter/section numbering is preserved, while, with the LaTex version, they are shown only at the pdf doc. It should be noticed that, as no styles are applied to the tables, that they are not nicely displayed at the DocBook version.

Cheers,
Mauro

#15 lore raw
Quoted 35 lines · Mauro Carvalho Chehab

Em Sun, 6 Sep 2009 22:25:25 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 17 lines

Em Sat, 05 Sep 2009 18:54:27 +0100
Peter Brouwer <[email protected]> escreveu:

Quoted 4 lines

Is it possible to create a link on the linuxtv.org website to the latest dvb and v4l spec in pdf?
For dvb the v3 is still on the documentation page.

The pdf version of V4L2 spec is currently broken: several tables and graphics don't fit at the page size. If you (or someone else) is interested on fixing it, I'll add a pointer at linuxtv.org for the updated version, and improve the script to auto-generate it.

In the case of the DVB spec, the version of the current document is version 3. Patrick's ISDB-T patch series are increasing version to 5.1, but there are still some missing parts when comparing with the current API.

Quoted 8 lines

In order to make easier for people to maintain the DVB API and to allow people of just using just one language and document generation tools, I've converted the DVB API specs to DocBook as well. I'll add it to the tree soon. It is yet a work undergoing, but it would be nice if people could review it and improve. After having some review and porting the ISDB-T changes to it, IMO, the better is to deprecate the LaTex version using the DocBooc version one instead.

I've updated the Documentation page at linuxtv.org to warn people to not trust at V4L2 spec pdf file, while nobody fixes it. I also added there a link to the dvbapi spec generated via the newly DocBook port of the docs that I posted at:
http://linuxtv.org/hg/~mchehab/dvb-specs

Quoted 7 lines

This way, it will be easier for people to double check if nothing were lost during the format conversion. IMHO, one of the biggest advantage of the html generated from DocBook is that the chapter/section numbering is preserved, while, with the LaTex version, they are shown only at the pdf doc. It should be noticed that, as no styles are applied to the tables, that they are not nicely displayed at the DocBook version.

We've got too many entry points/links to things -- which lends itself to becoming a maintenance nightmare (not blaming anyone, just pointing out the obvious). For example: although the updated info was applied here:
http://www.linuxtv.org/docs.php, we have other avenues such as
http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/ (as linked to by, for example, from here :http://www.linuxtv.org/wiki/index.php/Development:_Video4Linux_APIs) that do not reflect those changes, and hence we have inconsistent info across the board.

Same goes with mailing lists and #irc channels -- we've got too many of them! ... /trails off mumbling about this and that....mumble mumble mumble grumble....

#16 lore raw

Em Wed, 09 Sep 2009 00:07:05 -0400
CityK <[email protected]> escreveu:

Quoted 9 lines

We've got too many entry points/links to things -- which lends itself to becoming a maintenance nightmare (not blaming anyone, just pointing out the obvious). For example: although the updated info was applied here:
http://www.linuxtv.org/docs.php, we have other avenues such as
http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/ (as linked to by, for example, from here :http://www.linuxtv.org/wiki/index.php/Development:_Video4Linux_APIs) that do not reflect those changes, and hence we have inconsistent info across the board.

In fact, docs.php currently points to the downloads page. Also, this is updated daily via script. I intend to run the same proccess also for the new DocBook DVB API spec. Anyway, i agree that we should have a consistent place for storing the docs.

Quoted 8 lines

Same goes with mailing lists and #irc channels -- we've got too many of them! ... /trails off mumbling about this and that....mumble mumble mumble grumble....
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Cheers,
Mauro