On 2024-12-22 22:21:22, Johannes Schauer Marin Rodrigues wrote:
> Hi,
>
> Quoting Antoine Beaupre (2024-12-22 21:34:14)
>> I'm getting this if I use symlinks for tarballs in unshare mode:
>> 
>> Warning :                   
>> /home/anarcat/.cache/sbuild/UNRELEASED-amd64.tar.zst is a symbolic link, 
>> ignoring 
>> 
>> I'm not sure why this is happening, but it's quite inconvenient as I
>> need to build a new chroot just for that UNRELEASED thing...
>
> can you show me a more complete log? I wonder what is producing this error
> message. I grepped for it in the sbuild source and cannot find what
> emits it.

sbuild (Debian sbuild) 0.88.1 (16 December 2024) on angela.anarc.at

+==============================================================================+
| etckeeper 1.18.22-1 (amd64)                  Sun, 22 Dec 2024 19:37:56 +0000 |
+==============================================================================+

Package: etckeeper
Version: 1.18.22-1
Source Version: 1.18.22-1
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: full

I: Applied base distribution name mangle rule 
s/(?^:^(experimental|rc-buggy|UNRELEASED|UNRELEASED.*)$)/unstable/ turning 
"UNRELEASED" into "unstable"
I: Unpacking /home/anarcat/.cache/sbuild/UNRELEASED-amd64.tar.zst to 
/tmp/tmp.sbuild.w0oiOEg7Ai...
Warning : /home/anarcat/.cache/sbuild/UNRELEASED-amd64.tar.zst is a symbolic 
link, ignoring 
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
bad exit status (512) for tar
E: Error creating chroot session: skipping etckeeper

+------------------------------------------------------------------------------+
| Summary                                      Sun, 22 Dec 2024 19:37:56 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: full
Build-Space: 0
Build-Time: 0
Distribution: UNRELEASED
Fail-Stage: create-session
Host Architecture: amd64
Install-Time: 0
Job: /home/anarcat/src/build-area/etckeeper_1.18.22-1.dsc
Machine Architecture: amd64
Package: etckeeper
Package-Time: 0
Source-Version: 1.18.22-1
Space: 0
Status: failed
Version: 1.18.22-1
--------------------------------------------------------------------------------
Finished at 2024-12-22T19:37:56Z
Build needed 00:00:00, 0k disk space
> This is in my ~/.cache/sbuild:
>
> lrwxrwxrwx  1 josch josch   18 Dec 22 22:17 UNRELEASED-arm64.tar -> 
> unstable-arm64.tar
> -rw-r--r--  1 josch josch 450M Dec 22 22:17 unstable-arm64.tar

anarcat@angela:build-area$ ls -al ~/.cache/sbuild/
total 339 771 392
drwxr-xr-x   2 anarcat anarcat       4 096 2024-12-11 14:08 .
drwxr-xr-x 200 anarcat anarcat      12 288 2024-12-17 13:45 ..
-rw-r--r--   1 anarcat anarcat 187 227 113 2024-12-11 14:08 
bookworm-amd64.tar.zst
lrwxrwxrwx   1 anarcat anarcat          22 2024-12-09 14:59 
bookworm-backports-amd64.tar.zst -> bookworm-amd64.tar.zst
lrwxrwxrwx   1 anarcat anarcat          22 2024-12-06 13:32 
experimental-amd64.tar.zst -> unstable-amd64.tar.zst
lrwxrwxrwx   1 anarcat anarcat          22 2024-12-06 13:32 
UNRELEASED-amd64.tar.zst -> unstable-amd64.tar.zst
-rw-r--r--   1 anarcat anarcat 152 514 626 2024-12-22 14:30 
unstable-amd64.tar.zst

> And when I run sbuild in a package with UNRELEASED in d/changelog I get:
>
> I: Applied base distribution name mangle rule 
> s/(?^:^(experimental|rc-buggy|UNRELEASED|UNRELEASED.*)$)/unstable/ turning 
> "UNRELEASED" into "unstable"
> I: Unpacking /home/josch/.cache/sbuild/UNRELEASED-arm64.tar to 
> /home/josch/tmp/tmp.sbuild.yNFwjl6TAA...
> I: Setting up the chroot...
> I: Creating chroot session...
> I: Setting up log color...
> I: Setting up apt archive...
>
> How can I reproduce the issue you see? I'm also on sbuild 0.88.1.

Weird!

>> This is related to #1089035 in the sense that I wouldn't need those
>> symlinks if the auto-guessing would Just Work.
>
> Sorry, I failed to follow up on that one. Let me fix this in a bit.

No probs!

a.
-- 
Il faut respecter le noir. Rien ne le prostitue. Il est agent de
l'esprit bien plus que la belle couleur de la palette ou du prisme.
                        - Odilon Redon

Reply via email to