#1143353 odpic: FTBFS: collect2: error: ld returned 1 exit status

Package:
src:odpic
Source:
src:odpic
Submitter:
Santiago Vila
Date:
2026-08-06 23:21:02 UTC
Severity:
normal
Tags:
#1143353#5
Date:
2026-08-01 22:37:09 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:odpic, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build lib
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/odpic-dev.substvars debian/libodpic6.substvars debian/odpic-doc.substvars debian/files
	rm -fr -- debian/odpic-dev/ debian/tmp/ debian/libodpic6/ debian/odpic-doc/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p build
mkdir -p lib
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiConn.c -o build/dpiConn.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiContext.c -o build/dpiContext.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiData.c -o build/dpiData.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiEnv.c -o build/dpiEnv.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiError.c -o build/dpiError.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiGen.c -o build/dpiGen.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiGlobal.c -o build/dpiGlobal.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiLob.c -o build/dpiLob.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiObject.c -o build/dpiObject.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiObjectAttr.c -o build/dpiObjectAttr.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiObjectType.c -o build/dpiObjectType.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiPool.c -o build/dpiPool.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiStmt.c -o build/dpiStmt.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiUtils.c -o build/dpiUtils.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiVar.c -o build/dpiVar.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiOracleType.c -o build/dpiOracleType.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSubscr.c -o build/dpiSubscr.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiDeqOptions.c -o build/dpiDeqOptions.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiEnqOptions.c -o build/dpiEnqOptions.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiMsgProps.c -o build/dpiMsgProps.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiRowid.c -o build/dpiRowid.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiOci.c -o build/dpiOci.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiDebug.c -o build/dpiDebug.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiHandlePool.c -o build/dpiHandlePool.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiHandleList.c -o build/dpiHandleList.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSodaColl.c -o build/dpiSodaColl.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSodaCollCursor.c -o build/dpiSodaCollCursor.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSodaDb.c -o build/dpiSodaDb.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSodaDoc.c -o build/dpiSodaDoc.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiSodaDocCursor.c -o build/dpiSodaDocCursor.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiQueue.c -o build/dpiQueue.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiJson.c -o build/dpiJson.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiStringList.c -o build/dpiStringList.o
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  src/dpiVector.c -o build/dpiVector.o
cc -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libodpic.so.6  -o lib/libodpic.so.6.0.0 build/dpiConn.o build/dpiContext.o build/dpiData.o build/dpiEnv.o build/dpiError.o build/dpiGen.o build/dpiGlobal.o build/dpiLob.o build/dpiObject.o build/dpiObjectAttr.o build/dpiObjectType.o build/dpiPool.o build/dpiStmt.o build/dpiUtils.o build/dpiVar.o build/dpiOracleType.o build/dpiSubscr.o build/dpiDeqOptions.o build/dpiEnqOptions.o build/dpiMsgProps.o build/dpiRowid.o build/dpiOci.o build/dpiDebug.o build/dpiHandlePool.o build/dpiHandleList.o build/dpiSodaColl.o build/dpiSodaCollCursor.o build/dpiSodaDb.o build/dpiSodaDoc.o build/dpiSodaDocCursor.o build/dpiQueue.o build/dpiJson.o build/dpiStringList.o build/dpiVector.o -ldl -lpthread
/usr/bin/x86_64-linux-gnu-ld.bfd: build/dpiDebug.o: warning: relocation against `dpiDebugLevel' in read-only section `.text'
/usr/bin/x86_64-linux-gnu-ld.bfd: build/dpiGlobal.o: relocation R_X86_64_PC32 against symbol `dpiDebugLevel' can not be used when making a shared object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld.bfd: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:128: lib/libodpic.so.6.0.0] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143353#10
Date:
2026-08-06 23:18:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
odpic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143353@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Fladischer <fladi@debian.org> (supplier of updated odpic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 06 Aug 2026 22:42:17 +0000
Source: odpic
Architecture: source
Version: 6.0.0-2
Distribution: unstable
Urgency: low
Maintainer: Michael Fladischer <fladi@debian.org>
Changed-By: Michael Fladischer <fladi@debian.org>
Closes: 1143353
Changes:
 odpic (6.0.0-2) unstable; urgency=low
 .
   * Compile with '-Wall -pedantic -fPIC' (Closes: #1143353).
Checksums-Sha1:
 9f49efbaa99a5d132b92504999a90aae606b9f1a 2139 odpic_6.0.0-2.dsc
 53d927b6058091dfdb1b2b91fb486b526d12c8dd 9768 odpic_6.0.0-2.debian.tar.xz
 e7af217cf0483a1bc5b63a369ab64e31b3fd4420 7633 odpic_6.0.0-2_riscv64.buildinfo
Checksums-Sha256:
 3b5d45b9b25edee30f936321b92d057d5daba0e9271fd58a5be9f1b93f1c11a3 2139 odpic_6.0.0-2.dsc
 b0de7f089ef1994192f8367d985684d0a74e535ae7eb7eda71267f8280823a84 9768 odpic_6.0.0-2.debian.tar.xz
 95e037202477b574fa20a8324ed2a689fc0ae28d871c025de7aa71c0d3055891 7633 odpic_6.0.0-2_riscv64.buildinfo
Files:
 116cc2c4296c207e426302ac0e275628 2139 contrib/libs optional odpic_6.0.0-2.dsc
 0d2cbec5f8b6ca804faf59bbaac13806 9768 contrib/libs optional odpic_6.0.0-2.debian.tar.xz
 ff3623e36a7343734acba2ca44cf3ad0 7633 contrib/libs optional odpic_6.0.0-2_riscv64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmp1EIkACgkQ/9PIi5l9
0Wp4TQf/RDf69rLKenaWBFR8FExhle/ZP1Y8kCYn1mK7/xPpmwS9OK63TjwCANxl
y3IwnZy0N2CcqOF5jY6W7G74KMoh6UjDc9Lghw3FbzHvV2p9DQ5FXM53R0E71ypw
wAM0BWNNICdnwYTdS1M6ovro07+TtOCWqUj6T72zkGUbukRp6vK6QX2FqiUC0OzT
RfBh/T2duw/q+4737ULojV3qTUwRv18BrOXJJNP7XtSmT84YryZMN2BqvkLnrB3i
jbGOZSr/2xspEiPvZvJpzEdaE4hTJCJjs45aj6lzMr2e1+TmaL4hR/VmmnDmoq96
5DvNceJL9kDxDBsrpnHEl03vLz37rA==
=GsfA
-----END PGP SIGNATURE-----