FTBFS in utopic: error: 'IFF_802_1Q_VLAN' undeclared here (not in a function)

Bug #1324256 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
procenv (Ubuntu)
Fix Released
High
James Hunt

Bug Description

procenv has started to FTBFS in utopic, presumably due to the new 3.15 kernel?

gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -pedantic -std=gnu99 -Wall -Wunused -fstack-protector -Wformat -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o procenv-procenv.o `test -f 'procenv.c' || echo './'`procenv.c
In file included from procenv.c:29:0:
procenv.c:324:16: error: 'IFF_802_1Q_VLAN' undeclared here (not in a function)
  mk_map_entry (IFF_802_1Q_VLAN),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:325:16: error: 'IFF_EBRIDGE' undeclared here (not in a function)
  mk_map_entry (IFF_EBRIDGE),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:326:16: error: 'IFF_SLAVE_INACTIVE' undeclared here (not in a function)
  mk_map_entry (IFF_SLAVE_INACTIVE),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:327:16: error: 'IFF_MASTER_8023AD' undeclared here (not in a function)
  mk_map_entry (IFF_MASTER_8023AD),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:328:16: error: 'IFF_MASTER_ALB' undeclared here (not in a function)
  mk_map_entry (IFF_MASTER_ALB),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:329:16: error: 'IFF_BONDING' undeclared here (not in a function)
  mk_map_entry (IFF_BONDING),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
procenv.c:330:16: error: 'IFF_SLAVE_NEEDARP' undeclared here (not in a function)
  mk_map_entry (IFF_SLAVE_NEEDARP),
                ^
./procenv.h:568:3: note: in definition of macro 'mk_map_entry'
  {s, #s }
   ^
make[3]: *** [procenv-procenv.o] Error 1

Related branches

Revision history for this message
Martin Pitt (pitti) wrote :

This is also making the sbuild autopkgtest fail, and holding back some urgent updates in -proposed.

Changed in procenv (Ubuntu):
importance: Undecided → High
assignee: nobody → James Hunt (jamesodhunt)
Revision history for this message
Martin Pitt (pitti) wrote :

These definitions were removed from /usr/include/linux/if.h indeed.

Revision history for this message
James Hunt (jamesodhunt) wrote :

I've fixed this issue in procenv 0.35 which is now in debian unstable.

Changed in procenv (Ubuntu):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

https://launchpad.net/ubuntu/+source/procenv/0.35-2 works fine now and is in utopic. Thanks!

Changed in procenv (Ubuntu):
status: In Progress → 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.