Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25105 closed defect (fixed)

msieve-1.42 build fails

Reported by: fbuetow@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: msieve

Description

msieve port build fails

Here is the debuging output I get when installing the port, it seems that some code is broken inside the port but I really can't tell.

 sudo port -d install msieve
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/math/msieve
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/msieve
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port msieve.
DEBUG: Requested variant i386 is not provided by port msieve.
DEBUG: Requested variant macosx is not provided by port msieve.
DEBUG: Executing variant darwin_i386 provides darwin_i386
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gmp 5.0.1_0 exists in the ports tree
DEBUG: gmp 5.0.1_0  is the latest installed
DEBUG: gmp 5.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gmp.
DEBUG: Requested variant i386 is not provided by port gmp.
DEBUG: Requested variant macosx is not provided by port gmp.
DEBUG: No need to upgrade! gmp 5.0.1_0 >= gmp 5.0.1_0
--->  Computing dependencies for msieve
DEBUG: Searching for dependency: gmp
DEBUG: Found Dependency: receipt exists for gmp
DEBUG: Executing org.macports.main (msieve)
DEBUG: Skipping completed org.macports.fetch (msieve)
DEBUG: Skipping completed org.macports.checksum (msieve)
DEBUG: Skipping completed org.macports.extract (msieve)
DEBUG: Skipping completed org.macports.patch (msieve)
DEBUG: Skipping completed org.macports.configure (msieve)
--->  Building msieve
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (msieve)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_msieve/work/msieve-1.42" && /usr/bin/make -j2 x86_64 GMP=1 OPT_FLAGS="-O3 -fomit-frame-pointer -m64 -DNDEBUG" LDFLAGS=-L/opt/local/lib'
gcc -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -m64 -DNDEBUG  -Wall -W -Wconversion -I. -Iinclude -Ignfs/poly -DHAVE_GMP -Ignfs -c -o gnfs/poly/poly_skew.no gnfs/poly/poly_skew.c
gcc -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -m64 -DNDEBUG  -Wall -W -Wconversion -I. -Iinclude -Ignfs/poly -DHAVE_GMP -Ignfs -c -o gnfs/poly/stage1/stage1.no gnfs/poly/stage1/stage1.c
In file included from gnfs/poly/poly_skew.h:18,
                 from gnfs/poly/stage1/stage1.h:18,
                 from gnfs/poly/stage1/stage1.c:15:
include/gmp_xface.h:21:17: error: gmp.h: No such file or directory
In file included from gnfs/poly/poly_skew.h:18,
                 from gnfs/poly/stage1/stage1.h:18,
                 from gnfs/poly/stage1/stage1.c:15:
include/gmp_xface.h:34: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'mp2gmp':
include/gmp_xface.h:36: warning: implicit declaration of function 'mpz_import'
include/gmp_xface.h:36: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:36: error: (Each undeclared identifier is reported only once
include/gmp_xface.h:36: error: for each function it appears in.)
include/gmp_xface.h: At top level:
include/gmp_xface.h:41: error: expected ')' before 'src'
include/gmp_xface.h:52: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'uint64_2gmp':
include/gmp_xface.h:59: warning: implicit declaration of function 'mpz_set_ui'
include/gmp_xface.h:59: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:60: warning: implicit declaration of function 'mpz_mul_2exp'
include/gmp_xface.h:61: warning: implicit declaration of function 'mpz_add_ui'
include/gmp_xface.h: At top level:
include/gmp_xface.h:66: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'int64_2gmp':
include/gmp_xface.h:69: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:69: error: too many arguments to function 'uint64_2gmp'
include/gmp_xface.h:70: warning: implicit declaration of function 'mpz_neg'
include/gmp_xface.h:73: error: too many arguments to function 'uint64_2gmp'
include/gmp_xface.h: At top level:
include/gmp_xface.h:78: error: expected ')' before 'src'
include/gmp_xface.h:90: error: expected ')' before 'src'
In file included from gnfs/poly/poly_skew.h:18,
                 from gnfs/poly/poly_skew.c:15:
include/gmp_xface.h:21:17: error: gmp.h: No such file or directory
In file included from gnfs/poly/poly_skew.h:18,
                 from gnfs/poly/poly_skew.c:15:
