[Bug 1992159] Autopkgtest regression report (glibc/2.35-0ubuntu3.3)

Ubuntu SRU Bot 1992159 at bugs.launchpad.net
Mon Jul 31 05:12:39 UTC 2023


All autopkgtests for the newly accepted glibc (2.35-0ubuntu3.3) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

adsys/0.9.2~22.04.1 (arm64)
datefudge/1.24 (arm64)
dbus/1.12.20-2ubuntu4.1 (armhf)
dpdk/21.11.3-0ubuntu0.22.04.1 (arm64)
ganeti/3.0.2-1ubuntu1 (armhf)
gcc-9/9.5.0-1ubuntu1~22.04 (armhf)
gjs/1.72.4-0ubuntu0.22.04.1 (amd64)
golang-github-canonical-go-dqlite/1.10.1-1 (arm64)
golang-github-influxdata-tail/1.0.0+git20180327.c434825-4 (amd64)
golang-github-xenolf-lego/4.1.3-3ubuntu1.22.04.1 (armhf)
golang-gogoprotobuf/1.3.2-1 (amd64, s390x)
google-osconfig-agent/20230504.00-0ubuntu1~22.04.0 (armhf)
gvfs/1.48.2-0ubuntu1 (amd64)
hilive/2.0a-3build3 (arm64)
hyphy/2.5.36+dfsg-1 (amd64)
kmediaplayer/5.92.0-0ubuntu1 (armhf)
libclass-methodmaker-perl/2.24-2build2 (armhf)
libflame/5.2.0-3ubuntu3 (arm64)
libimage-sane-perl/5-1build3 (s390x)
libuev/2.4.0-1.1 (s390x)
linux-aws-6.2/6.2.0-1009.9~22.04.2 (arm64)
linux-azure-5.19/5.19.0-1027.30~22.04.2 (arm64)
linux-azure-6.2/6.2.0-1009.9~22.04.2 (arm64)
linux-gcp-5.19/5.19.0-1030.32~22.04.1 (arm64)
linux-gke/5.15.0-1039.44 (arm64)
linux-hwe-5.19/5.19.0-50.50 (arm64)
linux-lowlatency/5.15.0-79.88 (arm64)
linux-nvidia-6.2/6.2.0-1006.6~22.04.2 (arm64)
linux-nvidia-tegra/5.15.0-1015.15 (arm64)
linux-oem-5.17/5.17.0-1035.36 (amd64)
linux-oracle-5.19/5.19.0-1027.30 (arm64)
linux-xilinx-zynqmp/5.15.0-1023.27 (arm64)
log4cxx/0.12.1-4 (armhf)
netplan.io/0.105-0ubuntu2~22.04.3 (arm64)
notcurses/3.0.6+dfsg.1-1 (armhf)
php-luasandbox/4.0.2-3build1 (ppc64el)
prometheus/2.31.2+ds1-1ubuntu1.22.04.2 (s390x)
qcustomplot/2.0.1+dfsg1-5 (armhf)
r-cran-mice/3.14.0-1 (armhf)
r-cran-randomfields/3.3.14-1 (armhf)
r-cran-sys/3.4-1 (s390x)
ruby-rblineprof/0.3.7-2build3 (arm64)
rustc/1.66.1+dfsg0ubuntu1-0ubuntu0.22.04.1 (arm64)
samba/2:4.15.13+dfsg-0ubuntu1.2 (s390x)
stunnel4/3:5.63-1build1 (ppc64el)
swtpm/0.6.3-0ubuntu3.2 (arm64)
tmux/3.2a-4ubuntu0.2 (ppc64el)


Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-
migration/jammy/update_excuses.html#glibc

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1992159

Title:
  [SRU] Syntax error defien in socket.h

Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Jammy:
  Fix Committed

