Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#10420 closed defect (worksforme)

nget will not compile

Reported by: garlandkr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: nget build compile failure Cc: ugokanain@…, garlandkr@…, boeyms@…
Port:

Description

---> Attempting to fetch nget-0.27.1.tar.gz from http://easynews.dl.sourceforge.net/nget ---> Verifying checksum(s) for nget ---> Extracting nget ---> Configuring nget ---> Building nget with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_news_nget/work/nget-0.27.1" && make all" returned error 2 Command output: g++ -I/opt/local/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/opt/local/include -c -o nget.o nget.cc In file included from cache.h:31,

from prot_nntp.h:26, from nget.cc:48:

file.h:96: error: integer constant is too large for 'long' type file.h:96: error: integer constant is too large for 'long' type file.h:96: error: integer constant is too large for 'long' type file.h:96: error: integer constant is too large for 'long' type file.h: In member function 'void c_file::read_le_u64(uint64_t*)': file.h:96: error: 'UINT64_C' was not declared in this scope make: * [nget.o] Error 1

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 18 years ago by garlandkr@…

I'm using v1.320 - please add 1.3 to the drop down from the 'Version' in this bugzilla.

comment:2 Changed 18 years ago by postbuseenenvijftig@…

Possible solution/workaround from http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg21003.html:

  • extract the source
  • add the flag in the configure script: DEFS="-DHAVE_CONFIG_H -DSTDC_CONSTANT_MACROS"
  • repack the sourc and get the md5
  • put the new md5 in the "Portfile"

comment:3 Changed 18 years ago by markd@…

Cc: ugokanain@… added

* Bug 9157 has been marked as a duplicate of this bug. *

comment:4 Changed 17 years ago by postbuseenenvijftig@…

Using the source with libuu included seems to work:

  • remove old sources/directoris (exept the Portfile)
cp nget-0.27.1+uulib.tar.gz /opt/local/var/db/dports/distfiles/nget/nget-0.27.1.tar.gz
  • edit (all) Portfile(s):
diff /opt/local/var/db/dports/news/nget/Portfile  /opt/local/var/db/dports/news/nget/Portfile.orig
19c19
< checksums             md5 cefb58ad9b92eb6053510a2ced954f6e
---
> checksums             md5 0710a25aebede4799bd9ca3756573f6a
21c21,22
< depends_lib           lib:libpopt:popt 
---
> depends_lib           lib:libpopt:popt \
>                               lib:libuu:uudeview
  • If there is another Portfile:
 cp /opt/local/var/db/dports/news/nget/Portfile* /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/news/nget/
  • Install
$ sudo port install nget

comment:5 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:6 Changed 17 years ago by boeyms@…

Cc: garlandkr@… boeyms@… added
Keywords: nget build compile failure added

I haven't been able to reproduce this on my Mac (Intel, Mac OS X 10.4.9, XCode 2.4.1, MacPorts 1.4.42) with the version of nget currently in the tree (0.27.1). Could you try updating the your MacPorts installation to the latest version (via selfupdate), then try uninstalling nget, cleaning it with --all and installing again?

Thank you once again for your report, and let us know how you go.

comment:7 Changed 17 years ago by boeyms@…

Resolution: worksforme
Status: newclosed

No replies received for a fortnight; closing as worksforme, but will reopen if new reports are received.

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.