Your message dated Thu, 29 Dec 2011 18:08:58 +0000
with message-id <[email protected]>
and subject line re: plan FTBFS on arm* config.h:312:8: error: redefinition of
'struct user'
has caused the Debian Bug report #652701,
regarding plan FTBFS on arm* config.h:312:8: error: redefinition of 'struct
user'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
652701: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: plan
severity: serious
Plan FTBFS on armel and armhf with the following error.
gcc -O2 -DPLANHOME=\"".plan.dir"\" -DPLANLOCK=\""~/.plan.dir/lock.plan"\"
-DPLANDLOCK=\""~/.plan.dir/lock.pland"\" -W -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -I/usr/X11R6/include -DNOLOCK -DLINUX -Dlinux -DRABBITS -c main.c
In file included from cal.h:6:0,
from main.c:32:
config.h:312:8: error: redefinition of 'struct user'
/usr/include/arm-linux-gnueabihf/sys/user.h:49:8: note: originally defined here
In file included from cal.h:323:0,
from main.c:32:
proto.h:271:2: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
proto.h:272:2: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
main.c:54:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
main.c: In function 'do_get_rsrc':
main.c:729:35: warning: cast discards '__attribute__((const))' qualifier from
pointer target type [-Wcast-qual]
main.c: In function 'init_resources':
main.c:744:5: warning: cast discards '__attribute__((const))' qualifier from
pointer target type [-Wcast-qual]
<--snip a load of similar warnings-->
main.c:781:5: warning: cast discards '__attribute__((const))' qualifier from
pointer target type [-Wcast-qual]
main.c: In function 'init_colors':
main.c:852:3: warning: cast discards '__attribute__((const))' qualifier from
pointer target type [-Wcast-qual]
main.c: In function 'init_fonts':
main.c:906:3: warning: cast discards '__attribute__((const))' qualifier from
pointer target type [-Wcast-qual]
make[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/src'
make[1]: [linux] Error 2 (ignored)
--------------------
NOTE: if compilation failed with "cannot find -lXt", try "make clean; make
linux64"
make[1]: Leaving directory
`/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/src'
touch build-stamp
fakeroot debian/rules binary-arch
dh_testdir
dh_testroot
dh_clean
dh_installdirs
install -d
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/share/man/man1
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/share/man/man4
\
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/share/man/man8
make -C src install
DESTDIR=/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp
make[1]: Entering directory
`/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/src'
rm -f
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/bin/pland
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/bin/notifier
/build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/lib/plan/netplan
mkdir -p /build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/bin
cp plan /build/buildd-plan_1.10.1-2-armhf-Wj081v/plan-1.10.1/debian/tmp/usr/bin
cp: cannot stat `plan': No such file or directory
Hopefully I can get this fixed on the glibc side but if not it will have
to be fixed on the application side. If it does have to be fixed on the
application side I will attempt to provide a patch.
P.S. ignoring errors in makefiles causing the package build to stumble
on until it hits a missing file during the "install" step makes it
harder for people looking at status pages to spot the real error. You
might want to bitch at upstream about that.
--- End Message ---
--- Begin Message ---
This has now been fixed on the glibc side and the package has been built
successfully on armhf. Closing the bug.
--- End Message ---