[Reproducible-builds] Bug#804429: python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function)

Chris Lamb lamby at debian.org
Sun Nov 8 11:52:30 UTC 2015


Source: python-libpcap
Version: 0.6.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-libpcap fails to build from source in unstable/amd64:

  [..]

  swig -Wall -python -shadow -ISWIG -o pcap.c pcap.i
  /usr/bin/python ./build-tools/docify.py pcap.c
  /usr/bin/python ./build-tools/docify-shadow.py pcap.py
  creating build
  creating build/temp.linux-x86_64-2.7
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
  -Wstrict-prototypes -fno-strict-aliasing -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
  -D_FORTIFY_SOURCE=2 -fPIC -DSWIG_COBJECT_TYPES
  -I/usr/include/python2.7 -c pcap.c -o
  build/temp.linux-x86_64-2.7/pcap.o
  pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here
  (not in a function)
    { (char *)"pcap_doc_swigconstant", _wrap_pcap_doc_swigconstant,
    METH_VARARGS, _doc_pcap_doc_swigconstant },
                                       ^
  pcap.c:4397:80: error: '_doc_pcap_doc_swigconstant' undeclared here
  (not in a function)
    { (char *)"pcap_doc_swigconstant", _wrap_pcap_doc_swigconstant,
    METH_VARARGS, _doc_pcap_doc_swigconstant },
                                                                                  ^
  pcap.c:4398:53: error: '_wrap_pcapObject_open_live_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_open_live_doc_swigconstant",
    _wrap_pcapObject_open_live_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_live_doc_swigconstant },
                                                       ^
  pcap.c:4398:112: error: '_doc_pcapObject_open_live_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_open_live_doc_swigconstant",
    _wrap_pcapObject_open_live_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_live_doc_swigconstant },
                                                                                                                  ^
  pcap.c:4399:53: error: '_wrap_pcapObject_open_dead_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_open_dead_doc_swigconstant",
    _wrap_pcapObject_open_dead_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_dead_doc_swigconstant },
                                                       ^
  pcap.c:4399:112: error: '_doc_pcapObject_open_dead_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_open_dead_doc_swigconstant",
    _wrap_pcapObject_open_dead_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_dead_doc_swigconstant },
                                                                                                                  ^
  pcap.c:4400:56: error:
  '_wrap_pcapObject_open_offline_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_open_offline_doc_swigconstant",
    _wrap_pcapObject_open_offline_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_offline_doc_swigconstant },
                                                          ^
  pcap.c:4400:118: error:
  '_doc_pcapObject_open_offline_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_open_offline_doc_swigconstant",
    _wrap_pcapObject_open_offline_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_open_offline_doc_swigconstant },
                                                                                                                        ^
  pcap.c:4401:53: error: '_wrap_pcapObject_dump_open_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_dump_open_doc_swigconstant",
    _wrap_pcapObject_dump_open_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_dump_open_doc_swigconstant },
                                                       ^
  pcap.c:4401:112: error: '_doc_pcapObject_dump_open_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_dump_open_doc_swigconstant",
    _wrap_pcapObject_dump_open_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_dump_open_doc_swigconstant },
                                                                                                                  ^
  pcap.c:4402:55: error: '_wrap_pcapObject_setnonblock_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_setnonblock_doc_swigconstant",
    _wrap_pcapObject_setnonblock_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_setnonblock_doc_swigconstant },
                                                         ^
  pcap.c:4402:116: error: '_doc_pcapObject_setnonblock_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_setnonblock_doc_swigconstant",
    _wrap_pcapObject_setnonblock_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_setnonblock_doc_swigconstant },
                                                                                                                      ^
  pcap.c:4403:55: error: '_wrap_pcapObject_getnonblock_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_getnonblock_doc_swigconstant",
    _wrap_pcapObject_getnonblock_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_getnonblock_doc_swigconstant },
                                                         ^
  pcap.c:4403:116: error: '_doc_pcapObject_getnonblock_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_getnonblock_doc_swigconstant",
    _wrap_pcapObject_getnonblock_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_getnonblock_doc_swigconstant },
                                                                                                                      ^
  pcap.c:4404:53: error: '_wrap_pcapObject_setfilter_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_setfilter_doc_swigconstant",
    _wrap_pcapObject_setfilter_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_setfilter_doc_swigconstant },
                                                       ^
  pcap.c:4404:112: error: '_doc_pcapObject_setfilter_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_setfilter_doc_swigconstant",
    _wrap_pcapObject_setfilter_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_setfilter_doc_swigconstant },
                                                                                                                  ^
  pcap.c:4405:48: error: '_wrap_pcapObject_loop_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_loop_doc_swigconstant",
    _wrap_pcapObject_loop_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_loop_doc_swigconstant },
                                                  ^
  pcap.c:4405:102: error: '_doc_pcapObject_loop_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_loop_doc_swigconstant",
    _wrap_pcapObject_loop_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_loop_doc_swigconstant },
                                                                                                        ^
  pcap.c:4406:52: error: '_wrap_pcapObject_dispatch_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_dispatch_doc_swigconstant",
    _wrap_pcapObject_dispatch_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_dispatch_doc_swigconstant },
                                                      ^
  pcap.c:4406:110: error: '_doc_pcapObject_dispatch_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_dispatch_doc_swigconstant",
    _wrap_pcapObject_dispatch_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_dispatch_doc_swigconstant },
                                                                                                                ^
  pcap.c:4407:48: error: '_wrap_pcapObject_next_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_next_doc_swigconstant",
    _wrap_pcapObject_next_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_next_doc_swigconstant },
                                                  ^
  pcap.c:4407:102: error: '_doc_pcapObject_next_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_next_doc_swigconstant",
    _wrap_pcapObject_next_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_next_doc_swigconstant },
                                                                                                        ^
  pcap.c:4408:52: error: '_wrap_pcapObject_datalink_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_datalink_doc_swigconstant",
    _wrap_pcapObject_datalink_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_datalink_doc_swigconstant },
                                                      ^
  pcap.c:4408:110: error: '_doc_pcapObject_datalink_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_datalink_doc_swigconstant",
    _wrap_pcapObject_datalink_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_datalink_doc_swigconstant },
                                                                                                                ^
  pcap.c:4409:53: error: '_wrap_pcapObject_datalinks_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_datalinks_doc_swigconstant",
    _wrap_pcapObject_datalinks_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_datalinks_doc_swigconstant },
                                                       ^
  pcap.c:4409:112: error: '_doc_pcapObject_datalinks_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_datalinks_doc_swigconstant",
    _wrap_pcapObject_datalinks_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_datalinks_doc_swigconstant },
                                                                                                                  ^
  pcap.c:4410:52: error: '_wrap_pcapObject_snapshot_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_snapshot_doc_swigconstant",
    _wrap_pcapObject_snapshot_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_snapshot_doc_swigconstant },
                                                      ^
  pcap.c:4410:110: error: '_doc_pcapObject_snapshot_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_snapshot_doc_swigconstant",
    _wrap_pcapObject_snapshot_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_snapshot_doc_swigconstant },
                                                                                                                ^
  pcap.c:4411:54: error: '_wrap_pcapObject_is_swapped_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_is_swapped_doc_swigconstant",
    _wrap_pcapObject_is_swapped_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_is_swapped_doc_swigconstant },
                                                        ^
  pcap.c:4411:114: error: '_doc_pcapObject_is_swapped_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_is_swapped_doc_swigconstant",
    _wrap_pcapObject_is_swapped_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_is_swapped_doc_swigconstant },
                                                                                                                    ^
  pcap.c:4412:57: error:
  '_wrap_pcapObject_major_version_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_major_version_doc_swigconstant",
    _wrap_pcapObject_major_version_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_major_version_doc_swigconstant },
                                                           ^
  pcap.c:4412:120: error:
  '_doc_pcapObject_major_version_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_major_version_doc_swigconstant",
    _wrap_pcapObject_major_version_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_major_version_doc_swigconstant },
                                                                                                                          ^
  pcap.c:4413:57: error:
  '_wrap_pcapObject_minor_version_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_minor_version_doc_swigconstant",
    _wrap_pcapObject_minor_version_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_minor_version_doc_swigconstant },
                                                           ^
  pcap.c:4413:120: error:
  '_doc_pcapObject_minor_version_doc_swigconstant' undeclared here (not
  in a function)
    { (char *)"pcapObject_minor_version_doc_swigconstant",
    _wrap_pcapObject_minor_version_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_minor_version_doc_swigconstant },
                                                                                                                          ^
  pcap.c:4414:49: error: '_wrap_pcapObject_stats_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_stats_doc_swigconstant",
    _wrap_pcapObject_stats_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_stats_doc_swigconstant },
                                                   ^
  pcap.c:4414:104: error: '_doc_pcapObject_stats_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_stats_doc_swigconstant",
    _wrap_pcapObject_stats_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_stats_doc_swigconstant },
                                                                                                          ^
  pcap.c:4415:50: error: '_wrap_pcapObject_fileno_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_fileno_doc_swigconstant",
    _wrap_pcapObject_fileno_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_fileno_doc_swigconstant },
                                                    ^
  pcap.c:4415:106: error: '_doc_pcapObject_fileno_doc_swigconstant'
  undeclared here (not in a function)
    { (char *)"pcapObject_fileno_doc_swigconstant",
    _wrap_pcapObject_fileno_doc_swigconstant, METH_VARARGS,
    _doc_pcapObject_fileno_doc_swigconstant },
                                                                                                            ^
  pcap.c:4416:42: error: '_wrap_lookupdev_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"lookupdev_doc_swigconstant",
    _wrap_lookupdev_doc_swigconstant, METH_VARARGS,
    _doc_lookupdev_doc_swigconstant },
                                            ^
  pcap.c:4416:90: error: '_doc_lookupdev_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"lookupdev_doc_swigconstant",
    _wrap_lookupdev_doc_swigconstant, METH_VARARGS,
    _doc_lookupdev_doc_swigconstant },
                                                                                            ^
  pcap.c:4417:42: error: '_wrap_lookupnet_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"lookupnet_doc_swigconstant",
    _wrap_lookupnet_doc_swigconstant, METH_VARARGS,
    _doc_lookupnet_doc_swigconstant },
                                            ^
  pcap.c:4417:90: error: '_doc_lookupnet_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"lookupnet_doc_swigconstant",
    _wrap_lookupnet_doc_swigconstant, METH_VARARGS,
    _doc_lookupnet_doc_swigconstant },
                                                                                            ^
  pcap.c:4418:44: error: '_wrap_findalldevs_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"findalldevs_doc_swigconstant",
    _wrap_findalldevs_doc_swigconstant, METH_VARARGS,
    _doc_findalldevs_doc_swigconstant },
                                              ^
  pcap.c:4418:94: error: '_doc_findalldevs_doc_swigconstant' undeclared
  here (not in a function)
    { (char *)"findalldevs_doc_swigconstant",
    _wrap_findalldevs_doc_swigconstant, METH_VARARGS,
    _doc_findalldevs_doc_swigconstant },
                                                                                                ^
  pcap.c:4419:36: error: '_wrap___doc___swigconstant' undeclared here
  (not in a function)
    { (char *)"__doc___swigconstant", _wrap___doc___swigconstant,
    METH_VARARGS, _doc___doc___swigconstant },
                                      ^
  pcap.c:4419:78: error: '_doc___doc___swigconstant' undeclared here
  (not in a function)
    { (char *)"__doc___swigconstant", _wrap___doc___swigconstant,
    METH_VARARGS, _doc___doc___swigconstant },
                                                                                ^
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  dh_auto_build: python setup.py build --force returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/python-libpcap_0.6.4-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-libpcap.0.6.4-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 5787 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151108/c9616e53/attachment.bin>


More information about the Reproducible-builds mailing list