Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Package build errors

This may be the wrong mailing list for this, but I'll start here and if I need to be somewhere else, please advise.

I am attempting a 5.1 install on a Lenovo workstation. I don't think the particular hardware configuration is of interest here, so I won't include dmesg output, other than that it's amd64. As with a previous amd64 5.1 installation I did a week or so ago, I downloaded the 2010Q3 pkgsrc tarball and attempted to build editors/emacs. This worked fine in the prior install, same pkgsrc tarball. Now, I get

rsvg-styles.c:951:31: error: libcroco/libcroco.h: No such file or directory
rsvg-styles.c:955: error: expected specifier-qualifier-list before 'CRSelector'
rsvg-styles.c: In function 'css_user_data_init':
rsvg-styles.c:962: error: 'CSSUserData' has no member named 'selector'
rsvg-styles.c: At top level:
rsvg-styles.c:966: error: expected ')' before '*' token
rsvg-styles.c:978: error: expected ')' before '*' token
rsvg-styles.c:991: error: expected ')' before '*' token
rsvg-styles.c:1027: error: expected ')' before '*' token
rsvg-styles.c:1035: error: expected ')' before '*' token
rsvg-styles.c:1043: error: expected ')' before '*' token
rsvg-styles.c:1048: error: expected ')' before '*' token
rsvg-styles.c: In function 'rsvg_real_parse_cssbuffer':
rsvg-styles.c:1072: error: variable 'status' has initializer but incomplete type
rsvg-styles.c:1072: error: 'CR_OK' undeclared (first use in this function)
rsvg-styles.c:1072: error: (Each undeclared identifier is reported only once
rsvg-styles.c:1072: error: for each function it appears in.)
rsvg-styles.c:1072: error: storage size of 'status' isn't known
rsvg-styles.c:1073: error: 'CRParser' undeclared (first use in this function)
rsvg-styles.c:1073: error: 'parser' undeclared (first use in this function)
rsvg-styles.c:1074: error: 'CRDocHandler' undeclared (first use in this function)
rsvg-styles.c:1074: error: 'css_handler' undeclared (first use in this function)
rsvg-styles.c:1084: error: 'CR_UTF_8' undeclared (first use in this function)
rsvg-styles.c: At top level:
rsvg-styles.c:1100: error: expected ')' before '*' token

Attempting to build graphics/gimp results in the same error.

The NetBSD pkgsrc documentation leads one to believe that these quarterly pkgsrc updates are "releases", e.g., they are referred to as "the stable branch to be downloaded" in the pkgsrc guide instructions for getting pkgsrc via tarball. I'm surprised, therefore, that things are changing, working one week and not the next; obviously not "stable". This, and the fact that the nature of the error is that things don't build (much more easily detectable mechanically than, say, a subtle logic bug) raises questions in my mind about release-engineering/QA practices.

I should mention that there is a copy of libcroco.h in /usr/pkg/include/libcroco-0.6/libcroco, so it looks like the search path for include files is not correct.

/Don Allen

Home | Main Index | Thread Index | Old Index