Bug#1093326: crafty-books-medtosmall: FTBFS: install: cannot change ownership of 'debian/crafty-books-medtosmall/usr/share/crafty/books.bin': Operation not permitted
Package: src:crafty-books-medtosmall
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/medtosmall.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 medtosmall.txt 60" \
[... snipped ...]
+---+---+---+---+---+---+---+---+
4 | | . |-P-| . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . |-N-|-P-| |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| |-P-|-P-|-P-|-B-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-| | . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Ncc7Qc7 is illegal (line 85867)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: O-3 is illegal (line 85880)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . |<N>| . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 |-B-| . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . |-N-| . | |
+---+---+---+---+---+---+---+---+
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 6: Qd is illegal (line 85895)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>| . | |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>| | . |<P>|<B>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>|<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-|-P-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . |-P-| . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . | | . |-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-|-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: NcBd is illegal (line 85911)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nc32 is illegal (line 85926)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>| |<R>|<K>| . |
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>|<P>|<P>|<B>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>|<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-|-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | |-P-| |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . |-P-|-P-|-B-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-| |-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: de5 is illegal (line 85940)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>| |<R>|<K>| . |
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>|<P>|<P>|<B>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>|<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-| . | | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . | |-P-| |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| |-P-|-P-|-P-|-B-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-| |-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Nc-O is illegal (line 85957)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>| |<R>|<K>| . |
+---+---+---+---+---+---+---+---+
7 |<P>|<P>|<P>|<P>|<P>|<P>|<B>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | | . | |<N>|<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . |-P-|-P-| | . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | |-P-| |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-| | . |-P-|-P-|-B-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-| |-N-|-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: O- is illegal (line 85971)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . |<N>| . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 |-B-| . | | . |-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
ERROR! move 5: Nc3e7Be7 is illegal (line 85994)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: O- is illegal (line 86007)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 | . |<P>|<P>|<P>| . |<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 |<P>| . |<N>| . | |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | |<P>| | . | |
+---+---+---+---+---+---+---+---+
4 |-B-| . | | . |-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
ERROR! move 5: BBc4 is illegal (line 86025)
+---+---+---+---+---+---+---+---+
8 |<R>| . |<B>|<Q>|<K>|<B>|<N>|<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . |<P>|<P>|<P>| . |<P>|
+---+---+---+---+---+---+---+---+
6 | | . |<N>| . | | . |<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: -O is illegal (line 86041)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: NcBe is illegal (line 86060)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>|<P>|<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>| | . |
+---+---+---+---+---+---+---+---+
5 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | |-N-|-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | | . | | . | | . | |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-| . | |-P-|-P-|-P-|
+---+---+---+---+---+---+---+---+
1 |-R-|-N-|-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
ERROR! move 5: Bg2O-OO-O is illegal (line 86077)
+---+---+---+---+---+---+---+---+
8 |<R>|<N>|<B>|<Q>|<K>|<B>| |<R>|
+---+---+---+---+---+---+---+---+
7 |<P>|<P>| . | |<P>|<P>| . |<P>|
+---+---+---+---+---+---+---+---+
6 | | . | |<P>| |<N>|<P>| . |
+---+---+---+---+---+---+---+---+
5 | . | |<P>| | . | | . | |
+---+---+---+---+---+---+---+---+
4 | | . | | . |-P-| . | | . |
+---+---+---+---+---+---+---+---+
3 | . | |-N-| | . |-N-|-P-| |
+---+---+---+---+---+---+---+---+
2 |-P-|-P-|-P-|-P-| |-P-| |-P-|
+---+---+---+---+---+---+---+---+
1 |-R-| |-B-|-Q-|-K-|-B-| . |-R-|
+---+---+---+---+---+---+---+---+
a b c d e f g h
end-of-file reached
S <done>
merging sorted files (1) (100k/dot)
parsed 49802 moves (5000 games).
found 5772 errors during parsing.
discarded 0 moves (maxply=60).
discarded 0 moves (minplayed=0).
discarded 0 moves (win/lose=0.0%).
book contains 5483 unique positions.
deepest book line was 15 plies.
longest cluster of moves was 20.
time used: 1.04 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
install -m664 -o root -g games books.bin debian/crafty-books-medtosmall/usr/share/crafty
install: cannot change ownership of 'debian/crafty-books-medtosmall/usr/share/crafty/books.bin': Operation not permitted
make: *** [debian/rules:46: 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-medtosmall, so that this is still
visible in the BTS web page for this package.
Thanks.
Reply to: