Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259943 - sci-astronomy/ds9-5.5 fails to build
Summary: sci-astronomy/ds9-5.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 21:40 UTC by Thomas Juerges
Modified: 2009-02-25 17:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info on Gentoo 2008.0 PowerPc (emerge.info.txt,4.51 KB, text/plain)
2009-02-24 18:53 UTC, Thomas Juerges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Juerges 2009-02-22 21:40:59 UTC
The above mentioned ebuild fails to compile build successfully due to missing symbols in linked in libraries from the sci-astronomy/ast package.  I installed sci-libs/pgplot and rebuilt ast and ds9 but to no avail.  Since ds9 fails to build, but ast does not, I am filing this bug under ds9.  If in fact it is a bug in ast, please reassign/relabel. 

The missing symbols are highlighted here:

g++ -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -Wl,-O1 \
-o ds9Base ds9.o tkAppInit.o  ../lib/libsaotk.a ../lib/libtkhtml.a ../lib/libtkmpeg.a ../lib/librice.a ../lib/libhcomp.a ../lib/libplio.a ../lib/libsaotk.a ../lib/libsla.a ../lib/libiis.a ../lib/libcheckdns.a \
-L -lX11 \
-ldl -lpthread \
-ltk -ltcl -lBLT24 \
-lfuntools `pkg-config --libs wcstools` -lz \
`ast_link`
/usr/lib/libast_pgplot.so.0: undefined reference to `pgsls_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `grsymk_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqlw_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqtxt_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `grsyxd_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `pgqclp_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqwin_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `pgswin_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqch_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqci_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqcf_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `grsyds_'
/usr/lib/libast_ems.so.0: undefined reference to `emsRep'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgsch_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgline_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgslw_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqvsz_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgscf_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqls_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `pgsclp_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgstbg_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pglen_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgptxt_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgupdt_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqcs_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqtbg_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgpt_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `pgpoly_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgqvp_'
/usr/lib/libast_pgplot.so.0: undefined reference to `pgsci_'
/usr/lib/libast_pgplot3d.so.0: undefined reference to `pgqid_'
collect2: ld returned 1 exit status
make[1]: *** [ds9Base] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/ds9-5.5/work/saods9/ds9'
make: *** [ds9] Error 2
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2009-02-24 16:31:36 UTC
Where's your emerge --info?
Comment 2 Thomas Juerges 2009-02-24 18:53:30 UTC
Created attachment 183046 [details]
emerge --info on Gentoo 2008.0 PowerPc
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-25 10:04:12 UTC
Hi,

Could you try with sci-astronomy/ast-4.6.2-r2?

Thanks.
Comment 4 Adrian Bassett 2009-02-25 16:58:01 UTC
(In reply to comment #3)
> Hi,
> 
> Could you try with sci-astronomy/ast-4.6.2-r2?
> 
> Thanks.
> 
I found the same problem as the original reporter and can confirm that ds9 now builds with sci-astronomy/ast-4.6.2-r2.  However, it fails to run:

Error in startup script: can't find package BLT
    while executing
"package require BLT"
    invoked from within
"if {![catch {package present checkdns}]} {
    set ds9(root) "/usr/share/ds9"

    package require msgcat
    package require http
    package require..."
    (file "/usr/share/ds9/src/ds9.tcl" line 227)

but blt is installed:

[ebuild   R   ] dev-tcltk/blt-2.4z-r4

so I don't know what the problem might be.

Thanks.


Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-25 17:10:58 UTC
> I found the same problem as the original reporter and can confirm that ds9 now
> builds with sci-astronomy/ast-4.6.2-r2. 

This is fixed then, thanks.

> Error in startup script: can't find package BLT
[...]
> [ebuild   R   ] dev-tcltk/blt-2.4z-r4

This is bug #259338 that I filed sometime ago. Install blt-2.4z-r1, mask blt-2.4z-r4 and you should be fine.