Package aiccu-20070115-14 failed to build from source

Bug #726121 reported by Tarun K. Mall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aiccu (Debian)
Fix Released
Unknown
aiccu (Ubuntu)
Fix Released
Undecided
Michael Terry

Bug Description

Binary package hint: aiccu

aiccu-20070115-14 failed to build from source

here is the log of error
Applying patch 08_setup_script.patch
patching file common/aiccu.c
patching file unix-console/main.c

Applying patch 01_no-shipped-init-script.patch
patching file Makefile

Applying patch 02_skip-strip.patch
patching file unix-console/Makefile

Applying patch 03_no-quiet-gcc.patch
patching file unix-console/Makefile

Applying patch 04_kfreebsd.patch
patching file unix-console/Makefile

Applying patch 05_spelling-error.patch
patching file common/aiccu_test.c
patching file common/common.c
patching file common/tic.c

Applying patch 06_syslog_openlog.patch
patching file common/aiccu.c

Applying patch 07_allow_tunnels.patch
patching file unix-console/main.c

Now at patch 07_allow_tunnels.patch
touch debian/stamp-patched
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
make[1]: Entering directory `/home/tarun/source/aiccu/aiccu-20070115'
Building : aiccu - Automatic IPv6 Connectivity Configuration Utility
Copyright : SixXS
Version : 2007.01.15
make[2]: Entering directory `/home/tarun/source/aiccu/aiccu-20070115/unix-console'
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o main.o main.c
main.c: In function 'main':
main.c:426:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
main.c:429:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
main.c:430:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
main.c:431:10: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/tun.o ../common/tun.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/aiccu.o ../common/aiccu.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/hash_md5.o ../common/hash_md5.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/hash_sha1.o ../common/hash_sha1.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/common.o ../common/common.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/heartbeat.o ../common/heartbeat.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/tic.o ../common/tic.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/ayiya.o ../common/ayiya.c
../common/ayiya.c: In function 'ayiya_log':
../common/ayiya.c:69:17: warning: the address of 'clientservice' will always evaluate as 'true'
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/aiccu_test.o ../common/aiccu_test.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/resolver.o ../common/resolver.c
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -c -o ../common/aiccu_linux.o ../common/aiccu_linux.c
../common/aiccu_linux.c: In function 'aiccu_os_install':
../common/aiccu_linux.c:21:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result
../common/aiccu_linux.c:36:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result
../common/aiccu_linux.c:37:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result
gcc -W -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wbad-function-cast -fshort-enums -fstrict-aliasing -fno-common -Wpadded -pedantic -D_REENTRANT -D_GNU_SOURCE -O3 -D AICCU_CONSOLE -D AICCU_GNUTLS -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" -Wl,-Bsymbolic-functions -lgnutls -lpthread -lresolv -o aiccu main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o ../common/aiccu_linux.o
../common/tun.o: In function `tun_start':
tun.c:(.text+0x2e7): undefined reference to `pthread_create'
../common/aiccu.o: In function `aiccu_InitConfig':
aiccu.c:(.text+0x178): undefined reference to `gnutls_global_init'
aiccu.c:(.text+0x192): undefined reference to `gnutls_certificate_allocate_credentials'
aiccu.c:(.text+0x1a9): undefined reference to `gnutls_global_set_log_function'
aiccu.c:(.text+0x21c): undefined reference to `gnutls_strerror'
../common/aiccu.o: In function `aiccu_FreeConfig':
aiccu.c:(.text+0xa5a): undefined reference to `gnutls_certificate_free_credentials'
aiccu.c:(.text+0xa5f): undefined reference to `gnutls_global_deinit'
../common/common.o: In function `sock_printf':
common.c:(.text+0x20b): undefined reference to `gnutls_record_send'
../common/common.o: In function `sock_getline':
common.c:(.text+0x4be): undefined reference to `gnutls_record_recv'
../common/common.o: In function `sock_alloc':
common.c:(.text+0x57b): undefined reference to `gnutls_init'
common.c:(.text+0x58c): undefined reference to `gnutls_set_default_priority'
common.c:(.text+0x59e): undefined reference to `gnutls_certificate_type_set_priority'
common.c:(.text+0x5bd): undefined reference to `gnutls_credentials_set'
common.c:(.text+0x5d4): undefined reference to `gnutls_strerror'
../common/common.o: In function `sock_free':
common.c:(.text+0x642): undefined reference to `gnutls_deinit'
common.c:(.text+0x66e): undefined reference to `gnutls_bye'
../common/common.o: In function `connect_client':
common.c:(.text+0x6d2): undefined reference to `gnutls_init'
common.c:(.text+0x6e7): undefined reference to `gnutls_set_default_priority'
common.c:(.text+0x6f9): undefined reference to `gnutls_certificate_type_set_priority'
common.c:(.text+0x718): undefined reference to `gnutls_credentials_set'
common.c:(.text+0x7b4): undefined reference to `gnutls_deinit'
common.c:(.text+0x80f): undefined reference to `gnutls_strerror'
common.c:(.text+0x87a): undefined reference to `gnutls_bye'
../common/common.o: In function `listen_server':
common.c:(.text+0x909): undefined reference to `gnutls_init'
common.c:(.text+0x91e): undefined reference to `gnutls_set_default_priority'
common.c:(.text+0x930): undefined reference to `gnutls_certificate_type_set_priority'
common.c:(.text+0x94f): undefined reference to `gnutls_credentials_set'
common.c:(.text+0xa98): undefined reference to `gnutls_strerror'
common.c:(.text+0xb15): undefined reference to `gnutls_deinit'
common.c:(.text+0xb5e): undefined reference to `gnutls_bye'
../common/common.o: In function `sock_gotls':
common.c:(.text+0xbcc): undefined reference to `gnutls_transport_set_ptr'
common.c:(.text+0xbd7): undefined reference to `gnutls_handshake'
common.c:(.text+0xc3c): undefined reference to `gnutls_strerror'
../common/ayiya.o: In function `ayiya':
ayiya.c:(.text+0xfe8): undefined reference to `pthread_create'
../common/resolver.o: In function `getrrs':
resolver.c:(.text+0x92): undefined reference to `__res_nquery'
resolver.c:(.text+0xdb): undefined reference to `__dn_skipname'
resolver.c:(.text+0x220): undefined reference to `__dn_expand'
resolver.c:(.text+0x395): undefined reference to `__dn_expand'
resolver.c:(.text+0x3e2): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [aiccu] Error 1
make[2]: Leaving directory `/home/tarun/source/aiccu/aiccu-20070115/unix-console'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tarun/source/aiccu/aiccu-20070115'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

Tarun K. Mall (c2tarun)
Changed in aiccu (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
assignee: nobody → Tarun K. Mall (c2tarun)
Revision history for this message
Tarun K. Mall (c2tarun) wrote :
Changed in aiccu (Ubuntu):
status: In Progress → Confirmed
assignee: Tarun K. Mall (c2tarun) → nobody
Michael Terry (mterry)
Changed in aiccu (Ubuntu):
assignee: nobody → Michael Terry (mterry)
Revision history for this message
Michael Terry (mterry) wrote :

Thanks so much for the patch!

I made two changes:
 * ran 'update-maintainer' to set Maintainer field correctly
 * and renamed the patch to 09_* instead of 01_*

I've uploaded to Ubuntu, and will pass this on to Debian too.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aiccu - 20070115-14ubuntu1

---------------
aiccu (20070115-14ubuntu1) natty; urgency=low

  * debian/patches/01_binutils_gold.patch:
    + patch changes unix-console/Makefile to fix FTBFS. (LP: #726121)
 -- Tarun Kumar Mall <email address hidden> Sun, 27 Feb 2011 18:10:10 +0000

Changed in aiccu (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :

Doh, I forgot to rename the patch in the changelog too. Oh well.

Changed in aiccu (Debian):
status: Unknown → New
Changed in aiccu (Debian):
status: New → Fix Committed
Changed in aiccu (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.