Bug 129631

Summary: databases/Memcached threading support broken
Product: Ports & Packages Reporter: Artemiev Igor <ai>
Component: Individual Port(s)Assignee: Marcus Alves Grando <mnag>
Status: Closed FIXED    
Severity: Affects Only Me CC: mnag
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Artemiev Igor 2008-12-14 11:40:01 UTC
    Broken thread support with configure --enable-threads. After install the port "memcached -h" output didn`t show -t switch (thread number)

    With configure script patch memcached core dumped after setting thread number.

Fix: configure thread support fix:

    
Segmentation fault fix:
    
How-To-Repeat:     Put into /usr/ports/databases/memcached/Makefile.local:
    CONFIGURE_ARGS+= --enable-threads

    Then:

    make -C /usr/ports/databases/memcached configure
    ...
    checking for socklen_t... yes
    checking for endianness... little
    test: x: unexpected operator
    checking for mlockall... yes
    ...
    
    After fix this error:

    memcached -t8 -u root
    Segmentation fault (core dumped)
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2008-12-14 14:39:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2008-12-14 14:40:46 UTC
Responsible Changed
From-To: amdmi3->mnag

Oops, took the wrong one. Reassign to maintainer.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-27 10:24:06 UTC
mnag        2009-01-27 10:23:43 UTC

  FreeBSD ports repository

  Modified files:
    databases/memcached  Makefile distinfo 
  Added files:
    databases/memcached/files patch-configure patch-thread.c 
  Log:
  - Fix thread support [1]
  - Fix repcached on amd64 updating to repcached 2.2 [2]
  - Bump PORTREVISION
  
  PR:             129631 [1], 129767 [2]
  Submitted by:   Artemiev Igor <ai___kliksys.ru> [1],
                  Maxim Dounin <mdounin___mdounin.ru> [2]
  
  Revision  Changes    Path
  1.30      +4 -1      ports/databases/memcached/Makefile
  1.15      +3 -3      ports/databases/memcached/distinfo
  1.1       +29 -0     ports/databases/memcached/files/patch-configure (new)
  1.1       +10 -0     ports/databases/memcached/files/patch-thread.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Marcus Alves Grando freebsd_committer freebsd_triage 2009-01-27 10:24:23 UTC
State Changed
From-To: open->closed

Committed. Thanks!