https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7524

            Bug ID: 7524
           Summary: spamc.c getopt is not working on RHEL/CentOS 7.4
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Regression Tests
          Assignee: dev@spamassassin.apache.org
          Reporter: kmcgr...@apache.org
  Target Milestone: Undefined

I believe there are some issues with getopt and spamc.

For example, t/spamc_bug6196.t fails
Error in argument 7 : option not found --username=ignore_-F_switch

Changing --username= to short -u allows the test to work.

Testing on older boxes works fine.


Similar tests that fail:

t/spamc_headers.t               (Wstat: 0 Tests: 5 Failed: 5)
  Failed tests:  1-5

Error in argument 7 : option not found --connect-retries
--headers is seen as unknown option

t/spamc_x_E_R.t                 (Wstat: 0 Tests: 49 Failed: 2)
  Failed tests:  32-33
Error in argument 7 : option not found --connect-retries

--connect-retries is seen as unknown option

Testing 3.4.1 on the same box passes

Digging further, I think this is the issue
https://svn.apache.org/viewvc/spamassassin/branches/3.4/spamc/getopt.c?r1=1804327&r2=1816710

It appears that the patch to spamc files didn't trigger a rebuild so my
previous regression test passed.

Reverting those patches

Trunk: 
Committed revision 1816708.
3.4:
Committed revision 1816710.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to