Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#824 - httpup doesn't compile with gcc 4.7.0, glibc 2.14.1

Attached to Project: CRUX
Opened by Sergei (Johnny) - Wednesday, 02 May 2012, 10:17 GMT+2
Last edited by Juergen Daubert (jue) - Monday, 17 September 2012, 11:35 GMT+2
Task Type Bug Report
Category ports
Status Closed
Assigned To Juergen Daubert (jue)
Operating System Linux
Severity Medium
Priority Normal
Reported Version 2.7
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

# pkgmk
=======> Building '/var/cache/pkg/httpup#0.4.0k-1.pkg.tar.xz'.
bsdtar -p -o -C /var/cache/work/httpup/src -xf /var/cache/src/httpup-0.4.0k.tar.gz
cp httpup /var/cache/work/httpup/src
+ build
+ cd httpup-0.4.0k
/var/cache/work/httpup/src/httpup-0.4.0k
+ sed -i -e '/^CXXFLAGS/s|-Werror||' Makefile
+ make
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o httpup.o httpup.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o fileutils.o fileutils.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o argparser.o argparser.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o md5.o md5.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o httpupargparser.o httpupargparser.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o configparser.o configparser.cpp
g++ -O2 -pipe -DMF_VERSION=\"0.4.0k\" -g -Wall -Wno-strict-aliasing -c -o main.o main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:89:28: error: 'getcwd' was not declared in this scope
make: *** [main.o] Error 1
=======> ERROR: Building '/var/cache/pkg/httpup#0.4.0k-1.pkg.tar.xz' failed.
This task depends upon

Closed by  Juergen Daubert (jue)
Monday, 17 September 2012, 11:35 GMT+2
Reason for closing:  Implemented
Comment by Johannes Winkelmann (jw) - Thursday, 03 May 2012, 17:46 GMT+2
looks like main.cpp is missing an "#include <unistd.h>"
Comment by Fredrik Rinnestam (rehabdoll) - Sunday, 20 May 2012, 23:33 GMT+2
Yes. I can confirm the need for unistd.h
Comment by Johannes Winkelmann (jw) - Sunday, 16 September 2012, 20:55 GMT+2
I've fixed httpup in https://github.com/winkj/httpup/tree/gcc-4.7-fix, and uploaded a new version to http://jw.smts.ch/files/crux/httpup-0.4.0l.tar.gz

Could you update the port?
Comment by Juergen Daubert (jue) - Monday, 17 September 2012, 11:35 GMT+2
Johannes, thanks for the new version, I have updated the port.

Loading...