Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 151224
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris Gianelloni (RETIRED) <wolf31o2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roy Marples (RETIRED) <uberlord@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
x Force linking against openal and pthreads patch Roy Marples (RETIRED) 2006-10-13 13:38 0000 1.07 KB Details | Diff
attachment.cgi?id=99591 openal-pthread.patch patch Timothy Redaelli 2006-10-14 03:06 0000 1.06 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 151224 depends on: Show dependency tree
Bug 151224 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-13 13:36 0000
And as such fails to emerge. Patch to follow

------- Comment #1 From Roy Marples (RETIRED) 2006-10-13 13:38:24 0000 -------
Created an attachment (id=99591) [details]
Force linking against openal and pthreads

------- Comment #2 From Timothy Redaelli 2006-10-14 03:06:57 0000 -------
Created an attachment (id=99642) [details]
openal-pthread.patch

It`s better to use -pthread instead of -lpthread

------- Comment #3 From Chris Gianelloni (RETIRED) 2006-10-17 08:07:24 0000 -------
Did anyone test this on Linux after these changes?  It dies for me.

inertia ~ # emerge --oneshot freealut
Calculating dependencies... done!

>>> Emerging (1 of 1) media-libs/freealut-1.1.0 to /
 * freealut-1.1.0.tar.gz MD5 ;-) ...                                      [ ok
]
 * freealut-1.1.0.tar.gz RMD160 ;-) ...                                   [ ok
]
 * freealut-1.1.0.tar.gz SHA1 ;-) ...                                     [ ok
]
 * freealut-1.1.0.tar.gz SHA256 ;-) ...                                   [ ok
]
 * freealut-1.1.0.tar.gz size ;-) ...                                     [ ok
]
>>> Unpacking source...
>>> Unpacking freealut-1.1.0.tar.gz to /var/tmp/portage/media-libs/freealut-1.1.0/work
 * Running eautoreconf in
'/var/tmp/portage/media-libs/freealut-1.1.0/work/freealut-1.1.0' ...
 * Running aclocal -I
/var/tmp/portage/media-libs/freealut-1.1.0/work/freealut-1.1.0/admin/autotools/m4
...                                               [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok
]
 * Running aclocal -I
/var/tmp/portage/media-libs/freealut-1.1.0/work/freealut-1.1.0/admin/autotools/m4
...                                               [ ok ]
 * Running autoconf ...                                                   [ ok
]
 * Running autoheader ...                                                 [ ok
]
 * Running automake --add-missing --copy ...                              [ !!
]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-libs/freealut-1.1.0/temp/automake-28040.out


!!! ERROR: media-libs/freealut-1.1.0 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  freealut-1.1.0.ebuild, line 25:   Called eautoreconf
  autotools.eclass, line 83:   Called eautomake
  autotools.eclass, line 184:   Called autotools_run_tool 'automake'
'--add-missing' '--copy'
  autotools.eclass, line 235:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if
relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2006-10-17 08:11:56 0000 -------
Can you paste the content of that file?

------- Comment #5 From Chris Gianelloni (RETIRED) 2006-10-17 09:21:14 0000 -------
Yeah, I guess that would have made some sense, huh?

***** automake *****

src/Makefile.am:23: linker flags such as `-pthread' belong in
`libalut_la_LDFLAGS

------- Comment #6 From Roy Marples (RETIRED) 2006-10-26 05:00:53 0000 -------
Using -pthread and putting it in libalut_la_LDFLAGS works on linux, but causes
the original error on bsd.

My first patch works fine, and compiles on both.

------- Comment #7 From Chris Gianelloni (RETIRED) 2006-10-26 08:33:15 0000 -------
So it does... changed in CVS... thanks for the patch, Roy!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug