squeak-plugins-scratch: FTBFS on arm{el,hf}: WeDoLinux.c:175:9: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration]

Bug #2061587 reported by Zixing Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squeak-plugins-scratch (Debian)
New
Unknown
squeak-plugins-scratch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1065944:

Source: squeak-plugins-scratch
Version: 1.4.0.2~svn.r83-3.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: <email address hidden>

https://buildd.debian.org/status/fetch.php?pkg=squeak-plugins-scratch&arch=armel&ver=1.4.0.2%7Esvn.r83-3.1%2Bb1&stamp=1710056636&raw=0

cd wedo/ && \
 arm-linux-gnueabi-gcc -std=gnu89 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -fPIC -c *.c
WeDoLinux.c: In function ‘WeDoClosePort’:
WeDoLinux.c:175:9: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration]
  175 | close(fdWeDo);
      | ^~~~~
      | pclose
cc1: some warnings being treated as errors
make: *** [debian/rules:31: build-stamp] Error 1

Cheers
--
Sebastian Ramacher

Changed in squeak-plugins-scratch (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squeak-plugins-scratch - 1.4.0.2~svn.r83-3.1ubuntu1

---------------
squeak-plugins-scratch (1.4.0.2~svn.r83-3.1ubuntu1) noble; urgency=medium

  * debian/patches/add-missing-include.patch: Add a missing header to
    fix build on armhf. (Closes #1065944, LP: #2061587).
  * debian/control: Add quilt to B-D as this is previously missing.

 -- Zixing Liu <email address hidden> Mon, 15 Apr 2024 10:23:53 -0600

Changed in squeak-plugins-scratch (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.