[Bug 731523] New: autogen autoopts are broken
https://bugzilla.novell.com/show_bug.cgi?id=731523 https://bugzilla.novell.com/show_bug.cgi?id=731523#c0 Summary: autogen autoopts are broken Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ldav1s@yahoo.com QAContact: qa@suse.de Found By: Community User Blocker: --- The autoopts feature of autogen that ships with openSUSE 12.1 (5.11.8) isn't usable: $ /usr/bin/autogen -T getopt.tpl test-opt.def Error in template /usr/share/autogen/getopt.tpl, line 389 fserr 2: cannot map data file usage.tlib: No such file or directory This used to work in openSUSE 11.4. Steps to reproduce: 0) install autogen 1) invoke autogen as shown above 2) observe the error message -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c1
--- Comment #1 from Leo Davis
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c2
Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c3
--- Comment #3 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c
biksant liza
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c4
Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c5
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c6
Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c7
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c8
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c9
--- Comment #9 from Bruce Korb
cat >> ${testname}.def <<_EOF_ AutoGen definitions getopt;
prog-name = "test_${testname}"; prog-title = "Test AutoOpts for ${testname}"; test-main = 'yes'; config-header = 'config.h';
So the only answer I know how to give is, "I have no idea." My home platform is openSuSE 12.1 and it certainly doesn't do this for me. So two things: 1. I need more information about the failure. Please try: cd autoopts/test ; make verbose TESTS=getopt.test and send me everything that comes out of that 2. Please do not use any "pre" release as a candidate for your update. Often times I have temporary stuff in them, sometimes even debugging stuff to help puzzle out an issue. Like I might do a pre27 one with stuff in it just to help figure out why you-all are having issues with the getopt.test test. :) Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c10
--- Comment #10 from Philipp Thomas
run_ag> /home/abuild/rpmbuild/BUILD/autogen-5.15/agen5/autogen -L/home/abuild/rpmbuild/BUILD/autogen-5.15/autoopts/tpl -L/home/abuild/rpmbuild/BUILD/autogen-5.15/autoopts/tpl --trace=every '--trace-out=>>getopt-aglog-opts-4684.log' -bgetopt-bn getopt.def AutoGen aborting on signal 15 (Terminated) in state EMITTING
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c11
--- Comment #11 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c12
--- Comment #12 from Philipp Thomas
ag> ldflags=/usr/lib64/libopts.a ag> test -f /usr/lib64/libopts.a ag> die 'Cannot locate libopts.a' die> echo 'Killing AutoGen 8003: Cannot locate libopts.a' Killing AutoGen 8003: Cannot locate libopts.a die> kill -15 8003
And building without --disable-shared makes the test succeed. How to proceed now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c13
--- Comment #13 from Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c14
--- Comment #14 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c15
--- Comment #15 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c16
--- Comment #16 from Bruce Korb
FAILURE: cannot compile vers.c FAIL: vers.test ==================================================== 21 of 24 tests failed Please report to autogen-users@lists.sourceforge.net ====================================================
So do not build it with static libraries disabled until I fix it. It won't be for the next release. Sorry. diff --git a/autoopts/tpl/usage.tlib b/autoopts/tpl/usage.tlib index e3663ce..9137a61 100644 --- a/autoopts/tpl/usage.tlib +++ b/autoopts/tpl/usage.tlib @@ -107,7 +107,7 @@ ENDFOR flag =][= \=] test -z "${top_builddir}" && ldflags='' || \ ldflags=`exec 2>/dev/null - find ${top_builddir}/autoopts -name libopts.a | head -1` + find ${top_builddir}/autoopts -name "libopts*.${OBJEXT}" | head -1` test -f "${ldflags}" || { ldflags='[=(. lib-dir)=]/libopts.a' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c17
--- Comment #17 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c18
Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c19
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c20
--- Comment #20 from Philipp Thomas
compile_getopt> failure 'could not generate getopt-test_getopt.c'
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c21
--- Comment #21 from Bruce Korb
ag> cd /abuild/pth/autogen/12.1/autogen-5.13/autoopts/test/testdir ag> test -z /abuild/pth/autogen/12.1/autogen-5.13
ag> exec ag> ldflags= ag> test -f ''
That tells me that this code:
test -z "${top_builddir}" && ldflags='' || \ ldflags=`exec 2>/dev/null find ${top_builddir}/autoopts -name "libopts*.${OBJEXT}" | head -1`
failed to find any file with the name "libopts*.o". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c22
--- Comment #22 from Bruce Korb
https://bugzilla.novell.com/show_bug.cgi?id=731523
https://bugzilla.novell.com/show_bug.cgi?id=731523#c23
Philipp Thomas
participants (1)
-
bugzilla_noreply@novell.com