First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 203721
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: jon R-B <jon.roadleybattin@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ghdl-0.26.ebuild sci-electronics/ghdl-0.26.ebuild text/plain jon R-B 2007-12-29 22:27 0000 2.27 KB Details
ghdl-0.26.ebuild sci-electronics/ghdl-0.26.ebuild text/plain jon R-B 2007-12-29 22:37 0000 2.28 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2007-12-29 22:26 0000
ghdl-0.26 will not compile on an amd64 (multilib) setup

ebuild sci-electronics/ghdl-0.24 has a section within src_unpack()  that setups
the build environment (right terminology?) so it works on a multilib amd64
setup

adding :

        # For multilib profile arch, reference from SpanKY's ebuilds.
        if (has_multilib_profile || use multilib ) ; then
                for T_LINUX64 in `find "${S}/gcc/config" -name t-linux64` ;
                do
                        einfo "sed for ${T_LINUX64} for multilib. :)"
                        sed -i \
                                -e "s:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64
../lib32:" \
                                "${T_LINUX64}" \
                        || die "sed for ${T_LINUX64} failed. :("
                done
        fi

to src_unpack() & a IUSE for multilib allows ghdl-0.26 to compile on an amd64
setup

a hello_world (vhdl style) has been tested and works

use std.textio.all; --  Imports the standard textio package.

--  Defines a design entity, without any ports.
entity hello_world is
end hello_world;

architecture behaviour of hello_world is
begin
    process
        variable l : line;
    begin
        write (l, String'("Hello world!"));
        writeline (output, l);
        wait;
    end process;
end behaviour;

ghdl -a hello.vhdl
ghdl -e hello_world
./hello_world








Reproducible: Always

------- Comment #1 From jon R-B 2007-12-29 22:27:56 0000 -------
Created an attachment (id=139587) [edit]
sci-electronics/ghdl-0.26.ebuild

ebuild with modification (akin to ghdl-0.24 ebuild that is in bugzilla)

------- Comment #2 From Jakub Moc (RETIRED) 2007-12-29 22:30:30 0000 -------
This is not keyworded for amd64 at all...

------- Comment #3 From jon R-B 2007-12-29 22:36:51 0000 -------
yer just noticed that once I reviewed it
I had added sci-electronics/ghdl ** to py /etc/portage/package.keywords when I
initially tried to install this

corrected

------- Comment #4 From jon R-B 2007-12-29 22:37:46 0000 -------
Created an attachment (id=139589) [edit]
sci-electronics/ghdl-0.26.ebuild

corrected missing keyword

------- Comment #5 From Denis Dupeyron 2008-02-09 19:08:58 0000 -------
Fixed. Next time it would be best to CC the sci-electronics herd as I only
found out about this bug while googling for something else. You can thank
Google for spying so much on my internet usage that it returns me open Gentoo
bugs whatever I search for. Scary.

Denis.

------- Comment #6 From jon R-B 2008-02-09 20:25:48 0000 -------
ahhh yer, didn't think about that
but thanks for amd64-ing this package (means I can now remove it from my local
overlay)

First Last Prev Next    No search results available      Search page      Enter new bug