Bug#1093325: crafty-books-medium: FTBFS: install: cannot change ownership of 'debian/crafty-books-medium/usr/share/crafty/books.bin': Operation not permitted
Package: src:crafty-books-medium
Version: 1.0.debian1-4
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
dh_clean
# Add here commands to clean up after the build process.
rm -f game* books.bin book.bin book.lrn *.*~ \
debian/books/learn.dat debian/books/medium.txt
debian/rules binary
dh_testdir
#Build the openings books.
#uudecode learn.dat.gz.uu | gunzip > debian/books/learn.dat
#uudecode medtosmall.txt.gz.uu | gunzip > debian/books/medtosmall.txt
echo "book create medium.txt 60" \
[... snipped ...]
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nf7. is illegal (line 804638)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |-P-| | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-| . | |-B-|<N>| . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . |-P-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-| . |-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: O- is illegal (line 804654)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>| . |<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>|<Q>| |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . |<N>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . |-B-|<P>|<P>| . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . | |-P-| | . |
+---+---+---+---+---+---+---+---+
3 | . |-P-| . | |-P-| | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-B-|-P-|-P-| | . |-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-| . |-Q-|-K-| |-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: b. is illegal (line 804671)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>| . |<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | | . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . |<P>| . | | . |
+---+---+---+---+---+---+---+---+
5 |<Q>| |<P>|<P>|-P-| | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . |-Q-| . |
+---+---+---+---+---+---+---+---+
3 | . | |-P-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-| |-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: Kd7 is illegal (line 804689)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<N>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |-P-|<P>| |-N-| |
+---+---+---+---+---+---+---+---+
4 | | . |-B-| . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-| | . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: N3 is illegal (line 804706)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>| |<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . |-B-|<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | |<P>|<P>| . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | |-P-|-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-| | . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Be. is illegal (line 804725)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>| | . | |<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . |<P>|<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |<P>| . |<P>| . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . | | . | | . |
+---+---+---+---+---+---+---+---+
3 |-P-| |-N-| |-P-|-N-| . | |
+---+---+---+---+---+---+---+---+
2 | |-P-|-P-|-P-|-B-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-| | . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: Ng1 is illegal (line 804743)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: b6 is illegal (line 804763)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>| . | |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>| | . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . |<P>|<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | |<B>| | . |<P>| . | | . |
+---+---+---+---+---+---+---+---+
3 | . |-P-|-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-B-|-P-|-P-|-Q-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| | . | |-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nc6822 is illegal (line 804778)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>| . | |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . |<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . |<P>|<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | |-P-| | . | | . | |
+---+---+---+---+---+---+---+---+
4 | |<B>|-P-| . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . |-Q-|-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . |-P-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-| |-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: Bxc6Bxc6 is illegal (line 804793)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . |<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . |<P>| . | | . |
+---+---+---+---+---+---+---+---+
5 | . | |<P>| |-P-| | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-B-| . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . |-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-| | . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nc6.8. is illegal (line 804808)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>| . | |<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . |<P>|<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . |-P-| . |
+---+---+---+---+---+---+---+---+
3 | . | | . |-Q-| . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . |-P-|-P-| | . |
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-| |-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 6: N. is illegal (line 804828)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>| . | |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<N>|<B>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . |<P>| . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |<P>|-P-| |-B-| |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| | . |-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nbd4 is illegal (line 804847)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | | . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<P>| . |<P>|<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |<P>| . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-|-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| |-P-|-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: f6Qxd1 is illegal (line 804866)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>|<P>| | . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . |<P>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . |-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-| . |-R-|-K-| |
+---+---+---+---+---+---+---+---+
a b c d e f g h
end-of-file reached
S <done>
merging sorted files (1) (100k/dot)
....
parsed 426183 moves (47236 games).
found 52938 errors during parsing.
discarded 0 moves (maxply=60).
discarded 0 moves (minplayed=0).
discarded 0 moves (win/lose=0.0%).
book contains 18461 unique positions.
deepest book line was 18 plies.
longest cluster of moves was 24.
time used: 9.46 elapsed.
White(1): echo "books create start.pgn 60" \
| /usr/games/crafty
Machine is NUMA, 1 nodes (2 cpus/node)
unable to open book file [./books.bin].
Crafty v23.4 (1 cpus)
White(1): parsing pgn move file (100k moves/dot)
ERROR! move 1: eNf3 is illegal (line 45)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 3: dexd4 is illegal (line 50)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . |-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 3: d4xd4 is illegal (line 54)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . |-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 2: Ndf3 is illegal (line 60)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |-P-| | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 3: g5 is illegal (line 65)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>| |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |<P>| . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . |-N-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . |-P-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 2: Bf50%} is illegal (line 75)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>| |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | | . | | . |
+---+---+---+---+---+---+---+---+
5 | . | | . |<P>| . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . |-P-|-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
S <done>
merging sorted files (1) (100k/dot)
parsed 96 moves (29 games).
found 6 errors during parsing.
discarded 0 moves (maxply=60).
discarded 0 moves (minplayed=0).
discarded 0 moves (win/lose=0.0%).
book contains 38 unique positions.
deepest book line was 5 plies.
longest cluster of moves was 5.
time used: 0.00 elapsed.
White(1): rm -f log*
rm -f game*
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/crafty
#install -o root -g games -d debian/crafty-books-med/var/lib/crafty/TB
# changed by ok was 644
install -m664 -o root -g games books.bin debian/crafty-books-medium/usr/share/crafty
install: cannot change ownership of 'debian/crafty-books-medium/usr/share/crafty/books.bin': Operation not permitted
make: *** [debian/rules:47: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202501/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:crafty-books-medium, so that this is still
visible in the BTS web page for this package.
Thanks.
Reply to: