FTBFS in latest archive rebuild test

Bug #194546 reported by Adam Conrad
6
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
High
Alexander Sack
Hardy
Fix Released
High
Alexander Sack

Bug Description

Binary package hint: network-manager

network-manager failed to build in the latest archive rebuild test:

cc -g -O2 -g -Wall -O2 -Wl,-Bsymbolic-functions -o .libs/NetworkManager -rdynamic NetworkManager-nm-device.o NetworkManager-nm-device-802-3-ethernet.o NetworkManager-nm-device-802-11-wireless.o NetworkManager-NetworkManagerAP.o NetworkManager-NetworkManagerAPList.o NetworkManager-NetworkManagerDbus.o NetworkManager-NetworkManagerDbusUtils.o NetworkManager-nm-dbus-nm.o NetworkManager-nm-dbus-device.o NetworkManager-nm-dbus-net.o NetworkManager-nm-dbus-nmi.o NetworkManager-nm-ip4-config.o NetworkManager-NetworkManager.o NetworkManager-NetworkManagerPolicy.o NetworkManager-NetworkManagerUtils.o NetworkManager-NetworkManagerSystem.o NetworkManager-nm-logging.o NetworkManager-nm-netlink-monitor.o NetworkManager-nm-activation-request.o NetworkManager-autoip.o NetworkManager-nm-ap-security.o NetworkManager-nm-ap-security-wep.o NetworkManager-nm-ap-security-wpa-eap.o NetworkManager-nm-ap-security-wpa-psk.o NetworkManager-nm-ap-security-leap.o NetworkManager-nm-marshal-main.o NetworkManager-wpa.o NetworkManager-wpa_ctrl.o -pthread -lhal -liw -lnl ../utils/.libs/libnmutils.a ./named-manager/.libs/libnamed-manager.a ./vpn-manager/.libs/libvpn-manager.a ./dhcp-manager/.libs/libdhcp-manager.a ./backends/.libs/libnmbackend.a /usr/lib/libgthread-2.0.so -lrt ../libnm-util/.libs/libnm-util.so -ldbus-glib-1 -ldbus-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /lib/libgcrypt.so
NetworkManager-NetworkManagerSystem.o: In function `new_nl_handle':
/build/buildd/network-manager-0.6.5/src/NetworkManagerSystem.c:229: undefined reference to `nl_handle_alloc_nondefault'
/build/buildd/network-manager-0.6.5/src/NetworkManagerSystem.c:230: undefined reference to `nl_handle_set_pid'
collect2: ld returned 1 exit status
make[4]: *** [NetworkManager] Error 1

A full build log can be found at: https://lists.ubuntu.com/archives/ubuntu-autotest/2008-February/018622.html

Tags: oem-services
Adam Conrad (adconrad)
Changed in network-manager:
importance: Undecided → High
Steve Langasek (vorlon)
Changed in network-manager:
status: New → Confirmed
assignee: nobody → asac
Revision history for this message
Tony Espy (awe) wrote : Failed fix attempt...

I ran into this problem this afternoon while trying to re-build network-manager for a separate SDIO-related bug we found while testing Ubuntu-Mobile with the Marvell sd8686 Wi-Fi driver. I will add a separate bug for that problem tomorrow when I'm in the office.

Anyways, I tried to patch network-manager based upon the latest upstream code in the subversion repository. With my patch, I was able to build nm OK, although in order to install my modified package, I had to pull down the latest copy of libnl1 ( we're building from an older snapshot of Hardy ).

Unfortunately, when I try to run my modified version, the nl_connect() call in new_nl_handle() is failing. The daemon.log includes the following message:

nl_connect: couldn't connecto to netlink: bind() failed ( errno = Operation not permitted )

After the log message, I also see a Signal 11 and a stacktrace...

I did notice that the upstream code retries the nl_connect() if it fails, however I wasn't sure if that would fix an apparent permission problem.

Any help would be much appreciated as this is a blocking issue for a pending software drop to a customer.

Alexander Sack (asac)
Changed in network-manager:
status: Confirmed → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

fix released in 0.6.6~rc2-0ubuntuX

Changed in network-manager:
status: Fix Committed → Fix Released
Michael Terry (mterry)
tags: added: oem-services
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.