include/gmp_xface.h:34: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'mp2gmp':
include/gmp_xface.h:36: warning: implicit declaration of function 'mpz_import'
include/gmp_xface.h:36: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:36: error: (Each undeclared identifier is reported only once
include/gmp_xface.h:36: error: for each function it appears in.)
include/gmp_xface.h: At top level:
include/gmp_xface.h:41: error: expected ')' before 'src'
include/gmp_xface.h:52: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'uint64_2gmp':
include/gmp_xface.h:59: warning: implicit declaration of function 'mpz_set_ui'
include/gmp_xface.h:59: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:60: warning: implicit declaration of function 'mpz_mul_2exp'
include/gmp_xface.h:61: warning: implicit declaration of function 'mpz_add_ui'
include/gmp_xface.h: At top level:
include/gmp_xface.h:66: error: expected declaration specifiers or '...' before 'mpz_t'
include/gmp_xface.h: In function 'int64_2gmp':
include/gmp_xface.h:69: error: 'dest' undeclared (first use in this function)
include/gmp_xface.h:69: error: too many arguments to function 'uint64_2gmp'
include/gmp_xface.h:70: warning: implicit declaration of function 'mpz_neg'
include/gmp_xface.h:73: error: too many arguments to function 'uint64_2gmp'
include/gmp_xface.h: At top level:
include/gmp_xface.h:78: error: expected ')' before 'src'
include/gmp_xface.h:90: error: expected ')' before 'src'
In file included from gnfs/poly/stage1/stage1.h:18,
                 from gnfs/poly/stage1/stage1.c:15:
