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

Bug 220211

Summary: sci-misc/nco-3.9.2 fails to compile
Product: Gentoo Linux Reporter: Xavian-Anderson Macpherson <Shingoshi>
Component: [OLD] DevelopmentAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: nco-3.9.2-emergeinfo_buildlog-2008.05.04_03:15:43.lzma

Description Xavian-Anderson Macpherson 2008-05-04 10:20:30 UTC
nco won't complete compilation.

Reproducible: Always

Steps to Reproduce:
1. emerge -a nco
Actual Results:  
if mpicc -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -pipe -march=opteron -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -MT ncwa.o -MD -MP -MF ".deps/ncwa.Tpo" -c -o ncwa.o ncwa.c; \
	then mv -f ".deps/ncwa.Tpo" ".deps/ncwa.Po"; else rm -f ".deps/ncwa.Tpo"; exit 1; fi
 mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -pipe -march=opteron -std=c99 -D_BSD_SOURCE -D_POSIX_SOURCE -MT nco_var_rth.lo -MD -MP -MF .deps/nco_var_rth.Tpo -c nco_var_rth.c -o nco_var_rth.o >/dev/null 2>&1
mpncra.c: In function ‘main’:
mpncra.c:1207: error: too few arguments to function ‘nco_cnv_arm_time_install’
make[3]: *** [mpncra.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sci-misc/nco-3.9.2/work/nco-3.9.2/src/nco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-misc/nco-3.9.2/work/nco-3.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-misc/nco-3.9.2/work/nco-3.9.2'
make: *** [all] Error 2
 * 
 * ERROR: sci-misc/nco-3.9.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  227:  Called die

Expected Results:  
Installation
Comment 1 Xavian-Anderson Macpherson 2008-05-04 10:22:37 UTC
Created attachment 151783 [details]
nco-3.9.2-emergeinfo_buildlog-2008.05.04_03:15:43.lzma

unlzma this file.
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-05-04 16:16:34 UTC
Thanks for your bug report. This looks like an mpi
problem. I've bumped nco to 3.9.4 in portage which
works fine for me using openmpi. Please give it a
shot and re-open should the problem persist.

BTW, next time please post your attachments in plain 
text unless they are huge (more than a few hundred kB 
or so).

Thanks,
Markus
Comment 3 Xavian-Anderson Macpherson 2008-05-05 01:17:51 UTC
(In reply to comment #2)
> Thanks for your bug report. This looks like an mpi
> problem. I've bumped nco to 3.9.4 in portage which
> works fine for me using openmpi. Please give it a
> shot and re-open should the problem persist.
> 
> BTW, next time please post your attachments in plain 
> text unless they are huge (more than a few hundred kB 
> or so).
> 
> Thanks,
> Markus
> 

Hi Markus,
Please understand that due the large volume and frequency of my submitting bug reports, I created a script which automatically performs this function for me. It is as much for my own interest and the process of transmission and storage, that they are compressed using lzma. I think it's a simple thing to run unlzma or lzcat on these files.

Shingoshi
Comment 4 Xavian-Anderson Macpherson 2008-05-05 05:38:20 UTC
Thanks! Excellent job. I'll look forward to working with you in the future. Hopefully not for bugs though.

Shingoshi
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-05-05 12:53:45 UTC
(In reply to comment #3)
> I think it's a simple thing to run unlzma
> or lzcat on these files.

Only if I am at a full fledged box with these tools
installed. Not infrequently, I have to rely on a browser
only to do initial bug screenings and suggest things to
try. I won't be able to help in a timely manner in cases 
where important information is submitted in non-ASCII format.
Why don't you adjust your script to submit things as plain
text if their size doesn't exceed a certain limit?


Thanks again for your help.

cheers,
Markus 
Comment 6 Xavian-Anderson Macpherson 2008-05-05 14:22:39 UTC
I keep thinking that everyone spends their days like me, sitting in front of their own computer. I'll try and figure out how to determine the size of the file, and if it exceeds a certain value, then I'll compress it. Otherwise, I'll leave them in plain-text (as default).

Shingoshi