Bug#1114138: gridengine: FTBFS: ../Xmt310/Xmt/FindFile.c:40:23: error: conflicting types for 'getpwuid'; have 'struct passwd *(void)'
Package: src:gridengine
Version: 8.1.9+dfsg-13.1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
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 could not 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:gridengine, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd source && rm -rf CLASSES JAVADOCS MANSBUILD_* dist/qmon/Qmon
find source -type d -name "LINUX*" -print0 | xargs --null rm -rf
find source -type d -name "build" -print0 | xargs --null rm -rf
find source -name "*_dependencies" -print0 | xargs --null rm -f
for t in common exec master client qmon; do \
cp debian/gridengine.templates debian/gridengine-$t.templates; done
debconf-updatepo
rm -f debian/qmon.desktop
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_clean
[... snipped ...]
[java] propsinit.unix:
[java]
[java] propsinit:
[java]
[java] -post-init:
[java] [echo] libs.junit.classpath=/usr/share/java/junit.jar
[java]
[java] -init-check:
[java]
[java] -init-macrodef-javac:
[java]
[java] -init-macrodef-junit:
[java]
[java] -init-debug-args:
[java]
[java] -init-macrodef-nbjpda:
[java]
[java] -init-macrodef-debug:
[java]
[java] -init-macrodef-java:
[java]
[java] -init-presetdef-jar:
[java]
[java] init:
[java]
[java] deps-jar:
[java]
[java] -check-automatic-build:
[java]
[java] -clean-after-automatic-build:
[java]
[java] -verify-automatic-build:
[java]
[java] -pre-pre-compile:
[java] [mkdir] Created dir: /<<PKGBUILDDIR>>/source/CLASSES/jjsv/classes
[java]
[java] -pre-compile:
[java]
[java] -compile-depend:
[java]
[java] -do-compile:
[java] [mkdir] Created dir: /<<PKGBUILDDIR>>/source/CLASSES/jjsv/empty
[java] [javac] Using javac -source 1.5 is no longer supported, switching to 8
[java] [javac] Using javac -target 1.5 is no longer supported, switching to 8
[java] [javac] Compiling 9 source files to /<<PKGBUILDDIR>>/source/CLASSES/jjsv/classes
[java] [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[java] [javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[java] [javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[java] [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[java] [javac] Note: /<<PKGBUILDDIR>>/source/libs/jjsv/java/com/sun/grid/jsv/JsvManager.java uses or overrides a deprecated API.
[java] [javac] Note: Recompile with -Xlint:deprecation for details.
[java] [javac] 4 warnings
[java]
[java] -post-compile:
[java]
[java] compile:
[java]
[java] -pre-jar:
[java]
[java] -pre-pre-jar:
[java]
[java] -do-jar-with-manifest:
[java]
[java] -do-jar-without-manifest:
[java] [jar] Building jar: /<<PKGBUILDDIR>>/source/CLASSES/jjsv/JSV.jar
[java]
[java] -do-jar-with-mainclass:
[java]
[java] -do-jar-with-libraries:
[java]
[java] -do-jar-with-libraries-without-manifest:
[java]
[java] -pre-pre-compile-test:
[java] [mkdir] Created dir: /<<PKGBUILDDIR>>/source/CLASSES/jjsv/test/classes
[java]
[java] -pre-compile-test:
[java]
[java] -compile-test-depend:
[java]
[java] -do-compile-test:
[java] [javac] Using javac -source 1.5 is no longer supported, switching to 8
[java] [javac] Using javac -target 1.5 is no longer supported, switching to 8
[java] [javac] Compiling 8 source files to /<<PKGBUILDDIR>>/source/CLASSES/jjsv/test/classes
[java] [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[java] [javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[java] [javac] warning: [options] target value 8 is obsolete and will be removed in a future release
[java] [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[java] [javac] /<<PKGBUILDDIR>>/source/libs/jjsv/test/com/sun/grid/jsv/BindingSpecifierTest.java:119: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[java] [javac] Integer expAmount = new Integer(1234);
[java] [javac] ^
[java] [javac] /<<PKGBUILDDIR>>/source/libs/jjsv/test/com/sun/grid/jsv/BindingSpecifierTest.java:129: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[java] [javac] Integer expSocket = new Integer(1234);
[java] [javac] ^
[java] [javac] /<<PKGBUILDDIR>>/source/libs/jjsv/test/com/sun/grid/jsv/BindingSpecifierTest.java:139: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[java] [javac] Integer expCore = new Integer(1234);
[java] [javac] ^
[java] [javac] /<<PKGBUILDDIR>>/source/libs/jjsv/test/com/sun/grid/jsv/BindingSpecifierTest.java:149: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[java] [javac] Integer expStep = new Integer(1234);
[java] [javac] ^
[java] [javac] Note: Some input files use unchecked or unsafe operations.
[java] [javac] Note: Recompile with -Xlint:unchecked for details.
[java] [javac] 8 warnings
[java]
[java] -post-compile-test:
[java]
[java] compile-test:
[java]
[java] -test-jar:
[java] [jar] Building jar: /<<PKGBUILDDIR>>/source/CLASSES/jjsv/jjsv-test.jar
[java]
[java] -post-jar:
[java]
[java] jar:
[java]
[java] BUILD SUCCESSFUL
[java] Total time: 1 second
herd:
all:
BUILD SUCCESSFUL
Total time: 6 seconds
_________Q_M_O_N__________________________
make[2]: Entering directory '/<<PKGBUILDDIR>>/source/3rdparty/qmon/LINUXAMD64'
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] tion -fPIC ../Xmt310/Xmt/All.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] n -fPIC ../Xmt310/Xmt/AppRes.c
../Xmt310/Xmt/AppRes.c: In function â??Destroyâ??:
../Xmt310/Xmt/AppRes.c:294:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
294 | XmtHashTableDelete(root_name_table, (XtPointer)w->core.xrm_name);
| ^
../Xmt310/Xmt/AppRes.c: In function â??XmtInitializeApplicationShellâ??:
../Xmt310/Xmt/AppRes.c:363:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
363 | (XtPointer) w->core.xrm_name,
| ^
../Xmt310/Xmt/AppRes.c: In function â??XmtLookupApplicationShellâ??:
../Xmt310/Xmt/AppRes.c:678:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
678 | (XtPointer) name,
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] PIC ../Xmt310/Xmt/AskForBool.c
../Xmt310/Xmt/AskForBool.c: In function â??XmtAskForBooleanâ??:
../Xmt310/Xmt/AskForBool.c:352:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
352 | resources[6].default_addr = (XtPointer) icon_type_default;
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] PIC ../Xmt310/Xmt/AskForFile.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] PIC ../Xmt310/Xmt/AskForItem.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] C ../Xmt310/Xmt/AskForString.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/AssertClass.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/BSearch.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] fPIC ../Xmt310/Xmt/BitmapCvt.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] on -fPIC ../Xmt310/Xmt/Block.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/CallbackCvt.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/CheckFormat.c
../Xmt310/Xmt/CallbackCvt.c: In function â??ConvertArgâ??:
../Xmt310/Xmt/CallbackCvt.c:272:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
272 | XrmQuark argtype = (XrmQuark) proc->argument_types[i];
| ^
../Xmt310/Xmt/CallbackCvt.c:279:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
279 | XrmQuarkToString((XrmQuark)
| ^
../Xmt310/Xmt/CallbackCvt.c:291:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
291 | if ((XrmQuark)proc->argument_types[i] == XmtQString) {
| ^
../Xmt310/Xmt/CallbackCvt.c:302:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
302 | XrmQuarkToString((XrmQuark)proc->argument_types[i]),
| ^
../Xmt310/Xmt/CallbackCvt.c:310:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
310 | XrmQuarkToString((XrmQuark)
| ^
../Xmt310/Xmt/CallbackCvt.c: In function â??XmtCallCallbackâ??:
../Xmt310/Xmt/CallbackCvt.c:408:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
408 | if ((XrmQuark)proc->argument_types[i] == _XmtQCallbackWidget)
| ^
../Xmt310/Xmt/CallbackCvt.c:410:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
410 | else if ((XrmQuark)proc->argument_types[i] == _XmtQCallbackData)
| ^
../Xmt310/Xmt/CallbackCvt.c:412:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
412 | else if((XrmQuark)proc->argument_types[i]==_XmtQCallbackAppContext)
| ^
../Xmt310/Xmt/CallbackCvt.c:414:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
414 | else if ((XrmQuark)proc->argument_types[i] == _XmtQCallbackWindow)
| ^
../Xmt310/Xmt/CallbackCvt.c:416:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
416 | else if ((XrmQuark)proc->argument_types[i] == _XmtQCallbackDisplay)
| ^
../Xmt310/Xmt/CallbackCvt.c:418:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
418 | else if ((XrmQuark)proc->argument_types[i] == _XmtQCallbackUnused)
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/Chooser.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] tion -fPIC ../Xmt310/Xmt/Cli.c
../Xmt310/Xmt/Cli.c: In function â??CreatePipesâ??:
../Xmt310/Xmt/Cli.c:839:5: warning: ignoring return value of â??pipeâ?? declared with attribute â??warn_unused_resultâ?? [-Wunused-result]
839 | pipe(w->cli.pipes);
| ^~~~~~~~~~~~~~~~~~
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] on -fPIC ../Xmt310/Xmt/Color.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] PIC ../Xmt310/Xmt/ColorTable.c
../Xmt310/Xmt/ColorTable.c: In function â??XmtRegisterColorâ??:
../Xmt310/Xmt/ColorTable.c:132:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
132 | if (XmtHashTableLookup(ct->table, (XtPointer)symbolq,
| ^
../Xmt310/Xmt/ColorTable.c:136:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
136 | XmtHashTableStore(ct->table, (XtPointer)symbolq,
| ^
../Xmt310/Xmt/ColorTable.c: In function â??XmtLookupColorNameâ??:
../Xmt310/Xmt/ColorTable.c:269:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
269 | if (XmtHashTableLookup(ct->table, (XtPointer)symbolq,
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/ColorTblCvt.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/ContextHelp.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] n -fPIC ../Xmt310/Xmt/Create.c
../Xmt310/Xmt/Create.c: In function â??SetDialogInfoâ??:
../Xmt310/Xmt/Create.c:412:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
412 | if (info->resources[i].resource_name == (String)resourceq) break;
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] n -fPIC ../Xmt310/Xmt/Cursor.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/DECHack.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] n -fPIC ../Xmt310/Xmt/Dialog.c
../Xmt310/Xmt/Dialog.c: In function â??XmtDialogSetDialogValuesâ??:
../Xmt310/Xmt/Dialog.c:108:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
108 | (XrmQuark)d->resources[i].resource_type,
| ^
../Xmt310/Xmt/Dialog.c:113:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
113 | XrmQuarkToString((XrmQuark)d->resources[i].resource_name),
| ^
../Xmt310/Xmt/Dialog.c: In function â??XmtDialogGetDialogValuesâ??:
../Xmt310/Xmt/Dialog.c:152:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
152 | (XrmQuark)d->resources[i].resource_type,
| ^
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] fPIC ../Xmt310/Xmt/DialogPos.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/Dialogs.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/Discard.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/EnumCvt.c
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] -fPIC ../Xmt310/Xmt/FindFile.c
../Xmt310/Xmt/EnumCvt.c: In function â??XmtConvertStringToEnumâ??:
../Xmt310/Xmt/EnumCvt.c:44:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
44 | Cardinal num = (Cardinal)*(XtPointer*)args[3].addr;
| ^
../Xmt310/Xmt/EnumCvt.c: In function â??XmtRegisterEnumConverterâ??:
../Xmt310/Xmt/EnumCvt.c:152:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
152 | args[3].address_id = (XtPointer) num;
| ^
../Xmt310/Xmt/FindFile.c:40:23: error: conflicting types for â??getpwuidâ??; have â??struct passwd *(void)â??
40 | extern struct passwd *getpwuid(), *getpwnam();
| ^~~~~~~~
In file included from ../Xmt310/Xmt/FindFile.c:36:
/usr/include/pwd.h:110:23: note: previous declaration of â??getpwuidâ?? with type â??struct passwd *(__uid_t)â?? {aka â??struct passwd *(unsigned int)â??}
110 | extern struct passwd *getpwuid (__uid_t __uid);
| ^~~~~~~~
../Xmt310/Xmt/FindFile.c:40:36: error: conflicting types for â??getpwnamâ??; have â??struct passwd *(void)â??
40 | extern struct passwd *getpwuid(), *getpwnam();
| ^~~~~~~~
/usr/include/pwd.h:116:23: note: previous declaration of â??getpwnamâ?? with type â??struct passwd *(const char *)â??
116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1));
| ^~~~~~~~
cc -c -DSGE_ARCH_STRING=\"lx-amd64\" -O2 -Wstrict-prototypes [too-long-redacted] IC ../Xmt310/Xmt/FontListCvt.c
../Xmt310/Xmt/FindFile.c: In function â??XmtGetHomeDirâ??:
../Xmt310/Xmt/FindFile.c:72:47: error: too many arguments to function â??getpwnamâ??; expected 0, have 1
72 | if ((home = getenv("USER"))) pw = getpwnam(home);
| ^~~~~~~~ ~~~~
../Xmt310/Xmt/FindFile.c:40:36: note: declared here
40 | extern struct passwd *getpwuid(), *getpwnam();
| ^~~~~~~~
../Xmt310/Xmt/FindFile.c:75:22: error: too many arguments to function â??getpwuidâ??; expected 0, have 1
75 | pw = getpwuid(uid);
| ^~~~~~~~ ~~~
../Xmt310/Xmt/FindFile.c:40:23: note: declared here
40 | extern struct passwd *getpwuid(), *getpwnam();
| ^~~~~~~~
../Xmt310/Xmt/FindFile.c: In function â??DebugPredicateâ??:
../Xmt310/Xmt/FindFile.c:94:16: warning: old-style function definition [-Wold-style-definition]
94 | static Boolean DebugPredicate(path)
| ^~~~~~~~~~~~~~
make[2]: *** [../Xmt310/Xmt/Makefile.aimk:344: FindFile.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/source/3rdparty/qmon/LINUXAMD64'
not done
make[1]: *** [debian/rules:37: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:34: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: