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

Bug#804429: marked as done (python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function))



Your message dated Wed, 21 Dec 2016 09:44:48 +0000
with message-id <[🔎] 1482313488.1042706.825735857.53F6881E@webmail.messagingengine.com>
and subject line Re: python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function)
has caused the Debian Bug report #804429,
regarding python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
804429: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804429
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-libpcap
Version: 0.6.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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@debian.org / chris-lamb.co.uk
       `-

Attachment: python-libpcap.0.6.4-1.unstable.amd64.log.txt.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Hi Christoph,

> I cannot reproduce this, build passed twice on an updated sid build
> environment. Can you please re-check?

Seems to work for me now :)  (Closing in BCC.)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

--- End Message ---

Reply to: