Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695200 - net-libs/ldns - contrib/python/ldns_wrapper.c: error: ‘obj1’ undeclared
Summary: net-libs/ldns - contrib/python/ldns_wrapper.c: error: ‘obj1’ undeclared
Status: RESOLVED DUPLICATE of bug 690176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-20 15:57 UTC by M. Prášek
Modified: 2019-09-23 12:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,38.63 KB, text/plain)
2019-09-22 17:27 UTC, M. Prášek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Prášek 2019-09-20 15:57:19 UTC
Emerge ldns-1.7.0-r2 fails with:


/var/tmp/portage/net-libs/ldns-1.7.0-r2/work/ldns-1.7.0/contrib/python/ldns_wrapper.c:37536:51: note: each undeclared identifier is reported only once for each function it appears in
37536 |   ldns_key_set_pubkey_owner(arg1,arg2); Py_INCREF(obj1);
      |                                                   ^~~~
/usr/include/python2.7/object.h:769:18: note: in definition of macro ‘Py_INCREF’
  769 |     ((PyObject*)(op))->ob_refcnt++)
      |                  ^~
make: *** [Makefile:286: ldns_wrapper.lo] Error 1

A  small googling gives me, that this  may  be a swig4 related problem, look here:

https://sourceforge.net/p/swig/mailman/swig-devel/thread/61396b43-59bd-e7e7-dd65-c77985818f51%40redhat.com/
Comment 1 Brian Evans (RETIRED) gentoo-dev 2019-09-20 17:15:56 UTC
Please attach the full build.log file to this bug and post 'emerge --info net-libs/ldns' into a comment
Comment 2 M. Prášek 2019-09-22 17:27:38 UTC
Created attachment 590656 [details]
build.log

requested build log
Comment 3 M. Prášek 2019-09-22 17:28:47 UTC
Portage 2.3.76 (python 3.6.9-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r5, 4.17.5-gentooK4-NO_preemption,1000HZ,HPET x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.17.5-gentooK4-NO_preemption,1000HZ,HPET-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_v3_@_3.30GHz-with-gentoo-2.6
KiB Mem:    16414128 total,    616148 free
KiB Swap:    8225212 total,   8009404 free
Timestamp of repository gentoo: Sat, 21 Sep 2019 00:45:01 +0000
Head commit of repository gentoo: a269a60e56615552f3c5fcd1cf183d62d621a3d4
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.12.6-r1::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.30-r3::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 9.2.0::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /var/lib/layman/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 50
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

spikyatlinux
    location: /var/lib/layman/spikyatlinux
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-fomit-frame-pointer -pipe -O2 -march=nocona -ftracer -funit-at-a-time -ftree-vectorize "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-fomit-frame-pointer -pipe -O2 -march=nocona -ftracer -funit-at-a-time -ftree-vectorize "
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS=" -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s "
LINGUAS="en cs en_GB "
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X \ acl adodb amd64 apache2 api asis aspell atm bcmath bdb berkdb big-tables bmp bzip2 bzlib calendar cgi chappa chroot clamav clamd cli cluster consolekit crypt ctype cups curl curlwrappers cxx dba dbase dbm dbus dbx device-mapper dio dlz dri egl eglfs esfq exif extensions extraengine filter firewalld flatfile fontconfig fortran ftconv ftp fuse gcj gd gdbm geoip gif gles2 glusterfs gmp gnutls graph gtk3 hvm iconv imap infiniband inifile innodb ipv6 iscsi ithreads jadetex jpeg kerberos kpathsea l7filter ldap ldap-sasl lfs libg++ libtirpc libwww lkrn lm_sensors lvm lxc lzo mailbox maildir mailwrapper mbox mcal md5sum memlimit mhash milter mime minizip mmx mpm-prefork multilib mysql mysqli mysqlnd ncurses netlink nfprofile nfs nftrack nls nptl nptlonly odbc ogg openmp openssl openvz pam parted pcap pcre pcre16 pdflib pdo pear perl pg-hier pg-intdatetime pg-vacuumdelay png policykit posix postgres pwdb python qt3support qt5 radius rdma readline readpcap rrdtool sasl script seccomp sendfile server session sessions sflow sharedext sharedmem simplexml slang smp smpgsql snmp soap sockets spell spf spice spl split-usr sqlite srs sse sse2 sse3 ssh ssl suexec svg syslog sysvipc tcp tcpd threads tidy tiff tokenizer truetype tualbox uml undi unicode urandom usbredir utf8 vde vhosts vir virgl virt-network virtfs virtual virus-scan vmware vorbis vserver wddx xattr xfs xkb xml xml2 xmlrpc xpm xsl xslt ylib zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cern_meta charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir dumpio env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat log_config log_forensic logio mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite reqtimeout setenvif slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack unixd version vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_7 python3_6 python3_5 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 M. Prášek 2019-09-23 07:05:40 UTC
USE='-python' emerge ldns works..
Comment 5 Brian Evans (RETIRED) gentoo-dev 2019-09-23 12:39:33 UTC

*** This bug has been marked as a duplicate of bug 690176 ***