Bug description:
  [ Impact ]

   * What are the effects of the bug on users?
     Some Compilers will exit with a syntax error when
     a user tries to compile glibc for systems where the
     'time_t' type of the default ABI is 32 bits (e.g. arm,
     hppa, microblaze). The compiler must be a Clang compiler
     with a major version of less than four and is either a
     GNUC compiler with a major version of less than two or no
     GNUC compiler.

     If someone should be confused; here is the logical notation
     (See "Other Info" before you evaluate this!):
     TIME_BITS_SIZE = 32 AND CLANG_MAJOR < 4
     AND (NOT GNUC OR GNUC < 2)

     Additionally, a few C pre-processors (an overwhelming
     minority) will throw a syntax error if they encounter an
     unknown pre-processor keyword, even if it is unreachable
     (like this bug).

   * What is the justification for backporting the fix to the
     stable release?

     The bug is already fixed upstream, and some users reported
     the error.

   * How does the upload fix the bug?
     The bug is caused by a typographical error of a pre-processor
     keyword ("#defien" instead of "#define"). The bug fix
     includes correcting the typographical error. "Just" two
     characters get changed.

  [ Test Plan ]

   * How to reproduce the bug?
     We will reproduce this bug with the Oracle Embedded SQL
     Pro*C Pre-processor (Oracle ESQL ProC).
     I tested this on a fresh installation of 22.04.2 and a
     pre-existing installation of 22.04.1.

     1. Install glibc:
     sudo apt install libc6-dev

     2. Download the binaries Oracle ESQL ProC binaries
     (they are licensed under the Oracle Technology Network
     License Agreement https://www.oracle.com/downloads/licenses/standard-license.html):
     wget https://download.oracle.com/otn_software/linux/instantclient/219000/instantclient-basic-linux.x64-21.9.0.0.0dbru.zip https://download.oracle.com/otn_software/linux/instantclient/219000/instantclient-sdk-linux.x64-21.9.0.0.0dbru.zip https://download.oracle.com/otn_software/linux/instantclient/219000/instantclient-precomp-linux.x64-21.9.0.0.0dbru.zip

     3. Create the destination where the binaries will be copied to:
     sudo mkdir -m a=rwx /opt/oracle

     4. Unzip the binaries:
     a.) unzip instantclient-basic-linux.x64-21.9.0.0.0dbru.zip -d /opt/oracle
     b.) unzip instantclient-sdk-linux.x64-21.9.0.0.0dbru.zip -d /opt/oracle
     c.) unzip instantclient-precomp-linux.x64-21.9.0.0.0dbru.zip -d /opt/oracle

     5. Add configuration to use x86-64 arcitecture and glibc include folder location:
     a.) echo "define=__x86_64__" >> /opt/oracle/instantclient_21_9/precomp/admin/pcscfg.cfg
     b.) echo "sys_include=/usr/include/x86_64-linux-gnu" >> /opt/oracle/instantclient_21_9/precomp/admin/pcscfg.cfg

     6. Create a test source file:
     echo "include <sys/socket.h>" | tee test.cp

     7. Add envirenment variables for the pre-processor:
     a.) export ORACLE_HOME=/opt/oracle/instantclient_21_9
     b.) export LD_LIBRARY_PATH=/opt/oracle/instantclient_21_9

     8. Run the preprocessor:
     $ORACLE_HOME/sdk/proc iname=test.pc oname=test.c sqlcheck=syntax code=ansi_c parse=partial

     This will result in the following error message:
      Syntax error at line 184, column 4, file /usr/include/x86_64-linux-gnu/sys/socket.h:
      Error at line 184, column 4 in file /usr/include/x86_64-linux-gnu/sys/socket.h
      #  defien sendmsg __sendmsg64
      ...1
      PCC-S-02014, Encountered the symbol "defien" when expecting one of the following
      :

         a numeric constant, newline, define, endif, error, if, ifdef,
         ifndef, include, include_next, line, pragma, _Pragma, undef,
         an immediate preprocessor command, a C token

  [ Where problems could occur ]

   * The bugfix allows compiling glibc for systems where it
     couldn't get compiled before. This could enable the build
     of packages that break others, but this should not count as
     the fault of glibc.

   * A theoretical regression is limited to the sys/socket.h
     sendmsg function because it gets redirected through the
     "#define" macro.

   * A pre-compiler of a non-GNUC compiler that tries to appear
     as a GNUC compiler with an incorrect lexical analyzer could
     result in a different syntax tree. I don't know of an
     example, and Canonical should not support such a
     configuration

  [ Other Info ]
                                                                  |
   * Many non-GNUC compilers try to appear as a GNUC compiler by
     using pre-defined compiler macros typical for GNUC compilers.
     A non-GNUC compiler that tries to appear as GNUC version two
     or higher may NOT be affected, while a non-GNUC compiler may
     be affected.

   * The original bug report description:

  On line 184 in/usr/include/x86_64-linux-gnu/sys/socket.h it says

  #  defien sendmsg __sendmsg64

  which obviously should read "define" instead.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: libc6-dev 2.35-0ubuntu3.1
  ProcVersionSignature: Microsoft 4.4.0-22000.653-Microsoft 4.4.35
  Uname: Linux 4.4.0-22000-Microsoft x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Fri Oct  7 13:06:34 2022
  ProcEnviron:
   LD_LIBRARY_PATH=<set>
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1992159/+subscriptions




More information about the foundations-bugs mailing list