Bug 129631 - databases/Memcached threading support broken
Summary: databases/Memcached threading support broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-14 11:40 UTC by Artemiev Igor
Modified: 2009-01-27 10:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (465 bytes, patch)
2008-12-14 11:40 UTC, Artemiev Igor
no flags Details | Diff
file.diff (342 bytes, patch)
2008-12-14 11:40 UTC, Artemiev Igor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!