gnfs/poly/poly_skew.h:27: error: expected ')' before 'high_coeff'
gnfs/poly/poly_skew.h:31: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/poly_skew.h:42: error: expected declaration specifiers or '...' before 'stage1_callback_t'
gnfs/poly/poly_skew.h:49: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:49: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:54: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/poly_skew.h:71: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:71: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:72: error: expected declaration specifiers or '...' before 'mpz_t'
In file included from gnfs/poly/stage1/stage1.c:15:
gnfs/poly/stage1/stage1.h:31: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/stage1/stage1.h:48: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/stage1/stage1.h:65: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/stage1/stage1.h:114: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/stage1/stage1.h:146: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/stage1/stage1.c:58: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/stage1/stage1.c: In function 'p_batch_add':
gnfs/poly/stage1/stage1.c:110: warning: implicit declaration of function 'gmp2uint64'
gnfs/poly/stage1/stage1.c:110: error: 'roots' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c: In function 'stage1_bounds_init':
gnfs/poly/stage1/stage1.c:118: warning: implicit declaration of function 'mpz_init_set'
gnfs/poly/stage1/stage1.c:118: error: 'bounds_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:119: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:120: error: 'bounds_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c:121: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c:122: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:122: error: 'poly_stage1_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c: In function 'stage1_bounds_free':
gnfs/poly/stage1/stage1.c:129: warning: implicit declaration of function 'mpz_clear'
gnfs/poly/stage1/stage1.c:129: error: 'bounds_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:130: error: 'bounds_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c: In function 'stage1_bounds_update':
gnfs/poly/stage1/stage1.c:143: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:144: error: 'bounds_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:144: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:149: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:150: error: 'bounds_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:150: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:155: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:156: error: 'bounds_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:156: error: 'bounds_t' has no member named 'norm_max'
gnfs/poly/stage1/stage1.c:164: error: 'bounds_t' has no member named 'p_size_max'
gnfs/poly/stage1/stage1.c:164: error: 'bounds_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c: In function 'poly_batch_init':
gnfs/poly/stage1/stage1.c:174: warning: implicit declaration of function 'mpz_init'
gnfs/poly/stage1/stage1.c:174: error: 'struct <anonymous>' has no member named 'high_coeff'
gnfs/poly/stage1/stage1.c:175: error: 'struct <anonymous>' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:176: error: 'struct <anonymous>' has no member named 'trans_m0'
gnfs/poly/stage1/stage1.c:179: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:179: error: 'poly_stage1_t' has no member named 'gmp_N'
gnfs/poly/stage1/stage1.c:180: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:181: error: 'poly_batch_t' has no member named 'p'
gnfs/poly/stage1/stage1.c:182: error: 'poly_batch_t' has no member named 'tmp1'
gnfs/poly/stage1/stage1.c:183: error: 'poly_batch_t' has no member named 'tmp2'
gnfs/poly/stage1/stage1.c:184: error: 'poly_batch_t' has no member named 'tmp3'
gnfs/poly/stage1/stage1.c:185: error: 'poly_batch_t' has no member named 'tmp4'
gnfs/poly/stage1/stage1.c:186: error: 'poly_batch_t' has no member named 'tmp5'
gnfs/poly/stage1/stage1.c:188: error: 'poly_batch_t' has no member named 'degree'
gnfs/poly/stage1/stage1.c:188: error: 'poly_stage1_t' has no member named 'degree'
gnfs/poly/stage1/stage1.c:189: error: 'poly_batch_t' has no member named 'callback'
gnfs/poly/stage1/stage1.c:189: error: 'poly_stage1_t' has no member named 'callback'
gnfs/poly/stage1/stage1.c:190: error: 'poly_batch_t' has no member named 'callback_data'
gnfs/poly/stage1/stage1.c:190: error: 'poly_stage1_t' has no member named 'callback_data'
gnfs/poly/stage1/stage1.c: In function 'poly_batch_free':
gnfs/poly/stage1/stage1.c:200: error: 'struct <anonymous>' has no member named 'high_coeff'
gnfs/poly/stage1/stage1.c:201: error: 'struct <anonymous>' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:202: error: 'struct <anonymous>' has no member named 'trans_m0'
gnfs/poly/stage1/stage1.c:205: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:206: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:207: error: 'poly_batch_t' has no member named 'p'
gnfs/poly/stage1/stage1.c:208: error: 'poly_batch_t' has no member named 'tmp1'
gnfs/poly/stage1/stage1.c:209: error: 'poly_batch_t' has no member named 'tmp2'
gnfs/poly/stage1/stage1.c:210: error: 'poly_batch_t' has no member named 'tmp3'
gnfs/poly/stage1/stage1.c:211: error: 'poly_batch_t' has no member named 'tmp4'
gnfs/poly/stage1/stage1.c:212: error: 'poly_batch_t' has no member named 'tmp5'
gnfs/poly/stage1/stage1.c: In function 'search_coeffs_core':
gnfs/poly/stage1/stage1.c:221: error: 'poly_batch_t' has no member named 'degree'
gnfs/poly/stage1/stage1.c:232: warning: implicit declaration of function 'mpz_mul_ui'
gnfs/poly/stage1/stage1.c:232: error: 'curr_poly_t' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:232: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:232: error: 'mp_limb_t' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:232: error: expected ')' before 'mult'
gnfs/poly/stage1/stage1.c:234: warning: implicit declaration of function 'mpz_mul'
gnfs/poly/stage1/stage1.c:234: error: 'curr_poly_t' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:234: error: 'curr_poly_t' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:234: error: 'curr_poly_t' has no member named 'high_coeff'
gnfs/poly/stage1/stage1.c:236: warning: implicit declaration of function 'mpz_root'
gnfs/poly/stage1/stage1.c:236: error: 'curr_poly_t' has no member named 'trans_m0'
gnfs/poly/stage1/stage1.c:236: error: 'curr_poly_t' has no member named 'trans_N'
gnfs/poly/stage1/stage1.c:236: error: expected ')' before 'degree'
gnfs/poly/stage1/stage1.c:237: warning: implicit declaration of function 'mpz_tdiv_q'
gnfs/poly/stage1/stage1.c:237: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:237: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:237: error: 'curr_poly_t' has no member named 'high_coeff'
gnfs/poly/stage1/stage1.c:238: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:238: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:238: error: expected ')' before 'degree'
gnfs/poly/stage1/stage1.c:240: error: 'curr_poly_t' has no member named 'sieve_size'
gnfs/poly/stage1/stage1.c:240: error: 'curr_poly_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:240: warning: implicit declaration of function 'mpz_get_d'
gnfs/poly/stage1/stage1.c:240: error: 'poly_batch_t' has no member named 'm0'
gnfs/poly/stage1/stage1.c:241: error: 'curr_poly_t' has no member named 'p_size_max'
gnfs/poly/stage1/stage1.c:241: error: 'curr_poly_t' has no member named 'p_size_max'
gnfs/poly/stage1/stage1.c: In function 'search_coeffs':
gnfs/poly/stage1/stage1.c:269: error: 'mpz_t' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:269: error: expected ';' before 'curr_high_coeff'
gnfs/poly/stage1/stage1.c:270: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:271: warning: implicit declaration of function 'mpz_sizeinbase'
gnfs/poly/stage1/stage1.c:271: error: 'poly_batch_t' has no member named 'N'
gnfs/poly/stage1/stage1.c:275: error: 'curr_high_coeff' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:276: warning: implicit declaration of function 'mpz_fdiv_q_ui'
gnfs/poly/stage1/stage1.c:277: error: 'bounds_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:278: error: 'mp_limb_t' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:278: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:280: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:281: warning: implicit declaration of function 'mpz_cmp'
gnfs/poly/stage1/stage1.c:282: error: 'bounds_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:284: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:287: warning: implicit declaration of function 'mpz_cmp_ui'
gnfs/poly/stage1/stage1.c:287: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:294: error: 'bounds_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c:302: error: 'poly_batch_t' has no member named 'degree'
gnfs/poly/stage1/stage1.c:302: warning: passing argument 3 of 'stage1_bounds_update' as floating rather than integer due to prototype
gnfs/poly/stage1/stage1.c:303: warning: implicit declaration of function 'mpz_set'
gnfs/poly/stage1/stage1.c:303: error: 'curr_poly_t' has no member named 'high_coeff'
gnfs/poly/stage1/stage1.c:304: error: 'curr_poly_t' has no member named 'p_size_max'
gnfs/poly/stage1/stage1.c:304: error: 'bounds_t' has no member named 'p_size_max'
gnfs/poly/stage1/stage1.c:305: error: 'curr_poly_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:305: error: 'bounds_t' has no member named 'coeff_max'
gnfs/poly/stage1/stage1.c:322: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:327: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c: At top level:
gnfs/poly/stage1/stage1.c:337: error: expected declaration specifiers or '...' before 'stage1_callback_t'
gnfs/poly/stage1/stage1.c: In function 'poly_stage1_init':
gnfs/poly/stage1/stage1.c:340: warning: implicit declaration of function 'mpz_init_set_ui'
gnfs/poly/stage1/stage1.c:340: error: 'poly_stage1_t' has no member named 'gmp_N'
gnfs/poly/stage1/stage1.c:340: error: 'mp_limb_t' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:340: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:341: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:341: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:342: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c:342: error: expected ')' before numeric constant
gnfs/poly/stage1/stage1.c:343: error: 'poly_stage1_t' has no member named 'callback'
gnfs/poly/stage1/stage1.c:343: error: 'callback' undeclared (first use in this function)
gnfs/poly/stage1/stage1.c:344: error: 'poly_stage1_t' has no member named 'callback_data'
gnfs/poly/stage1/stage1.c: In function 'poly_stage1_free':
gnfs/poly/stage1/stage1.c:351: error: 'poly_stage1_t' has no member named 'gmp_N'
gnfs/poly/stage1/stage1.c:352: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/stage1/stage1.c:353: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/stage1/stage1.c: In function 'poly_stage1_run':
gnfs/poly/stage1/stage1.c:366: error: 'poly_stage1_t' has no member named 'deadline'
In file included from gnfs/poly/poly_skew.c:15:
gnfs/poly/poly_skew.h:27: error: expected ')' before 'high_coeff'
gnfs/poly/poly_skew.h:31: error: expected specifier-qualifier-list before 'mpz_t'
make: *** [gnfs/poly/stage1/stage1.no] Error 1
make: *** Waiting for unfinished jobs....
gnfs/poly/poly_skew.h:42: error: expected declaration specifiers or '...' before 'stage1_callback_t'
gnfs/poly/poly_skew.h:49: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:49: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:54: error: expected specifier-qualifier-list before 'mpz_t'
gnfs/poly/poly_skew.h:71: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:71: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.h:72: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.c:190: error: expected ')' before 'high_coeff'
gnfs/poly/poly_skew.c:199: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.c:199: error: expected declaration specifiers or '...' before 'mpz_t'
gnfs/poly/poly_skew.c: In function 'stage2_callback':
gnfs/poly/poly_skew.c:216: warning: implicit declaration of function 'gmp2mp'
gnfs/poly/poly_skew.c:216: error: 'coeff2' undeclared (first use in this function)
gnfs/poly/poly_skew.c:218: warning: implicit declaration of function 'mpz_sgn'
gnfs/poly/poly_skew.c:224: error: 'coeff1' undeclared (first use in this function)
gnfs/poly/poly_skew.c:243: warning: implicit declaration of function 'mpz_out_str'
gnfs/poly/poly_skew.c: In function 'find_poly_core':
gnfs/poly/poly_skew.c:280: error: 'stage1_callback' undeclared (first use in this function)
gnfs/poly/poly_skew.c:280: error: too many arguments to function 'poly_stage1_init'
gnfs/poly/poly_skew.c:287: error: 'poly_stage1_t' has no member named 'gmp_N'
gnfs/poly/poly_skew.c:287: error: too many arguments to function 'mp2gmp'
gnfs/poly/poly_skew.c:288: warning: implicit declaration of function 'mpz_get_d'
gnfs/poly/poly_skew.c:288: error: 'poly_stage1_t' has no member named 'gmp_N'
gnfs/poly/poly_skew.c:295: warning: passing argument 4 of 'get_poly_params' with different width due to prototype
gnfs/poly/poly_skew.c:301: warning: passing argument 4 of 'get_poly_params' with different width due to prototype
gnfs/poly/poly_skew.c:308: warning: passing argument 4 of 'get_poly_params' with different width due to prototype
gnfs/poly/poly_skew.c:318: error: 'poly_stage1_t' has no member named 'degree'
gnfs/poly/poly_skew.c:319: error: 'poly_stage1_t' has no member named 'norm_max'
gnfs/poly/poly_skew.c:320: error: 'poly_stage1_t' has no member named 'deadline'
gnfs/poly/poly_skew.c:324: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/poly_skew.c:324: error: too many arguments to function 'uint64_2gmp'
gnfs/poly/poly_skew.c:326: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/poly_skew.c:326: error: 'mp_limb_t' undeclared (first use in this function)
gnfs/poly/poly_skew.c:326: error: expected ')' before numeric constant
gnfs/poly/poly_skew.c:330: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/poly_skew.c:330: error: too many arguments to function 'uint64_2gmp'
gnfs/poly/poly_skew.c:332: warning: implicit declaration of function 'mpz_set_d'
gnfs/poly/poly_skew.c:332: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/poly_skew.c:337: error: 'poly_stage1_t' has no member named 'deadline'
gnfs/poly/poly_skew.c:340: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_begin'
gnfs/poly/poly_skew.c:341: error: 'poly_stage1_t' has no member named 'gmp_high_coeff_end'
gnfs/poly/poly_skew.c:345: error: 'poly_stage2_t' has no member named 'gmp_N'
gnfs/poly/poly_skew.c:345: error: too many arguments to function 'mp2gmp'
gnfs/poly/poly_skew.c:346: error: 'poly_stage2_t' has no member named 'degree'
gnfs/poly/poly_skew.c:347: error: 'poly_stage2_t' has no member named 'max_norm'
gnfs/poly/poly_skew.c:348: error: 'poly_stage2_t' has no member named 'min_e'
gnfs/poly/poly_skew.c:349: error: 'poly_stage2_t' has no member named 'min_e_bernstein'
make: *** [gnfs/poly/poly_skew.no] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_msieve/work/msieve-1.42" && /usr/bin/make -j2 x86_64 GMP=1 OPT_FLAGS="-O3 -fomit-frame-pointer -m64 -DNDEBUG" LDFLAGS=-L/opt/local/lib " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_msieve/work/msieve-1.42" && /usr/bin/make -j2 x86_64 GMP=1 OPT_FLAGS="-O3 -fomit-frame-pointer -m64 -DNDEBUG" LDFLAGS=-L/opt/local/lib " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for msieve): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Keywords: msieve removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r68409 along with an update to 1.45.

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Added forgotten patchfile in r68410.

Note: See TracTickets for help on using tickets.