Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58590

Summary: dev-util/darcs-0.9.22 works on amd64
Product: Gentoo Linux Reporter: Gabriel Ebner <ge>
Component: [OLD] DevelopmentAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: kosmikus
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 58588, 66156    
Bug Blocks:    
Attachments: dev-lang/ghc-deb-6.2.1-r1

Description Gabriel Ebner 2004-07-27 15:02:18 UTC
Please add ~amd64 to the keywords of dev-util/darcs-0.9.22

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2004-07-27 19:25:03 UTC
You have filed all these bugs, but where are the ebuilds?

In the case of darcs, it's dependent on virtual/ghc which means ghc-bin (at least) which bails out on the configure script.  From there, we can either use ghc-bin or bootstrap ghc.  Did you do this?  And if so, show your work.

But don't file a ton of empty bug reports stating things work without saying how you've made them work, or how they've been tested.  These bugs are not helpful.
Comment 2 Gabriel Ebner 2004-07-28 07:50:51 UTC
> You have filed all these bugs, but where are the ebuilds?

In portage (my ghc ebuild is in bugzilla).

> Did you do this?

Yep, how could I have tested darcs otherwise?

> And if so, show your work.

Ok, just submitted a shell script in the ghc bug.

> or how they've been tested. 

Well, ghc can compile working haskell binaries and darcs pulls, pushes, and records happily (what a revision control system normally does).  Should I really state that?
Comment 3 Gabriel Ebner 2004-09-06 06:13:11 UTC
Created attachment 39043 [details]
dev-lang/ghc-deb-6.2.1-r1
Comment 4 Gabriel Ebner 2004-09-06 06:13:54 UTC
Comment on attachment 39043 [details]
dev-lang/ghc-deb-6.2.1-r1

Something went wrong..
Comment 5 Tom Martin (RETIRED) gentoo-dev 2004-10-27 03:37:09 UTC
Working now - in CVS. Thanks.
Comment 6 Tom Martin (RETIRED) gentoo-dev 2004-10-27 05:03:02 UTC
Reopening, I missed the wxwindows conditional dependency because it wasn't in IUSE for darcs. Darcs was working, however wxwindows is broken.
Comment 7 Gour 2004-11-02 01:01:29 UTC
Hi!

darcs-1.0.0_rc3 (pulled latest patches from darcs repo) works on my 3000+ amd64.

Pls. add "~amd64" to the keywords.

Sincerely,
Gour
Comment 8 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-25 09:17:41 UTC
dev-haskell/wxhaskell-0.8 which is dep of darcs has some -fPIC issues:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: out/wxc/ewxw_main.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
out/wxc/ewxw_main.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

I'll work on it today
Comment 9 Andres Loeh (RETIRED) gentoo-dev 2004-11-25 13:50:42 UTC
I've removed the wxhaskell dependency from darcs, and
also fixed wxhaskell on amd64.

Closing again. Please reopen if there are still problems.

ks
Comment 10 Gour 2004-11-26 02:53:48 UTC
Hi!

Did a fresh sync and tried to emerge wxhaskell, but it does not work (amd64):

gaura-nitai src # emerge -v wxhaskell
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-haskell/wxhaskell-0.8-r1 to /
>>> md5 src_uri ;-) wxhaskell-src-0.8.zip
>>> Unpacking source...
>>> Unpacking wxhaskell-src-0.8.zip to /var/tmp/portage/wxhaskell-0.8-r1/work
>>> Source unpacked.
gtk2
 * Using /usr/bin/wxgtk2-2.4-config
checking system:
 wx-config found
 ghc found
 ghc-pkg found
 haddock found
 install program found

creating configuration files:
 config
 config/config.mk
 config/wxcore.pkg
 config/wx.pkg
 config/wxhaskell-register.bat
 config/wxhaskell-unregister.bat
 config/setcd
 config/macosx-install.info
 config/macosx-postinstall
 config/macosx-app
 config/wxhaskell.spec
 config/prologue.txt
 config/cache.txt

configuration:
 library:     wxhaskell-0.8  (release 0)
 compiler:    ghc-6.2.2
 wxwidgets:   gtk-2.4.2
 with openGL: yes
 library dir: /var/tmp/portage/wxhaskell-0.8-r1/image////usr/lib/ghc-6.2.2

done:
 type 'make' to build wxhaskell.
 type 'make install' to install wxhaskell.
 type 'make help' to receive help on all other make targets

c++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD -O2 -m32 -fPIC -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iwxc/include
In file included from /usr/include/wx/memory.h:20,
                 from /usr/include/wx/object.h:25,
                 from /usr/include/wx/wx.h:16,
                 from wxc/include/wrapper.h:8,
                 from wxc/src/ewxw_main.cpp:1:
/usr/include/wx/string.h:443: error: `wxChar wxString::operator[](unsigned int)const' and `wxChar wxString::operator[](size_t) const' cannot be overloaded
/usr/include/wx/string.h:447: error: `wxChar& wxString::operator[](unsigned int)' and `wxChar& wxString::operator[](size_t)' cannot be overloaded
make: *** [out/wxc/ewxw_main.o] Error 1

!!! ERROR: dev-haskell/wxhaskell-0.8-r1 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Pls. excuse me for just reporting bugs :-( but I'd like to learn & use Haskell as a general programming language on amd64 platform :-)

Sincerely,
Gour

ps. no permission to re-open the bug
Comment 11 Andres Loeh (RETIRED) gentoo-dev 2004-11-26 03:25:35 UTC
See comments in the other bug #72538. This has nothing to do with darcs, btw.

ks