** Description changed:

+ [Impact]
+ 
+ Builds of nspr fail in oracular due to GCC-14 standards, which raises
+ issues due to incompatible pointer types and function calls.
+ 
+ This should be backported to Oracular to fix the pr testsuite and
+ simplify future package rebuilds.
+ 
+ The issue is fixed by a reformatted upstream commit which fixes the type
+ conversions and function calls.
+ 
+ [Test Plan]
+ 
+ Since this is an FTBFS, the bug can be reproduced by attempting to build
+ in oracular.
+ 
+ A successful build should show that the bug is fixed, as it both compiles 
testfile.c and runs the test suite that uses it during runtime with:
+ cd nspr/pr/tests && grep -v 
'^\(fdcach\|gethost\|getproto\|nblayer\|peek\|socket\|vercheck\)$' 
./runtests.sh | sh - /<<PKGBUILDDIR>>/nspr/dist
+ 
+ [Where problems could occur]
+ 
+ If problems were to occur, they would arise when running the nspr/pr
+ test suite. This patch modifies testfile.c, which is used by the
+ majority of tests to read and write data as they run.
+ 
+ Due to upstream reformatting the file prior to the commit that fixes the
+ issue, the patch had to be cleaned up to apply against the previous
+ format. This could cause changes to logic if the patch were mis-applied.
+ 
+ [Other Info]
+  
+ The fix should be added to Oracular as a "zero-day" SRU.
+ 
+ [Original Description]
+ 
  nspr currently fails to build in oracular with the following:
  
  testfile.c:126:41: error: passing argument 3 of ‘pthread_create’ from
  incompatible pointer type
  
  This should be fixed upstream with
  
https://hg.mozilla.org/projects/nspr/rev/e178d3d9b47b2479f22f208d6225eda81918dae1
  
  Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1904395
  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075322

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nspr in Ubuntu.
https://bugs.launchpad.net/bugs/2081110

Title:
  FTBFS for oracular 2:4.35-1.1ubuntu1

Status in NSPR:
  Fix Released
Status in nspr package in Ubuntu:
  In Progress
Status in nspr package in Debian:
  Confirmed

Bug description:
  [Impact]

  Builds of nspr fail in oracular due to GCC-14 standards, which raises
  issues due to incompatible pointer types and function calls.

  This should be backported to Oracular to fix the pr testsuite and
  simplify future package rebuilds.

  The issue is fixed by a reformatted upstream commit which fixes the
  type conversions and function calls.

  [Test Plan]

  Since this is an FTBFS, the bug can be reproduced by attempting to
  build in oracular.

  A successful build should show that the bug is fixed, as it both compiles 
testfile.c and runs the test suite that uses it during runtime with:
  cd nspr/pr/tests && grep -v 
'^\(fdcach\|gethost\|getproto\|nblayer\|peek\|socket\|vercheck\)$' 
./runtests.sh | sh - /<<PKGBUILDDIR>>/nspr/dist

  [Where problems could occur]

  If problems were to occur, they would arise when running the nspr/pr
  test suite. This patch modifies testfile.c, which is used by the
  majority of tests to read and write data as they run.

  Due to upstream reformatting the file prior to the commit that fixes
  the issue, the patch had to be cleaned up to apply against the
  previous format. This could cause changes to logic if the patch were
  mis-applied.

  [Other Info]
   
  The fix should be added to Oracular as a "zero-day" SRU.

  [Original Description]

  nspr currently fails to build in oracular with the following:

  testfile.c:126:41: error: passing argument 3 of ‘pthread_create’ from
  incompatible pointer type

  This should be fixed upstream with
  
https://hg.mozilla.org/projects/nspr/rev/e178d3d9b47b2479f22f208d6225eda81918dae1

  Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1904395
  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075322

To manage notifications about this bug go to:
https://bugs.launchpad.net/nspr/+bug/2081110/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to