← Back to issue list

snapcraft 2.27 fails to build the mosh classic snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1665089
Type
issue
State
closed
Author
~elopio
Labels
classic
Created
Updated
Closed

Current evaluation

Abandoned. The snapcraft 2.27 build failure for the mosh classic snap, caused by missing -fPIC linker flags, was closed without resolution or comments. Likely resolved in later snapcraft versions.

Suggested action:

No scores available.

Issue body

The mosh classic snap builds fine with snapcraft 2.26, but fails in 2.27 with: /usr/bin/ld: /home/ubuntu/workspace/mobile-shell/mosh/parts/mosh/install/usr/lib/x86_64-linux-gnu/libutil.a(forkpty.o): relocation R_X86_64_PC32 against undefined symbol `fork@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Makefile:421: recipe for target 'mosh-server' failed make[3]: *** [mosh-server] Error 1 To reproduce: $ git clone https://github.com/elopio/mosh $ cd mosh $ git checkout snapcraft $ snapcraft

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. The snapcraft 2.27 build failure for the mosh classic snap, caused by missing -fPIC linker flags, was closed without resolution or comments. Likely resolved in later snapcraft versions.
qwen/qwen3.6-35b-a3b Closed without resolution. The snapcraft 2.27 linker failure for mosh classic snaps caused by missing -fPIC flags was abandoned due to inactivity, likely superseded by newer snapcraft releases.
qwen/qwen3.6-35b-a3b Closed without resolution or comments. The snapcraft 2.27 linker error was likely abandoned or resolved by the author, as no fix or discussion was recorded.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The snapcraft 2.27 linker failure blocking mosh classic snap builds was not patched and superseded by newer releases.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1736861 classic snap fails to build with "cannot find section" snapcraft (launchpad) closed Closed without comments or resolution. The snapcraft 2.37 regression causing patchelf failures in classic snaps was abandoned or resolved in a subsequent release.
73%
#1669306 Python snaps now failing with snapcraft 2.27.1 snapcraft (launchpad) closed Abandoned. Python snaps with classic containment hang indefinitely when built with snapcraft 2.27.1 due to an AppArmor denial on /dev/tty. No fix or follow-up was provided.
72%