Package ckermit_211-15 failed to build from source with "ld --as-needed" option

Bug #732064 reported by Tarun K. Mall on 2011-03-09
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ckermit (Debian)
Fix Released
Unknown
ckermit (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: ckermit

Here is the error log
gcc -lsocks -Wl,-z,defs -Wl,--as-needed -o wermit \
                ckcmai.o ckclib.o ckutio.o ckufio.o \
                ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
                ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
                ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
                ckuusx.o ckuusy.o ckuusr.o ckucns.o \
                ckudia.o ckuscr.o ckcnet.o ckusig.o \
                ckctel.o ckcuni.o ckupty.o ckcftp.o \
                ckuath.o ck_crp.o ck_ssl.o -lncurses -ltermcap -lcrypt -lpam -ldl -lm -lresolv
ckcmai.o: In function `main':
/home/tarun/ckermit/ckermit-211/ckcmai.c:3085: undefined reference to `SOCKSinit'
ckcnet.o: In function `tcpsrv_open':
/home/tarun/ckermit/ckermit-211/ckcnet.c:2839: undefined reference to `Raccept'
/home/tarun/ckermit/ckermit-211/ckcnet.c:2969: undefined reference to `Rgetsockname'
/home/tarun/ckermit/ckermit-211/ckcnet.c:2694: undefined reference to `Rbind'
/home/tarun/ckermit/ckermit-211/ckcnet.c:2712: undefined reference to `Rlisten'
ckcnet.o: In function `getlocalipaddr':
/home/tarun/ckermit/ckermit-211/ckcnet.c:6847: undefined reference to `Rconnect'
/home/tarun/ckermit/ckermit-211/ckcnet.c:6849: undefined reference to `Rgetsockname'
ckcnet.o: In function `http_open':
/home/tarun/ckermit/ckermit-211/ckcnet.c:10386: undefined reference to `Rbind'
/home/tarun/ckermit/ckermit-211/ckcnet.c:10409: undefined reference to `Rconnect'
/home/tarun/ckermit/ckermit-211/ckcnet.c:10608: undefined reference to `Rgetsockname'
ckcnet.o: In function `netopen':
/home/tarun/ckermit/ckermit-211/ckcnet.c:4345: undefined reference to `Rbind'
/home/tarun/ckermit/ckermit-211/ckcnet.c:4369: undefined reference to `Rconnect'
/home/tarun/ckermit/ckermit-211/ckcnet.c:4713: undefined reference to `Rgetsockname'
/home/tarun/ckermit/ckermit-211/ckcnet.c:4246: undefined reference to `Rbind'
ckcftp.o: In function `dataconn':
/home/tarun/ckermit/ckermit-211/ckcftp.c:13007: undefined reference to `Raccept'
ckcftp.o: In function `ftp_hookup':
/home/tarun/ckermit/ckermit-211/ckcftp.c:14252: undefined reference to `Rconnect'
/home/tarun/ckermit/ckermit-211/ckcftp.c:14293: undefined reference to `Rgetsockname'
ckcftp.o: In function `initconn':
/home/tarun/ckermit/ckermit-211/ckcftp.c:12809: undefined reference to `Rbind'
/home/tarun/ckermit/ckermit-211/ckcftp.c:12814: undefined reference to `Rgetsockname'
/home/tarun/ckermit/ckermit-211/ckcftp.c:12818: undefined reference to `Rlisten'
/home/tarun/ckermit/ckermit-211/ckcftp.c:12688: undefined reference to `Rconnect'
/home/tarun/ckermit/ckermit-211/ckcftp.c:12754: undefined reference to `Rconnect'
collect2: ld returned 1 exit status
make[2]: *** [xermit] Error 1
make[2]: Leaving directory `/home/tarun/ckermit/ckermit-211'
make[1]: *** [linux+shadow+pam] Error 2
make[1]: Leaving directory `/home/tarun/ckermit/ckermit-211'
make: *** [build-stamp] 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 failed

Tarun K. Mall (c2tarun) on 2011-03-09
Changed in ckermit (Ubuntu):
assignee: nobody → Tarun K. Mall (c2tarun)
status: New → In Progress
Tarun K. Mall (c2tarun) wrote :
Changed in ckermit (Ubuntu):
status: In Progress → Confirmed
assignee: Tarun K. Mall (c2tarun) → nobody
Dave Walker (davewalker) wrote :

As discussed with Tarun, as the Natty toolchain has reverted the "ld
--as-needed" option - this package no longer FTBFS. However, when the
next development cycle opens - this will be an issue. The patch has been
submitted to Debian, which will hopefully be applied - and we can sync
next cycle.

Changed in ckermit (Debian):
status: Unknown → New
Andreas Moog (ampelbein) on 2011-06-23
Changed in ckermit (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in ckermit (Debian):
status: New → Incomplete
Changed in ckermit (Debian):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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