The database behind this thing hasn't been updated in aeons so all the data here is pretty well useless until someone takes charge of maintaining it.

pkgsrc broken build issue 1132:
pkgsrc.c:83:2: error: new qualifiers in middle of multi-level non-const cast are unsafe

Fixed.
Affects pkgtools/pkg_select

Broke in 2012q4; fixed in 2013q4. Seen in 2012q4, 2013q1, 2013q2.

Affects netbsd-6, netbsd-6.1; amd64, i386; and gcc.

dholland: I used to see this but I thought it had been fixed
dholland: and I can't reproduce it now.
dholland: and now (months later) I can again.
fixed by dholland 20131128

Failures

Path/package Version Build series and ID
pkgtools/pkg_select 20090308nb2 joerg-nbsd6-amd64-gcc 20130617.2023
pkgtools/pkg_select 20090308nb2 stable-tnf-nbsd6-i386 20130530.0905
pkgtools/pkg_select 20090308nb2 --> -->
 
 
NameError
Python 3.12.2: /usr/pkg/bin/python3.12
Mon Dec 23 23:07:28 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/dholland/public_html/broken/index.cgi in <module>
   1728                 
   1729 # end main
   1730 
   1731 
=> 1732 main()
main = <function main>
 /home/dholland/public_html/broken/index.cgi in main()
   1664             return
   1665         issue = int(issue)
=> 1666         issue_page(f, showkey, sortkey, issue)
   1667         return
   1668 
global issue_page = <function issue_page>, f = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey = <__main__.filter object>, sortkey = 'pkbs', issue = 1132
 /home/dholland/public_html/broken/index.cgi in issue_page(f=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey=<__main__.filter object>, sortkey='pkbs', issue=1132)
    858     database.open()
    859     issue_head(f)
=>  860     issue_body(f, showkey, sortkey, issue)
    861     issue_foot(f)
    862     database.close()
global issue_body = <function issue_body>, f = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey = <__main__.filter object>, sortkey = 'pkbs', issue = 1132
 /home/dholland/public_html/broken/index.cgi in issue_body(f=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, showkey=<__main__.filter object>, sortkey='pkbs', issue=1132)
    825     writefailureheading()
    826     for fail in failures_short:
=>  827         writefailure(fail)
    828     f.write("</table>\n")
    829 
writefailure = <function issue_body.<locals>.writefailure>, fail = ('pkgtools/pkg_select', 'pkg_select', '20090308nb2', 'cheusov-nbsd6-i386', '20121208.1218', 'http://mova.org/~cheusov/pub/bulk/NetBSD/i386/6.0/HEAD/logs//20121208.1218/META/report.html')
 /home/dholland/public_html/broken/index.cgi in writefailure(fail=('pkgtools/pkg_select', 'pkg_select', '20090308nb2', 'cheusov-nbsd6-i386', '20121208.1218', 'http://mova.org/~cheusov/pub/bulk/NetBSD/i386/6.0/HEAD/logs//20121208.1218/META/report.html'))
    815         f.write("%s <a href=\"%s\">%s</a>" % (
    816                 series,
=>  817                 getbuildurl(start, reporturl, pkg, version),
    818                 start))
    819         f.write("</td>\n")
global getbuildurl = <function getbuildurl>, start = '20121208.1218', reporturl = 'http://mova.org/~cheusov/pub/bulk/NetBSD/i386/6.0/HEAD/logs//20121208.1218/META/report.html', pkg = 'pkg_select', version = '20090308nb2'
 /home/dholland/public_html/broken/index.cgi in getbuildurl(start='20121208.1218', baseurl='http://mova.org/~cheusov/pub/bulk/NetBSD/i386/6.0/HEAD/logs//20121208.1218/', package='pkg_select', ver='20090308nb2')
    544         # distbb
    545         baseurl = baseurl[0:len(baseurl)-16]
=>  546         mypath = pkgpath.replace("/", "_")
    547         return baseurl + mypath + "_" + package + "-" + ver + "/"
    548     # XXX?
mypath undefined, pkgpath undefined

NameError: name 'pkgpath' is not defined
      add_note = <built-in method add_note of NameError object>
      args = ("name 'pkgpath' is not defined",)
      name = 'pkgpath'
      with_traceback = <built-in method with_traceback of NameError object>